Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-21 23:59:04.003998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-21 23:59:22.890184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-21 23:59:42.745596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/46/image_30102025_17_46_55_3047.jpg', '/home/pi/Desktop/images/30102025/17/46/image_30102025_17_46_56_1634.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_09_12734.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_11_1568.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_12_1650.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_20_5796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/46/image_30102025_17_46_55_3047.jpg
/home/pi/Desktop/images/30102025/17/46/image_30102025_17_46_56_1634.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_09_12734.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_11_1568.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_12_1650.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_20_5796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395643601","1395643759","1395643804","1395643720","1395643674","1395643638"],"photo_ids_order":["1395643601","1395643638","1395643674","1395643720","1395643759","1395643804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acdddc7bfe1fefc98dc3e6c94f68d408.jpg","text":"TemporaryFile(/tmp/multipartBody1354126724231284949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766045059,"filename":"image_30102025_17_46_55_3047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3db39c121daf8f940b169f4448a110d6.jpg","text":"TemporaryFile(/tmp/multipartBody6177684759783395327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766045059,"filename":"image_30102025_17_47_12_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3625f4b986c600b362f9d785d497ef0e.jpg","text":"TemporaryFile(/tmp/multipartBody8725196769278533340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766045059,"filename":"image_30102025_17_47_20_5796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfc6065a18fe7def46b957409ce5873c.jpg","text":"TemporaryFile(/tmp/multipartBody4934638349907455685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766045059,"filename":"image_30102025_17_47_11_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c9de8428f2a1cb1f99d165a9f031bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8041828166763854324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766045059,"filename":"image_30102025_17_47_09_12734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9533ea313132b90a7aab5ecf80577835.jpg","text":"TemporaryFile(/tmp/multipartBody2671975642961534715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766045059,"filename":"image_30102025_17_46_56_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395643674","file1":"1395643638","file0":"1395643601","file4":"1395643759","file5":"1395643804","file3":"1395643720"},"map_files_photo_id_array":[{"photo_id":"1395643804","filename":"file5"},{"photo_id":"1395643674","filename":"file2"},{"photo_id":"1395643759","filename":"file4"},{"photo_id":"1395643638","filename":"file1"},{"photo_id":"1395643601","filename":"file0"},{"photo_id":"1395643720","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395643601":["hashtag1","hashtag2"]},{"1395643759":["hashtag1","hashtag2"]},{"1395643804":["hashtag1","hashtag2"]},{"1395643720":["hashtag1","hashtag2"]},{"1395643674":["hashtag1","hashtag2"]},{"1395643638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395643601, 1395643759, 1395643804, 1395643720, 1395643674, 1395643638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.94851875305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:00:46.487247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_21_1494.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_23_1788.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_25_1804.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_28_2917.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_30_1745.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_31_1750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_21_1494.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_23_1788.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_25_1804.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_28_2917.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_30_1745.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_31_1750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395643990","1395644058","1395644055","1395644010","1395644060","1395644030"],"photo_ids_order":["1395643990","1395644010","1395644030","1395644055","1395644058","1395644060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f599819fc9f710c5c748345e09a60595.jpg","text":"TemporaryFile(/tmp/multipartBody3968910726291657685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766111170,"filename":"image_30102025_17_47_21_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffcc8242bd29973390a24f6d849f5358.jpg","text":"TemporaryFile(/tmp/multipartBody196283144763388555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766111170,"filename":"image_30102025_17_47_30_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7cd47e27bce92a41a0ef84c0f6e15a8.jpg","text":"TemporaryFile(/tmp/multipartBody8545527699242404769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766111170,"filename":"image_30102025_17_47_28_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a70ccaf00cac5d793e55abec6aad9835.jpg","text":"TemporaryFile(/tmp/multipartBody8322920102480359746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766111170,"filename":"image_30102025_17_47_23_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5961290893231bf805a51c83020e8775.jpg","text":"TemporaryFile(/tmp/multipartBody1650238773328204391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766111170,"filename":"image_30102025_17_47_31_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bef008e535e09558df8b28a012c2718.jpg","text":"TemporaryFile(/tmp/multipartBody182386676319721983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766111170,"filename":"image_30102025_17_47_25_1804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395644030","file1":"1395644010","file0":"1395643990","file4":"1395644058","file5":"1395644060","file3":"1395644055"},"map_files_photo_id_array":[{"photo_id":"1395644060","filename":"file5"},{"photo_id":"1395644030","filename":"file2"},{"photo_id":"1395644058","filename":"file4"},{"photo_id":"1395644010","filename":"file1"},{"photo_id":"1395643990","filename":"file0"},{"photo_id":"1395644055","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395643990":["hashtag1","hashtag2"]},{"1395644058":["hashtag1","hashtag2"]},{"1395644055":["hashtag1","hashtag2"]},{"1395644010":["hashtag1","hashtag2"]},{"1395644060":["hashtag1","hashtag2"]},{"1395644030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395643990, 1395644058, 1395644055, 1395644010, 1395644060, 1395644030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23666977882385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:01:43.556164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_36_1883.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_43_2828.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_46_2708.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_52_2707.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_03_4743.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_08_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_36_1883.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_43_2828.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_46_2708.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_52_2707.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_03_4743.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_08_2593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.1232926845550537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:02:03.243982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/33/image_19112025_23_33_54_2751.jpg', '/home/pi/Desktop/images/19112025/23/33/image_19112025_23_33_58_3614.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_03_2624.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_13_2634.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_16_3555.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_19_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/33/image_19112025_23_33_54_2751.jpg
/home/pi/Desktop/images/19112025/23/33/image_19112025_23_33_58_3614.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_03_2624.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_13_2634.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_16_3555.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_19_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395644086","1395644119","1395644088","1395644090","1395644093","1395644098"],"photo_ids_order":["1395644086","1395644088","1395644090","1395644093","1395644098","1395644119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e94e97dfc30e5b55bf84ae60577f597.jpg","text":"TemporaryFile(/tmp/multipartBody878313837139649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766187445,"filename":"image_19112025_23_33_54_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89a7ac21d1c727ad940fb96d44d4c5ec.jpg","text":"TemporaryFile(/tmp/multipartBody2307844477177227646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766187445,"filename":"image_19112025_23_34_19_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52b79ac2b17d01bd79f58bac7a291f94.jpg","text":"TemporaryFile(/tmp/multipartBody5654334706012958526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766187445,"filename":"image_19112025_23_33_58_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94b9f3bf1d16cd2c5c4ebf0b7d2125e3.jpg","text":"TemporaryFile(/tmp/multipartBody7366688368479118105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766187445,"filename":"image_19112025_23_34_03_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a5f7e66b4275cf88827e85077b42333.jpg","text":"TemporaryFile(/tmp/multipartBody367302172515643974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766187445,"filename":"image_19112025_23_34_13_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d37ef541bc90cf3fa2e4587f791bebd7.jpg","text":"TemporaryFile(/tmp/multipartBody3727342533968562866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766187445,"filename":"image_19112025_23_34_16_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395644090","file1":"1395644088","file0":"1395644086","file4":"1395644098","file5":"1395644119","file3":"1395644093"},"map_files_photo_id_array":[{"photo_id":"1395644119","filename":"file5"},{"photo_id":"1395644090","filename":"file2"},{"photo_id":"1395644098","filename":"file4"},{"photo_id":"1395644088","filename":"file1"},{"photo_id":"1395644086","filename":"file0"},{"photo_id":"1395644093","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395644086":["hashtag1","hashtag2"]},{"1395644119":["hashtag1","hashtag2"]},{"1395644088":["hashtag1","hashtag2"]},{"1395644090":["hashtag1","hashtag2"]},{"1395644093":["hashtag1","hashtag2"]},{"1395644098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395644086, 1395644119, 1395644088, 1395644090, 1395644093, 1395644098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.16346526145935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-22 00:03:02.981236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_21_2576.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_25_3761.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_28_2609.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_30_2665.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_34_3603.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_40_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_21_2576.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_25_3761.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_28_2609.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_30_2665.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_34_3603.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_40_3592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395644616","1395644619","1395644610","1395644604","1395644613","1395644607"],"photo_ids_order":["1395644604","1395644607","1395644610","1395644613","1395644616","1395644619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/389c3def8d9eeb526d20ad40bf6c6c7a.jpg","text":"TemporaryFile(/tmp/multipartBody3196955603342698519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766272157,"filename":"image_19112025_23_34_34_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2197fa6983be7cb2a579a6ede696dc0e.jpg","text":"TemporaryFile(/tmp/multipartBody2361172252000182492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766272157,"filename":"image_19112025_23_34_40_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89026a38e9352552901dc91550f5f2f9.jpg","text":"TemporaryFile(/tmp/multipartBody4618183990115930747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766272157,"filename":"image_19112025_23_34_28_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6910c98b40a4458f14f762c0e11353d4.jpg","text":"TemporaryFile(/tmp/multipartBody2144653925428705055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766272157,"filename":"image_19112025_23_34_21_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b338b061ab1fbe73045e00c2bc9211b.jpg","text":"TemporaryFile(/tmp/multipartBody3339960152900958726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766272157,"filename":"image_19112025_23_34_30_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e93d5351f43905bf0b421c267405d70f.jpg","text":"TemporaryFile(/tmp/multipartBody7458490922298033688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766272157,"filename":"image_19112025_23_34_25_3761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395644610","file1":"1395644607","file0":"1395644604","file4":"1395644616","file5":"1395644619","file3":"1395644613"},"map_files_photo_id_array":[{"photo_id":"1395644619","filename":"file5"},{"photo_id":"1395644610","filename":"file2"},{"photo_id":"1395644616","filename":"file4"},{"photo_id":"1395644607","filename":"file1"},{"photo_id":"1395644604","filename":"file0"},{"photo_id":"1395644613","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395644616":["hashtag1","hashtag2"]},{"1395644619":["hashtag1","hashtag2"]},{"1395644610":["hashtag1","hashtag2"]},{"1395644604":["hashtag1","hashtag2"]},{"1395644613":["hashtag1","hashtag2"]},{"1395644607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395644616, 1395644619, 1395644610, 1395644604, 1395644613, 1395644607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.61507511138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:04:22.515975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_36_1883.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_43_2828.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_46_2708.jpg', '/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_52_2707.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_03_4743.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_08_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_36_1883.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_43_2828.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_46_2708.jpg
/home/pi/Desktop/images/30102025/17/47/image_30102025_17_47_52_2707.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_03_4743.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_08_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395644857","1395644892","1395644830","1395644796","1395644790","1395644859"],"photo_ids_order":["1395644790","1395644796","1395644830","1395644857","1395644859","1395644892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb4d056225df54038dcae5390f173661.jpg","text":"TemporaryFile(/tmp/multipartBody6266382915127665086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766324769,"filename":"image_30102025_17_47_52_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a19e6ebf508c6ce364479cc2f7df208d.jpg","text":"TemporaryFile(/tmp/multipartBody4672431984563968502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766324769,"filename":"image_30102025_17_48_08_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a0989e25e220768131c3ca7bb4490b7.jpg","text":"TemporaryFile(/tmp/multipartBody3329517238612413390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766324769,"filename":"image_30102025_17_47_46_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef53f71956a03c7361ba0d1065914928.jpg","text":"TemporaryFile(/tmp/multipartBody9045221800466851115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766324769,"filename":"image_30102025_17_47_43_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f3395c2c07755274dcfb2ce563bfc24.jpg","text":"TemporaryFile(/tmp/multipartBody8809715015182348464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766324769,"filename":"image_30102025_17_47_36_1883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f45f023e6ff4c2bb7da6cd2df541424.jpg","text":"TemporaryFile(/tmp/multipartBody5616755380992670218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766324769,"filename":"image_30102025_17_48_03_4743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395644830","file1":"1395644796","file0":"1395644790","file4":"1395644859","file5":"1395644892","file3":"1395644857"},"map_files_photo_id_array":[{"photo_id":"1395644892","filename":"file5"},{"photo_id":"1395644830","filename":"file2"},{"photo_id":"1395644859","filename":"file4"},{"photo_id":"1395644796","filename":"file1"},{"photo_id":"1395644790","filename":"file0"},{"photo_id":"1395644857","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395644857":["hashtag1","hashtag2"]},{"1395644892":["hashtag1","hashtag2"]},{"1395644830":["hashtag1","hashtag2"]},{"1395644796":["hashtag1","hashtag2"]},{"1395644790":["hashtag1","hashtag2"]},{"1395644859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395644857, 1395644892, 1395644830, 1395644796, 1395644790, 1395644859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.48490357398987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:05:23.413177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_10_2685.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_13_2593.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_17_3668.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_19_2441.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_23_3750.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_47_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_10_2685.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_13_2593.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_17_3668.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_19_2441.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_23_3750.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_47_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395644920","1395644914","1395644916","1395644918","1395644912","1395644909"],"photo_ids_order":["1395644909","1395644912","1395644914","1395644916","1395644918","1395644920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55fbaef205da841ee457a7e15aa2a0da.jpg","text":"TemporaryFile(/tmp/multipartBody192675410794449991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766385763,"filename":"image_30102025_17_48_47_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6aafddf8a1d69d248333313991ceb77.jpg","text":"TemporaryFile(/tmp/multipartBody6715628911254511156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766385763,"filename":"image_30102025_17_48_17_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c13074a02bfa731fc1e93e87b6f8f315.jpg","text":"TemporaryFile(/tmp/multipartBody2072145231321505432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766385763,"filename":"image_30102025_17_48_19_2441.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e013908f84f07c4e76083015ad5571d.jpg","text":"TemporaryFile(/tmp/multipartBody5993403944614704930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766385763,"filename":"image_30102025_17_48_23_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4b4bb973ba3ceda5f85333ec9ef1c69.jpg","text":"TemporaryFile(/tmp/multipartBody6555933512752500571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766385763,"filename":"image_30102025_17_48_13_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11d6866605f238092e2ea3980e7e9947.jpg","text":"TemporaryFile(/tmp/multipartBody1585386260989372403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766385763,"filename":"image_30102025_17_48_10_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395644914","file1":"1395644912","file0":"1395644909","file4":"1395644918","file5":"1395644920","file3":"1395644916"},"map_files_photo_id_array":[{"photo_id":"1395644920","filename":"file5"},{"photo_id":"1395644914","filename":"file2"},{"photo_id":"1395644918","filename":"file4"},{"photo_id":"1395644912","filename":"file1"},{"photo_id":"1395644909","filename":"file0"},{"photo_id":"1395644916","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395644920":["hashtag1","hashtag2"]},{"1395644914":["hashtag1","hashtag2"]},{"1395644916":["hashtag1","hashtag2"]},{"1395644918":["hashtag1","hashtag2"]},{"1395644912":["hashtag1","hashtag2"]},{"1395644909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395644920, 1395644914, 1395644916, 1395644918, 1395644912, 1395644909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9616277217865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:06:21.891558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_50_2584.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_52_2734.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_55_2727.jpg', '/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_59_3705.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_01_2509.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_04_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_50_2584.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_52_2734.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_55_2727.jpg
/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_59_3705.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_01_2509.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_04_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395644944","1395644941","1395644938","1395644946","1395644949","1395644934"],"photo_ids_order":["1395644934","1395644938","1395644941","1395644944","1395644946","1395644949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95f043fb9c59729534373518dd31e507.jpg","text":"TemporaryFile(/tmp/multipartBody4350454411412113281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766450866,"filename":"image_30102025_17_48_59_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72d86af742bc6e0c66c5e81c8eab33fa.jpg","text":"TemporaryFile(/tmp/multipartBody3552518889015548750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766450866,"filename":"image_30102025_17_48_55_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c374b5c2544784ff79a7feef7893d077.jpg","text":"TemporaryFile(/tmp/multipartBody6945733126486886721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766450866,"filename":"image_30102025_17_48_52_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55db6754d46da266d33a801120103008.jpg","text":"TemporaryFile(/tmp/multipartBody3717587733313972511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766450866,"filename":"image_30102025_17_49_01_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b4fc4c267bb146e35b41c0bbde96c59.jpg","text":"TemporaryFile(/tmp/multipartBody3540773471265349921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766450866,"filename":"image_30102025_17_49_04_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5158423c8494f06e13618cc214ff3724.jpg","text":"TemporaryFile(/tmp/multipartBody5378254594249859967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766450866,"filename":"image_30102025_17_48_50_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395644941","file1":"1395644938","file0":"1395644934","file4":"1395644946","file5":"1395644949","file3":"1395644944"},"map_files_photo_id_array":[{"photo_id":"1395644949","filename":"file5"},{"photo_id":"1395644941","filename":"file2"},{"photo_id":"1395644946","filename":"file4"},{"photo_id":"1395644938","filename":"file1"},{"photo_id":"1395644934","filename":"file0"},{"photo_id":"1395644944","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395644944":["hashtag1","hashtag2"]},{"1395644941":["hashtag1","hashtag2"]},{"1395644938":["hashtag1","hashtag2"]},{"1395644946":["hashtag1","hashtag2"]},{"1395644949":["hashtag1","hashtag2"]},{"1395644934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395644944, 1395644941, 1395644938, 1395644946, 1395644949, 1395644934)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395644941 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/17/48/image_30102025_17_48_55_2727.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 66.72071409225464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:07:47.062978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_08_3697.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_10_2708.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_13_2713.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_16_3062.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_20_3571.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_22_2381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_08_3697.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_10_2708.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_13_2713.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_16_3062.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_20_3571.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_22_2381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395644965","1395644970","1395644967","1395644972","1395644975","1395644963"],"photo_ids_order":["1395644963","1395644965","1395644967","1395644970","1395644972","1395644975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98d63e558cde6af0adb12f2e2e57bc40.jpg","text":"TemporaryFile(/tmp/multipartBody8080337502891609032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766535189,"filename":"image_30102025_17_49_10_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0b2152b1eef6e9a74aacf4c536feca8.jpg","text":"TemporaryFile(/tmp/multipartBody3554255624707620248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766535189,"filename":"image_30102025_17_49_16_3062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21864919204ffb1ee2a42683bf3eaa56.jpg","text":"TemporaryFile(/tmp/multipartBody6564712932779992609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766535189,"filename":"image_30102025_17_49_13_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e13368d2e421c7f2dd64255dff9fa6c.jpg","text":"TemporaryFile(/tmp/multipartBody3302438679058546577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766535189,"filename":"image_30102025_17_49_20_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82ee1199943f227a6a27825f0ea2c9f8.jpg","text":"TemporaryFile(/tmp/multipartBody7113644990684993945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766535189,"filename":"image_30102025_17_49_22_2381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/310c14724c1045521f73d84f98268b51.jpg","text":"TemporaryFile(/tmp/multipartBody1171337648361104123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766535189,"filename":"image_30102025_17_49_08_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395644967","file1":"1395644965","file0":"1395644963","file4":"1395644972","file5":"1395644975","file3":"1395644970"},"map_files_photo_id_array":[{"photo_id":"1395644975","filename":"file5"},{"photo_id":"1395644967","filename":"file2"},{"photo_id":"1395644972","filename":"file4"},{"photo_id":"1395644965","filename":"file1"},{"photo_id":"1395644963","filename":"file0"},{"photo_id":"1395644970","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395644965":["hashtag1","hashtag2"]},{"1395644970":["hashtag1","hashtag2"]},{"1395644967":["hashtag1","hashtag2"]},{"1395644972":["hashtag1","hashtag2"]},{"1395644975":["hashtag1","hashtag2"]},{"1395644963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395644965, 1395644970, 1395644967, 1395644972, 1395644975, 1395644963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.83004927635193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:08:48.389591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_26_3699.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_31_2645.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_35_3654.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_37_2592.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_40_3052.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_43_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_26_3699.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_31_2645.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_35_3654.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_37_2592.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_40_3052.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_43_2576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.0653910636901855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:09:03.612405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_49_2598.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_55_2861.jpg', '/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_57_2706.jpg', '/home/pi/Desktop/images/19112025/23/35/image_19112025_23_35_07_3631.jpg', '/home/pi/Desktop/images/19112025/23/35/image_19112025_23_35_10_2739.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_49_2598.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_55_2861.jpg
/home/pi/Desktop/images/19112025/23/34/image_19112025_23_34_57_2706.jpg
/home/pi/Desktop/images/19112025/23/35/image_19112025_23_35_07_3631.jpg
/home/pi/Desktop/images/19112025/23/35/image_19112025_23_35_10_2739.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_07_3018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395644994","1395645012","1395645006","1395645009","1395645003","1395644998"],"photo_ids_order":["1395644994","1395644998","1395645003","1395645006","1395645009","1395645012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5692ce578177e1493b0637bff4742c30.jpg","text":"TemporaryFile(/tmp/multipartBody991983618143516672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766618233,"filename":"image_19112025_23_34_49_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/393fb7246b49c2feae455f468d83a7ad.jpg","text":"TemporaryFile(/tmp/multipartBody2332989694740662743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766618233,"filename":"image_19112025_23_36_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd374b23b899e3382cbea7521a73835f.jpg","text":"TemporaryFile(/tmp/multipartBody8078341061601917287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766618233,"filename":"image_19112025_23_35_07_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fd82202158e4ecfbed2d8f87883b8d2.jpg","text":"TemporaryFile(/tmp/multipartBody5420015807520499019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766618233,"filename":"image_19112025_23_35_10_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f39ad7e886793318ae546eb6eccc6319.jpg","text":"TemporaryFile(/tmp/multipartBody6328013475858862580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766618233,"filename":"image_19112025_23_34_57_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c712dc3fbcefd1abe39f8c995a514d2.jpg","text":"TemporaryFile(/tmp/multipartBody3214966870241461187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766618233,"filename":"image_19112025_23_34_55_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395645003","file1":"1395644998","file0":"1395644994","file4":"1395645009","file5":"1395645012","file3":"1395645006"},"map_files_photo_id_array":[{"photo_id":"1395645012","filename":"file5"},{"photo_id":"1395645003","filename":"file2"},{"photo_id":"1395645009","filename":"file4"},{"photo_id":"1395644998","filename":"file1"},{"photo_id":"1395644994","filename":"file0"},{"photo_id":"1395645006","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395644994":["hashtag1","hashtag2"]},{"1395645012":["hashtag1","hashtag2"]},{"1395645006":["hashtag1","hashtag2"]},{"1395645009":["hashtag1","hashtag2"]},{"1395645003":["hashtag1","hashtag2"]},{"1395644998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395644994, 1395645012, 1395645006, 1395645009, 1395645003, 1395644998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.90105080604553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:10:03.921977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_13_2513.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_17_3589.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_19_2547.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_25_2634.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_28_2554.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_32_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_13_2513.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_17_3589.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_19_2547.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_25_2634.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_28_2554.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_32_3771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.779869794845581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:10:23.589088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_26_3699.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_31_2645.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_35_3654.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_37_2592.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_40_3052.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_43_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_26_3699.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_31_2645.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_35_3654.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_37_2592.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_40_3052.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_43_2576.jpg
 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":["1395645040","1395645042","1395645035","1395645029","1395645038","1395645026"],"photo_ids_order":["1395645026","1395645029","1395645035","1395645038","1395645040","1395645042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5240addeb1a344a41bab86fc5774530c.jpg","text":"TemporaryFile(/tmp/multipartBody5239254368796219748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766685757,"filename":"image_30102025_17_49_40_3052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5337ffcd07ee965ce58981e8428d0353.jpg","text":"TemporaryFile(/tmp/multipartBody3155879650436575904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766685757,"filename":"image_30102025_17_49_43_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c776c2040d5e06cc9ed785c82eca1d46.jpg","text":"TemporaryFile(/tmp/multipartBody5130633158434833858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766685757,"filename":"image_30102025_17_49_35_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/687badea7fe0854663d176ff1120f145.jpg","text":"TemporaryFile(/tmp/multipartBody6108907085077374164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766685757,"filename":"image_30102025_17_49_31_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cff24b9983de2959946d788c2718231.jpg","text":"TemporaryFile(/tmp/multipartBody4074574798942890521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766685757,"filename":"image_30102025_17_49_37_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d200c8716a0122b42f865299dfc2110.jpg","text":"TemporaryFile(/tmp/multipartBody1958201587183327975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766685757,"filename":"image_30102025_17_49_26_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395645035","file1":"1395645029","file0":"1395645026","file4":"1395645040","file5":"1395645042","file3":"1395645038"},"map_files_photo_id_array":[{"photo_id":"1395645042","filename":"file5"},{"photo_id":"1395645035","filename":"file2"},{"photo_id":"1395645040","filename":"file4"},{"photo_id":"1395645029","filename":"file1"},{"photo_id":"1395645026","filename":"file0"},{"photo_id":"1395645038","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395645040":["hashtag1","hashtag2"]},{"1395645042":["hashtag1","hashtag2"]},{"1395645035":["hashtag1","hashtag2"]},{"1395645029":["hashtag1","hashtag2"]},{"1395645038":["hashtag1","hashtag2"]},{"1395645026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395645040, 1395645042, 1395645035, 1395645029, 1395645038, 1395645026)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395645035 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_35_3654.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.92212796211243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:11:43.169190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_47_3636.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_49_2787.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_52_2659.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_56_3578.jpg', '/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_58_2571.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_11_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_47_3636.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_49_2787.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_52_2659.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_56_3578.jpg
/home/pi/Desktop/images/30102025/17/49/image_30102025_17_49_58_2571.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_11_3552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395645072","1395645069","1395645065","1395645062","1395645076","1395645067"],"photo_ids_order":["1395645062","1395645065","1395645067","1395645069","1395645072","1395645076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0faf758e6ebb67a3c01715183adffee.jpg","text":"TemporaryFile(/tmp/multipartBody1069790986222232598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766783246,"filename":"image_30102025_17_49_58_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/738557b7730b1e94629bc8c682f36acc.jpg","text":"TemporaryFile(/tmp/multipartBody4942377521116416707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766783246,"filename":"image_30102025_17_49_56_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d94950739788852dcd632409924d45c.jpg","text":"TemporaryFile(/tmp/multipartBody4371051274415550058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766783246,"filename":"image_30102025_17_49_49_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04de180956cd16e6af0065c514b14529.jpg","text":"TemporaryFile(/tmp/multipartBody5110863672234504123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766783246,"filename":"image_30102025_17_49_47_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9f4daf4699b486da00cebbe5bff4b93.jpg","text":"TemporaryFile(/tmp/multipartBody3715022927083184173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766783246,"filename":"image_30102025_17_50_11_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dce52347d439b3cab0ba1768fa97c508.jpg","text":"TemporaryFile(/tmp/multipartBody731401183004138574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766783246,"filename":"image_30102025_17_49_52_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395645067","file1":"1395645065","file0":"1395645062","file4":"1395645072","file5":"1395645076","file3":"1395645069"},"map_files_photo_id_array":[{"photo_id":"1395645076","filename":"file5"},{"photo_id":"1395645067","filename":"file2"},{"photo_id":"1395645072","filename":"file4"},{"photo_id":"1395645065","filename":"file1"},{"photo_id":"1395645062","filename":"file0"},{"photo_id":"1395645069","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395645072":["hashtag1","hashtag2"]},{"1395645069":["hashtag1","hashtag2"]},{"1395645065":["hashtag1","hashtag2"]},{"1395645062":["hashtag1","hashtag2"]},{"1395645076":["hashtag1","hashtag2"]},{"1395645067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395645072, 1395645069, 1395645065, 1395645062, 1395645076, 1395645067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.229610204696655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:12:42.451364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_14_2744.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_18_4089.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_20_2593.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_23_2744.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_26_2592.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_31_5716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_14_2744.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_18_4089.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_20_2593.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_23_2744.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_26_2592.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_31_5716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395645106","1395645099","1395645090","1395645098","1395645101","1395645097"],"photo_ids_order":["1395645090","1395645097","1395645098","1395645099","1395645101","1395645106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f89813eddca81c686675be5cee8cd83b.jpg","text":"TemporaryFile(/tmp/multipartBody37437609719827309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766832585,"filename":"image_30102025_17_50_31_5716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9112e59a8d404f1a8df9eb184e9b86c.jpg","text":"TemporaryFile(/tmp/multipartBody4316877083050699249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766832585,"filename":"image_30102025_17_50_23_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd54b27f72802af276a280fea7251047.jpg","text":"TemporaryFile(/tmp/multipartBody1427297607221975020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766832585,"filename":"image_30102025_17_50_14_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b63264b8291340542d7f027d517c6c88.jpg","text":"TemporaryFile(/tmp/multipartBody9109490680467516141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766832585,"filename":"image_30102025_17_50_20_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc2043dfef23a69d958e759608ad4efa.jpg","text":"TemporaryFile(/tmp/multipartBody2677562523673030585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766832585,"filename":"image_30102025_17_50_26_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a3c2fb424030d6ba0a456b4821ce51f.jpg","text":"TemporaryFile(/tmp/multipartBody1641642268452879829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766832585,"filename":"image_30102025_17_50_18_4089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395645098","file1":"1395645097","file0":"1395645090","file4":"1395645101","file5":"1395645106","file3":"1395645099"},"map_files_photo_id_array":[{"photo_id":"1395645106","filename":"file5"},{"photo_id":"1395645098","filename":"file2"},{"photo_id":"1395645101","filename":"file4"},{"photo_id":"1395645097","filename":"file1"},{"photo_id":"1395645090","filename":"file0"},{"photo_id":"1395645099","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395645106":["hashtag1","hashtag2"]},{"1395645099":["hashtag1","hashtag2"]},{"1395645090":["hashtag1","hashtag2"]},{"1395645098":["hashtag1","hashtag2"]},{"1395645101":["hashtag1","hashtag2"]},{"1395645097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395645106, 1395645099, 1395645090, 1395645098, 1395645101, 1395645097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.553420066833496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:13:50.766161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_40_8639.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_42_1755.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_43_1642.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_45_1585.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_50_1651.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_52_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_40_8639.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_42_1755.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_43_1642.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_45_1585.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_50_1651.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_52_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395645132","1395645126","1395645128","1395645122","1395645130","1395645124"],"photo_ids_order":["1395645122","1395645124","1395645126","1395645128","1395645130","1395645132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8118a44aa30bd5a390ef0d90d048578e.jpg","text":"TemporaryFile(/tmp/multipartBody2093779449997160110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766892985,"filename":"image_30102025_17_50_52_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2a2b79741b77ce888fd7ef5ffe37c55.jpg","text":"TemporaryFile(/tmp/multipartBody4813955608491839365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766892985,"filename":"image_30102025_17_50_43_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ed103129d81d4a373381cc18ccf3432.jpg","text":"TemporaryFile(/tmp/multipartBody7345056203953837801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766892985,"filename":"image_30102025_17_50_45_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4fe7f7ce010072db5dab99e5e5352ab.jpg","text":"TemporaryFile(/tmp/multipartBody766308221667614820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766892985,"filename":"image_30102025_17_50_40_8639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a14060ca9392ad5bea310d75e3378f2f.jpg","text":"TemporaryFile(/tmp/multipartBody284337439523547644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766892985,"filename":"image_30102025_17_50_50_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90336e6ba5dd3ae11192354703fcdc1f.jpg","text":"TemporaryFile(/tmp/multipartBody8634341029964890211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766892985,"filename":"image_30102025_17_50_42_1755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395645126","file1":"1395645124","file0":"1395645122","file4":"1395645130","file5":"1395645132","file3":"1395645128"},"map_files_photo_id_array":[{"photo_id":"1395645132","filename":"file5"},{"photo_id":"1395645126","filename":"file2"},{"photo_id":"1395645130","filename":"file4"},{"photo_id":"1395645124","filename":"file1"},{"photo_id":"1395645122","filename":"file0"},{"photo_id":"1395645128","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395645132":["hashtag1","hashtag2"]},{"1395645126":["hashtag1","hashtag2"]},{"1395645128":["hashtag1","hashtag2"]},{"1395645122":["hashtag1","hashtag2"]},{"1395645130":["hashtag1","hashtag2"]},{"1395645124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395645132, 1395645126, 1395645128, 1395645122, 1395645130, 1395645124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52286458015442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:14:42.035777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_53_1818.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_56_2757.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_59_3138.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_02_2668.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_05_2694.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_08_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_53_1818.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_56_2757.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_59_3138.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_02_2668.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_05_2694.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_08_3572.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.1297452449798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:15:06.311991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_13_2513.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_17_3589.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_19_2547.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_25_2634.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_28_2554.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_32_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_13_2513.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_17_3589.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_19_2547.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_25_2634.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_28_2554.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_32_3771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395645590","1395645519","1395645554","1395645484","1395645646","1395645628"],"photo_ids_order":["1395645484","1395645519","1395645554","1395645590","1395645628","1395645646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcbdfcf75b950f621dfcf5d2824b2b44.jpg","text":"TemporaryFile(/tmp/multipartBody8759995755588087559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766968104,"filename":"image_19112025_23_36_25_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5ba7cd3f6ec0c6a5e1849cb7b9b4547.jpg","text":"TemporaryFile(/tmp/multipartBody1072596157725937035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766968104,"filename":"image_19112025_23_36_17_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c6e01bbe155233f47a1967f35e608ac.jpg","text":"TemporaryFile(/tmp/multipartBody16060138706525211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766968104,"filename":"image_19112025_23_36_19_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7754fc79ead874d56b0d528cee547e64.jpg","text":"TemporaryFile(/tmp/multipartBody8019770117166600454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766968104,"filename":"image_19112025_23_36_13_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/640e8866e56f25d4e0758aea887472e8.jpg","text":"TemporaryFile(/tmp/multipartBody2628395690697589814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766968104,"filename":"image_19112025_23_36_32_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/986069f532ca5aa6bb8d790fff4fa3d3.jpg","text":"TemporaryFile(/tmp/multipartBody2018715377374282740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763766968104,"filename":"image_19112025_23_36_28_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395645554","file1":"1395645519","file0":"1395645484","file4":"1395645628","file5":"1395645646","file3":"1395645590"},"map_files_photo_id_array":[{"photo_id":"1395645646","filename":"file5"},{"photo_id":"1395645554","filename":"file2"},{"photo_id":"1395645628","filename":"file4"},{"photo_id":"1395645519","filename":"file1"},{"photo_id":"1395645484","filename":"file0"},{"photo_id":"1395645590","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395645590":["hashtag1","hashtag2"]},{"1395645519":["hashtag1","hashtag2"]},{"1395645554":["hashtag1","hashtag2"]},{"1395645484":["hashtag1","hashtag2"]},{"1395645646":["hashtag1","hashtag2"]},{"1395645628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395645590, 1395645519, 1395645554, 1395645484, 1395645646, 1395645628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78610563278198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:15:45.523095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_53_1818.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_56_2757.jpg', '/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_59_3138.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_02_2668.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_05_2694.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_08_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_53_1818.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_56_2757.jpg
/home/pi/Desktop/images/30102025/17/50/image_30102025_17_50_59_3138.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_02_2668.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_05_2694.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_08_3572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395645744","1395645819","1395645782","1395645674","1395645653","1395645707"],"photo_ids_order":["1395645653","1395645674","1395645707","1395645744","1395645782","1395645819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b50334aa4650f8cc26812d59bc66aa72.jpg","text":"TemporaryFile(/tmp/multipartBody1957172184722910437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767015343,"filename":"image_30102025_17_51_02_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/430f99e64973a12d955bda31c3ae7e23.jpg","text":"TemporaryFile(/tmp/multipartBody5729799331028056562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767015343,"filename":"image_30102025_17_51_08_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1df32de93c6e367dfb6c21bbd3ec88d6.jpg","text":"TemporaryFile(/tmp/multipartBody6855716664225803833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767015343,"filename":"image_30102025_17_51_05_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03705b528ec31fd4e2a1e57f5b70cb1e.jpg","text":"TemporaryFile(/tmp/multipartBody753331405652181548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767015343,"filename":"image_30102025_17_50_56_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c32b2ffa6c148916a9f16596d3c065d.jpg","text":"TemporaryFile(/tmp/multipartBody3116805240143390614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767015343,"filename":"image_30102025_17_50_53_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bd276b7cb5425c3d3cd86a96029a2d5.jpg","text":"TemporaryFile(/tmp/multipartBody3678562102072143828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767015343,"filename":"image_30102025_17_50_59_3138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395645707","file1":"1395645674","file0":"1395645653","file4":"1395645782","file5":"1395645819","file3":"1395645744"},"map_files_photo_id_array":[{"photo_id":"1395645819","filename":"file5"},{"photo_id":"1395645707","filename":"file2"},{"photo_id":"1395645782","filename":"file4"},{"photo_id":"1395645674","filename":"file1"},{"photo_id":"1395645653","filename":"file0"},{"photo_id":"1395645744","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395645744":["hashtag1","hashtag2"]},{"1395645819":["hashtag1","hashtag2"]},{"1395645782":["hashtag1","hashtag2"]},{"1395645674":["hashtag1","hashtag2"]},{"1395645653":["hashtag1","hashtag2"]},{"1395645707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395645744, 1395645819, 1395645782, 1395645674, 1395645653, 1395645707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.43815231323242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:16:43.779285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_11_2630.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_13_2639.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_17_3758.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_20_2639.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_24_4344.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_26_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_11_2630.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_13_2639.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_17_3758.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_20_2639.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_24_4344.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_26_1575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395645901","1395645903","1395645900","1395645899","1395645902","1395645905"],"photo_ids_order":["1395645899","1395645900","1395645901","1395645902","1395645903","1395645905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68325fe37d028abbbb9c1a12671c9d24.jpg","text":"TemporaryFile(/tmp/multipartBody7323637102281072997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767065987,"filename":"image_30102025_17_51_17_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f01b8ecbe4c92af4ac5275fcde08d53.jpg","text":"TemporaryFile(/tmp/multipartBody18688924285883436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767065987,"filename":"image_30102025_17_51_24_4344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f75498dd3b48495c3fa41a0fcfa9760.jpg","text":"TemporaryFile(/tmp/multipartBody2945301281204187139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767065987,"filename":"image_30102025_17_51_13_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd0e4241daa542ae22de47765e99a616.jpg","text":"TemporaryFile(/tmp/multipartBody1284176575574760595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767065987,"filename":"image_30102025_17_51_11_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f21172e1ad047bf2a761db56e471f81.jpg","text":"TemporaryFile(/tmp/multipartBody2357714511694317389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767065987,"filename":"image_30102025_17_51_20_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76284760cbe383a510618d59106e4cae.jpg","text":"TemporaryFile(/tmp/multipartBody8863229397287101408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767065987,"filename":"image_30102025_17_51_26_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395645901","file1":"1395645900","file0":"1395645899","file4":"1395645903","file5":"1395645905","file3":"1395645902"},"map_files_photo_id_array":[{"photo_id":"1395645905","filename":"file5"},{"photo_id":"1395645901","filename":"file2"},{"photo_id":"1395645903","filename":"file4"},{"photo_id":"1395645900","filename":"file1"},{"photo_id":"1395645899","filename":"file0"},{"photo_id":"1395645902","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395645901":["hashtag1","hashtag2"]},{"1395645903":["hashtag1","hashtag2"]},{"1395645900":["hashtag1","hashtag2"]},{"1395645899":["hashtag1","hashtag2"]},{"1395645902":["hashtag1","hashtag2"]},{"1395645905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395645901, 1395645903, 1395645900, 1395645899, 1395645902, 1395645905)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.53286671638489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:17:42.601869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_28_2653.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_32_3795.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_35_2881.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_38_2626.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_41_2909.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_43_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_28_2653.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_32_3795.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_35_2881.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_38_2626.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_41_2909.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_43_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395646248","1395646212","1395646320","1395646404","1395646361","1395646285"],"photo_ids_order":["1395646212","1395646248","1395646285","1395646320","1395646361","1395646404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e549ea2f26fb74e2a21216cc93c3eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2556400212910335373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767144835,"filename":"image_30102025_17_51_32_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4844edfc92fe2a64eab59649e6d959e.jpg","text":"TemporaryFile(/tmp/multipartBody639913419659518021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767144835,"filename":"image_30102025_17_51_28_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ffe1dc7e69c8013aa2ea42e8d24c8b4.jpg","text":"TemporaryFile(/tmp/multipartBody2423122459937671935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767144835,"filename":"image_30102025_17_51_38_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fabb634dd36aeb13c353785f3f560ff8.jpg","text":"TemporaryFile(/tmp/multipartBody2549246576020507903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767144835,"filename":"image_30102025_17_51_43_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08585eddcacc7db6c3c0cc0043532a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5646722296049155189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767144835,"filename":"image_30102025_17_51_41_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30f1e0f8dbd871319a827927819a5493.jpg","text":"TemporaryFile(/tmp/multipartBody7203134177947515619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767144835,"filename":"image_30102025_17_51_35_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395646285","file1":"1395646248","file0":"1395646212","file4":"1395646361","file5":"1395646404","file3":"1395646320"},"map_files_photo_id_array":[{"photo_id":"1395646404","filename":"file5"},{"photo_id":"1395646285","filename":"file2"},{"photo_id":"1395646361","filename":"file4"},{"photo_id":"1395646248","filename":"file1"},{"photo_id":"1395646212","filename":"file0"},{"photo_id":"1395646320","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395646248":["hashtag1","hashtag2"]},{"1395646212":["hashtag1","hashtag2"]},{"1395646320":["hashtag1","hashtag2"]},{"1395646404":["hashtag1","hashtag2"]},{"1395646361":["hashtag1","hashtag2"]},{"1395646285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395646248, 1395646212, 1395646320, 1395646404, 1395646361, 1395646285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74199938774109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:18:42.820167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_47_3604.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_49_2594.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_53_3712.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_56_2527.jpg', '/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_58_2622.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_02_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_47_3604.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_49_2594.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_53_3712.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_56_2527.jpg
/home/pi/Desktop/images/30102025/17/51/image_30102025_17_51_58_2622.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_02_3741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395646476","1395646419","1395646512","1395646444","1395646513","1395646510"],"photo_ids_order":["1395646419","1395646444","1395646476","1395646510","1395646512","1395646513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a638bc10498de964cf548f64776942c.jpg","text":"TemporaryFile(/tmp/multipartBody4108328042805625367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767184991,"filename":"image_30102025_17_51_53_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/572859951f5f412a2181609c781d8cd3.jpg","text":"TemporaryFile(/tmp/multipartBody4976888284915271667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767184991,"filename":"image_30102025_17_51_47_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcd9e5158ea44b7577d63ab215fdafe9.jpg","text":"TemporaryFile(/tmp/multipartBody2140356683019327828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767184991,"filename":"image_30102025_17_51_58_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5523da85ccf94a50356731d794baf399.jpg","text":"TemporaryFile(/tmp/multipartBody1883677267044200908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767184991,"filename":"image_30102025_17_51_49_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f55b5f11441a1678689ef416d554b59e.jpg","text":"TemporaryFile(/tmp/multipartBody6747875189011842316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767184991,"filename":"image_30102025_17_52_02_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca41f0adbeb8da76b8f89e23921d2fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6896780793919680437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767184991,"filename":"image_30102025_17_51_56_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395646476","file1":"1395646444","file0":"1395646419","file4":"1395646512","file5":"1395646513","file3":"1395646510"},"map_files_photo_id_array":[{"photo_id":"1395646513","filename":"file5"},{"photo_id":"1395646476","filename":"file2"},{"photo_id":"1395646512","filename":"file4"},{"photo_id":"1395646444","filename":"file1"},{"photo_id":"1395646419","filename":"file0"},{"photo_id":"1395646510","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395646476":["hashtag1","hashtag2"]},{"1395646419":["hashtag1","hashtag2"]},{"1395646512":["hashtag1","hashtag2"]},{"1395646444":["hashtag1","hashtag2"]},{"1395646513":["hashtag1","hashtag2"]},{"1395646510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395646476, 1395646419, 1395646512, 1395646444, 1395646513, 1395646510)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.43969392776489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:19:42.008401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_05_2672.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_07_2660.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_10_2893.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_14_3649.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_18_4444.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_20_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_05_2672.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_07_2660.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_10_2893.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_14_3649.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_18_4444.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_20_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395646608","1395646613","1395646610","1395646604","1395646606","1395646615"],"photo_ids_order":["1395646604","1395646606","1395646608","1395646610","1395646613","1395646615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9593ab9b3ca39d42d22ab8b6bc302751.jpg","text":"TemporaryFile(/tmp/multipartBody5760474405067930735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767250221,"filename":"image_30102025_17_52_10_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8df2de379c8e03b5a7730eee26077f27.jpg","text":"TemporaryFile(/tmp/multipartBody6426864258110605299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767250221,"filename":"image_30102025_17_52_18_4444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b346829078bd06a4b0880b1de7dc563.jpg","text":"TemporaryFile(/tmp/multipartBody2260038205849412782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767250221,"filename":"image_30102025_17_52_14_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49361a1576ffb1ac585847d1ccc406ae.jpg","text":"TemporaryFile(/tmp/multipartBody7561435705741614364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767250221,"filename":"image_30102025_17_52_05_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91a3f5ca8e4d844e7c09012fba88231a.jpg","text":"TemporaryFile(/tmp/multipartBody238680892180141904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767250221,"filename":"image_30102025_17_52_07_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/243bc6b0a528dfab2029736ad251c3eb.jpg","text":"TemporaryFile(/tmp/multipartBody7287994657755648829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767250221,"filename":"image_30102025_17_52_20_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395646608","file1":"1395646606","file0":"1395646604","file4":"1395646613","file5":"1395646615","file3":"1395646610"},"map_files_photo_id_array":[{"photo_id":"1395646615","filename":"file5"},{"photo_id":"1395646608","filename":"file2"},{"photo_id":"1395646613","filename":"file4"},{"photo_id":"1395646606","filename":"file1"},{"photo_id":"1395646604","filename":"file0"},{"photo_id":"1395646610","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395646608":["hashtag1","hashtag2"]},{"1395646613":["hashtag1","hashtag2"]},{"1395646610":["hashtag1","hashtag2"]},{"1395646604":["hashtag1","hashtag2"]},{"1395646606":["hashtag1","hashtag2"]},{"1395646615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395646608, 1395646613, 1395646610, 1395646604, 1395646606, 1395646615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.196508169174194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:20:42.506056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_23_2680.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_25_2674.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_29_3630.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_32_2715.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_35_2791.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_37_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_23_2680.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_25_2674.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_29_3630.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_32_2715.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_35_2791.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_37_2658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.0953786373138428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:21:07.497667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_37_2596.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_41_3648.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_43_2624.jpg', '/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_46_2637.jpg', '/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_01_2657.jpg', '/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_04_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_37_2596.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_41_3648.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_43_2624.jpg
/home/pi/Desktop/images/19112025/23/36/image_19112025_23_36_46_2637.jpg
/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_01_2657.jpg
/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_04_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395646662","1395646650","1395646658","1395646652","1395646666","1395646654"],"photo_ids_order":["1395646650","1395646652","1395646654","1395646658","1395646662","1395646666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6081d38277ec31b3121c927b5de5bd35.jpg","text":"TemporaryFile(/tmp/multipartBody6126546551617163060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767329460,"filename":"image_19112025_23_37_01_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb28a91982f1eff458a81f4c80685e55.jpg","text":"TemporaryFile(/tmp/multipartBody6181266442898706496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767329460,"filename":"image_19112025_23_36_37_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/deafe2da20649db303c7789925fe7c23.jpg","text":"TemporaryFile(/tmp/multipartBody7105119904128795201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767329460,"filename":"image_19112025_23_36_46_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2cea5fe35105f4d08c03bd5b8fbfc36.jpg","text":"TemporaryFile(/tmp/multipartBody5943700804569385276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767329460,"filename":"image_19112025_23_36_41_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5a5695da27396a397450557484b0f72.jpg","text":"TemporaryFile(/tmp/multipartBody6247038036611676200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767329460,"filename":"image_19112025_23_37_04_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d638cf9c409c55cf42c7f7b171bad21.jpg","text":"TemporaryFile(/tmp/multipartBody7187045043539525065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767329460,"filename":"image_19112025_23_36_43_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395646654","file1":"1395646652","file0":"1395646650","file4":"1395646662","file5":"1395646666","file3":"1395646658"},"map_files_photo_id_array":[{"photo_id":"1395646666","filename":"file5"},{"photo_id":"1395646654","filename":"file2"},{"photo_id":"1395646662","filename":"file4"},{"photo_id":"1395646652","filename":"file1"},{"photo_id":"1395646650","filename":"file0"},{"photo_id":"1395646658","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395646662":["hashtag1","hashtag2"]},{"1395646650":["hashtag1","hashtag2"]},{"1395646658":["hashtag1","hashtag2"]},{"1395646652":["hashtag1","hashtag2"]},{"1395646666":["hashtag1","hashtag2"]},{"1395646654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395646662, 1395646650, 1395646658, 1395646652, 1395646666, 1395646654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.385491609573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:22:12.467257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_31_2669.jpg', '/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_37_2755.jpg', '/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_49_2601.jpg', '/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_55_2763.jpg', '/home/pi/Desktop/images/19112025/23/38/image_19112025_23_38_01_2674.jpg', '/home/pi/Desktop/images/19112025/23/38/image_19112025_23_38_04_3740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_31_2669.jpg
/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_37_2755.jpg
/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_49_2601.jpg
/home/pi/Desktop/images/19112025/23/37/image_19112025_23_37_55_2763.jpg
/home/pi/Desktop/images/19112025/23/38/image_19112025_23_38_01_2674.jpg
/home/pi/Desktop/images/19112025/23/38/image_19112025_23_38_04_3740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395646950","1395647075","1395646991","1395647035","1395647110","1395646912"],"photo_ids_order":["1395646912","1395646950","1395646991","1395647035","1395647075","1395647110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1f98c165867d3ad8f94bd399fcdfe54.jpg","text":"TemporaryFile(/tmp/multipartBody4866530827441608130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767396543,"filename":"image_19112025_23_37_37_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/157f9dbe8954352a8f592d8129f2a980.jpg","text":"TemporaryFile(/tmp/multipartBody8627813185665077916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767396543,"filename":"image_19112025_23_38_01_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d69ee55532399bb2a172344d4de538ed.jpg","text":"TemporaryFile(/tmp/multipartBody5656554789195128237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767396543,"filename":"image_19112025_23_37_49_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7f3ec7aea58e5f0b3383d16fef08ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2124523415208077365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767396543,"filename":"image_19112025_23_37_55_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/102e0410956734c70ae9116dc0a1da69.jpg","text":"TemporaryFile(/tmp/multipartBody5766651577456256810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767396543,"filename":"image_19112025_23_38_04_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36ada77809e9c227bd1385a39a1d8c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5889352140169983177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767396543,"filename":"image_19112025_23_37_31_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395646991","file1":"1395646950","file0":"1395646912","file4":"1395647075","file5":"1395647110","file3":"1395647035"},"map_files_photo_id_array":[{"photo_id":"1395647110","filename":"file5"},{"photo_id":"1395646991","filename":"file2"},{"photo_id":"1395647075","filename":"file4"},{"photo_id":"1395646950","filename":"file1"},{"photo_id":"1395646912","filename":"file0"},{"photo_id":"1395647035","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395646950":["hashtag1","hashtag2"]},{"1395647075":["hashtag1","hashtag2"]},{"1395646991":["hashtag1","hashtag2"]},{"1395647035":["hashtag1","hashtag2"]},{"1395647110":["hashtag1","hashtag2"]},{"1395646912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395646950, 1395647075, 1395646991, 1395647035, 1395647110, 1395646912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23421812057495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:23:02.688755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_07_3017.jpg', '/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_11_3698.jpg', '/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_14_2689.jpg', '/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_16_2765.jpg', '/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_20_3627.jpg', '/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_25_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_07_3017.jpg
/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_11_3698.jpg
/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_14_2689.jpg
/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_16_2765.jpg
/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_20_3627.jpg
/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_25_2539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395647386","1395647575","1395647497","1395647458","1395647539","1395647421"],"photo_ids_order":["1395647386","1395647421","1395647458","1395647497","1395647539","1395647575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71e7b2227e6e39ed54b4ad2390c0907e.jpg","text":"TemporaryFile(/tmp/multipartBody1990071181975313429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767452766,"filename":"image_19112025_23_39_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e23048c54b9d065a85a99eb16a9fe5b3.jpg","text":"TemporaryFile(/tmp/multipartBody9115722967826107182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767452766,"filename":"image_19112025_23_39_25_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/561034b15450c4d8f403a0556ad00a06.jpg","text":"TemporaryFile(/tmp/multipartBody6835036664797530677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767452766,"filename":"image_19112025_23_39_16_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efbcfb0a389d5eb929d8a51523770a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1172756273542410154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767452766,"filename":"image_19112025_23_39_14_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f937bbc90fc3d28964ee567cf9447698.jpg","text":"TemporaryFile(/tmp/multipartBody6164096083114110628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767452766,"filename":"image_19112025_23_39_20_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8372dfaa135cd0611b2ad70d81e77e30.jpg","text":"TemporaryFile(/tmp/multipartBody4322174119487085617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767452766,"filename":"image_19112025_23_39_11_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395647458","file1":"1395647421","file0":"1395647386","file4":"1395647539","file5":"1395647575","file3":"1395647497"},"map_files_photo_id_array":[{"photo_id":"1395647575","filename":"file5"},{"photo_id":"1395647458","filename":"file2"},{"photo_id":"1395647539","filename":"file4"},{"photo_id":"1395647421","filename":"file1"},{"photo_id":"1395647386","filename":"file0"},{"photo_id":"1395647497","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395647386":["hashtag1","hashtag2"]},{"1395647575":["hashtag1","hashtag2"]},{"1395647497":["hashtag1","hashtag2"]},{"1395647458":["hashtag1","hashtag2"]},{"1395647539":["hashtag1","hashtag2"]},{"1395647421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395647386, 1395647575, 1395647497, 1395647458, 1395647539, 1395647421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.41399312019348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:24:06.464965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:24:25.819073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_23_2680.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_25_2674.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_29_3630.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_32_2715.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_35_2791.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_37_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_23_2680.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_25_2674.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_29_3630.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_32_2715.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_35_2791.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_37_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395647829","1395647804","1395647828","1395647824","1395647781","1395647751"],"photo_ids_order":["1395647751","1395647781","1395647804","1395647824","1395647828","1395647829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21b0a0492a0e4bbaf2e4a48d38d971ea.jpg","text":"TemporaryFile(/tmp/multipartBody5163197340258860329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767528063,"filename":"image_30102025_17_52_37_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d287b965205f7f2cf2c165911943a6ea.jpg","text":"TemporaryFile(/tmp/multipartBody2706414901025294090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767528063,"filename":"image_30102025_17_52_29_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/098c58f49c1aba61b5e344307f5a982c.jpg","text":"TemporaryFile(/tmp/multipartBody7122219663153801651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767528063,"filename":"image_30102025_17_52_35_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f31c490010291f747be5db244e1ad2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1850591329539958632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767528063,"filename":"image_30102025_17_52_32_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c77133742d213dc6a9e6f0d80010b639.jpg","text":"TemporaryFile(/tmp/multipartBody6267179471435553403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767528063,"filename":"image_30102025_17_52_25_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/126ee028817643ac9d9cc03c64e5ff09.jpg","text":"TemporaryFile(/tmp/multipartBody6749014333125314196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767528063,"filename":"image_30102025_17_52_23_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395647804","file1":"1395647781","file0":"1395647751","file4":"1395647828","file5":"1395647829","file3":"1395647824"},"map_files_photo_id_array":[{"photo_id":"1395647829","filename":"file5"},{"photo_id":"1395647804","filename":"file2"},{"photo_id":"1395647828","filename":"file4"},{"photo_id":"1395647781","filename":"file1"},{"photo_id":"1395647751","filename":"file0"},{"photo_id":"1395647824","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395647829":["hashtag1","hashtag2"]},{"1395647804":["hashtag1","hashtag2"]},{"1395647828":["hashtag1","hashtag2"]},{"1395647824":["hashtag1","hashtag2"]},{"1395647781":["hashtag1","hashtag2"]},{"1395647751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395647829, 1395647804, 1395647828, 1395647824, 1395647781, 1395647751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83708572387695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:25:22.199677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_41_3665.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_44_2860.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_46_2591.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_50_3775.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_53_2691.jpg', '/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_55_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_41_3665.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_44_2860.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_46_2591.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_50_3775.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_53_2691.jpg
/home/pi/Desktop/images/30102025/17/52/image_30102025_17_52_55_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395647849","1395647851","1395647845","1395647842","1395647839","1395647853"],"photo_ids_order":["1395647839","1395647842","1395647845","1395647849","1395647851","1395647853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eceb2ec1921fa348189dde241e03dfca.jpg","text":"TemporaryFile(/tmp/multipartBody7154031389426356484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767584449,"filename":"image_30102025_17_52_50_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5b45e69aebacbbbbb141a2e788980cb.jpg","text":"TemporaryFile(/tmp/multipartBody6367746271549850975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767584449,"filename":"image_30102025_17_52_53_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ab1702d51163c9c419119407d73582a.jpg","text":"TemporaryFile(/tmp/multipartBody6203427688808053440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767584449,"filename":"image_30102025_17_52_46_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2028866fbaf6dceafd6e198cc9ef8d8f.jpg","text":"TemporaryFile(/tmp/multipartBody282559908311109043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767584449,"filename":"image_30102025_17_52_44_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fd10475ecffb448bac2beaecf567b28.jpg","text":"TemporaryFile(/tmp/multipartBody1697648858678215364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767584449,"filename":"image_30102025_17_52_41_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8da2298148a871a45b7a9da485f5af72.jpg","text":"TemporaryFile(/tmp/multipartBody3487995669888497956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767584449,"filename":"image_30102025_17_52_55_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395647845","file1":"1395647842","file0":"1395647839","file4":"1395647851","file5":"1395647853","file3":"1395647849"},"map_files_photo_id_array":[{"photo_id":"1395647853","filename":"file5"},{"photo_id":"1395647845","filename":"file2"},{"photo_id":"1395647851","filename":"file4"},{"photo_id":"1395647842","filename":"file1"},{"photo_id":"1395647839","filename":"file0"},{"photo_id":"1395647849","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395647849":["hashtag1","hashtag2"]},{"1395647851":["hashtag1","hashtag2"]},{"1395647845":["hashtag1","hashtag2"]},{"1395647842":["hashtag1","hashtag2"]},{"1395647839":["hashtag1","hashtag2"]},{"1395647853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395647849, 1395647851, 1395647845, 1395647842, 1395647839, 1395647853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97261834144592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:26:02.700312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_35_3577.jpg', '/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_38_2615.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_05_1779.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_08_2333.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_10_2709.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_14_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_35_3577.jpg
/home/pi/Desktop/images/19112025/23/39/image_19112025_23_39_38_2615.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_05_1779.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_08_2333.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_10_2709.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_14_3563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395647858","1395647863","1395647869","1395647854","1395647856","1395647865"],"photo_ids_order":["1395647854","1395647856","1395647858","1395647863","1395647865","1395647869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15b35484c6cc0eccea9ff794fa6c4e96.jpg","text":"TemporaryFile(/tmp/multipartBody9210308429035181563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767627154,"filename":"image_19112025_23_40_05_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c62c2d1e7394bb6b0a1d4977020ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody2439507234567982858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767627154,"filename":"image_19112025_23_40_08_2333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41ca63fc1305ae47fdb84fa07d6e6575.jpg","text":"TemporaryFile(/tmp/multipartBody8537729124725874579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767627154,"filename":"image_19112025_23_40_14_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae011200bc4659e2ab29ea3f59866e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3268984825184938800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767627154,"filename":"image_19112025_23_39_35_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/941d41948c79bc7a39edb6d2923e9480.jpg","text":"TemporaryFile(/tmp/multipartBody6779483766370131861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767627154,"filename":"image_19112025_23_39_38_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39354b9e9b4573fc71f19d756358229e.jpg","text":"TemporaryFile(/tmp/multipartBody5114547761050693718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767627154,"filename":"image_19112025_23_40_10_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395647858","file1":"1395647856","file0":"1395647854","file4":"1395647865","file5":"1395647869","file3":"1395647863"},"map_files_photo_id_array":[{"photo_id":"1395647869","filename":"file5"},{"photo_id":"1395647858","filename":"file2"},{"photo_id":"1395647865","filename":"file4"},{"photo_id":"1395647856","filename":"file1"},{"photo_id":"1395647854","filename":"file0"},{"photo_id":"1395647863","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395647858":["hashtag1","hashtag2"]},{"1395647863":["hashtag1","hashtag2"]},{"1395647869":["hashtag1","hashtag2"]},{"1395647854":["hashtag1","hashtag2"]},{"1395647856":["hashtag1","hashtag2"]},{"1395647865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395647858, 1395647863, 1395647869, 1395647854, 1395647856, 1395647865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.578168869018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:27:03.349518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_17_2606.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_31_2601.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_35_3622.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_37_2629.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_46_2759.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_53_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_17_2606.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_31_2601.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_35_3622.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_37_2629.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_46_2759.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_53_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395647901","1395647896","1395647892","1395647905","1395647898","1395647883"],"photo_ids_order":["1395647883","1395647892","1395647896","1395647898","1395647901","1395647905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6552a7d7a36c3e4b5827c82ae3924cea.jpg","text":"TemporaryFile(/tmp/multipartBody3870956638543962433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767685214,"filename":"image_19112025_23_40_46_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d28f8575f002a7561ad5f7e66d3102ab.jpg","text":"TemporaryFile(/tmp/multipartBody4289147013225629820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767685214,"filename":"image_19112025_23_40_35_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c40f8b51d4361e403fd40f7c30c24255.jpg","text":"TemporaryFile(/tmp/multipartBody2375050889953185718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767685214,"filename":"image_19112025_23_40_31_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1971b4940a6d213fa93a7cf8326b95c7.jpg","text":"TemporaryFile(/tmp/multipartBody2382015219495192777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767685214,"filename":"image_19112025_23_40_53_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bc6800ff53095f7d6969908a33511a8.jpg","text":"TemporaryFile(/tmp/multipartBody2626638549492825630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767685214,"filename":"image_19112025_23_40_37_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d56eceaa6413b54348c60e38e7b52ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1113905289458110064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767685214,"filename":"image_19112025_23_40_17_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395647896","file1":"1395647892","file0":"1395647883","file4":"1395647901","file5":"1395647905","file3":"1395647898"},"map_files_photo_id_array":[{"photo_id":"1395647905","filename":"file5"},{"photo_id":"1395647896","filename":"file2"},{"photo_id":"1395647901","filename":"file4"},{"photo_id":"1395647892","filename":"file1"},{"photo_id":"1395647883","filename":"file0"},{"photo_id":"1395647898","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395647901":["hashtag1","hashtag2"]},{"1395647896":["hashtag1","hashtag2"]},{"1395647892":["hashtag1","hashtag2"]},{"1395647905":["hashtag1","hashtag2"]},{"1395647898":["hashtag1","hashtag2"]},{"1395647883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395647901, 1395647896, 1395647892, 1395647905, 1395647898, 1395647883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18535399436951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:27:42.550091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_01_5156.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_03_1955.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_04_1700.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_08_3699.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_11_2600.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_13_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_01_5156.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_03_1955.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_04_1700.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_08_3699.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_11_2600.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_13_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395647913","1395647916","1395647915","1395647918","1395647917","1395647919"],"photo_ids_order":["1395647913","1395647915","1395647916","1395647917","1395647918","1395647919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3945f8d26340f6202510f2fcada7e84.jpg","text":"TemporaryFile(/tmp/multipartBody109690542917284365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767724732,"filename":"image_30102025_17_53_01_5156.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c02b8c921e0ce11b1d5e2ce7f4e2775.jpg","text":"TemporaryFile(/tmp/multipartBody2450921978052212605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767724732,"filename":"image_30102025_17_53_04_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f37c8081a808b39c068d06e55b0c498.jpg","text":"TemporaryFile(/tmp/multipartBody8018086591296957818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767724732,"filename":"image_30102025_17_53_03_1955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4283bddc114a573a587e534794ae7180.jpg","text":"TemporaryFile(/tmp/multipartBody1070035261787883040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767724732,"filename":"image_30102025_17_53_11_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21447e28fe8032e0f924d71c7346487f.jpg","text":"TemporaryFile(/tmp/multipartBody8918758439408314615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767724732,"filename":"image_30102025_17_53_08_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8990f01b95e08095024170cd1d344669.jpg","text":"TemporaryFile(/tmp/multipartBody5054723158386577598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767724732,"filename":"image_30102025_17_53_13_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395647916","file1":"1395647915","file0":"1395647913","file4":"1395647918","file5":"1395647919","file3":"1395647917"},"map_files_photo_id_array":[{"photo_id":"1395647919","filename":"file5"},{"photo_id":"1395647916","filename":"file2"},{"photo_id":"1395647918","filename":"file4"},{"photo_id":"1395647915","filename":"file1"},{"photo_id":"1395647913","filename":"file0"},{"photo_id":"1395647917","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395647913":["hashtag1","hashtag2"]},{"1395647916":["hashtag1","hashtag2"]},{"1395647915":["hashtag1","hashtag2"]},{"1395647918":["hashtag1","hashtag2"]},{"1395647917":["hashtag1","hashtag2"]},{"1395647919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395647913, 1395647916, 1395647915, 1395647918, 1395647917, 1395647919)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.87534761428833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:28:43.241731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_16_3324.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_19_2611.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_23_4433.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_25_1874.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_29_3494.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_31_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_16_3324.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_19_2611.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_23_4433.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_25_1874.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_29_3494.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_31_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395647954","1395647957","1395647936","1395647950","1395647952","1395647946"],"photo_ids_order":["1395647936","1395647946","1395647950","1395647952","1395647954","1395647957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03511c95390f29b63c4179201da173a0.jpg","text":"TemporaryFile(/tmp/multipartBody6392171655731433291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767796224,"filename":"image_30102025_17_53_29_3494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dffe43c2e2123f429712cead748fe17a.jpg","text":"TemporaryFile(/tmp/multipartBody6908594691084419259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767796224,"filename":"image_30102025_17_53_31_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/950be66901c88a2f50838f87a8014e11.jpg","text":"TemporaryFile(/tmp/multipartBody2641395817085368281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767796224,"filename":"image_30102025_17_53_16_3324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30f135f92a47213b6e841b8c3b5e6596.jpg","text":"TemporaryFile(/tmp/multipartBody2141695925679988040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767796224,"filename":"image_30102025_17_53_23_4433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f09ad24bb56d86806e96f6c2e27adeb.jpg","text":"TemporaryFile(/tmp/multipartBody1155536437299079026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767796224,"filename":"image_30102025_17_53_25_1874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27260ed0c8a1a7ca414fecfd9ad68b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6273500483802180628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767796224,"filename":"image_30102025_17_53_19_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395647950","file1":"1395647946","file0":"1395647936","file4":"1395647954","file5":"1395647957","file3":"1395647952"},"map_files_photo_id_array":[{"photo_id":"1395647957","filename":"file5"},{"photo_id":"1395647950","filename":"file2"},{"photo_id":"1395647954","filename":"file4"},{"photo_id":"1395647946","filename":"file1"},{"photo_id":"1395647936","filename":"file0"},{"photo_id":"1395647952","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395647954":["hashtag1","hashtag2"]},{"1395647957":["hashtag1","hashtag2"]},{"1395647936":["hashtag1","hashtag2"]},{"1395647950":["hashtag1","hashtag2"]},{"1395647952":["hashtag1","hashtag2"]},{"1395647946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395647954, 1395647957, 1395647936, 1395647950, 1395647952, 1395647946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.52345156669617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:29:42.412269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_34_2746.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_38_3504.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_40_2724.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_43_2575.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_46_3200.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_49_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_34_2746.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_38_3504.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_40_2724.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_43_2575.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_46_3200.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_49_2784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395647981","1395647975","1395647977","1395647973","1395647982","1395647976"],"photo_ids_order":["1395647973","1395647975","1395647976","1395647977","1395647981","1395647982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/653f07d78cfd5caaaf5316ee6c3a0469.jpg","text":"TemporaryFile(/tmp/multipartBody5860999699581223450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767844593,"filename":"image_30102025_17_53_46_3200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7953b79b83dde1b91f2b860fe0f6337.jpg","text":"TemporaryFile(/tmp/multipartBody7205161679570251511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767844593,"filename":"image_30102025_17_53_38_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d23d95696f2babef1060ec3d3c07ad9d.jpg","text":"TemporaryFile(/tmp/multipartBody1592194652379290569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767844593,"filename":"image_30102025_17_53_43_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e7ff8635f60dea801d92f711a1f7423.jpg","text":"TemporaryFile(/tmp/multipartBody7106328783556305646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767844593,"filename":"image_30102025_17_53_34_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/091e28fa3a3f72939933c0fd91206cfd.jpg","text":"TemporaryFile(/tmp/multipartBody2781783525410723121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767844593,"filename":"image_30102025_17_53_49_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ac3be7954c4143c9e0025812ef8f450.jpg","text":"TemporaryFile(/tmp/multipartBody3834463359946683208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767844593,"filename":"image_30102025_17_53_40_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395647976","file1":"1395647975","file0":"1395647973","file4":"1395647981","file5":"1395647982","file3":"1395647977"},"map_files_photo_id_array":[{"photo_id":"1395647982","filename":"file5"},{"photo_id":"1395647976","filename":"file2"},{"photo_id":"1395647981","filename":"file4"},{"photo_id":"1395647975","filename":"file1"},{"photo_id":"1395647973","filename":"file0"},{"photo_id":"1395647977","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395647981":["hashtag1","hashtag2"]},{"1395647975":["hashtag1","hashtag2"]},{"1395647977":["hashtag1","hashtag2"]},{"1395647973":["hashtag1","hashtag2"]},{"1395647982":["hashtag1","hashtag2"]},{"1395647976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395647981, 1395647975, 1395647977, 1395647973, 1395647982, 1395647976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.67267632484436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:30:42.691782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_53_3634.jpg', '/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_55_2712.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_05_9397.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_06_1653.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_16_9970.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_18_1759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_53_3634.jpg
/home/pi/Desktop/images/30102025/17/53/image_30102025_17_53_55_2712.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_05_9397.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_06_1653.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_16_9970.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_18_1759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648002","1395648011","1395648005","1395648007","1395648006","1395648009"],"photo_ids_order":["1395648002","1395648005","1395648006","1395648007","1395648009","1395648011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/167ea092882033202e6d0de6527c032f.jpg","text":"TemporaryFile(/tmp/multipartBody4088899250440427508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767905233,"filename":"image_30102025_17_53_53_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4dd64ac83e3253b7a0e8b548bb0390f.jpg","text":"TemporaryFile(/tmp/multipartBody780061592720272379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767905233,"filename":"image_30102025_17_54_18_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/018e35a60e32d902c2df22cc24527af5.jpg","text":"TemporaryFile(/tmp/multipartBody5037315930818244632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767905233,"filename":"image_30102025_17_53_55_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c21be68f3278dd82b9d641b322275d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3471842592422370528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767905233,"filename":"image_30102025_17_54_06_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ab75a50d8b6fdb69e6dfeaee6154dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3076733727467622890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767905233,"filename":"image_30102025_17_54_05_9397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c886d0f265b7b621fb14639bf8aa55b2.jpg","text":"TemporaryFile(/tmp/multipartBody8132893997441287078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767905233,"filename":"image_30102025_17_54_16_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648006","file1":"1395648005","file0":"1395648002","file4":"1395648009","file5":"1395648011","file3":"1395648007"},"map_files_photo_id_array":[{"photo_id":"1395648011","filename":"file5"},{"photo_id":"1395648006","filename":"file2"},{"photo_id":"1395648009","filename":"file4"},{"photo_id":"1395648005","filename":"file1"},{"photo_id":"1395648002","filename":"file0"},{"photo_id":"1395648007","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395648002":["hashtag1","hashtag2"]},{"1395648011":["hashtag1","hashtag2"]},{"1395648005":["hashtag1","hashtag2"]},{"1395648007":["hashtag1","hashtag2"]},{"1395648006":["hashtag1","hashtag2"]},{"1395648009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395648002, 1395648011, 1395648005, 1395648007, 1395648006, 1395648009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.76984667778015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:31:41.900765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_20_1809.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_22_1706.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_31_9297.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_33_1664.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_34_1786.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_36_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_20_1809.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_22_1706.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_31_9297.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_33_1664.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_34_1786.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_36_1630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648356","1395648080","1395648043","1395648046","1395648300","1395648194"],"photo_ids_order":["1395648043","1395648046","1395648080","1395648194","1395648300","1395648356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/daa86e28150375817679c383938ca992.jpg","text":"TemporaryFile(/tmp/multipartBody4696898926773300593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767964151,"filename":"image_30102025_17_54_36_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae97adf55c377d73caae2adf7fbd4030.jpg","text":"TemporaryFile(/tmp/multipartBody88399000191481944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767964151,"filename":"image_30102025_17_54_31_9297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfd821fde4da48f6e3505a3f3ffb374f.jpg","text":"TemporaryFile(/tmp/multipartBody7550921275926533947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767964151,"filename":"image_30102025_17_54_20_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5d0e0b645411270d791c719b957a15d.jpg","text":"TemporaryFile(/tmp/multipartBody2240551128228796456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767964151,"filename":"image_30102025_17_54_22_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5dd0229cee377ff504b3bbfeaa0d05c1.jpg","text":"TemporaryFile(/tmp/multipartBody310515771890942452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767964151,"filename":"image_30102025_17_54_34_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fc6cc52a01822b676213c18c95a1cfe.jpg","text":"TemporaryFile(/tmp/multipartBody4400815216675879474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763767964151,"filename":"image_30102025_17_54_33_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648080","file1":"1395648046","file0":"1395648043","file4":"1395648300","file5":"1395648356","file3":"1395648194"},"map_files_photo_id_array":[{"photo_id":"1395648356","filename":"file5"},{"photo_id":"1395648080","filename":"file2"},{"photo_id":"1395648300","filename":"file4"},{"photo_id":"1395648046","filename":"file1"},{"photo_id":"1395648043","filename":"file0"},{"photo_id":"1395648194","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395648356":["hashtag1","hashtag2"]},{"1395648080":["hashtag1","hashtag2"]},{"1395648043":["hashtag1","hashtag2"]},{"1395648046":["hashtag1","hashtag2"]},{"1395648300":["hashtag1","hashtag2"]},{"1395648194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395648356, 1395648080, 1395648043, 1395648046, 1395648300, 1395648194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20797896385193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:32:22.200828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_38_1581.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_39_1628.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_41_1740.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_44_2874.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_46_1707.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_47_1750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_38_1581.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_39_1628.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_41_1740.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_44_2874.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_46_1707.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_47_1750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.1144790649414062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:32:42.130294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_38_1581.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_39_1628.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_41_1740.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_44_2874.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_46_1707.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_47_1750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_38_1581.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_39_1628.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_41_1740.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_44_2874.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_46_1707.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_47_1750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648476","1395648478","1395648472","1395648475","1395648474","1395648477"],"photo_ids_order":["1395648472","1395648474","1395648475","1395648476","1395648477","1395648478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76cb4897a59f53a418f40d0b57d15e37.jpg","text":"TemporaryFile(/tmp/multipartBody3293597850953474692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768024214,"filename":"image_30102025_17_54_44_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1df7a3a43674b2be795e84bb69a65092.jpg","text":"TemporaryFile(/tmp/multipartBody549515595335696139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768024214,"filename":"image_30102025_17_54_47_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/196da8f72f27dc54dacdd527c1347b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1531462292516630442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768024214,"filename":"image_30102025_17_54_38_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40fd463329e55165f2bd7a8bf63fd590.jpg","text":"TemporaryFile(/tmp/multipartBody9134483466914074018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768024214,"filename":"image_30102025_17_54_41_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa7f28e11dfc85a9669b1ab7d59e8292.jpg","text":"TemporaryFile(/tmp/multipartBody2167948211421831862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768024214,"filename":"image_30102025_17_54_39_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4411239b6aea4be519fa0ae5b226faf.jpg","text":"TemporaryFile(/tmp/multipartBody7432486607853200640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768024214,"filename":"image_30102025_17_54_46_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648475","file1":"1395648474","file0":"1395648472","file4":"1395648477","file5":"1395648478","file3":"1395648476"},"map_files_photo_id_array":[{"photo_id":"1395648478","filename":"file5"},{"photo_id":"1395648475","filename":"file2"},{"photo_id":"1395648477","filename":"file4"},{"photo_id":"1395648474","filename":"file1"},{"photo_id":"1395648472","filename":"file0"},{"photo_id":"1395648476","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395648476":["hashtag1","hashtag2"]},{"1395648478":["hashtag1","hashtag2"]},{"1395648472":["hashtag1","hashtag2"]},{"1395648475":["hashtag1","hashtag2"]},{"1395648474":["hashtag1","hashtag2"]},{"1395648477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395648476, 1395648478, 1395648472, 1395648475, 1395648474, 1395648477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90020823478699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:33:22.304490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_49_1611.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_51_1645.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_52_1592.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_55_3026.jpg', '/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_58_2710.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_49_1611.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_51_1645.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_52_1592.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_55_3026.jpg
/home/pi/Desktop/images/30102025/17/54/image_30102025_17_54_58_2710.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648503","1395648506","1395648509","1395648500","1395648511","1395648491"],"photo_ids_order":["1395648491","1395648500","1395648503","1395648506","1395648509","1395648511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/895195455775a2013a32403f4886ed50.jpg","text":"TemporaryFile(/tmp/multipartBody4533894021603984479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768064482,"filename":"image_30102025_17_54_52_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee7bb39ed407775435c6a2902e4f60d7.jpg","text":"TemporaryFile(/tmp/multipartBody8152857843037432002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768064482,"filename":"image_30102025_17_54_55_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/879897b2e1a5ad77fe51d63728fb3588.jpg","text":"TemporaryFile(/tmp/multipartBody8029804723980784694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768064482,"filename":"image_30102025_17_54_58_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db5df56116e42cd346ee7a0d6ce706df.jpg","text":"TemporaryFile(/tmp/multipartBody6054719751819565126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768064482,"filename":"image_30102025_17_54_51_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/765e3b5e9a6ee06572d4a9c25e743ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4807630358243223610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768064482,"filename":"image_30102025_17_55_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/876561b4098f92655e124d4d22896a19.jpg","text":"TemporaryFile(/tmp/multipartBody5638649492542268890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768064482,"filename":"image_30102025_17_54_49_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648503","file1":"1395648500","file0":"1395648491","file4":"1395648509","file5":"1395648511","file3":"1395648506"},"map_files_photo_id_array":[{"photo_id":"1395648511","filename":"file5"},{"photo_id":"1395648503","filename":"file2"},{"photo_id":"1395648509","filename":"file4"},{"photo_id":"1395648500","filename":"file1"},{"photo_id":"1395648491","filename":"file0"},{"photo_id":"1395648506","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395648503":["hashtag1","hashtag2"]},{"1395648506":["hashtag1","hashtag2"]},{"1395648509":["hashtag1","hashtag2"]},{"1395648500":["hashtag1","hashtag2"]},{"1395648511":["hashtag1","hashtag2"]},{"1395648491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395648503, 1395648506, 1395648509, 1395648500, 1395648511, 1395648491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.054046630859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:34:03.206457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_55_2685.jpg', '/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_59_3525.jpg', '/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_04_2559.jpg', '/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_13_2706.jpg', '/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_22_2594.jpg', '/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_26_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_55_2685.jpg
/home/pi/Desktop/images/19112025/23/40/image_19112025_23_40_59_3525.jpg
/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_04_2559.jpg
/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_13_2706.jpg
/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_22_2594.jpg
/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_26_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648521","1395648518","1395648512","1395648514","1395648525","1395648516"],"photo_ids_order":["1395648512","1395648514","1395648516","1395648518","1395648521","1395648525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e554402db51a999a5aa17ace99cecfcc.jpg","text":"TemporaryFile(/tmp/multipartBody3896027736526981250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768105127,"filename":"image_19112025_23_41_22_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1ec71e5f8dc0257be2a217abadae17d.jpg","text":"TemporaryFile(/tmp/multipartBody695423491615771833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768105127,"filename":"image_19112025_23_41_13_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63e5f6c30744a2343019281f1f02876b.jpg","text":"TemporaryFile(/tmp/multipartBody2753023624518189443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768105127,"filename":"image_19112025_23_40_55_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e63e2f05d07dd38a9828e7f6be774f5c.jpg","text":"TemporaryFile(/tmp/multipartBody3388607934113301352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768105127,"filename":"image_19112025_23_40_59_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec6966dbb6138b312b6975cd9c610ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8999035677342511985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768105127,"filename":"image_19112025_23_41_26_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/722472590b64780e6e54d229ee9ec686.jpg","text":"TemporaryFile(/tmp/multipartBody1918633162972456392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768105127,"filename":"image_19112025_23_41_04_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648516","file1":"1395648514","file0":"1395648512","file4":"1395648521","file5":"1395648525","file3":"1395648518"},"map_files_photo_id_array":[{"photo_id":"1395648525","filename":"file5"},{"photo_id":"1395648516","filename":"file2"},{"photo_id":"1395648521","filename":"file4"},{"photo_id":"1395648514","filename":"file1"},{"photo_id":"1395648512","filename":"file0"},{"photo_id":"1395648518","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395648521":["hashtag1","hashtag2"]},{"1395648518":["hashtag1","hashtag2"]},{"1395648512":["hashtag1","hashtag2"]},{"1395648514":["hashtag1","hashtag2"]},{"1395648525":["hashtag1","hashtag2"]},{"1395648516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395648521, 1395648518, 1395648512, 1395648514, 1395648525, 1395648516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2942111492157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:34:42.498542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_13_5650.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_30_17522.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_42_11778.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_44_1597.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_45_1665.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_47_1830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_13_5650.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_30_17522.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_42_11778.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_44_1597.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_45_1665.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_47_1830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648536","1395648539","1395648538","1395648537","1395648546","1395648534"],"photo_ids_order":["1395648534","1395648536","1395648537","1395648538","1395648539","1395648546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b6a3fd3ae4230547d46ff861e5d6828.jpg","text":"TemporaryFile(/tmp/multipartBody2531781155372443447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768144662,"filename":"image_30102025_17_55_30_17522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/811cf446ab134fe50f95f2f247922f27.jpg","text":"TemporaryFile(/tmp/multipartBody4709952975285023034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768144662,"filename":"image_30102025_17_55_45_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d535c4899e1455af904aaa5731ffb47e.jpg","text":"TemporaryFile(/tmp/multipartBody8333848653838286778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768144662,"filename":"image_30102025_17_55_44_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b8d407aaf99d8902013312ec5168a37.jpg","text":"TemporaryFile(/tmp/multipartBody6134654126347578071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768144662,"filename":"image_30102025_17_55_42_11778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cb88c87b124b2a00415e4b366787aa3.jpg","text":"TemporaryFile(/tmp/multipartBody5354901846029368479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768144662,"filename":"image_30102025_17_55_47_1830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8354d6e6fb69808904eaf8ecb9d26912.jpg","text":"TemporaryFile(/tmp/multipartBody8114682433423907650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768144662,"filename":"image_30102025_17_55_13_5650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648537","file1":"1395648536","file0":"1395648534","file4":"1395648539","file5":"1395648546","file3":"1395648538"},"map_files_photo_id_array":[{"photo_id":"1395648546","filename":"file5"},{"photo_id":"1395648537","filename":"file2"},{"photo_id":"1395648539","filename":"file4"},{"photo_id":"1395648536","filename":"file1"},{"photo_id":"1395648534","filename":"file0"},{"photo_id":"1395648538","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395648536":["hashtag1","hashtag2"]},{"1395648539":["hashtag1","hashtag2"]},{"1395648538":["hashtag1","hashtag2"]},{"1395648537":["hashtag1","hashtag2"]},{"1395648546":["hashtag1","hashtag2"]},{"1395648534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395648536, 1395648539, 1395648538, 1395648537, 1395648546, 1395648534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83806133270264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:35:22.716945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_49_1800.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_51_1695.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_52_1677.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_54_1583.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_56_1602.jpg', '/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_57_1540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_49_1800.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_51_1695.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_52_1677.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_54_1583.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_56_1602.jpg
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_57_1540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648602","1395648595","1395648598","1395648577","1395648600","1395648590"],"photo_ids_order":["1395648577","1395648590","1395648595","1395648598","1395648600","1395648602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccf5f2e99449c0a921f4b7cba5245a90.jpg","text":"TemporaryFile(/tmp/multipartBody9082220007221878905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768184951,"filename":"image_30102025_17_55_57_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f624f670b7b018e0d77a887df6acb6cb.jpg","text":"TemporaryFile(/tmp/multipartBody2886540793904258639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768184951,"filename":"image_30102025_17_55_52_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25ca86d481d8f8233bd7534509ba5f02.jpg","text":"TemporaryFile(/tmp/multipartBody8687009871696611245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768184951,"filename":"image_30102025_17_55_54_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/829b80564d0b84d1881daf298ba23d22.jpg","text":"TemporaryFile(/tmp/multipartBody8118013772888293694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768184951,"filename":"image_30102025_17_55_49_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9c1f5677134bed260aa4a2c3006334e.jpg","text":"TemporaryFile(/tmp/multipartBody4206931198274887838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768184951,"filename":"image_30102025_17_55_56_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7adf8bdbcf1e27ca550b50e05f21339.jpg","text":"TemporaryFile(/tmp/multipartBody4943712679147646083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768184951,"filename":"image_30102025_17_55_51_1695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648595","file1":"1395648590","file0":"1395648577","file4":"1395648600","file5":"1395648602","file3":"1395648598"},"map_files_photo_id_array":[{"photo_id":"1395648602","filename":"file5"},{"photo_id":"1395648595","filename":"file2"},{"photo_id":"1395648600","filename":"file4"},{"photo_id":"1395648590","filename":"file1"},{"photo_id":"1395648577","filename":"file0"},{"photo_id":"1395648598","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395648602":["hashtag1","hashtag2"]},{"1395648595":["hashtag1","hashtag2"]},{"1395648598":["hashtag1","hashtag2"]},{"1395648577":["hashtag1","hashtag2"]},{"1395648600":["hashtag1","hashtag2"]},{"1395648590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395648602, 1395648595, 1395648598, 1395648577, 1395648600, 1395648590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76404905319214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:36:02.485300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_28_2629.jpg', '/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_41_3709.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_04_2545.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_08_3609.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_10_2547.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_13_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_28_2629.jpg
/home/pi/Desktop/images/19112025/23/41/image_19112025_23_41_41_3709.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_04_2545.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_08_3609.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_10_2547.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_13_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648623","1395648605","1395648614","1395648616","1395648619","1395648612"],"photo_ids_order":["1395648605","1395648612","1395648614","1395648616","1395648619","1395648623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89e856028dfb8d158f1efda091ce02cf.jpg","text":"TemporaryFile(/tmp/multipartBody3537070836031581334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768224295,"filename":"image_19112025_23_42_13_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a04cce1eebf4afb585febf6552dbee2.jpg","text":"TemporaryFile(/tmp/multipartBody245153885673611817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768224295,"filename":"image_19112025_23_41_28_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d96ffd59e9977301018d05d05f1ea1ae.jpg","text":"TemporaryFile(/tmp/multipartBody1011382851761561964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768224295,"filename":"image_19112025_23_42_04_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6aebc3c9a636c63ad70aa1b33a7d72ae.jpg","text":"TemporaryFile(/tmp/multipartBody388699846238916369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768224295,"filename":"image_19112025_23_42_08_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/842426710a623c6688fd0fe102cc8dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8724543496830723288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768224295,"filename":"image_19112025_23_42_10_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b290ecfe6711d50701a4c04be500264d.jpg","text":"TemporaryFile(/tmp/multipartBody3574588561186990218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768224295,"filename":"image_19112025_23_41_41_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648614","file1":"1395648612","file0":"1395648605","file4":"1395648619","file5":"1395648623","file3":"1395648616"},"map_files_photo_id_array":[{"photo_id":"1395648623","filename":"file5"},{"photo_id":"1395648614","filename":"file2"},{"photo_id":"1395648619","filename":"file4"},{"photo_id":"1395648612","filename":"file1"},{"photo_id":"1395648605","filename":"file0"},{"photo_id":"1395648616","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395648623":["hashtag1","hashtag2"]},{"1395648605":["hashtag1","hashtag2"]},{"1395648614":["hashtag1","hashtag2"]},{"1395648616":["hashtag1","hashtag2"]},{"1395648619":["hashtag1","hashtag2"]},{"1395648612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395648623, 1395648605, 1395648614, 1395648616, 1395648619, 1395648612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33984088897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:36:42.028067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_59_1714.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_01_1632.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_02_1627.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_04_1555.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_20_16330.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_22_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/55/image_30102025_17_55_59_1714.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_01_1632.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_02_1627.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_04_1555.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_20_16330.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_22_1633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395648635","1395648638","1395648704","1395648739","1395648669","1395648776"],"photo_ids_order":["1395648635","1395648638","1395648669","1395648704","1395648739","1395648776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db97ad6bd65e68b499e01c292a512fae.jpg","text":"TemporaryFile(/tmp/multipartBody1229893071465225285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768264200,"filename":"image_30102025_17_55_59_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9549d15e04dbe5d7313f4872b48c04d.jpg","text":"TemporaryFile(/tmp/multipartBody2959299119153637593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768264200,"filename":"image_30102025_17_56_01_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19ab8faaaa8f0db9172b666c1cedcdaf.jpg","text":"TemporaryFile(/tmp/multipartBody2159768335806014266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768264200,"filename":"image_30102025_17_56_04_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aab10410df4207f8676733ff2327d506.jpg","text":"TemporaryFile(/tmp/multipartBody5264206332540732170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768264200,"filename":"image_30102025_17_56_20_16330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/586d154374d7ca680621cc90b9232597.jpg","text":"TemporaryFile(/tmp/multipartBody700338163382191857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768264200,"filename":"image_30102025_17_56_02_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cabc9adeec439b153057179630881c33.jpg","text":"TemporaryFile(/tmp/multipartBody8602027247173057470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768264200,"filename":"image_30102025_17_56_22_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395648669","file1":"1395648638","file0":"1395648635","file4":"1395648739","file5":"1395648776","file3":"1395648704"},"map_files_photo_id_array":[{"photo_id":"1395648776","filename":"file5"},{"photo_id":"1395648669","filename":"file2"},{"photo_id":"1395648739","filename":"file4"},{"photo_id":"1395648638","filename":"file1"},{"photo_id":"1395648635","filename":"file0"},{"photo_id":"1395648704","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395648635":["hashtag1","hashtag2"]},{"1395648638":["hashtag1","hashtag2"]},{"1395648704":["hashtag1","hashtag2"]},{"1395648739":["hashtag1","hashtag2"]},{"1395648669":["hashtag1","hashtag2"]},{"1395648776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395648635, 1395648638, 1395648704, 1395648739, 1395648669, 1395648776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71003818511963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:37:22.237162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_23_1717.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_25_1639.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_27_1762.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_28_1552.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_30_1665.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_32_1560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_23_1717.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_25_1639.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_27_1762.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_28_1552.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_30_1665.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_32_1560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395649001","1395649072","1395649036","1395648961","1395649105","1395648922"],"photo_ids_order":["1395648922","1395648961","1395649001","1395649036","1395649072","1395649105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a00b93a6e22c052f3ee5260a7cebde66.jpg","text":"TemporaryFile(/tmp/multipartBody7930515712073620686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768304478,"filename":"image_30102025_17_56_27_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58b5baf442429f633b8d286a8dead824.jpg","text":"TemporaryFile(/tmp/multipartBody7824704046217777679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768304478,"filename":"image_30102025_17_56_30_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa50e6020da2d45390bd7312fd573598.jpg","text":"TemporaryFile(/tmp/multipartBody4477178995819818918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768304478,"filename":"image_30102025_17_56_28_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54f0b401eea119cb44ddac1b400a305b.jpg","text":"TemporaryFile(/tmp/multipartBody1257382192163425090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768304478,"filename":"image_30102025_17_56_25_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5db28bdc66b77048310ce80c9721e032.jpg","text":"TemporaryFile(/tmp/multipartBody8885930001081721403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768304478,"filename":"image_30102025_17_56_32_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/603d4ce7dd74b9f6367354f054acf9e6.jpg","text":"TemporaryFile(/tmp/multipartBody7037320215705931679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768304478,"filename":"image_30102025_17_56_23_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395649001","file1":"1395648961","file0":"1395648922","file4":"1395649072","file5":"1395649105","file3":"1395649036"},"map_files_photo_id_array":[{"photo_id":"1395649105","filename":"file5"},{"photo_id":"1395649001","filename":"file2"},{"photo_id":"1395649072","filename":"file4"},{"photo_id":"1395648961","filename":"file1"},{"photo_id":"1395648922","filename":"file0"},{"photo_id":"1395649036","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395649001":["hashtag1","hashtag2"]},{"1395649072":["hashtag1","hashtag2"]},{"1395649036":["hashtag1","hashtag2"]},{"1395648961":["hashtag1","hashtag2"]},{"1395649105":["hashtag1","hashtag2"]},{"1395648922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395649001, 1395649072, 1395649036, 1395648961, 1395649105, 1395648922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.509342670440674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:38:02.924490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_17_3618.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_19_2698.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_28_2702.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_34_3562.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_43_2569.jpg', '/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_46_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_17_3618.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_19_2698.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_28_2702.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_34_3562.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_43_2569.jpg
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_46_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395649348","1395649309","1395649275","1395649383","1395649422","1395649241"],"photo_ids_order":["1395649241","1395649275","1395649309","1395649348","1395649383","1395649422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b3d0ee0a20ef9ca411dfa5062644824.jpg","text":"TemporaryFile(/tmp/multipartBody7212290637664177696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768344608,"filename":"image_19112025_23_42_34_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d5754679daa9d5eacc16eeab880a0be.jpg","text":"TemporaryFile(/tmp/multipartBody7998586083323142439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768344608,"filename":"image_19112025_23_42_28_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5c0f2d18c40da52c254518fac262af6.jpg","text":"TemporaryFile(/tmp/multipartBody1529404282919813256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768344608,"filename":"image_19112025_23_42_19_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a7fa4fe95957ae7392b9de6ca739f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4396246921540690073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768344608,"filename":"image_19112025_23_42_43_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfecd9010029c575304b104f1c17fa8e.jpg","text":"TemporaryFile(/tmp/multipartBody852628505609928636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768344608,"filename":"image_19112025_23_42_46_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20befa6ec368e75b9e4322b7d6d55a57.jpg","text":"TemporaryFile(/tmp/multipartBody48708938920303221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768344608,"filename":"image_19112025_23_42_17_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395649309","file1":"1395649275","file0":"1395649241","file4":"1395649383","file5":"1395649422","file3":"1395649348"},"map_files_photo_id_array":[{"photo_id":"1395649422","filename":"file5"},{"photo_id":"1395649309","filename":"file2"},{"photo_id":"1395649383","filename":"file4"},{"photo_id":"1395649275","filename":"file1"},{"photo_id":"1395649241","filename":"file0"},{"photo_id":"1395649348","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395649348":["hashtag1","hashtag2"]},{"1395649309":["hashtag1","hashtag2"]},{"1395649275":["hashtag1","hashtag2"]},{"1395649383":["hashtag1","hashtag2"]},{"1395649422":["hashtag1","hashtag2"]},{"1395649241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395649348, 1395649309, 1395649275, 1395649383, 1395649422, 1395649241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73510456085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:38:42.539310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_33_1649.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_35_1526.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_36_1577.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_38_1634.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_40_1648.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_41_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_33_1649.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_35_1526.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_36_1577.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_38_1634.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_40_1648.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_41_1745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395649523","1395649525","1395649522","1395649521","1395649524","1395649527"],"photo_ids_order":["1395649521","1395649522","1395649523","1395649524","1395649525","1395649527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42f4f0f97ccaf6c11a4b5f908c9bff10.jpg","text":"TemporaryFile(/tmp/multipartBody8206091849520336811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768384726,"filename":"image_30102025_17_56_36_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8035f5f753af6440ab94c3d955911a3.jpg","text":"TemporaryFile(/tmp/multipartBody3966173357103696715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768384726,"filename":"image_30102025_17_56_40_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1389b349f26c282c129d6c4cead84046.jpg","text":"TemporaryFile(/tmp/multipartBody4472764351882971269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768384726,"filename":"image_30102025_17_56_35_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4aea2ca8e0b3a0e5f27243b8e667b401.jpg","text":"TemporaryFile(/tmp/multipartBody1782781749949377801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768384726,"filename":"image_30102025_17_56_33_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/245dca6eedb56bc2435b8aeea5412f34.jpg","text":"TemporaryFile(/tmp/multipartBody2877401326659170707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768384726,"filename":"image_30102025_17_56_38_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2a0cf5e1698cdd463c6c2c40a18bbee.jpg","text":"TemporaryFile(/tmp/multipartBody3107393708683013682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768384726,"filename":"image_30102025_17_56_41_1745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395649523","file1":"1395649522","file0":"1395649521","file4":"1395649525","file5":"1395649527","file3":"1395649524"},"map_files_photo_id_array":[{"photo_id":"1395649527","filename":"file5"},{"photo_id":"1395649523","filename":"file2"},{"photo_id":"1395649525","filename":"file4"},{"photo_id":"1395649522","filename":"file1"},{"photo_id":"1395649521","filename":"file0"},{"photo_id":"1395649524","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395649523":["hashtag1","hashtag2"]},{"1395649525":["hashtag1","hashtag2"]},{"1395649522":["hashtag1","hashtag2"]},{"1395649521":["hashtag1","hashtag2"]},{"1395649524":["hashtag1","hashtag2"]},{"1395649527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395649523, 1395649525, 1395649522, 1395649521, 1395649524, 1395649527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69808578491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:39:22.708902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_43_1585.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_45_1578.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_46_1665.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_50_3631.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_53_2792.jpg', '/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_55_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_43_1585.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_45_1578.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_46_1665.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_50_3631.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_53_2792.jpg
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_55_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395649612","1395649683","1395649719","1395649751","1395649646","1395649574"],"photo_ids_order":["1395649574","1395649612","1395649646","1395649683","1395649719","1395649751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c6a5cb2e4308c4514e00377cf3b0ff3.jpg","text":"TemporaryFile(/tmp/multipartBody7366341352592829851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768424909,"filename":"image_30102025_17_56_45_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14eaf0d343b06097a81d8805857961d3.jpg","text":"TemporaryFile(/tmp/multipartBody2461246810551674645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768424909,"filename":"image_30102025_17_56_50_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6af04af3448bc573fc9e85920173e1c5.jpg","text":"TemporaryFile(/tmp/multipartBody599895311370305812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768424909,"filename":"image_30102025_17_56_53_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b054816c36295c74f862486c0fb9c51.jpg","text":"TemporaryFile(/tmp/multipartBody628987206287295310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768424909,"filename":"image_30102025_17_56_55_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fea7cea250ae0dc13c6d8289af07557c.jpg","text":"TemporaryFile(/tmp/multipartBody3485972268268384908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768424909,"filename":"image_30102025_17_56_46_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc5d933f3a3dbec19b299c8ba50b6b64.jpg","text":"TemporaryFile(/tmp/multipartBody7051430289930778877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768424909,"filename":"image_30102025_17_56_43_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395649646","file1":"1395649612","file0":"1395649574","file4":"1395649719","file5":"1395649751","file3":"1395649683"},"map_files_photo_id_array":[{"photo_id":"1395649751","filename":"file5"},{"photo_id":"1395649646","filename":"file2"},{"photo_id":"1395649719","filename":"file4"},{"photo_id":"1395649612","filename":"file1"},{"photo_id":"1395649574","filename":"file0"},{"photo_id":"1395649683","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395649612":["hashtag1","hashtag2"]},{"1395649683":["hashtag1","hashtag2"]},{"1395649719":["hashtag1","hashtag2"]},{"1395649751":["hashtag1","hashtag2"]},{"1395649646":["hashtag1","hashtag2"]},{"1395649574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395649612, 1395649683, 1395649719, 1395649751, 1395649646, 1395649574)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.73732662200928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:40:21.993400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_58_2707.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_07_8918.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_10_3130.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_12_1604.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_16_4269.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_18_1827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/56/image_30102025_17_56_58_2707.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_07_8918.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_10_3130.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_12_1604.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_16_4269.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_18_1827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395649909","1395649903","1395649906","1395649895","1395649880","1395649862"],"photo_ids_order":["1395649862","1395649880","1395649895","1395649903","1395649906","1395649909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/024537fb593b82f56a1a56485b5771b7.jpg","text":"TemporaryFile(/tmp/multipartBody3006977631485867810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768484242,"filename":"image_30102025_17_57_18_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b627c904d43a5ef1e3dab07c8e63937.jpg","text":"TemporaryFile(/tmp/multipartBody386002392481983391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768484242,"filename":"image_30102025_17_57_12_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1ee0eff3044596f52cc96337cd6e184.jpg","text":"TemporaryFile(/tmp/multipartBody6721599776054113857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768484242,"filename":"image_30102025_17_57_16_4269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d72b450f98d1c2c090816b614ccb694f.jpg","text":"TemporaryFile(/tmp/multipartBody2862355228305518766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768484242,"filename":"image_30102025_17_57_10_3130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf161e923f9bcfbfb6e9cd267453552b.jpg","text":"TemporaryFile(/tmp/multipartBody1055274586814311823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768484242,"filename":"image_30102025_17_57_07_8918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5bc7630444bfd46e74ea24d4c0e0c12.jpg","text":"TemporaryFile(/tmp/multipartBody1316230087820446840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768484242,"filename":"image_30102025_17_56_58_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395649895","file1":"1395649880","file0":"1395649862","file4":"1395649906","file5":"1395649909","file3":"1395649903"},"map_files_photo_id_array":[{"photo_id":"1395649909","filename":"file5"},{"photo_id":"1395649895","filename":"file2"},{"photo_id":"1395649906","filename":"file4"},{"photo_id":"1395649880","filename":"file1"},{"photo_id":"1395649862","filename":"file0"},{"photo_id":"1395649903","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395649909":["hashtag1","hashtag2"]},{"1395649903":["hashtag1","hashtag2"]},{"1395649906":["hashtag1","hashtag2"]},{"1395649895":["hashtag1","hashtag2"]},{"1395649880":["hashtag1","hashtag2"]},{"1395649862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395649909, 1395649903, 1395649906, 1395649895, 1395649880, 1395649862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29405903816223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:41:02.674034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_55_2786.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_08_3660.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_13_2982.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_16_2802.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_20_3648.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_22_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/42/image_19112025_23_42_55_2786.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_08_3660.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_13_2982.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_16_2802.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_20_3648.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_22_2535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395649928","1395649913","1395649916","1395649911","1395649920","1395649923"],"photo_ids_order":["1395649911","1395649913","1395649916","1395649920","1395649923","1395649928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7542f286039dd7c43bd708d1330d200a.jpg","text":"TemporaryFile(/tmp/multipartBody2433032885519889503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768532511,"filename":"image_19112025_23_43_22_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f76a32e82735a56f1a6ef89dc661d4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1378994985818932362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768532511,"filename":"image_19112025_23_43_08_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79fa1c27f107be7ede93299cbaacf4e1.jpg","text":"TemporaryFile(/tmp/multipartBody7360807032631218508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768532511,"filename":"image_19112025_23_43_13_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82b477bc314b34630a2e017eb96471c2.jpg","text":"TemporaryFile(/tmp/multipartBody3439723912443818892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768532511,"filename":"image_19112025_23_42_55_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00db61229631e76157afdb9de228755f.jpg","text":"TemporaryFile(/tmp/multipartBody2090788834968161342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768532511,"filename":"image_19112025_23_43_16_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56ab0b588beabc34b009361bb851dda7.jpg","text":"TemporaryFile(/tmp/multipartBody1811680214438899461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768532511,"filename":"image_19112025_23_43_20_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395649916","file1":"1395649913","file0":"1395649911","file4":"1395649923","file5":"1395649928","file3":"1395649920"},"map_files_photo_id_array":[{"photo_id":"1395649928","filename":"file5"},{"photo_id":"1395649916","filename":"file2"},{"photo_id":"1395649923","filename":"file4"},{"photo_id":"1395649913","filename":"file1"},{"photo_id":"1395649911","filename":"file0"},{"photo_id":"1395649920","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395649928":["hashtag1","hashtag2"]},{"1395649913":["hashtag1","hashtag2"]},{"1395649916":["hashtag1","hashtag2"]},{"1395649911":["hashtag1","hashtag2"]},{"1395649920":["hashtag1","hashtag2"]},{"1395649923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395649928, 1395649913, 1395649916, 1395649911, 1395649920, 1395649923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.780988454818726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:42:02.751016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_40_2601.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_44_3655.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_46_2569.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_53_3675.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_55_2582.jpg', '/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_58_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_40_2601.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_44_3655.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_46_2569.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_53_3675.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_55_2582.jpg
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_43_58_2578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395649948","1395649962","1395649956","1395649959","1395649953","1395649943"],"photo_ids_order":["1395649943","1395649948","1395649953","1395649956","1395649959","1395649962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb0bc415481475cb4d2807ff8a8bd36e.jpg","text":"TemporaryFile(/tmp/multipartBody6654439810753294069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768587251,"filename":"image_19112025_23_43_44_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a09375ee2c15a04b9ff668e2656ddfb1.jpg","text":"TemporaryFile(/tmp/multipartBody4919367387278715991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768587251,"filename":"image_19112025_23_43_58_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/490240600f3be38e260aca4611e62974.jpg","text":"TemporaryFile(/tmp/multipartBody8396051715927427410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768587251,"filename":"image_19112025_23_43_53_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/926c9f80cb0bd1180feb95486d5ec53a.jpg","text":"TemporaryFile(/tmp/multipartBody4350961633954210455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768587251,"filename":"image_19112025_23_43_55_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23b36b35468524562a083712cd1e9988.jpg","text":"TemporaryFile(/tmp/multipartBody7139476808702635444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768587251,"filename":"image_19112025_23_43_46_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df238e5a939dd2db4f9648772275434b.jpg","text":"TemporaryFile(/tmp/multipartBody1182435937312344234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768587251,"filename":"image_19112025_23_43_40_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395649953","file1":"1395649948","file0":"1395649943","file4":"1395649959","file5":"1395649962","file3":"1395649956"},"map_files_photo_id_array":[{"photo_id":"1395649962","filename":"file5"},{"photo_id":"1395649953","filename":"file2"},{"photo_id":"1395649959","filename":"file4"},{"photo_id":"1395649948","filename":"file1"},{"photo_id":"1395649943","filename":"file0"},{"photo_id":"1395649956","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395649948":["hashtag1","hashtag2"]},{"1395649962":["hashtag1","hashtag2"]},{"1395649956":["hashtag1","hashtag2"]},{"1395649959":["hashtag1","hashtag2"]},{"1395649953":["hashtag1","hashtag2"]},{"1395649943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395649948, 1395649962, 1395649956, 1395649959, 1395649953, 1395649943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.449604511260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:43:03.783197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/43/image_19112025_23_44_01_3571.jpg', '/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_04_2681.jpg', '/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_10_2674.jpg', '/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_13_2603.jpg', '/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_31_2769.jpg', '/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_37_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/43/image_19112025_23_44_01_3571.jpg
/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_04_2681.jpg
/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_10_2674.jpg
/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_13_2603.jpg
/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_31_2769.jpg
/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_37_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395649999","1395650003","1395649992","1395649995","1395649997","1395650007"],"photo_ids_order":["1395649992","1395649995","1395649997","1395649999","1395650003","1395650007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d5f6fbff4d6645d177865336773269d.jpg","text":"TemporaryFile(/tmp/multipartBody4466225898657761193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768645466,"filename":"image_19112025_23_44_13_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b99e4a7358edacce675f81b5ecd1e558.jpg","text":"TemporaryFile(/tmp/multipartBody1461603801586712336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768645466,"filename":"image_19112025_23_44_31_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b2fd2c71d4b2e286b903114d5263838.jpg","text":"TemporaryFile(/tmp/multipartBody8318074514536067602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768645466,"filename":"image_19112025_23_44_01_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2f3a4ff0f195f44c9926d3e0ddcd482.jpg","text":"TemporaryFile(/tmp/multipartBody6288981542484706913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768645466,"filename":"image_19112025_23_44_04_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddf9e9b6285d1b9c903185b1b71932fa.jpg","text":"TemporaryFile(/tmp/multipartBody2020451511411798488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768645466,"filename":"image_19112025_23_44_10_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b745095578cc680ecd7b62c0293ad15.jpg","text":"TemporaryFile(/tmp/multipartBody3422296092648055137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768645466,"filename":"image_19112025_23_44_37_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395649997","file1":"1395649995","file0":"1395649992","file4":"1395650003","file5":"1395650007","file3":"1395649999"},"map_files_photo_id_array":[{"photo_id":"1395650007","filename":"file5"},{"photo_id":"1395649997","filename":"file2"},{"photo_id":"1395650003","filename":"file4"},{"photo_id":"1395649995","filename":"file1"},{"photo_id":"1395649992","filename":"file0"},{"photo_id":"1395649999","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395649999":["hashtag1","hashtag2"]},{"1395650003":["hashtag1","hashtag2"]},{"1395649992":["hashtag1","hashtag2"]},{"1395649995":["hashtag1","hashtag2"]},{"1395649997":["hashtag1","hashtag2"]},{"1395650007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395649999, 1395650003, 1395649992, 1395649995, 1395649997, 1395650007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.327791690826416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:43:42.588537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_22_4138.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_24_1614.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_36_12681.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_38_1804.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_40_1739.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_44_4306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_22_4138.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_24_1614.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_36_12681.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_38_1804.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_40_1739.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_44_4306.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650024","1395650027","1395650015","1395650020","1395650022","1395650016"],"photo_ids_order":["1395650015","1395650016","1395650020","1395650022","1395650024","1395650027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6183ada94fc819dcccfb08601fc9a69f.jpg","text":"TemporaryFile(/tmp/multipartBody7938239347446959105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768702726,"filename":"image_30102025_17_57_40_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c83595f49d35c7f1994779da2c9276c9.jpg","text":"TemporaryFile(/tmp/multipartBody1211629158607887070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768702726,"filename":"image_30102025_17_57_44_4306.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc45e8aa1b612f7dd4ea740b8f254b34.jpg","text":"TemporaryFile(/tmp/multipartBody6435061450948955111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768702726,"filename":"image_30102025_17_57_22_4138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c6aea11af7165ee23874089bdf0be37.jpg","text":"TemporaryFile(/tmp/multipartBody2618524742317012661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768702726,"filename":"image_30102025_17_57_36_12681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1cc74625535d1f6dcfb4ef1edc4b7d3.jpg","text":"TemporaryFile(/tmp/multipartBody8162201702238091099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768702726,"filename":"image_30102025_17_57_38_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/557a2bed1b6f8dbad9fa311690c8c313.jpg","text":"TemporaryFile(/tmp/multipartBody511275025486280377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768702726,"filename":"image_30102025_17_57_24_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650020","file1":"1395650016","file0":"1395650015","file4":"1395650024","file5":"1395650027","file3":"1395650022"},"map_files_photo_id_array":[{"photo_id":"1395650027","filename":"file5"},{"photo_id":"1395650020","filename":"file2"},{"photo_id":"1395650024","filename":"file4"},{"photo_id":"1395650016","filename":"file1"},{"photo_id":"1395650015","filename":"file0"},{"photo_id":"1395650022","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650024":["hashtag1","hashtag2"]},{"1395650027":["hashtag1","hashtag2"]},{"1395650015":["hashtag1","hashtag2"]},{"1395650020":["hashtag1","hashtag2"]},{"1395650022":["hashtag1","hashtag2"]},{"1395650016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650024, 1395650027, 1395650015, 1395650020, 1395650022, 1395650016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03514885902405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:44:41.858355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_46_1603.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_52_6392.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_54_1531.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_55_1652.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_57_1793.jpg', '/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_59_1874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_46_1603.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_52_6392.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_54_1531.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_55_1652.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_57_1793.jpg
/home/pi/Desktop/images/30102025/17/57/image_30102025_17_57_59_1874.jpg
 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":["1395650054","1395650059","1395650053","1395650041","1395650052","1395650055"],"photo_ids_order":["1395650041","1395650052","1395650053","1395650054","1395650055","1395650059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c2427ee8028a5ec5f4b34005508689a.jpg","text":"TemporaryFile(/tmp/multipartBody3691075460924265229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768744112,"filename":"image_30102025_17_57_55_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3662db01ce0d27de6762f4108aae602c.jpg","text":"TemporaryFile(/tmp/multipartBody358818363969520008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768744112,"filename":"image_30102025_17_57_59_1874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc2400e21ad7e3eacd5f59cc7a3192fa.jpg","text":"TemporaryFile(/tmp/multipartBody3623503688614308131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768744112,"filename":"image_30102025_17_57_54_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2f78f792dc7e9df27b198c17cc9296d.jpg","text":"TemporaryFile(/tmp/multipartBody4241487473812155136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768744112,"filename":"image_30102025_17_57_46_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e73ec5158464045798d4bf77c8db82a.jpg","text":"TemporaryFile(/tmp/multipartBody3270031446463372186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768744112,"filename":"image_30102025_17_57_52_6392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/219932d2870a82adfd14037990bc6882.jpg","text":"TemporaryFile(/tmp/multipartBody1217491937976046010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768744112,"filename":"image_30102025_17_57_57_1793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650053","file1":"1395650052","file0":"1395650041","file4":"1395650055","file5":"1395650059","file3":"1395650054"},"map_files_photo_id_array":[{"photo_id":"1395650059","filename":"file5"},{"photo_id":"1395650053","filename":"file2"},{"photo_id":"1395650055","filename":"file4"},{"photo_id":"1395650052","filename":"file1"},{"photo_id":"1395650041","filename":"file0"},{"photo_id":"1395650054","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650054":["hashtag1","hashtag2"]},{"1395650059":["hashtag1","hashtag2"]},{"1395650053":["hashtag1","hashtag2"]},{"1395650041":["hashtag1","hashtag2"]},{"1395650052":["hashtag1","hashtag2"]},{"1395650055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650054, 1395650059, 1395650053, 1395650041, 1395650052, 1395650055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3498101234436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:45:42.077171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_01_1632.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_02_1664.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_04_1729.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_06_1861.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_07_1610.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_09_1778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_01_1632.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_02_1664.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_04_1729.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_06_1861.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_07_1610.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_09_1778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650096","1395650095","1395650092","1395650094","1395650090","1395650093"],"photo_ids_order":["1395650090","1395650092","1395650093","1395650094","1395650095","1395650096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fa60e7e827f72d8cbf1b5e50f4cbd52.jpg","text":"TemporaryFile(/tmp/multipartBody4447439403419794417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768804270,"filename":"image_30102025_17_58_09_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a608a386f4ea5d068defc7f913f81b5.jpg","text":"TemporaryFile(/tmp/multipartBody5496159312547223893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768804270,"filename":"image_30102025_17_58_07_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fddd71900e234fe8f12d3c1d9ad117f.jpg","text":"TemporaryFile(/tmp/multipartBody5149402655725647927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768804270,"filename":"image_30102025_17_58_02_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ded97b14dc63f236c230966aac9586c8.jpg","text":"TemporaryFile(/tmp/multipartBody2959460042557143310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768804270,"filename":"image_30102025_17_58_06_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bd354f419b44e825472a9c7a8c30f40.jpg","text":"TemporaryFile(/tmp/multipartBody4414747413913873717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768804270,"filename":"image_30102025_17_58_01_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55301ac82e2e9fbbf4f7624007474806.jpg","text":"TemporaryFile(/tmp/multipartBody939020517634470718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768804270,"filename":"image_30102025_17_58_04_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650093","file1":"1395650092","file0":"1395650090","file4":"1395650095","file5":"1395650096","file3":"1395650094"},"map_files_photo_id_array":[{"photo_id":"1395650096","filename":"file5"},{"photo_id":"1395650093","filename":"file2"},{"photo_id":"1395650095","filename":"file4"},{"photo_id":"1395650092","filename":"file1"},{"photo_id":"1395650090","filename":"file0"},{"photo_id":"1395650094","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650096":["hashtag1","hashtag2"]},{"1395650095":["hashtag1","hashtag2"]},{"1395650092":["hashtag1","hashtag2"]},{"1395650094":["hashtag1","hashtag2"]},{"1395650090":["hashtag1","hashtag2"]},{"1395650093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650096, 1395650095, 1395650092, 1395650094, 1395650090, 1395650093)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.8901629447937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:46:42.343679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_11_1615.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_13_2630.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_16_2735.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_20_3546.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_22_2681.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_25_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_11_1615.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_13_2630.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_16_2735.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_20_3546.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_22_2681.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_25_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650141","1395650132","1395650126","1395650122","1395650125","1395650124"],"photo_ids_order":["1395650122","1395650124","1395650125","1395650126","1395650132","1395650141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1f7d4dd2fe10ca9a021249e099630b4.jpg","text":"TemporaryFile(/tmp/multipartBody4905677758270720354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768864563,"filename":"image_30102025_17_58_25_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bac3d5709e5f211473796004294b2039.jpg","text":"TemporaryFile(/tmp/multipartBody3408892136377009865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768864563,"filename":"image_30102025_17_58_22_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a1a2e433705d4705780930a4651392e.jpg","text":"TemporaryFile(/tmp/multipartBody5338300151441726126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768864563,"filename":"image_30102025_17_58_20_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/199035be74d92daa287108aafa21e793.jpg","text":"TemporaryFile(/tmp/multipartBody1407111379685643828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768864563,"filename":"image_30102025_17_58_11_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/525d367a309016834a5d34af6621e405.jpg","text":"TemporaryFile(/tmp/multipartBody8299460104478037988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768864563,"filename":"image_30102025_17_58_16_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b0fe7153f7ad29279ba3c310598936b.jpg","text":"TemporaryFile(/tmp/multipartBody8503909851803412140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768864563,"filename":"image_30102025_17_58_13_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650125","file1":"1395650124","file0":"1395650122","file4":"1395650132","file5":"1395650141","file3":"1395650126"},"map_files_photo_id_array":[{"photo_id":"1395650141","filename":"file5"},{"photo_id":"1395650125","filename":"file2"},{"photo_id":"1395650132","filename":"file4"},{"photo_id":"1395650124","filename":"file1"},{"photo_id":"1395650122","filename":"file0"},{"photo_id":"1395650126","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650141":["hashtag1","hashtag2"]},{"1395650132":["hashtag1","hashtag2"]},{"1395650126":["hashtag1","hashtag2"]},{"1395650122":["hashtag1","hashtag2"]},{"1395650125":["hashtag1","hashtag2"]},{"1395650124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650141, 1395650132, 1395650126, 1395650122, 1395650125, 1395650124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63739895820618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:47:22.625219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_29_3657.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_31_2721.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_34_2525.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_38_3631.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_41_3658.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_44_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_29_3657.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_31_2721.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_34_2525.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_38_3631.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_41_3658.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_44_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650168","1395650162","1395650164","1395650158","1395650155","1395650166"],"photo_ids_order":["1395650155","1395650158","1395650162","1395650164","1395650166","1395650168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f466cbcb99e333dc8ece7a7ff815982.jpg","text":"TemporaryFile(/tmp/multipartBody5192590785695011518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768904809,"filename":"image_30102025_17_58_44_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9671b345208c32b6b8edd51747b0fd28.jpg","text":"TemporaryFile(/tmp/multipartBody7591027871849934139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768904809,"filename":"image_30102025_17_58_34_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5670cb1c34ef95dec8e48c3fb70d782.jpg","text":"TemporaryFile(/tmp/multipartBody6998866178653042940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768904809,"filename":"image_30102025_17_58_38_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d22cd6e1c50ee2d9a62ba57037eb8dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6992103506976219341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768904809,"filename":"image_30102025_17_58_31_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f229db9607aca467704cbbd6f48a2de.jpg","text":"TemporaryFile(/tmp/multipartBody7496546465107798248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768904809,"filename":"image_30102025_17_58_29_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec2c066759a4f31d974becac48d60741.jpg","text":"TemporaryFile(/tmp/multipartBody7175547245717539725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768904809,"filename":"image_30102025_17_58_41_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650162","file1":"1395650158","file0":"1395650155","file4":"1395650166","file5":"1395650168","file3":"1395650164"},"map_files_photo_id_array":[{"photo_id":"1395650168","filename":"file5"},{"photo_id":"1395650162","filename":"file2"},{"photo_id":"1395650166","filename":"file4"},{"photo_id":"1395650158","filename":"file1"},{"photo_id":"1395650155","filename":"file0"},{"photo_id":"1395650164","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650168":["hashtag1","hashtag2"]},{"1395650162":["hashtag1","hashtag2"]},{"1395650164":["hashtag1","hashtag2"]},{"1395650158":["hashtag1","hashtag2"]},{"1395650155":["hashtag1","hashtag2"]},{"1395650166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650168, 1395650162, 1395650164, 1395650158, 1395650155, 1395650166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17900204658508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:48:02.894457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_40_2595.jpg', '/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_46_3614.jpg', '/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_04_2552.jpg', '/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_07_2527.jpg', '/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_10_3753.jpg', '/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_46_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_40_2595.jpg
/home/pi/Desktop/images/19112025/23/44/image_19112025_23_44_46_3614.jpg
/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_04_2552.jpg
/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_07_2527.jpg
/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_10_3753.jpg
/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_46_1609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650189","1395650177","1395650182","1395650179","1395650175","1395650186"],"photo_ids_order":["1395650175","1395650177","1395650179","1395650182","1395650186","1395650189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12ddd50f7fe9c5b17e200af072795b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6979335674509266897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768944775,"filename":"image_19112025_23_45_46_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9b4814b4e06573eb5992e8d02cbbac3.jpg","text":"TemporaryFile(/tmp/multipartBody1381128593955957157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768944775,"filename":"image_19112025_23_44_46_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce50e2239f2c28ca9725c2f3525b121e.jpg","text":"TemporaryFile(/tmp/multipartBody8615607186722177951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768944775,"filename":"image_19112025_23_45_07_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e998eea95cc2fa45316eceb78652263c.jpg","text":"TemporaryFile(/tmp/multipartBody3090917791987739454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768944775,"filename":"image_19112025_23_45_04_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1ffaeb0c5a823ddcd1f110151904f18.jpg","text":"TemporaryFile(/tmp/multipartBody6383732636122220922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768944775,"filename":"image_19112025_23_44_40_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef427f2938f59cfe26b6d485f5dac74b.jpg","text":"TemporaryFile(/tmp/multipartBody428682231291510846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763768944775,"filename":"image_19112025_23_45_10_3753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650179","file1":"1395650177","file0":"1395650175","file4":"1395650186","file5":"1395650189","file3":"1395650182"},"map_files_photo_id_array":[{"photo_id":"1395650189","filename":"file5"},{"photo_id":"1395650179","filename":"file2"},{"photo_id":"1395650186","filename":"file4"},{"photo_id":"1395650177","filename":"file1"},{"photo_id":"1395650175","filename":"file0"},{"photo_id":"1395650182","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395650189":["hashtag1","hashtag2"]},{"1395650177":["hashtag1","hashtag2"]},{"1395650182":["hashtag1","hashtag2"]},{"1395650179":["hashtag1","hashtag2"]},{"1395650175":["hashtag1","hashtag2"]},{"1395650186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395650189, 1395650177, 1395650182, 1395650179, 1395650175, 1395650186)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.36108160018921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:49:03.454781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_49_2576.jpg', '/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_52_3627.jpg', '/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_58_2783.jpg', '/home/pi/Desktop/images/19112025/23/45/image_19112025_23_46_01_3511.jpg', '/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_16_3515.jpg', '/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_19_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_49_2576.jpg
/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_52_3627.jpg
/home/pi/Desktop/images/19112025/23/45/image_19112025_23_45_58_2783.jpg
/home/pi/Desktop/images/19112025/23/45/image_19112025_23_46_01_3511.jpg
/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_16_3515.jpg
/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_19_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650210","1395650213","1395650215","1395650199","1395650206","1395650202"],"photo_ids_order":["1395650199","1395650202","1395650206","1395650210","1395650213","1395650215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2adabeee29f6ed15584037f0630b5b6d.jpg","text":"TemporaryFile(/tmp/multipartBody331829519153148209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769014297,"filename":"image_19112025_23_46_01_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a316c47cf8212280c9420be51259423.jpg","text":"TemporaryFile(/tmp/multipartBody36883799638566291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769014297,"filename":"image_19112025_23_46_16_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5af4ef328642bbaae01babc7bf516658.jpg","text":"TemporaryFile(/tmp/multipartBody2380766265774567296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769014297,"filename":"image_19112025_23_46_19_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28d7b0e4abcbf32aa38060b2e041b4e0.jpg","text":"TemporaryFile(/tmp/multipartBody5829389871230264219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769014297,"filename":"image_19112025_23_45_49_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8d10ef0c1509c1481020af9010035d7.jpg","text":"TemporaryFile(/tmp/multipartBody251714320264415147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769014297,"filename":"image_19112025_23_45_58_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77f5844a797060b3fcd653b404676bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6532999379809470992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769014297,"filename":"image_19112025_23_45_52_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650206","file1":"1395650202","file0":"1395650199","file4":"1395650213","file5":"1395650215","file3":"1395650210"},"map_files_photo_id_array":[{"photo_id":"1395650215","filename":"file5"},{"photo_id":"1395650206","filename":"file2"},{"photo_id":"1395650213","filename":"file4"},{"photo_id":"1395650202","filename":"file1"},{"photo_id":"1395650199","filename":"file0"},{"photo_id":"1395650210","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395650210":["hashtag1","hashtag2"]},{"1395650213":["hashtag1","hashtag2"]},{"1395650215":["hashtag1","hashtag2"]},{"1395650199":["hashtag1","hashtag2"]},{"1395650206":["hashtag1","hashtag2"]},{"1395650202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395650210, 1395650213, 1395650215, 1395650199, 1395650206, 1395650202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.97970986366272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:50:02.857396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_34_3664.jpg', '/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_37_2608.jpg', '/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_40_2660.jpg', '/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_43_3651.jpg', '/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_52_3563.jpg', '/home/pi/Desktop/images/19112025/23/47/image_19112025_23_47_10_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_34_3664.jpg
/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_37_2608.jpg
/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_40_2660.jpg
/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_43_3651.jpg
/home/pi/Desktop/images/19112025/23/46/image_19112025_23_46_52_3563.jpg
/home/pi/Desktop/images/19112025/23/47/image_19112025_23_47_10_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650246","1395650234","1395650231","1395650236","1395650241","1395650238"],"photo_ids_order":["1395650231","1395650234","1395650236","1395650238","1395650241","1395650246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c39e9b2dc48fa334e5d9b29f300b238.jpg","text":"TemporaryFile(/tmp/multipartBody1013395151484546754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769064512,"filename":"image_19112025_23_47_10_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ae3a1f1a5d7dc8eac6c83bd7fc2694e.jpg","text":"TemporaryFile(/tmp/multipartBody1929981062954712376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769064512,"filename":"image_19112025_23_46_37_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c21482a203ace47c7ab984fed5737d5.jpg","text":"TemporaryFile(/tmp/multipartBody6562022286794674201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769064512,"filename":"image_19112025_23_46_34_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1dd15c0cd00f04db94924b665fa2e52c.jpg","text":"TemporaryFile(/tmp/multipartBody5386058214249346858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769064512,"filename":"image_19112025_23_46_40_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28623b69769bc2a0e0792b27b24f3db8.jpg","text":"TemporaryFile(/tmp/multipartBody1811765381709180385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769064512,"filename":"image_19112025_23_46_52_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d69fc636d05c6c6e5504e6b15175d2b7.jpg","text":"TemporaryFile(/tmp/multipartBody3680142753667682518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769064512,"filename":"image_19112025_23_46_43_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650236","file1":"1395650234","file0":"1395650231","file4":"1395650241","file5":"1395650246","file3":"1395650238"},"map_files_photo_id_array":[{"photo_id":"1395650246","filename":"file5"},{"photo_id":"1395650236","filename":"file2"},{"photo_id":"1395650241","filename":"file4"},{"photo_id":"1395650234","filename":"file1"},{"photo_id":"1395650231","filename":"file0"},{"photo_id":"1395650238","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395650246":["hashtag1","hashtag2"]},{"1395650234":["hashtag1","hashtag2"]},{"1395650231":["hashtag1","hashtag2"]},{"1395650236":["hashtag1","hashtag2"]},{"1395650241":["hashtag1","hashtag2"]},{"1395650238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395650246, 1395650234, 1395650231, 1395650236, 1395650241, 1395650238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67458629608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:50:42.369902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_47_2657.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_50_3390.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_53_2589.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_55_2687.jpg', '/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_58_2746.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_02_4227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_47_2657.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_50_3390.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_53_2589.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_55_2687.jpg
/home/pi/Desktop/images/30102025/17/58/image_30102025_17_58_58_2746.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_02_4227.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650276","1395650275","1395650263","1395650266","1395650268","1395650265"],"photo_ids_order":["1395650263","1395650265","1395650266","1395650268","1395650275","1395650276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12180411951514bac28edb9cfd6ed400.jpg","text":"TemporaryFile(/tmp/multipartBody1000677495628697091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769104547,"filename":"image_30102025_17_59_02_4227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c89ae8446266972f1761be9ec70b87ca.jpg","text":"TemporaryFile(/tmp/multipartBody332130165208392783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769104547,"filename":"image_30102025_17_58_58_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d0c256409818fa2a6a0530013ef4d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7664490632444483094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769104547,"filename":"image_30102025_17_58_47_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b2badb6dbfad949187c82d597d08f39.jpg","text":"TemporaryFile(/tmp/multipartBody1830169974056956943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769104547,"filename":"image_30102025_17_58_53_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9326928fe054505bbe9fbcc682b97f78.jpg","text":"TemporaryFile(/tmp/multipartBody6145534329459192623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769104547,"filename":"image_30102025_17_58_55_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71d1f4a892b22d08af9318272f544378.jpg","text":"TemporaryFile(/tmp/multipartBody1535748606645700989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769104547,"filename":"image_30102025_17_58_50_3390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650266","file1":"1395650265","file0":"1395650263","file4":"1395650275","file5":"1395650276","file3":"1395650268"},"map_files_photo_id_array":[{"photo_id":"1395650276","filename":"file5"},{"photo_id":"1395650266","filename":"file2"},{"photo_id":"1395650275","filename":"file4"},{"photo_id":"1395650265","filename":"file1"},{"photo_id":"1395650263","filename":"file0"},{"photo_id":"1395650268","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650276":["hashtag1","hashtag2"]},{"1395650275":["hashtag1","hashtag2"]},{"1395650263":["hashtag1","hashtag2"]},{"1395650266":["hashtag1","hashtag2"]},{"1395650268":["hashtag1","hashtag2"]},{"1395650265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650276, 1395650275, 1395650263, 1395650266, 1395650268, 1395650265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26755213737488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:51:22.573429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_04_1765.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_08_3658.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_10_2796.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_13_2533.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_17_3636.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_26_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_04_1765.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_08_3658.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_10_2796.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_13_2533.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_17_3636.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_26_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650293","1395650299","1395650290","1395650295","1395650297","1395650285"],"photo_ids_order":["1395650285","1395650290","1395650293","1395650295","1395650297","1395650299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c769fe9621fd6c20ec2472b8619448ff.jpg","text":"TemporaryFile(/tmp/multipartBody8234088959509886344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769147099,"filename":"image_30102025_17_59_10_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4109f967cf9ba99c3f21fdd6de6bdd2f.jpg","text":"TemporaryFile(/tmp/multipartBody2977539982056758006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769147099,"filename":"image_30102025_17_59_26_9449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ec2e4f69f61bb7d57d85749ece0e9bb.jpg","text":"TemporaryFile(/tmp/multipartBody476502781532335757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769147099,"filename":"image_30102025_17_59_08_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccfac42fb05f2fec2f491e71bf60d315.jpg","text":"TemporaryFile(/tmp/multipartBody4566649254545075585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769147099,"filename":"image_30102025_17_59_13_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c72a88be31240cb9eee3e4981211e22a.jpg","text":"TemporaryFile(/tmp/multipartBody5244948734944192087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769147099,"filename":"image_30102025_17_59_17_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5738b00fd112a8727553d97fc73d3018.jpg","text":"TemporaryFile(/tmp/multipartBody6197208740493705720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769147099,"filename":"image_30102025_17_59_04_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650293","file1":"1395650290","file0":"1395650285","file4":"1395650297","file5":"1395650299","file3":"1395650295"},"map_files_photo_id_array":[{"photo_id":"1395650299","filename":"file5"},{"photo_id":"1395650293","filename":"file2"},{"photo_id":"1395650297","filename":"file4"},{"photo_id":"1395650290","filename":"file1"},{"photo_id":"1395650285","filename":"file0"},{"photo_id":"1395650295","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650293":["hashtag1","hashtag2"]},{"1395650299":["hashtag1","hashtag2"]},{"1395650290":["hashtag1","hashtag2"]},{"1395650295":["hashtag1","hashtag2"]},{"1395650297":["hashtag1","hashtag2"]},{"1395650285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650293, 1395650299, 1395650290, 1395650295, 1395650297, 1395650285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9573974609375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:52:21.929996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_28_1746.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_32_4001.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_33_1725.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_35_1558.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_37_1551.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_38_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_28_1746.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_32_4001.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_33_1725.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_35_1558.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_37_1551.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_38_1614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650333","1395650315","1395650326","1395650335","1395650322","1395650319"],"photo_ids_order":["1395650315","1395650319","1395650322","1395650326","1395650333","1395650335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47e1fcd9c1c4128179e4d9acb7cea736.jpg","text":"TemporaryFile(/tmp/multipartBody1826384455713311710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769204144,"filename":"image_30102025_17_59_37_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/678cca00da2bb7ef5e859ed1eb230891.jpg","text":"TemporaryFile(/tmp/multipartBody8739198119008499707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769204144,"filename":"image_30102025_17_59_28_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9851fde32c7790965995b7ace0a31c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3575748459878380094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769204144,"filename":"image_30102025_17_59_35_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0be30fd8b4dba4f9510c4eeebc0094a.jpg","text":"TemporaryFile(/tmp/multipartBody3028554548296867672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769204144,"filename":"image_30102025_17_59_38_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2633dc670c508c0fd3bc0e9862d1524f.jpg","text":"TemporaryFile(/tmp/multipartBody7443389411100805154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769204144,"filename":"image_30102025_17_59_33_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cabaca090cf321afb6955666b4baa1d5.jpg","text":"TemporaryFile(/tmp/multipartBody8242052827693571191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769204144,"filename":"image_30102025_17_59_32_4001.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650322","file1":"1395650319","file0":"1395650315","file4":"1395650333","file5":"1395650335","file3":"1395650326"},"map_files_photo_id_array":[{"photo_id":"1395650335","filename":"file5"},{"photo_id":"1395650322","filename":"file2"},{"photo_id":"1395650333","filename":"file4"},{"photo_id":"1395650319","filename":"file1"},{"photo_id":"1395650315","filename":"file0"},{"photo_id":"1395650326","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650333":["hashtag1","hashtag2"]},{"1395650315":["hashtag1","hashtag2"]},{"1395650326":["hashtag1","hashtag2"]},{"1395650335":["hashtag1","hashtag2"]},{"1395650322":["hashtag1","hashtag2"]},{"1395650319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650333, 1395650315, 1395650326, 1395650335, 1395650322, 1395650319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18543362617493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:53:02.773463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:53:22.256277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_40_1769.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_44_3627.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_46_2756.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_49_2775.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_53_3621.jpg', '/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_55_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_40_1769.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_44_3627.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_46_2756.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_49_2775.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_53_3621.jpg
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_55_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650362","1395650356","1395650365","1395650359","1395650353","1395650367"],"photo_ids_order":["1395650353","1395650356","1395650359","1395650362","1395650365","1395650367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79997b29edf5db27e0aed26cf85909c4.jpg","text":"TemporaryFile(/tmp/multipartBody5621832576188069016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769264405,"filename":"image_30102025_17_59_49_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2d18aaa9b6b1c45c9617ed2c317b02e.jpg","text":"TemporaryFile(/tmp/multipartBody7310932435467895741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769264405,"filename":"image_30102025_17_59_44_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c98b9c83f0e5355157d33ef0d87d9e9.jpg","text":"TemporaryFile(/tmp/multipartBody8632531098118785320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769264405,"filename":"image_30102025_17_59_53_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d89eb3c09648534db2ac1b6c48e2ad5.jpg","text":"TemporaryFile(/tmp/multipartBody144860981164459753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769264405,"filename":"image_30102025_17_59_46_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/258aa9db867216f00745949cd302e959.jpg","text":"TemporaryFile(/tmp/multipartBody7075482785254694759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769264405,"filename":"image_30102025_17_59_40_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d22df9357823bc25d4b7a306da581c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2965946708055720833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769264405,"filename":"image_30102025_17_59_55_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650359","file1":"1395650356","file0":"1395650353","file4":"1395650365","file5":"1395650367","file3":"1395650362"},"map_files_photo_id_array":[{"photo_id":"1395650367","filename":"file5"},{"photo_id":"1395650359","filename":"file2"},{"photo_id":"1395650365","filename":"file4"},{"photo_id":"1395650356","filename":"file1"},{"photo_id":"1395650353","filename":"file0"},{"photo_id":"1395650362","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395650362":["hashtag1","hashtag2"]},{"1395650356":["hashtag1","hashtag2"]},{"1395650365":["hashtag1","hashtag2"]},{"1395650359":["hashtag1","hashtag2"]},{"1395650353":["hashtag1","hashtag2"]},{"1395650367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395650362, 1395650356, 1395650365, 1395650359, 1395650353, 1395650367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42183041572571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:54:03.055736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/47/image_19112025_23_47_15_2621.jpg', '/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_07_3017.jpg', '/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_11_3576.jpg', '/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_29_3599.jpg', '/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_34_2684.jpg', '/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_38_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/47/image_19112025_23_47_15_2621.jpg
/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_07_3017.jpg
/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_11_3576.jpg
/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_29_3599.jpg
/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_34_2684.jpg
/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_38_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650369","1395650395","1395650397","1395650399","1395650390","1395650378"],"photo_ids_order":["1395650369","1395650378","1395650390","1395650395","1395650397","1395650399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a6bfa68b277a2287b48923b14751cb8.jpg","text":"TemporaryFile(/tmp/multipartBody1523558186355653667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769312864,"filename":"image_19112025_23_47_15_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5513b1b5f1a0a3119430f0e295bd879.jpg","text":"TemporaryFile(/tmp/multipartBody3971116907443873554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769312864,"filename":"image_19112025_23_48_29_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d116d5517454f6b7f3bcd7d1daa09abe.jpg","text":"TemporaryFile(/tmp/multipartBody471972566643827398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769312864,"filename":"image_19112025_23_48_34_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd0a8dc44784216cda7a0a1b808b00d5.jpg","text":"TemporaryFile(/tmp/multipartBody3670952035372115029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769312864,"filename":"image_19112025_23_48_38_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eeeb673b898a8a60e1358ad0148aaf79.jpg","text":"TemporaryFile(/tmp/multipartBody6017139830876762464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769312864,"filename":"image_19112025_23_48_11_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4d8a62f97aa8fa6a7058be334e179ee.jpg","text":"TemporaryFile(/tmp/multipartBody8004110357290112484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769312864,"filename":"image_19112025_23_48_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650390","file1":"1395650378","file0":"1395650369","file4":"1395650397","file5":"1395650399","file3":"1395650395"},"map_files_photo_id_array":[{"photo_id":"1395650399","filename":"file5"},{"photo_id":"1395650390","filename":"file2"},{"photo_id":"1395650397","filename":"file4"},{"photo_id":"1395650378","filename":"file1"},{"photo_id":"1395650369","filename":"file0"},{"photo_id":"1395650395","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395650369":["hashtag1","hashtag2"]},{"1395650395":["hashtag1","hashtag2"]},{"1395650397":["hashtag1","hashtag2"]},{"1395650399":["hashtag1","hashtag2"]},{"1395650390":["hashtag1","hashtag2"]},{"1395650378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395650369, 1395650395, 1395650397, 1395650399, 1395650390, 1395650378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.227593421936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:55:03.217458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_49_2493.jpg', '/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_58_2622.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_02_3579.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_04_2535.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_08_3540.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_11_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_49_2493.jpg
/home/pi/Desktop/images/19112025/23/48/image_19112025_23_48_58_2622.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_02_3579.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_04_2535.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_08_3540.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_11_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650435","1395650420","1395650443","1395650425","1395650422","1395650415"],"photo_ids_order":["1395650415","1395650420","1395650422","1395650425","1395650435","1395650443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11254db54b6c6dc4e7370ede1ee7a703.jpg","text":"TemporaryFile(/tmp/multipartBody3887994985846523462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769367643,"filename":"image_19112025_23_49_08_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99ac308d0454a816805a1a947e3f47db.jpg","text":"TemporaryFile(/tmp/multipartBody8607180541808301679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769367643,"filename":"image_19112025_23_48_58_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6b6c9ec6e46d909577a98beb0edb89b.jpg","text":"TemporaryFile(/tmp/multipartBody3044943533290090738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769367643,"filename":"image_19112025_23_49_11_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f35ccc2f58d85c9e0b056c5cf346d233.jpg","text":"TemporaryFile(/tmp/multipartBody4761972559242071740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769367643,"filename":"image_19112025_23_49_04_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60e5a3b940d0a37267afaf93d6c28c0e.jpg","text":"TemporaryFile(/tmp/multipartBody7736681491878498825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769367643,"filename":"image_19112025_23_49_02_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16b857c1d46ed8132dae6fd798fb815e.jpg","text":"TemporaryFile(/tmp/multipartBody3019661106751733135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769367643,"filename":"image_19112025_23_48_49_2493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650422","file1":"1395650420","file0":"1395650415","file4":"1395650435","file5":"1395650443","file3":"1395650425"},"map_files_photo_id_array":[{"photo_id":"1395650443","filename":"file5"},{"photo_id":"1395650422","filename":"file2"},{"photo_id":"1395650435","filename":"file4"},{"photo_id":"1395650420","filename":"file1"},{"photo_id":"1395650415","filename":"file0"},{"photo_id":"1395650425","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395650435":["hashtag1","hashtag2"]},{"1395650420":["hashtag1","hashtag2"]},{"1395650443":["hashtag1","hashtag2"]},{"1395650425":["hashtag1","hashtag2"]},{"1395650422":["hashtag1","hashtag2"]},{"1395650415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395650435, 1395650420, 1395650443, 1395650425, 1395650422, 1395650415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79814887046814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:56:05.404133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_17_3686.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_19_2550.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_22_2732.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_29_2787.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_31_2682.jpg', '/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_59_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_17_3686.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_19_2550.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_22_2732.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_29_2787.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_31_2682.jpg
/home/pi/Desktop/images/19112025/23/49/image_19112025_23_49_59_3014.jpg
 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":["1395650465","1395650459","1395650453","1395650456","1395650451","1395650462"],"photo_ids_order":["1395650451","1395650453","1395650456","1395650459","1395650462","1395650465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ea5275d46aa9fef5ab6ceb85c75ba84.jpg","text":"TemporaryFile(/tmp/multipartBody1763713523487178167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769427056,"filename":"image_19112025_23_49_59_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f538cfe6bee34711477ea5dfc0d472a3.jpg","text":"TemporaryFile(/tmp/multipartBody9015797662348948495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769427056,"filename":"image_19112025_23_49_29_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae3d993125133c5e66666ec6b6b9b5a6.jpg","text":"TemporaryFile(/tmp/multipartBody1727550335436525462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769427056,"filename":"image_19112025_23_49_19_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef21e3672a9351083fb770aea92eba92.jpg","text":"TemporaryFile(/tmp/multipartBody6301849173351879143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769427056,"filename":"image_19112025_23_49_22_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efdf8e22413d093318350ed4d8b521a3.jpg","text":"TemporaryFile(/tmp/multipartBody4458023090756149298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769427056,"filename":"image_19112025_23_49_17_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6e875ae2f011489c9213841e740ed0b.jpg","text":"TemporaryFile(/tmp/multipartBody5079034221883562012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769427056,"filename":"image_19112025_23_49_31_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650456","file1":"1395650453","file0":"1395650451","file4":"1395650462","file5":"1395650465","file3":"1395650459"},"map_files_photo_id_array":[{"photo_id":"1395650465","filename":"file5"},{"photo_id":"1395650456","filename":"file2"},{"photo_id":"1395650462","filename":"file4"},{"photo_id":"1395650453","filename":"file1"},{"photo_id":"1395650451","filename":"file0"},{"photo_id":"1395650459","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395650465":["hashtag1","hashtag2"]},{"1395650459":["hashtag1","hashtag2"]},{"1395650453":["hashtag1","hashtag2"]},{"1395650456":["hashtag1","hashtag2"]},{"1395650451":["hashtag1","hashtag2"]},{"1395650462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395650465, 1395650459, 1395650453, 1395650456, 1395650451, 1395650462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.138731241226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:57:03.007758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/50/image_19112025_23_50_08_3553.jpg', '/home/pi/Desktop/images/19112025/23/50/image_19112025_23_50_10_2796.jpg', '/home/pi/Desktop/images/19112025/23/50/image_19112025_23_50_17_3753.jpg', '/home/pi/Desktop/images/19112025/23/50/image_19112025_23_50_19_2572.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_10_3633.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_13_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/50/image_19112025_23_50_08_3553.jpg
/home/pi/Desktop/images/19112025/23/50/image_19112025_23_50_10_2796.jpg
/home/pi/Desktop/images/19112025/23/50/image_19112025_23_50_17_3753.jpg
/home/pi/Desktop/images/19112025/23/50/image_19112025_23_50_19_2572.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_10_3633.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_13_2784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395650492","1395650488","1395650479","1395650496","1395650500","1395650490"],"photo_ids_order":["1395650479","1395650488","1395650490","1395650492","1395650496","1395650500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/905e65956f8817ad93770c1a3260d30b.jpg","text":"TemporaryFile(/tmp/multipartBody950615943676740886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769484733,"filename":"image_19112025_23_50_19_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cf386c43a775a23bd0ac1663e139639.jpg","text":"TemporaryFile(/tmp/multipartBody768343518504413260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769484733,"filename":"image_19112025_23_50_10_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e09c4fe3efd0b3694aea102a87ab351.jpg","text":"TemporaryFile(/tmp/multipartBody9106976122095408956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769484733,"filename":"image_19112025_23_50_08_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8175834e3f3e97dfcca78d148f57cfc1.jpg","text":"TemporaryFile(/tmp/multipartBody1666133915991378724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769484733,"filename":"image_19112025_23_51_10_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0eb4fba7030ba6a8535749c9d8728c83.jpg","text":"TemporaryFile(/tmp/multipartBody5478774429877146656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769484733,"filename":"image_19112025_23_51_13_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52f15d0e953fb4bb16c4f40faced9fed.jpg","text":"TemporaryFile(/tmp/multipartBody1153029561036920670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769484733,"filename":"image_19112025_23_50_17_3753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395650490","file1":"1395650488","file0":"1395650479","file4":"1395650496","file5":"1395650500","file3":"1395650492"},"map_files_photo_id_array":[{"photo_id":"1395650500","filename":"file5"},{"photo_id":"1395650490","filename":"file2"},{"photo_id":"1395650496","filename":"file4"},{"photo_id":"1395650488","filename":"file1"},{"photo_id":"1395650479","filename":"file0"},{"photo_id":"1395650492","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395650492":["hashtag1","hashtag2"]},{"1395650488":["hashtag1","hashtag2"]},{"1395650479":["hashtag1","hashtag2"]},{"1395650496":["hashtag1","hashtag2"]},{"1395650500":["hashtag1","hashtag2"]},{"1395650490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395650492, 1395650488, 1395650479, 1395650496, 1395650500, 1395650490)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.87435841560364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 00:59:03.468923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 00:59:32.072420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_22112025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 28804211, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1763769632000}
4219
4096292
4219
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_07_3013.jpg', '/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_10_3141.jpg', '/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_14_3831.jpg', '/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_21_7176.jpg', '/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_23_1560.jpg', '/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_24_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_07_3013.jpg
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_10_3141.jpg
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_14_3831.jpg
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_21_7176.jpg
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_23_1560.jpg
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_24_1680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651034","1395651010","1395651006","1395651000","1395650999","1395650966"],"photo_ids_order":["1395650966","1395650999","1395651000","1395651006","1395651010","1395651034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b31cf15b7df6d537e6826e66b6a503b.jpg","text":"TemporaryFile(/tmp/multipartBody6398710237757461934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769633711,"filename":"image_22112025_00_58_24_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b84c729ddc90fee9a4f92c81b75338e7.jpg","text":"TemporaryFile(/tmp/multipartBody5941945265391579109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769633711,"filename":"image_22112025_00_58_23_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5ba4f4480d0a918b12d29e6d02a5a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2724205424572371184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769633711,"filename":"image_22112025_00_58_21_7176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc80405bf3f3679a237058557b860118.jpg","text":"TemporaryFile(/tmp/multipartBody8096516909152299248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769633711,"filename":"image_22112025_00_58_14_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/499cbe9de07b97d7c093184323f47d7c.jpg","text":"TemporaryFile(/tmp/multipartBody6481488379394206383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769633711,"filename":"image_22112025_00_58_10_3141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbeddfa2c646a66af04c4aa144c409fb.jpg","text":"TemporaryFile(/tmp/multipartBody1697104368313081565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769633711,"filename":"image_22112025_00_58_07_3013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651000","file1":"1395650999","file0":"1395650966","file4":"1395651010","file5":"1395651034","file3":"1395651006"},"map_files_photo_id_array":[{"photo_id":"1395651034","filename":"file5"},{"photo_id":"1395651000","filename":"file2"},{"photo_id":"1395651010","filename":"file4"},{"photo_id":"1395650999","filename":"file1"},{"photo_id":"1395650966","filename":"file0"},{"photo_id":"1395651006","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395651034":["hashtag1","hashtag2"]},{"1395651010":["hashtag1","hashtag2"]},{"1395651006":["hashtag1","hashtag2"]},{"1395651000":["hashtag1","hashtag2"]},{"1395650999":["hashtag1","hashtag2"]},{"1395650966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395651034, 1395651010, 1395651006, 1395651000, 1395650999, 1395650966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.952292919158936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:00:21.844016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_26_1767.jpg', '/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_29_2639.jpg', '/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_31_2634.jpg', '/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_34_2546.jpg', '/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_09_4479.jpg', '/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_11_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_26_1767.jpg
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_29_2639.jpg
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_31_2634.jpg
/home/pi/Desktop/images/22112025/00/58/image_22112025_00_58_34_2546.jpg
/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_09_4479.jpg
/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_11_1672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651187","1395651157","1395651183","1395651177","1395651144","1395651197"],"photo_ids_order":["1395651144","1395651157","1395651177","1395651183","1395651187","1395651197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8409d24efbcad5fec5f2fdc10176847a.jpg","text":"TemporaryFile(/tmp/multipartBody5385638164693080106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769682482,"filename":"image_22112025_01_00_09_4479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f3ff65187832dcea364c30ff5415106.jpg","text":"TemporaryFile(/tmp/multipartBody8975996792854737510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769682482,"filename":"image_22112025_00_58_29_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/671f7f209026e80fd145314f2a1b2135.jpg","text":"TemporaryFile(/tmp/multipartBody3030215271742827239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769682482,"filename":"image_22112025_00_58_34_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c9e2df66f1fe2b0a358c46ebfc5cad9.jpg","text":"TemporaryFile(/tmp/multipartBody8166338248394820545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769682482,"filename":"image_22112025_00_58_31_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7622dc2f23606363d9332eaf935f5c20.jpg","text":"TemporaryFile(/tmp/multipartBody8740615647510505971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769682482,"filename":"image_22112025_00_58_26_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dcdf198ab34d4718fe63b34f9976c00.jpg","text":"TemporaryFile(/tmp/multipartBody6288234523716819029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769682482,"filename":"image_22112025_01_00_11_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651177","file1":"1395651157","file0":"1395651144","file4":"1395651187","file5":"1395651197","file3":"1395651183"},"map_files_photo_id_array":[{"photo_id":"1395651197","filename":"file5"},{"photo_id":"1395651177","filename":"file2"},{"photo_id":"1395651187","filename":"file4"},{"photo_id":"1395651157","filename":"file1"},{"photo_id":"1395651144","filename":"file0"},{"photo_id":"1395651183","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395651187":["hashtag1","hashtag2"]},{"1395651157":["hashtag1","hashtag2"]},{"1395651183":["hashtag1","hashtag2"]},{"1395651177":["hashtag1","hashtag2"]},{"1395651144":["hashtag1","hashtag2"]},{"1395651197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395651187, 1395651157, 1395651183, 1395651177, 1395651144, 1395651197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89328050613403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:01:02.697067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_14_3577.jpg', '/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_32_17865.jpg', '/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_34_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_14_3577.jpg
/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_32_17865.jpg
/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_34_1679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651241","1395651282","1395651212"],"photo_ids_order":["1395651212","1395651241","1395651282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf152309eeda218332a563a49faa008e.jpg","text":"TemporaryFile(/tmp/multipartBody5249643875537878691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769723312,"filename":"image_22112025_01_00_32_17865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ead0ed2ad41d051f1ddc2578a23a654a.jpg","text":"TemporaryFile(/tmp/multipartBody2680216508367725566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769723312,"filename":"image_22112025_01_00_34_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b962e413d111b0bbb10d5bdd293d7b7a.jpg","text":"TemporaryFile(/tmp/multipartBody3038713917265815158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769723312,"filename":"image_22112025_01_00_14_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651282","file1":"1395651241","file0":"1395651212"},"map_files_photo_id_array":[{"photo_id":"1395651282","filename":"file2"},{"photo_id":"1395651241","filename":"file1"},{"photo_id":"1395651212","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395651241":["hashtag1","hashtag2"]},{"1395651282":["hashtag1","hashtag2"]},{"1395651212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395651241, 1395651282, 1395651212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.26371669769287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:01:42.102546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_58_2560.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_07_3012.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_11_3831.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_14_2685.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_17_2706.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_21_4701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/17/59/image_30102025_17_59_58_2560.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_07_3012.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_11_3831.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_14_2685.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_17_2706.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_21_4701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651442","1395651439","1395651441","1395651438","1395651455","1395651440"],"photo_ids_order":["1395651438","1395651439","1395651440","1395651441","1395651442","1395651455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3094196824c459d13db65bbab59eed59.jpg","text":"TemporaryFile(/tmp/multipartBody1501916699686046659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769772202,"filename":"image_30102025_18_00_17_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fe82ecad9c55b757ef20368ccd829e3.jpg","text":"TemporaryFile(/tmp/multipartBody3243601630201127583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769772202,"filename":"image_30102025_18_00_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e4f1609560767ec76557ef9d0377552.jpg","text":"TemporaryFile(/tmp/multipartBody2128865203662696402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769772202,"filename":"image_30102025_18_00_14_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37419cc6464838f5f21b64daa672307f.jpg","text":"TemporaryFile(/tmp/multipartBody8515391308483752029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769772202,"filename":"image_30102025_17_59_58_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f09e48383e3b3fd92e656e565392954a.jpg","text":"TemporaryFile(/tmp/multipartBody1339794471803151370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769772202,"filename":"image_30102025_18_00_21_4701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3dc0d10df746ec0f4a0144f9d325281.jpg","text":"TemporaryFile(/tmp/multipartBody34150927789953892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769772202,"filename":"image_30102025_18_00_11_3831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651440","file1":"1395651439","file0":"1395651438","file4":"1395651442","file5":"1395651455","file3":"1395651441"},"map_files_photo_id_array":[{"photo_id":"1395651455","filename":"file5"},{"photo_id":"1395651440","filename":"file2"},{"photo_id":"1395651442","filename":"file4"},{"photo_id":"1395651439","filename":"file1"},{"photo_id":"1395651438","filename":"file0"},{"photo_id":"1395651441","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395651442":["hashtag1","hashtag2"]},{"1395651439":["hashtag1","hashtag2"]},{"1395651441":["hashtag1","hashtag2"]},{"1395651438":["hashtag1","hashtag2"]},{"1395651455":["hashtag1","hashtag2"]},{"1395651440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395651442, 1395651439, 1395651441, 1395651438, 1395651455, 1395651440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.405834913253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:02:42.665037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_35_1564.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_07_3012.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_10_3551.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_13_2580.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_17_3575.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_20_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/00/image_22112025_01_00_35_1564.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_07_3012.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_10_3551.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_13_2580.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_17_3575.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_20_3734.jpg
 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":["1395651478","1395651475","1395651477","1395651476","1395651479","1395651470"],"photo_ids_order":["1395651470","1395651475","1395651476","1395651477","1395651478","1395651479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3039f21040a7b5bb55e94672eeeb95a4.jpg","text":"TemporaryFile(/tmp/multipartBody8652399451845641687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769823371,"filename":"image_22112025_01_02_17_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58f71a5f1bec8eee22b1d2cab76b8cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8846926038894608527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769823371,"filename":"image_22112025_01_02_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2f61bcd5e467559c2325be6a4c5da6d.jpg","text":"TemporaryFile(/tmp/multipartBody1684918033376863044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769823371,"filename":"image_22112025_01_02_13_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a6496579c101cee3fe7d07183bb8860.jpg","text":"TemporaryFile(/tmp/multipartBody428819512396395500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769823371,"filename":"image_22112025_01_02_10_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0517cebfc605a5f3ce1666ec7c2f1846.jpg","text":"TemporaryFile(/tmp/multipartBody1539253313123006076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769823371,"filename":"image_22112025_01_02_20_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43934223671f6d3f0d77170407eecc49.jpg","text":"TemporaryFile(/tmp/multipartBody4831445599643060569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769823371,"filename":"image_22112025_01_00_35_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651476","file1":"1395651475","file0":"1395651470","file4":"1395651478","file5":"1395651479","file3":"1395651477"},"map_files_photo_id_array":[{"photo_id":"1395651479","filename":"file5"},{"photo_id":"1395651476","filename":"file2"},{"photo_id":"1395651478","filename":"file4"},{"photo_id":"1395651475","filename":"file1"},{"photo_id":"1395651470","filename":"file0"},{"photo_id":"1395651477","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395651478":["hashtag1","hashtag2"]},{"1395651475":["hashtag1","hashtag2"]},{"1395651477":["hashtag1","hashtag2"]},{"1395651476":["hashtag1","hashtag2"]},{"1395651479":["hashtag1","hashtag2"]},{"1395651470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395651478, 1395651475, 1395651477, 1395651476, 1395651479, 1395651470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.08624839782715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:03:42.807485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_22_1657.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_26_3737.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_28_2565.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_31_2619.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_35_3693.jpg', '/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_37_2477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_22_1657.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_26_3737.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_28_2565.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_31_2619.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_35_3693.jpg
/home/pi/Desktop/images/22112025/01/02/image_22112025_01_02_37_2477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651506","1395651505","1395651508","1395651507","1395651510","1395651503"],"photo_ids_order":["1395651503","1395651505","1395651506","1395651507","1395651508","1395651510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25597d1e29e2df396b9d3f3812c426fa.jpg","text":"TemporaryFile(/tmp/multipartBody4271069718449241699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769883473,"filename":"image_22112025_01_02_28_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b388715f2666073ca34407533438da65.jpg","text":"TemporaryFile(/tmp/multipartBody1413425431338268440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769883473,"filename":"image_22112025_01_02_26_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33bbef9cd497f6ab32f8ebf264b3d8a9.jpg","text":"TemporaryFile(/tmp/multipartBody9033970395834554534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769883473,"filename":"image_22112025_01_02_35_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1f08035aa9ca265c948702c751f1c49.jpg","text":"TemporaryFile(/tmp/multipartBody248639250569605024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769883473,"filename":"image_22112025_01_02_31_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d7d98bc9dcef5a37e6c2049093b1739.jpg","text":"TemporaryFile(/tmp/multipartBody5916321591106944392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769883473,"filename":"image_22112025_01_02_37_2477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/059cfe9861fdb73a0ce522aff292e268.jpg","text":"TemporaryFile(/tmp/multipartBody8595954560199427244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769883473,"filename":"image_22112025_01_02_22_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651506","file1":"1395651505","file0":"1395651503","file4":"1395651508","file5":"1395651510","file3":"1395651507"},"map_files_photo_id_array":[{"photo_id":"1395651510","filename":"file5"},{"photo_id":"1395651506","filename":"file2"},{"photo_id":"1395651508","filename":"file4"},{"photo_id":"1395651505","filename":"file1"},{"photo_id":"1395651503","filename":"file0"},{"photo_id":"1395651507","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395651506":["hashtag1","hashtag2"]},{"1395651505":["hashtag1","hashtag2"]},{"1395651508":["hashtag1","hashtag2"]},{"1395651507":["hashtag1","hashtag2"]},{"1395651510":["hashtag1","hashtag2"]},{"1395651503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395651506, 1395651505, 1395651508, 1395651507, 1395651510, 1395651503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.103999376297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:04:22.182914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/03/image_22112025_01_03_07_3012.jpg', '/home/pi/Desktop/images/22112025/01/04/image_22112025_01_04_07_3016.jpg', '/home/pi/Desktop/images/22112025/01/04/image_22112025_01_04_13_5787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/03/image_22112025_01_03_07_3012.jpg
/home/pi/Desktop/images/22112025/01/04/image_22112025_01_04_07_3016.jpg
/home/pi/Desktop/images/22112025/01/04/image_22112025_01_04_13_5787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651520","1395651523","1395651516"],"photo_ids_order":["1395651516","1395651520","1395651523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6aeaaf04898ae699a2ea282363cd3683.jpg","text":"TemporaryFile(/tmp/multipartBody2364996634374743971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769922786,"filename":"image_22112025_01_04_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb6e1c7c3355d52e4594c97d009de852.jpg","text":"TemporaryFile(/tmp/multipartBody2445305388521942997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769922786,"filename":"image_22112025_01_04_13_5787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be9a9926150b08c3bbb33ebaa6046c79.jpg","text":"TemporaryFile(/tmp/multipartBody6781840625155049455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769922786,"filename":"image_22112025_01_03_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651523","file1":"1395651520","file0":"1395651516"},"map_files_photo_id_array":[{"photo_id":"1395651523","filename":"file2"},{"photo_id":"1395651520","filename":"file1"},{"photo_id":"1395651516","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395651520":["hashtag1","hashtag2"]},{"1395651523":["hashtag1","hashtag2"]},{"1395651516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395651520, 1395651523, 1395651516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.43854856491089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:05:03.015597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_16_2662.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_19_3540.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_22_2579.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_30_4402.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_34_2748.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_41_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_16_2662.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_19_3540.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_22_2579.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_30_4402.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_34_2748.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_41_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651533","1395651532","1395651543","1395651531","1395651549","1395651530"],"photo_ids_order":["1395651530","1395651531","1395651532","1395651533","1395651543","1395651549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef654bcdf077203300a42af0b06c50b1.jpg","text":"TemporaryFile(/tmp/multipartBody6971694089408893054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769964752,"filename":"image_19112025_23_51_30_4402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a90c8f6202c0f5c214a4d7b5303ceb75.jpg","text":"TemporaryFile(/tmp/multipartBody8681262984740232345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769964752,"filename":"image_19112025_23_51_22_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b10f1f5f724528850c0eb9bb8cb5f83.jpg","text":"TemporaryFile(/tmp/multipartBody4377442938400327713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769964752,"filename":"image_19112025_23_51_34_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fed0fcb68ae9bbd847fdeca20621f496.jpg","text":"TemporaryFile(/tmp/multipartBody1801095545128473007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769964752,"filename":"image_19112025_23_51_19_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c4b0f98e32bd898dd8f4caa06174931.jpg","text":"TemporaryFile(/tmp/multipartBody3815855639184212216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769964752,"filename":"image_19112025_23_51_41_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93387de5a9ac1c92be49da622820e057.jpg","text":"TemporaryFile(/tmp/multipartBody273187967508645127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763769964752,"filename":"image_19112025_23_51_16_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651532","file1":"1395651531","file0":"1395651530","file4":"1395651543","file5":"1395651549","file3":"1395651533"},"map_files_photo_id_array":[{"photo_id":"1395651549","filename":"file5"},{"photo_id":"1395651532","filename":"file2"},{"photo_id":"1395651543","filename":"file4"},{"photo_id":"1395651531","filename":"file1"},{"photo_id":"1395651530","filename":"file0"},{"photo_id":"1395651533","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395651533":["hashtag1","hashtag2"]},{"1395651532":["hashtag1","hashtag2"]},{"1395651543":["hashtag1","hashtag2"]},{"1395651531":["hashtag1","hashtag2"]},{"1395651549":["hashtag1","hashtag2"]},{"1395651530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395651533, 1395651532, 1395651543, 1395651531, 1395651549, 1395651530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11365723609924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:05:42.360723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/04/image_22112025_01_04_15_1606.jpg', '/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_07_3019.jpg', '/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_10_3719.jpg', '/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_13_2699.jpg', '/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_16_2658.jpg', '/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_19_3831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/04/image_22112025_01_04_15_1606.jpg
/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_07_3019.jpg
/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_10_3719.jpg
/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_13_2699.jpg
/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_16_2658.jpg
/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_19_3831.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651562","1395651561","1395651567","1395651560","1395651563","1395651557"],"photo_ids_order":["1395651557","1395651560","1395651561","1395651562","1395651563","1395651567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/663bddfbae77e43f9b3649fab5e3bf51.jpg","text":"TemporaryFile(/tmp/multipartBody4984710441443530615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770003033,"filename":"image_22112025_01_05_13_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fcf5edd17ae3e2aac031bc8de6a7871.jpg","text":"TemporaryFile(/tmp/multipartBody7600279311350272836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770003033,"filename":"image_22112025_01_05_10_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c6d220c6ede0bee3d041b2234439e73.jpg","text":"TemporaryFile(/tmp/multipartBody7011373757376612132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770003033,"filename":"image_22112025_01_05_19_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20a18fe5c3ed760f39c3598e449d8f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7764550838396222284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770003033,"filename":"image_22112025_01_05_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/629892629f25e8a0b4c2e1abd38434d1.jpg","text":"TemporaryFile(/tmp/multipartBody2355800495120928310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770003033,"filename":"image_22112025_01_05_16_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16e3cea8e723110a85290b59dd1ee4d2.jpg","text":"TemporaryFile(/tmp/multipartBody1018830214415624837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770003033,"filename":"image_22112025_01_04_15_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651561","file1":"1395651560","file0":"1395651557","file4":"1395651563","file5":"1395651567","file3":"1395651562"},"map_files_photo_id_array":[{"photo_id":"1395651567","filename":"file5"},{"photo_id":"1395651561","filename":"file2"},{"photo_id":"1395651563","filename":"file4"},{"photo_id":"1395651560","filename":"file1"},{"photo_id":"1395651557","filename":"file0"},{"photo_id":"1395651562","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395651562":["hashtag1","hashtag2"]},{"1395651561":["hashtag1","hashtag2"]},{"1395651567":["hashtag1","hashtag2"]},{"1395651560":["hashtag1","hashtag2"]},{"1395651563":["hashtag1","hashtag2"]},{"1395651557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395651562, 1395651561, 1395651567, 1395651560, 1395651563, 1395651557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11091065406799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:06:22.619172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_27_5706.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_29_1620.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_30_1657.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_32_1802.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_35_2546.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_38_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_27_5706.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_29_1620.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_30_1657.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_32_1802.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_35_2546.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_38_3535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651573","1395651582","1395651576","1395651585","1395651579","1395651570"],"photo_ids_order":["1395651570","1395651573","1395651576","1395651579","1395651582","1395651585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6001d33e96334b64a85054d97cc392e.jpg","text":"TemporaryFile(/tmp/multipartBody2112457082298462196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770044837,"filename":"image_30102025_18_00_29_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cec3c4864caffdd558ddbd10c647fbd5.jpg","text":"TemporaryFile(/tmp/multipartBody1760439003053984103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770044837,"filename":"image_30102025_18_00_35_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65e3a7002b941b69d10ef9427cee8132.jpg","text":"TemporaryFile(/tmp/multipartBody8120203615873257385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770044837,"filename":"image_30102025_18_00_30_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3e0e8c48ddc9aed6a67872f301fc341.jpg","text":"TemporaryFile(/tmp/multipartBody9179305813193600744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770044837,"filename":"image_30102025_18_00_38_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dee95f694e40590895686dbafae6ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1984549476895515075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770044837,"filename":"image_30102025_18_00_32_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36d850d4e8f877821d5219acdbaf1cac.jpg","text":"TemporaryFile(/tmp/multipartBody5263628089842351906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770044837,"filename":"image_30102025_18_00_27_5706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651576","file1":"1395651573","file0":"1395651570","file4":"1395651582","file5":"1395651585","file3":"1395651579"},"map_files_photo_id_array":[{"photo_id":"1395651585","filename":"file5"},{"photo_id":"1395651576","filename":"file2"},{"photo_id":"1395651582","filename":"file4"},{"photo_id":"1395651573","filename":"file1"},{"photo_id":"1395651570","filename":"file0"},{"photo_id":"1395651579","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395651573":["hashtag1","hashtag2"]},{"1395651582":["hashtag1","hashtag2"]},{"1395651576":["hashtag1","hashtag2"]},{"1395651585":["hashtag1","hashtag2"]},{"1395651579":["hashtag1","hashtag2"]},{"1395651570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395651573, 1395651582, 1395651576, 1395651585, 1395651579, 1395651570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27151536941528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:07:03.221631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_46_2711.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_52_3677.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_55_2700.jpg', '/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_58_2799.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_01_2793.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_05_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_46_2711.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_52_3677.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_55_2700.jpg
/home/pi/Desktop/images/19112025/23/51/image_19112025_23_51_58_2799.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_01_2793.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_05_3751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651595","1395651598","1395651594","1395651600","1395651590","1395651593"],"photo_ids_order":["1395651590","1395651593","1395651594","1395651595","1395651598","1395651600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6022bff7408334449cc083c6b740e1ea.jpg","text":"TemporaryFile(/tmp/multipartBody2177350908450047622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770085045,"filename":"image_19112025_23_51_58_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a000e9ece69e298a59f8e9c20767d15a.jpg","text":"TemporaryFile(/tmp/multipartBody2952470488481377776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770085045,"filename":"image_19112025_23_52_01_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06ddf15286f3b2cb83e0fe9ce14d2ff6.jpg","text":"TemporaryFile(/tmp/multipartBody8619623269575445110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770085045,"filename":"image_19112025_23_51_55_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c53febce29d411766ed66bfbb25c1cab.jpg","text":"TemporaryFile(/tmp/multipartBody6354728775341768193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770085045,"filename":"image_19112025_23_52_05_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0cb2a19283087df22a219fceeab39a3.jpg","text":"TemporaryFile(/tmp/multipartBody7917998278252344703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770085045,"filename":"image_19112025_23_51_46_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/add5e33a361ea0526db28c265b4efb26.jpg","text":"TemporaryFile(/tmp/multipartBody7366891035137152744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770085045,"filename":"image_19112025_23_51_52_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651594","file1":"1395651593","file0":"1395651590","file4":"1395651598","file5":"1395651600","file3":"1395651595"},"map_files_photo_id_array":[{"photo_id":"1395651600","filename":"file5"},{"photo_id":"1395651594","filename":"file2"},{"photo_id":"1395651598","filename":"file4"},{"photo_id":"1395651593","filename":"file1"},{"photo_id":"1395651590","filename":"file0"},{"photo_id":"1395651595","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395651595":["hashtag1","hashtag2"]},{"1395651598":["hashtag1","hashtag2"]},{"1395651594":["hashtag1","hashtag2"]},{"1395651600":["hashtag1","hashtag2"]},{"1395651590":["hashtag1","hashtag2"]},{"1395651593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395651595, 1395651598, 1395651594, 1395651600, 1395651590, 1395651593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08139419555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:07:42.453338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_22_2682.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_07_3012.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_10_3675.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_13_2578.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_16_2739.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_20_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/05/image_22112025_01_05_22_2682.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_07_3012.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_10_3675.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_13_2578.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_16_2739.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_20_3770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395651824","1395651790","1395651937","1395651897","1395651858","1395651750"],"photo_ids_order":["1395651750","1395651790","1395651824","1395651858","1395651897","1395651937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/defef44f88731c6bdd9f5f26b6c74218.jpg","text":"TemporaryFile(/tmp/multipartBody6078581093866472243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770123123,"filename":"image_22112025_01_07_10_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6c70ef6a0689878aa36b1cbd0a84402.jpg","text":"TemporaryFile(/tmp/multipartBody6906049464817982875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770123123,"filename":"image_22112025_01_07_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9886e332de2e1edf5ff2a54cacd89629.jpg","text":"TemporaryFile(/tmp/multipartBody2464912388139021857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770123123,"filename":"image_22112025_01_07_20_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce353708f7dd4aaeed0bb672c8b3e3da.jpg","text":"TemporaryFile(/tmp/multipartBody8003631498793406928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770123123,"filename":"image_22112025_01_07_16_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a80e0d06a1cc04d0c1340cdbb74ad5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3873021411845100772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770123123,"filename":"image_22112025_01_07_13_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26d8c789332f3cb782d9af9609119cef.jpg","text":"TemporaryFile(/tmp/multipartBody9105096621221226512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770123123,"filename":"image_22112025_01_05_22_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395651824","file1":"1395651790","file0":"1395651750","file4":"1395651897","file5":"1395651937","file3":"1395651858"},"map_files_photo_id_array":[{"photo_id":"1395651937","filename":"file5"},{"photo_id":"1395651824","filename":"file2"},{"photo_id":"1395651897","filename":"file4"},{"photo_id":"1395651790","filename":"file1"},{"photo_id":"1395651750","filename":"file0"},{"photo_id":"1395651858","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395651824":["hashtag1","hashtag2"]},{"1395651790":["hashtag1","hashtag2"]},{"1395651937":["hashtag1","hashtag2"]},{"1395651897":["hashtag1","hashtag2"]},{"1395651858":["hashtag1","hashtag2"]},{"1395651750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395651824, 1395651790, 1395651937, 1395651897, 1395651858, 1395651750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97537136077881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:08:22.725704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_22_2516.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_28_2590.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_31_2599.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_37_2578.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_40_2680.jpg', '/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_44_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_22_2516.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_28_2590.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_31_2599.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_37_2578.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_40_2680.jpg
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_44_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395652273","1395652234","1395652158","1395652122","1395652196","1395652085"],"photo_ids_order":["1395652085","1395652122","1395652158","1395652196","1395652234","1395652273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/953cf5e08d1ec3cd1cedf02bef02ec38.jpg","text":"TemporaryFile(/tmp/multipartBody8661193111480707837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770163397,"filename":"image_22112025_01_07_44_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbf55595dbaa20143c9ab5721747d328.jpg","text":"TemporaryFile(/tmp/multipartBody799485294551289258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770163397,"filename":"image_22112025_01_07_40_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1b51ed1bd42b0c532a71a41c0679dff.jpg","text":"TemporaryFile(/tmp/multipartBody1052241385025330957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770163397,"filename":"image_22112025_01_07_31_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfda44ae24bd2cbbc7da60d127d9b877.jpg","text":"TemporaryFile(/tmp/multipartBody1337279507905678206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770163397,"filename":"image_22112025_01_07_28_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/752eda4ca05eac334a2c3630f3dd0e84.jpg","text":"TemporaryFile(/tmp/multipartBody248607792397291856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770163397,"filename":"image_22112025_01_07_37_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef6fae8355a55108fd1063d69026137e.jpg","text":"TemporaryFile(/tmp/multipartBody5874736022818536440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770163397,"filename":"image_22112025_01_07_22_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395652158","file1":"1395652122","file0":"1395652085","file4":"1395652234","file5":"1395652273","file3":"1395652196"},"map_files_photo_id_array":[{"photo_id":"1395652273","filename":"file5"},{"photo_id":"1395652158","filename":"file2"},{"photo_id":"1395652234","filename":"file4"},{"photo_id":"1395652122","filename":"file1"},{"photo_id":"1395652085","filename":"file0"},{"photo_id":"1395652196","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395652273":["hashtag1","hashtag2"]},{"1395652234":["hashtag1","hashtag2"]},{"1395652158":["hashtag1","hashtag2"]},{"1395652122":["hashtag1","hashtag2"]},{"1395652196":["hashtag1","hashtag2"]},{"1395652085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395652273, 1395652234, 1395652158, 1395652122, 1395652196, 1395652085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30751323699951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:09:03.282940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_14_3636.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_16_2711.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_19_2662.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_28_2583.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_31_3570.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_38_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_14_3636.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_16_2711.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_19_2662.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_28_2583.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_31_3570.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_38_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395652599","1395652557","1395652638","1395652481","1395652433","1395652523"],"photo_ids_order":["1395652433","1395652481","1395652523","1395652557","1395652599","1395652638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddc80a9edae5a500233dcc9f9e77fbe1.jpg","text":"TemporaryFile(/tmp/multipartBody5523151482291207045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770205146,"filename":"image_19112025_23_52_31_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b704a7d3fc1bb69d231239f91d0949b0.jpg","text":"TemporaryFile(/tmp/multipartBody6891580157185394319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770205146,"filename":"image_19112025_23_52_28_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f43dbc28b65ac5dd8ea23b1c064b552b.jpg","text":"TemporaryFile(/tmp/multipartBody2658295409336623091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770205146,"filename":"image_19112025_23_52_38_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2952556410a0361278851e34a236d982.jpg","text":"TemporaryFile(/tmp/multipartBody2664372122583309520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770205146,"filename":"image_19112025_23_52_16_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a7316db373577ddbe685535cdee1e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7484123735338052399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770205146,"filename":"image_19112025_23_52_14_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4da33715dc0ebf70c2f4fb49076a91a9.jpg","text":"TemporaryFile(/tmp/multipartBody8733856797698142446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770205146,"filename":"image_19112025_23_52_19_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395652523","file1":"1395652481","file0":"1395652433","file4":"1395652599","file5":"1395652638","file3":"1395652557"},"map_files_photo_id_array":[{"photo_id":"1395652638","filename":"file5"},{"photo_id":"1395652523","filename":"file2"},{"photo_id":"1395652599","filename":"file4"},{"photo_id":"1395652481","filename":"file1"},{"photo_id":"1395652433","filename":"file0"},{"photo_id":"1395652557","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395652599":["hashtag1","hashtag2"]},{"1395652557":["hashtag1","hashtag2"]},{"1395652638":["hashtag1","hashtag2"]},{"1395652481":["hashtag1","hashtag2"]},{"1395652433":["hashtag1","hashtag2"]},{"1395652523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395652599, 1395652557, 1395652638, 1395652481, 1395652433, 1395652523)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.387380599975586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:10:03.027724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_46_2885.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_07_3011.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_10_3013.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_14_3597.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_16_2633.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_20_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/07/image_22112025_01_07_46_2885.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_07_3011.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_10_3013.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_14_3597.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_16_2633.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_20_3585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395652678","1395652677","1395652764","1395652730","1395652802","1395652693"],"photo_ids_order":["1395652677","1395652678","1395652693","1395652730","1395652764","1395652802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba3fdf5c443cc1079106873d4e2ee77f.jpg","text":"TemporaryFile(/tmp/multipartBody210571944264661782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770263760,"filename":"image_22112025_01_09_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca3114db24dacbb263f2a6a6a973cba3.jpg","text":"TemporaryFile(/tmp/multipartBody2802405802268960974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770263760,"filename":"image_22112025_01_07_46_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f91a92593b608ca371efd6e5fa0ce36e.jpg","text":"TemporaryFile(/tmp/multipartBody8097001497435181483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770263760,"filename":"image_22112025_01_09_16_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7990bc8c1ccd63c7a8ea3d5f13dfc092.jpg","text":"TemporaryFile(/tmp/multipartBody8065795222024402967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770263760,"filename":"image_22112025_01_09_14_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a584ba863bd756578b4e701bef0122eb.jpg","text":"TemporaryFile(/tmp/multipartBody8394970141635199136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770263760,"filename":"image_22112025_01_09_20_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bb7e10e9c9a9c99effb6e3f8ff7aeb4.jpg","text":"TemporaryFile(/tmp/multipartBody5340658816461902617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770263760,"filename":"image_22112025_01_09_10_3013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395652693","file1":"1395652678","file0":"1395652677","file4":"1395652764","file5":"1395652802","file3":"1395652730"},"map_files_photo_id_array":[{"photo_id":"1395652802","filename":"file5"},{"photo_id":"1395652693","filename":"file2"},{"photo_id":"1395652764","filename":"file4"},{"photo_id":"1395652678","filename":"file1"},{"photo_id":"1395652677","filename":"file0"},{"photo_id":"1395652730","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395652678":["hashtag1","hashtag2"]},{"1395652677":["hashtag1","hashtag2"]},{"1395652764":["hashtag1","hashtag2"]},{"1395652730":["hashtag1","hashtag2"]},{"1395652802":["hashtag1","hashtag2"]},{"1395652693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395652678, 1395652677, 1395652764, 1395652730, 1395652802, 1395652693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.57339096069336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:11:01.548322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_22_2583.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_25_2724.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_29_3550.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_31_2739.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_34_2854.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_38_3960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_22_2583.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_25_2724.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_29_3550.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_31_2739.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_34_2854.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_38_3960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395652957","1395652974","1395652983","1395652979","1395652981","1395652978"],"photo_ids_order":["1395652957","1395652974","1395652978","1395652979","1395652981","1395652983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdc773bc205e5c28bf1302383a0d464c.jpg","text":"TemporaryFile(/tmp/multipartBody5342992905907199131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770322265,"filename":"image_22112025_01_09_22_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98207adb778c32b5a34b10de23d87d0e.jpg","text":"TemporaryFile(/tmp/multipartBody5978741696681365110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770322265,"filename":"image_22112025_01_09_25_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49443a94ce03df01f0c06fde37bf68ca.jpg","text":"TemporaryFile(/tmp/multipartBody315594064464982362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770322265,"filename":"image_22112025_01_09_38_3960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b849695fc5c0d30d4225da353f838d0b.jpg","text":"TemporaryFile(/tmp/multipartBody8160849312216758871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770322265,"filename":"image_22112025_01_09_31_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60155b2ccf909c50dcbc54f73cc747e2.jpg","text":"TemporaryFile(/tmp/multipartBody9005891284937718906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770322265,"filename":"image_22112025_01_09_34_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2bb78f3d690d38170417518995ce918.jpg","text":"TemporaryFile(/tmp/multipartBody5700953884749816285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770322265,"filename":"image_22112025_01_09_29_3550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395652978","file1":"1395652974","file0":"1395652957","file4":"1395652981","file5":"1395652983","file3":"1395652979"},"map_files_photo_id_array":[{"photo_id":"1395652983","filename":"file5"},{"photo_id":"1395652978","filename":"file2"},{"photo_id":"1395652981","filename":"file4"},{"photo_id":"1395652974","filename":"file1"},{"photo_id":"1395652957","filename":"file0"},{"photo_id":"1395652979","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395652957":["hashtag1","hashtag2"]},{"1395652974":["hashtag1","hashtag2"]},{"1395652983":["hashtag1","hashtag2"]},{"1395652979":["hashtag1","hashtag2"]},{"1395652981":["hashtag1","hashtag2"]},{"1395652978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395652957, 1395652974, 1395652983, 1395652979, 1395652981, 1395652978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38679242134094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:11:40.749832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_40_1705.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_44_3624.jpg', '/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_46_2554.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_07_3011.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_18_10702.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_21_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_40_1705.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_44_3624.jpg
/home/pi/Desktop/images/22112025/01/09/image_22112025_01_09_46_2554.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_07_3011.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_18_10702.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_21_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653005","1395652992","1395653001","1395652997","1395653000","1395652999"],"photo_ids_order":["1395652992","1395652997","1395652999","1395653000","1395653001","1395653005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc3f2826c3535bdb8e96b2aa1102fec9.jpg","text":"TemporaryFile(/tmp/multipartBody8588531592084742559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770361418,"filename":"image_22112025_01_11_21_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85f7ba008bcb948bb61a9f0b0cd17b57.jpg","text":"TemporaryFile(/tmp/multipartBody7404505313487463492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770361418,"filename":"image_22112025_01_09_40_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6779760bc1c8c1570a5091abc6de275.jpg","text":"TemporaryFile(/tmp/multipartBody5437363911481019387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770361418,"filename":"image_22112025_01_11_18_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69d47580de41126daa3dc68ec7c4e3a4.jpg","text":"TemporaryFile(/tmp/multipartBody5571708714246668269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770361418,"filename":"image_22112025_01_09_44_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52bc9491e95d54a10dfc521799513f4e.jpg","text":"TemporaryFile(/tmp/multipartBody2824525649034720549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770361418,"filename":"image_22112025_01_11_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e69ab5f85a2298a1390a33b7d6ad259b.jpg","text":"TemporaryFile(/tmp/multipartBody4195374416311436839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770361418,"filename":"image_22112025_01_09_46_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395652999","file1":"1395652997","file0":"1395652992","file4":"1395653001","file5":"1395653005","file3":"1395653000"},"map_files_photo_id_array":[{"photo_id":"1395653005","filename":"file5"},{"photo_id":"1395652999","filename":"file2"},{"photo_id":"1395653001","filename":"file4"},{"photo_id":"1395652997","filename":"file1"},{"photo_id":"1395652992","filename":"file0"},{"photo_id":"1395653000","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653005":["hashtag1","hashtag2"]},{"1395652992":["hashtag1","hashtag2"]},{"1395653001":["hashtag1","hashtag2"]},{"1395652997":["hashtag1","hashtag2"]},{"1395653000":["hashtag1","hashtag2"]},{"1395652999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653005, 1395652992, 1395653001, 1395652997, 1395653000, 1395652999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16776776313782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:12:22.038510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_22_1499.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_24_1643.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_25_1736.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_27_1658.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_29_1714.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_32_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_22_1499.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_24_1643.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_25_1736.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_27_1658.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_29_1714.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_32_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653023","1395653026","1395653010","1395653013","1395653007","1395653020"],"photo_ids_order":["1395653007","1395653010","1395653013","1395653020","1395653023","1395653026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ee1ef6d94a3c3984bc73f6da136c335.jpg","text":"TemporaryFile(/tmp/multipartBody8904141258290246447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770402826,"filename":"image_22112025_01_11_29_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7b600f3b4ad4115686e65995cab7c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4812257742525359698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770402826,"filename":"image_22112025_01_11_32_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8499c0e4f929866f496fcb6c823d377e.jpg","text":"TemporaryFile(/tmp/multipartBody2089448953059965353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770402826,"filename":"image_22112025_01_11_24_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edbcf0618ea1d8d57e05f707d5ee91f2.jpg","text":"TemporaryFile(/tmp/multipartBody1841871184253631151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770402826,"filename":"image_22112025_01_11_25_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7620b503f514cb9d45617740c101796.jpg","text":"TemporaryFile(/tmp/multipartBody8522574572397155932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770402826,"filename":"image_22112025_01_11_22_1499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/005da1d1fdeac8c50fce6b2965d25620.jpg","text":"TemporaryFile(/tmp/multipartBody6346310900639554723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770402826,"filename":"image_22112025_01_11_27_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653013","file1":"1395653010","file0":"1395653007","file4":"1395653023","file5":"1395653026","file3":"1395653020"},"map_files_photo_id_array":[{"photo_id":"1395653026","filename":"file5"},{"photo_id":"1395653013","filename":"file2"},{"photo_id":"1395653023","filename":"file4"},{"photo_id":"1395653010","filename":"file1"},{"photo_id":"1395653007","filename":"file0"},{"photo_id":"1395653020","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653023":["hashtag1","hashtag2"]},{"1395653026":["hashtag1","hashtag2"]},{"1395653010":["hashtag1","hashtag2"]},{"1395653013":["hashtag1","hashtag2"]},{"1395653007":["hashtag1","hashtag2"]},{"1395653020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653023, 1395653026, 1395653010, 1395653013, 1395653007, 1395653020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04343390464783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:13:03.236426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_34_2721.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_38_3657.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_41_2661.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_43_2711.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_46_2709.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_50_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_34_2721.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_38_3657.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_41_2661.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_43_2711.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_46_2709.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_50_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653069","1395653039","1395653030","1395653071","1395653074","1395653047"],"photo_ids_order":["1395653030","1395653039","1395653047","1395653069","1395653071","1395653074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b67c2068809e4d371f4087d2cd369f4.jpg","text":"TemporaryFile(/tmp/multipartBody8275303637039375130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770443976,"filename":"image_22112025_01_11_43_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0df01e9d57a170205ad6322c8d212cd.jpg","text":"TemporaryFile(/tmp/multipartBody1251884460390980176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770443976,"filename":"image_22112025_01_11_38_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36ea71c48417512ee2148f14b7068cde.jpg","text":"TemporaryFile(/tmp/multipartBody9201818173835236304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770443976,"filename":"image_22112025_01_11_34_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0582fad4c9c81e8387dcbbbaf4b4eb8b.jpg","text":"TemporaryFile(/tmp/multipartBody4496674884122271517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770443976,"filename":"image_22112025_01_11_46_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41057cbddf186aa3ba437a51d5070f8b.jpg","text":"TemporaryFile(/tmp/multipartBody8515747414191623981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770443976,"filename":"image_22112025_01_11_50_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3370f085c30351454ba748f146366129.jpg","text":"TemporaryFile(/tmp/multipartBody1189477602980123704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770443976,"filename":"image_22112025_01_11_41_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653047","file1":"1395653039","file0":"1395653030","file4":"1395653071","file5":"1395653074","file3":"1395653069"},"map_files_photo_id_array":[{"photo_id":"1395653074","filename":"file5"},{"photo_id":"1395653047","filename":"file2"},{"photo_id":"1395653071","filename":"file4"},{"photo_id":"1395653039","filename":"file1"},{"photo_id":"1395653030","filename":"file0"},{"photo_id":"1395653069","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653069":["hashtag1","hashtag2"]},{"1395653039":["hashtag1","hashtag2"]},{"1395653030":["hashtag1","hashtag2"]},{"1395653071":["hashtag1","hashtag2"]},{"1395653074":["hashtag1","hashtag2"]},{"1395653047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653069, 1395653039, 1395653030, 1395653071, 1395653074, 1395653047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.043795108795166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:13:42.540123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_53_2900.jpg', '/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_55_2798.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_06_3011.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_10_3708.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_13_2668.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_16_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_53_2900.jpg
/home/pi/Desktop/images/22112025/01/11/image_22112025_01_11_55_2798.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_06_3011.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_10_3708.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_13_2668.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_16_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653088","1395653085","1395653087","1395653089","1395653083","1395653086"],"photo_ids_order":["1395653083","1395653085","1395653086","1395653087","1395653088","1395653089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6f6bd99df010534b3ddf155a3e38c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7414011244788803417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770483237,"filename":"image_22112025_01_13_13_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db7d48e650335170f4d68b1b5b80f223.jpg","text":"TemporaryFile(/tmp/multipartBody7274201538329942658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770483237,"filename":"image_22112025_01_11_55_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df5b0079173c9b23d41c2a97870bb095.jpg","text":"TemporaryFile(/tmp/multipartBody5522948337140091146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770483237,"filename":"image_22112025_01_13_10_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cac3976c6c977616f38f6f5df5adbb52.jpg","text":"TemporaryFile(/tmp/multipartBody2819100432285070603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770483237,"filename":"image_22112025_01_13_16_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22f7c8c68b58af42c2bd26637397d959.jpg","text":"TemporaryFile(/tmp/multipartBody4468871706137370578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770483237,"filename":"image_22112025_01_11_53_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ac3cc4cb2d5a66465d9f14ee36ede73.jpg","text":"TemporaryFile(/tmp/multipartBody4336177131822803704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770483237,"filename":"image_22112025_01_13_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653086","file1":"1395653085","file0":"1395653083","file4":"1395653088","file5":"1395653089","file3":"1395653087"},"map_files_photo_id_array":[{"photo_id":"1395653089","filename":"file5"},{"photo_id":"1395653086","filename":"file2"},{"photo_id":"1395653088","filename":"file4"},{"photo_id":"1395653085","filename":"file1"},{"photo_id":"1395653083","filename":"file0"},{"photo_id":"1395653087","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653088":["hashtag1","hashtag2"]},{"1395653085":["hashtag1","hashtag2"]},{"1395653087":["hashtag1","hashtag2"]},{"1395653089":["hashtag1","hashtag2"]},{"1395653083":["hashtag1","hashtag2"]},{"1395653086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653088, 1395653085, 1395653087, 1395653089, 1395653083, 1395653086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.809980392456055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:14:22.883437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_19_2591.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_22_2773.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_25_3612.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_28_2665.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_31_2691.jpg', '/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_33_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_19_2591.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_22_2773.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_25_3612.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_28_2665.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_31_2691.jpg
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_33_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653101","1395653104","1395653094","1395653097","1395653106","1395653114"],"photo_ids_order":["1395653094","1395653097","1395653101","1395653104","1395653106","1395653114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6aaae4f160b5efa93d1f2fc9d90dcdb.jpg","text":"TemporaryFile(/tmp/multipartBody8083108922741541784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770523566,"filename":"image_22112025_01_13_25_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68fb3291d95f5c3bdcf2e5bd9731e167.jpg","text":"TemporaryFile(/tmp/multipartBody153867525612781995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770523566,"filename":"image_22112025_01_13_28_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19b69041f38d45520153d21c138c7bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4725311867958117842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770523566,"filename":"image_22112025_01_13_19_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7358301b1df598ed9b8c33f7324f5086.jpg","text":"TemporaryFile(/tmp/multipartBody7787770151640999201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770523566,"filename":"image_22112025_01_13_22_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a714062cad47c1b54aa60b9dab11890e.jpg","text":"TemporaryFile(/tmp/multipartBody6782793871350671217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770523566,"filename":"image_22112025_01_13_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abe1454d57e9065350d1de6beb35101a.jpg","text":"TemporaryFile(/tmp/multipartBody5955673111585202538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770523566,"filename":"image_22112025_01_13_33_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653101","file1":"1395653097","file0":"1395653094","file4":"1395653106","file5":"1395653114","file3":"1395653104"},"map_files_photo_id_array":[{"photo_id":"1395653114","filename":"file5"},{"photo_id":"1395653101","filename":"file2"},{"photo_id":"1395653106","filename":"file4"},{"photo_id":"1395653097","filename":"file1"},{"photo_id":"1395653094","filename":"file0"},{"photo_id":"1395653104","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653101":["hashtag1","hashtag2"]},{"1395653104":["hashtag1","hashtag2"]},{"1395653094":["hashtag1","hashtag2"]},{"1395653097":["hashtag1","hashtag2"]},{"1395653106":["hashtag1","hashtag2"]},{"1395653114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653101, 1395653104, 1395653094, 1395653097, 1395653106, 1395653114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56520199775696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:15:03.309945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_37_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_37_3664.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653116"],"photo_id":"1395653116","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebc2b87af4d495786e28161cbdf9f7ef.jpg","text":"TemporaryFile(/tmp/multipartBody1459244575206266092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770563881,"filename":"image_22112025_01_13_37_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395653116"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395653116"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.62550663948059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:15:22.736641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_39_2545.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_07_3012.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_11_3750.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_20_8918.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_21_1646.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_23_1800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/13/image_22112025_01_13_39_2545.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_07_3012.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_11_3750.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_20_8918.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_21_1646.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_23_1800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653142","1395653127","1395653141","1395653138","1395653131","1395653134"],"photo_ids_order":["1395653127","1395653131","1395653134","1395653138","1395653141","1395653142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0706132dfd75a99ba13bb2bab644b901.jpg","text":"TemporaryFile(/tmp/multipartBody6181182022912100481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770583441,"filename":"image_22112025_01_15_23_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d39722f42141bfa993700cefd4f5dd0.jpg","text":"TemporaryFile(/tmp/multipartBody8872190565435513172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770583441,"filename":"image_22112025_01_13_39_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/343b42047cd0b694895720db508a17c5.jpg","text":"TemporaryFile(/tmp/multipartBody5958347098801360324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770583441,"filename":"image_22112025_01_15_21_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4ede43236ef3e8bc88881a3330b79ff.jpg","text":"TemporaryFile(/tmp/multipartBody1518999659479639765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770583441,"filename":"image_22112025_01_15_20_8918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b71d1710440c28a58f57175c3725e910.jpg","text":"TemporaryFile(/tmp/multipartBody4348359914597355632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770583441,"filename":"image_22112025_01_15_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50581c23062aad86e68f89d6b9be310f.jpg","text":"TemporaryFile(/tmp/multipartBody185210162346568787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770583441,"filename":"image_22112025_01_15_11_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653134","file1":"1395653131","file0":"1395653127","file4":"1395653141","file5":"1395653142","file3":"1395653138"},"map_files_photo_id_array":[{"photo_id":"1395653142","filename":"file5"},{"photo_id":"1395653134","filename":"file2"},{"photo_id":"1395653141","filename":"file4"},{"photo_id":"1395653131","filename":"file1"},{"photo_id":"1395653127","filename":"file0"},{"photo_id":"1395653138","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653142":["hashtag1","hashtag2"]},{"1395653127":["hashtag1","hashtag2"]},{"1395653141":["hashtag1","hashtag2"]},{"1395653138":["hashtag1","hashtag2"]},{"1395653131":["hashtag1","hashtag2"]},{"1395653134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653142, 1395653127, 1395653141, 1395653138, 1395653131, 1395653134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.237945795059204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:16:02.417349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_26_2653.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_28_1584.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_29_1718.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_44_15198.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_46_1787.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_48_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_26_2653.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_28_1584.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_29_1718.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_44_15198.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_46_1787.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_48_1748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653145","1395653148","1395653144","1395653170","1395653143","1395653152"],"photo_ids_order":["1395653143","1395653144","1395653145","1395653148","1395653152","1395653170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fffd1c24827f9cd9383f6b0a676d566f.jpg","text":"TemporaryFile(/tmp/multipartBody3089797302911482820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770623114,"filename":"image_22112025_01_15_29_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bf99528c53b188c7d1ec0022155bb8d.jpg","text":"TemporaryFile(/tmp/multipartBody1032596619171856997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770623114,"filename":"image_22112025_01_15_44_15198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdb0b2824c9877d4547225fc8f63ec88.jpg","text":"TemporaryFile(/tmp/multipartBody5158536552150984299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770623114,"filename":"image_22112025_01_15_28_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/daa62a3eb4b1f93a6b083683b1742e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1812275212095092749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770623114,"filename":"image_22112025_01_15_48_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da476dbce1b0b729d408d7eeac1fa7bb.jpg","text":"TemporaryFile(/tmp/multipartBody2436968355086013727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770623114,"filename":"image_22112025_01_15_26_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96a03403d75ddf145532875b804e17c0.jpg","text":"TemporaryFile(/tmp/multipartBody2769455808171532387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770623114,"filename":"image_22112025_01_15_46_1787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653145","file1":"1395653144","file0":"1395653143","file4":"1395653152","file5":"1395653170","file3":"1395653148"},"map_files_photo_id_array":[{"photo_id":"1395653170","filename":"file5"},{"photo_id":"1395653145","filename":"file2"},{"photo_id":"1395653152","filename":"file4"},{"photo_id":"1395653144","filename":"file1"},{"photo_id":"1395653143","filename":"file0"},{"photo_id":"1395653148","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653145":["hashtag1","hashtag2"]},{"1395653148":["hashtag1","hashtag2"]},{"1395653144":["hashtag1","hashtag2"]},{"1395653170":["hashtag1","hashtag2"]},{"1395653143":["hashtag1","hashtag2"]},{"1395653152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653145, 1395653148, 1395653144, 1395653170, 1395653143, 1395653152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05664849281311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:16:41.947165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_50_1656.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_51_1634.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_53_1647.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_55_1642.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_56_1499.jpg', '/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_58_1911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_50_1656.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_51_1634.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_53_1647.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_55_1642.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_56_1499.jpg
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_15_58_1911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653190","1395653205","1395653192","1395653188","1395653242","1395653191"],"photo_ids_order":["1395653188","1395653190","1395653191","1395653192","1395653205","1395653242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88050af2bb766cd5ffbcfca1cfd4456a.jpg","text":"TemporaryFile(/tmp/multipartBody1604436533325062685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770662614,"filename":"image_22112025_01_15_51_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f74bafd72ce461535eca1bffee33c885.jpg","text":"TemporaryFile(/tmp/multipartBody41244182881213417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770662614,"filename":"image_22112025_01_15_56_1499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24e1d6c12ebdef01f7b269ad952aaa79.jpg","text":"TemporaryFile(/tmp/multipartBody1216491100433110854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770662614,"filename":"image_22112025_01_15_55_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02c51e721a7056157df6333819b62329.jpg","text":"TemporaryFile(/tmp/multipartBody737484548030337782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770662614,"filename":"image_22112025_01_15_50_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9b312d7531246263d6de1cf4f90d5f1.jpg","text":"TemporaryFile(/tmp/multipartBody7513424624483449035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770662614,"filename":"image_22112025_01_15_58_1911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/221414361432703edf7cb388e860b5e9.jpg","text":"TemporaryFile(/tmp/multipartBody2722889656103213082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770662614,"filename":"image_22112025_01_15_53_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653191","file1":"1395653190","file0":"1395653188","file4":"1395653205","file5":"1395653242","file3":"1395653192"},"map_files_photo_id_array":[{"photo_id":"1395653242","filename":"file5"},{"photo_id":"1395653191","filename":"file2"},{"photo_id":"1395653205","filename":"file4"},{"photo_id":"1395653190","filename":"file1"},{"photo_id":"1395653188","filename":"file0"},{"photo_id":"1395653192","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653190":["hashtag1","hashtag2"]},{"1395653205":["hashtag1","hashtag2"]},{"1395653192":["hashtag1","hashtag2"]},{"1395653188":["hashtag1","hashtag2"]},{"1395653242":["hashtag1","hashtag2"]},{"1395653191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653190, 1395653205, 1395653192, 1395653188, 1395653242, 1395653191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26003813743591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:17:22.696674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/15/image_22112025_01_16_00_1687.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_06_3011.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_10_3673.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_13_2604.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_16_3657.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_19_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/15/image_22112025_01_16_00_1687.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_06_3011.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_10_3673.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_13_2604.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_16_3657.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_19_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653397","1395653466","1395653505","1395653432","1395653540","1395653581"],"photo_ids_order":["1395653397","1395653432","1395653466","1395653505","1395653540","1395653581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebf4ebf4eeae4ce9254edc0afe673379.jpg","text":"TemporaryFile(/tmp/multipartBody6265593040768298091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770703402,"filename":"image_22112025_01_16_00_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8c607ce078cadd77145bee52811cf8a.jpg","text":"TemporaryFile(/tmp/multipartBody2917150151096293166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770703402,"filename":"image_22112025_01_17_10_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de854425e4a8eaba307d579e0d459f73.jpg","text":"TemporaryFile(/tmp/multipartBody6115382783864982278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770703402,"filename":"image_22112025_01_17_13_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/530835db28c3e1ae65fe51b1834ffab0.jpg","text":"TemporaryFile(/tmp/multipartBody2466245906413244552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770703402,"filename":"image_22112025_01_17_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fc206ac650b01f76e6b59aae55847b1.jpg","text":"TemporaryFile(/tmp/multipartBody5640873280230337899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770703402,"filename":"image_22112025_01_17_16_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa878bd1d8e1c15fed1f79882a1c9edf.jpg","text":"TemporaryFile(/tmp/multipartBody2150334160694638749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770703402,"filename":"image_22112025_01_17_19_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653466","file1":"1395653432","file0":"1395653397","file4":"1395653540","file5":"1395653581","file3":"1395653505"},"map_files_photo_id_array":[{"photo_id":"1395653581","filename":"file5"},{"photo_id":"1395653466","filename":"file2"},{"photo_id":"1395653540","filename":"file4"},{"photo_id":"1395653432","filename":"file1"},{"photo_id":"1395653397","filename":"file0"},{"photo_id":"1395653505","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653397":["hashtag1","hashtag2"]},{"1395653466":["hashtag1","hashtag2"]},{"1395653505":["hashtag1","hashtag2"]},{"1395653432":["hashtag1","hashtag2"]},{"1395653540":["hashtag1","hashtag2"]},{"1395653581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653397, 1395653466, 1395653505, 1395653432, 1395653540, 1395653581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.290592432022095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:18:02.395876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_21_2695.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_25_3697.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_28_2761.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_30_2553.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_34_3549.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_39_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_21_2695.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_25_3697.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_28_2761.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_30_2553.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_34_3549.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_39_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653725","1395653652","1395653687","1395653720","1395653621","1395653615"],"photo_ids_order":["1395653615","1395653621","1395653652","1395653687","1395653720","1395653725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f97a8b5fa088da14666fd3268bb76795.jpg","text":"TemporaryFile(/tmp/multipartBody7583509396384756535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770743096,"filename":"image_22112025_01_17_39_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99b88492bd86cd5aa49d1c3be93b134c.jpg","text":"TemporaryFile(/tmp/multipartBody7894091986092655513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770743096,"filename":"image_22112025_01_17_28_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8726a3abfd0b25844bdf99fef3b591de.jpg","text":"TemporaryFile(/tmp/multipartBody7447203636180185681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770743096,"filename":"image_22112025_01_17_30_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a91be37cb02074b3be5210f966f5f59.jpg","text":"TemporaryFile(/tmp/multipartBody627130406997134875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770743096,"filename":"image_22112025_01_17_34_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2023a67001a73a0331d915e6588d6b02.jpg","text":"TemporaryFile(/tmp/multipartBody8171492636345305798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770743096,"filename":"image_22112025_01_17_25_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/213721762cc256d370dba1b75bea2b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2284771691498309302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770743096,"filename":"image_22112025_01_17_21_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653652","file1":"1395653621","file0":"1395653615","file4":"1395653720","file5":"1395653725","file3":"1395653687"},"map_files_photo_id_array":[{"photo_id":"1395653725","filename":"file5"},{"photo_id":"1395653652","filename":"file2"},{"photo_id":"1395653720","filename":"file4"},{"photo_id":"1395653621","filename":"file1"},{"photo_id":"1395653615","filename":"file0"},{"photo_id":"1395653687","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653725":["hashtag1","hashtag2"]},{"1395653652":["hashtag1","hashtag2"]},{"1395653687":["hashtag1","hashtag2"]},{"1395653720":["hashtag1","hashtag2"]},{"1395653621":["hashtag1","hashtag2"]},{"1395653615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653725, 1395653652, 1395653687, 1395653720, 1395653621, 1395653615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09375286102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:18:41.820624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_43_3703.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_46_2587.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_48_2600.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_52_3824.jpg', '/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_55_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_43_3703.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_46_2587.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_48_2600.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_52_3824.jpg
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_55_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653803","1395653796","1395653799","1395653802","1395653801"],"photo_ids_order":["1395653796","1395653799","1395653801","1395653802","1395653803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77175a82aae9d8bb64214cd7e265dac3.jpg","text":"TemporaryFile(/tmp/multipartBody7383578984844349417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770782466,"filename":"image_22112025_01_17_55_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a3397a03827b48b111d08fb6018356f.jpg","text":"TemporaryFile(/tmp/multipartBody5164574950728663490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770782466,"filename":"image_22112025_01_17_43_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c1d89ba42c9af535ccfcc559f5a65f9.jpg","text":"TemporaryFile(/tmp/multipartBody8642151257333841077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770782466,"filename":"image_22112025_01_17_46_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cba8f37e3cb47d739457f4534ac36f9b.jpg","text":"TemporaryFile(/tmp/multipartBody284473362774957338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770782466,"filename":"image_22112025_01_17_52_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c3df5ccebffefb7616c05a9dc273978.jpg","text":"TemporaryFile(/tmp/multipartBody8600566950755495500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770782466,"filename":"image_22112025_01_17_48_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653801","file1":"1395653799","file0":"1395653796","file4":"1395653803","file3":"1395653802"},"map_files_photo_id_array":[{"photo_id":"1395653801","filename":"file2"},{"photo_id":"1395653803","filename":"file4"},{"photo_id":"1395653799","filename":"file1"},{"photo_id":"1395653796","filename":"file0"},{"photo_id":"1395653802","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653803":["hashtag1","hashtag2"]},{"1395653796":["hashtag1","hashtag2"]},{"1395653799":["hashtag1","hashtag2"]},{"1395653802":["hashtag1","hashtag2"]},{"1395653801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653803, 1395653796, 1395653799, 1395653802, 1395653801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.116618394851685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:19:22.102199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_58_2792.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_06_3011.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_10_3608.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_13_2684.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_15_2864.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_19_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/17/image_22112025_01_17_58_2792.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_06_3011.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_10_3608.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_13_2684.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_15_2864.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_19_3563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653806","1395653811","1395653816","1395653813","1395653807","1395653809"],"photo_ids_order":["1395653806","1395653807","1395653809","1395653811","1395653813","1395653816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1414d5b18bed1f0ec4048ff99a7a1762.jpg","text":"TemporaryFile(/tmp/multipartBody9075403568354372520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770822807,"filename":"image_22112025_01_17_58_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/990e771b0b1ae9e9952daf9a5a50217f.jpg","text":"TemporaryFile(/tmp/multipartBody6714086162840804500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770822807,"filename":"image_22112025_01_19_13_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69d053690662d600307bab3f669aac78.jpg","text":"TemporaryFile(/tmp/multipartBody3019298638816317711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770822807,"filename":"image_22112025_01_19_19_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ed6e2882e877ce051f55f4101ff8918.jpg","text":"TemporaryFile(/tmp/multipartBody7655281859815284951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770822807,"filename":"image_22112025_01_19_15_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc36cfee346037b42604eede70d74633.jpg","text":"TemporaryFile(/tmp/multipartBody2098692142968840867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770822807,"filename":"image_22112025_01_19_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e783f96c5823bddc860e1ad412fc4a0.jpg","text":"TemporaryFile(/tmp/multipartBody52633468240907993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770822807,"filename":"image_22112025_01_19_10_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653809","file1":"1395653807","file0":"1395653806","file4":"1395653813","file5":"1395653816","file3":"1395653811"},"map_files_photo_id_array":[{"photo_id":"1395653816","filename":"file5"},{"photo_id":"1395653809","filename":"file2"},{"photo_id":"1395653813","filename":"file4"},{"photo_id":"1395653807","filename":"file1"},{"photo_id":"1395653806","filename":"file0"},{"photo_id":"1395653811","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653806":["hashtag1","hashtag2"]},{"1395653811":["hashtag1","hashtag2"]},{"1395653816":["hashtag1","hashtag2"]},{"1395653813":["hashtag1","hashtag2"]},{"1395653807":["hashtag1","hashtag2"]},{"1395653809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653806, 1395653811, 1395653816, 1395653813, 1395653807, 1395653809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79448699951172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:20:02.782544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_22_2639.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_24_2696.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_28_3626.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_30_2571.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_33_2807.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_37_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_22_2639.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_24_2696.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_28_3626.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_30_2571.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_33_2807.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_37_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653824","1395653826","1395653828","1395653822","1395653831","1395653825"],"photo_ids_order":["1395653822","1395653824","1395653825","1395653826","1395653828","1395653831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f6ce674ab1e8571e1c447c911d40569.jpg","text":"TemporaryFile(/tmp/multipartBody1549815743229742176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770863567,"filename":"image_22112025_01_19_24_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30b1baf97d466358afcadce75e60caad.jpg","text":"TemporaryFile(/tmp/multipartBody510953937172740233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770863567,"filename":"image_22112025_01_19_30_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58206f3710ce5177fed7a997e0c79838.jpg","text":"TemporaryFile(/tmp/multipartBody1777364268963211252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770863567,"filename":"image_22112025_01_19_33_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e895f490bd49a56440fe78c89b912fed.jpg","text":"TemporaryFile(/tmp/multipartBody1763037357113938036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770863567,"filename":"image_22112025_01_19_22_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e882209c2ffaec36d1dc58adc5fc375.jpg","text":"TemporaryFile(/tmp/multipartBody6826751919602299402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770863567,"filename":"image_22112025_01_19_37_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1071b8103c5b4457eb424d93ec99bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2046832533366130207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770863567,"filename":"image_22112025_01_19_28_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653825","file1":"1395653824","file0":"1395653822","file4":"1395653828","file5":"1395653831","file3":"1395653826"},"map_files_photo_id_array":[{"photo_id":"1395653831","filename":"file5"},{"photo_id":"1395653825","filename":"file2"},{"photo_id":"1395653828","filename":"file4"},{"photo_id":"1395653824","filename":"file1"},{"photo_id":"1395653822","filename":"file0"},{"photo_id":"1395653826","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653824":["hashtag1","hashtag2"]},{"1395653826":["hashtag1","hashtag2"]},{"1395653828":["hashtag1","hashtag2"]},{"1395653822":["hashtag1","hashtag2"]},{"1395653831":["hashtag1","hashtag2"]},{"1395653825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653824, 1395653826, 1395653828, 1395653822, 1395653831, 1395653825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01800274848938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:20:42.289224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_40_2751.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_42_2701.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_46_3637.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_49_2612.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_51_2686.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_55_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_40_2751.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_42_2701.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_46_3637.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_49_2612.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_51_2686.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_55_3526.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5846219062805176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:21:02.976778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_40_2751.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_42_2701.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_46_3637.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_49_2612.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_51_2686.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_55_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_40_2751.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_42_2701.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_46_3637.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_49_2612.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_51_2686.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_55_3526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653856","1395653867","1395653872","1395653866","1395653869","1395653848"],"photo_ids_order":["1395653848","1395653856","1395653866","1395653867","1395653869","1395653872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbfa9eb9023a82f4be002d7cbeaef318.jpg","text":"TemporaryFile(/tmp/multipartBody2276547295226171945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770923716,"filename":"image_22112025_01_19_42_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19904430ef99f029b891351a4cdab86d.jpg","text":"TemporaryFile(/tmp/multipartBody5320381657267166067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770923716,"filename":"image_22112025_01_19_49_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78967492b40baf6eff9e8d6c85ceeed3.jpg","text":"TemporaryFile(/tmp/multipartBody5411209416870624431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770923716,"filename":"image_22112025_01_19_55_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d358eb4cf2425cb7fa5ae837850f037a.jpg","text":"TemporaryFile(/tmp/multipartBody5783277540060016855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770923716,"filename":"image_22112025_01_19_46_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4491f99c185f25e99e277651f4ae36aa.jpg","text":"TemporaryFile(/tmp/multipartBody3473692788558926015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770923716,"filename":"image_22112025_01_19_51_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/451833c260eeb2ca943df1bd130be2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5696828823318589173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770923716,"filename":"image_22112025_01_19_40_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653866","file1":"1395653856","file0":"1395653848","file4":"1395653869","file5":"1395653872","file3":"1395653867"},"map_files_photo_id_array":[{"photo_id":"1395653872","filename":"file5"},{"photo_id":"1395653866","filename":"file2"},{"photo_id":"1395653869","filename":"file4"},{"photo_id":"1395653856","filename":"file1"},{"photo_id":"1395653848","filename":"file0"},{"photo_id":"1395653867","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653856":["hashtag1","hashtag2"]},{"1395653867":["hashtag1","hashtag2"]},{"1395653872":["hashtag1","hashtag2"]},{"1395653866":["hashtag1","hashtag2"]},{"1395653869":["hashtag1","hashtag2"]},{"1395653848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653856, 1395653867, 1395653872, 1395653866, 1395653869, 1395653848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.480085372924805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:21:42.316788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_58_2693.jpg', '/home/pi/Desktop/images/22112025/01/19/image_22112025_01_20_00_2569.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_07_3011.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_10_3672.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_13_2683.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_16_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_19_58_2693.jpg
/home/pi/Desktop/images/22112025/01/19/image_22112025_01_20_00_2569.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_07_3011.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_10_3672.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_13_2683.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_16_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653886","1395653883","1395653882","1395653885","1395653881","1395653884"],"photo_ids_order":["1395653881","1395653882","1395653883","1395653884","1395653885","1395653886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b85c747dbd165b0b60f78b4c1d51a1b4.jpg","text":"TemporaryFile(/tmp/multipartBody3887859998390148134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770962975,"filename":"image_22112025_01_21_16_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c613995bc9cc18c41496921fa11596a.jpg","text":"TemporaryFile(/tmp/multipartBody6255651731958942014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770962975,"filename":"image_22112025_01_21_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87bbb382b975f51dadfe6798b1a204b3.jpg","text":"TemporaryFile(/tmp/multipartBody1859610630196952065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770962975,"filename":"image_22112025_01_20_00_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/422f695b099020bbf499812b37a52d12.jpg","text":"TemporaryFile(/tmp/multipartBody5355969096110302790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770962975,"filename":"image_22112025_01_21_13_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b96f408bbee2f6b5ca9553b64131b14.jpg","text":"TemporaryFile(/tmp/multipartBody8706888954123811851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770962975,"filename":"image_22112025_01_19_58_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74394c45145d73dd937a779ea9daffbd.jpg","text":"TemporaryFile(/tmp/multipartBody2096689679147124450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763770962975,"filename":"image_22112025_01_21_10_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653883","file1":"1395653882","file0":"1395653881","file4":"1395653885","file5":"1395653886","file3":"1395653884"},"map_files_photo_id_array":[{"photo_id":"1395653886","filename":"file5"},{"photo_id":"1395653883","filename":"file2"},{"photo_id":"1395653885","filename":"file4"},{"photo_id":"1395653882","filename":"file1"},{"photo_id":"1395653881","filename":"file0"},{"photo_id":"1395653884","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653886":["hashtag1","hashtag2"]},{"1395653883":["hashtag1","hashtag2"]},{"1395653882":["hashtag1","hashtag2"]},{"1395653885":["hashtag1","hashtag2"]},{"1395653881":["hashtag1","hashtag2"]},{"1395653884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653886, 1395653883, 1395653882, 1395653885, 1395653881, 1395653884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.743232011795044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:22:22.561028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_19_3526.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_22_2764.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_25_2683.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_28_3591.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_31_2630.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_34_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_19_3526.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_22_2764.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_25_2683.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_28_3591.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_31_2630.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_34_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653897","1395653901","1395653891","1395653894","1395653906","1395653899"],"photo_ids_order":["1395653891","1395653894","1395653897","1395653899","1395653901","1395653906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c0af410b2ec2f7afd149f480f318e09.jpg","text":"TemporaryFile(/tmp/multipartBody146925455299056036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771003232,"filename":"image_22112025_01_21_25_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75fc9dd550bd8eeb7315798b8693e0c5.jpg","text":"TemporaryFile(/tmp/multipartBody3040025699348215047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771003232,"filename":"image_22112025_01_21_31_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e017bc5083d5c5668198612a1bd6a74a.jpg","text":"TemporaryFile(/tmp/multipartBody4135112210436717896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771003232,"filename":"image_22112025_01_21_19_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26be03075b2b489cb80d10d7e84a551e.jpg","text":"TemporaryFile(/tmp/multipartBody6174800349799128698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771003232,"filename":"image_22112025_01_21_22_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21b3885f0b24deefc7c41b335b4d5864.jpg","text":"TemporaryFile(/tmp/multipartBody5515523011602963750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771003232,"filename":"image_22112025_01_21_34_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66379bda9f66a8ad7b1e175979e67c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5258318717202629497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771003232,"filename":"image_22112025_01_21_28_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653897","file1":"1395653894","file0":"1395653891","file4":"1395653901","file5":"1395653906","file3":"1395653899"},"map_files_photo_id_array":[{"photo_id":"1395653906","filename":"file5"},{"photo_id":"1395653897","filename":"file2"},{"photo_id":"1395653901","filename":"file4"},{"photo_id":"1395653894","filename":"file1"},{"photo_id":"1395653891","filename":"file0"},{"photo_id":"1395653899","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653897":["hashtag1","hashtag2"]},{"1395653901":["hashtag1","hashtag2"]},{"1395653891":["hashtag1","hashtag2"]},{"1395653894":["hashtag1","hashtag2"]},{"1395653906":["hashtag1","hashtag2"]},{"1395653899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653897, 1395653901, 1395653891, 1395653894, 1395653906, 1395653899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3004515171051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:23:02.962361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_37_3621.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_40_2580.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_43_3615.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_46_2725.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_49_2524.jpg', '/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_52_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_37_3621.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_40_2580.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_43_3615.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_46_2725.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_49_2524.jpg
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_52_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653919","1395653927","1395653921","1395653924","1395653918","1395653920"],"photo_ids_order":["1395653918","1395653919","1395653920","1395653921","1395653924","1395653927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3012fc36a9a82bdc7505afdcb62d90f0.jpg","text":"TemporaryFile(/tmp/multipartBody441660029605638775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771043689,"filename":"image_22112025_01_21_40_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c865e1bc8fc42119464791e4b1064f77.jpg","text":"TemporaryFile(/tmp/multipartBody8507824190600129216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771043689,"filename":"image_22112025_01_21_52_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98629f511de16f024b2d0bea57cbff49.jpg","text":"TemporaryFile(/tmp/multipartBody810227149410804354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771043689,"filename":"image_22112025_01_21_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/865387434af234090f00842c3115d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody7489428447935624708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771043689,"filename":"image_22112025_01_21_49_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1819e53885d4b5fede6f37f95b21f97d.jpg","text":"TemporaryFile(/tmp/multipartBody1660329120434453731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771043689,"filename":"image_22112025_01_21_37_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4b7a619397b7584308628c8877da9a5.jpg","text":"TemporaryFile(/tmp/multipartBody2703773087436455897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771043689,"filename":"image_22112025_01_21_43_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653920","file1":"1395653919","file0":"1395653918","file4":"1395653924","file5":"1395653927","file3":"1395653921"},"map_files_photo_id_array":[{"photo_id":"1395653927","filename":"file5"},{"photo_id":"1395653920","filename":"file2"},{"photo_id":"1395653924","filename":"file4"},{"photo_id":"1395653919","filename":"file1"},{"photo_id":"1395653918","filename":"file0"},{"photo_id":"1395653921","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653919":["hashtag1","hashtag2"]},{"1395653927":["hashtag1","hashtag2"]},{"1395653921":["hashtag1","hashtag2"]},{"1395653924":["hashtag1","hashtag2"]},{"1395653918":["hashtag1","hashtag2"]},{"1395653920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653919, 1395653927, 1395653921, 1395653924, 1395653918, 1395653920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88930130004883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:23:42.241014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_55_2743.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_07_3011.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_10_3583.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_13_2789.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_16_2737.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_19_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/21/image_22112025_01_21_55_2743.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_07_3011.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_10_3583.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_13_2789.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_16_2737.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_19_3561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653940","1395653943","1395653936","1395653939","1395653938","1395653941"],"photo_ids_order":["1395653936","1395653938","1395653939","1395653940","1395653941","1395653943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/198b1377398cf30b435375de08bb958a.jpg","text":"TemporaryFile(/tmp/multipartBody9218215529954083200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771082907,"filename":"image_22112025_01_23_13_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e90b77070f6324c300aaab869b9de6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1106267114157281828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771082907,"filename":"image_22112025_01_23_19_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5837ffc8efd51b9c24f9eef76d9f1d68.jpg","text":"TemporaryFile(/tmp/multipartBody121700423136509806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771082907,"filename":"image_22112025_01_21_55_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d790201537becf70f904346df80b660.jpg","text":"TemporaryFile(/tmp/multipartBody7301487012767107796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771082907,"filename":"image_22112025_01_23_10_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fab78ca5b676f3908ca2976f5d3e41d3.jpg","text":"TemporaryFile(/tmp/multipartBody3635088188022844333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771082907,"filename":"image_22112025_01_23_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c52976279ba0bdf6b27882bab028d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6046362145726990213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771082907,"filename":"image_22112025_01_23_16_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653939","file1":"1395653938","file0":"1395653936","file4":"1395653941","file5":"1395653943","file3":"1395653940"},"map_files_photo_id_array":[{"photo_id":"1395653943","filename":"file5"},{"photo_id":"1395653939","filename":"file2"},{"photo_id":"1395653941","filename":"file4"},{"photo_id":"1395653938","filename":"file1"},{"photo_id":"1395653936","filename":"file0"},{"photo_id":"1395653940","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653940":["hashtag1","hashtag2"]},{"1395653943":["hashtag1","hashtag2"]},{"1395653936":["hashtag1","hashtag2"]},{"1395653939":["hashtag1","hashtag2"]},{"1395653938":["hashtag1","hashtag2"]},{"1395653941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653940, 1395653943, 1395653936, 1395653939, 1395653938, 1395653941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81163811683655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:24:22.489587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_22_2782.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_25_2710.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_28_3560.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_31_2621.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_34_2713.jpg', '/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_37_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_22_2782.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_25_2710.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_28_3560.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_31_2621.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_34_2713.jpg
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_37_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653961","1395653955","1395653958","1395653951","1395653971","1395653968"],"photo_ids_order":["1395653951","1395653955","1395653958","1395653961","1395653968","1395653971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1f2f3ce1156e63c4bc02976f92219ee.jpg","text":"TemporaryFile(/tmp/multipartBody9023239382784981449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771123158,"filename":"image_22112025_01_23_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6368be8ea2fd02ba44556ce316ada6c5.jpg","text":"TemporaryFile(/tmp/multipartBody7727498833412707429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771123158,"filename":"image_22112025_01_23_25_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4840085800038ffcfea55c6570b76c0c.jpg","text":"TemporaryFile(/tmp/multipartBody144590289395116532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771123158,"filename":"image_22112025_01_23_28_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5dd56db1d86ec845b2fb61a771622b82.jpg","text":"TemporaryFile(/tmp/multipartBody6001695548834255395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771123158,"filename":"image_22112025_01_23_22_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2b32dcd3b2dbf7b42a793c3681c113f.jpg","text":"TemporaryFile(/tmp/multipartBody6744601883771187712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771123158,"filename":"image_22112025_01_23_37_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f00c204d347c8025112d2970c41362df.jpg","text":"TemporaryFile(/tmp/multipartBody5300136605735236789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771123158,"filename":"image_22112025_01_23_34_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653958","file1":"1395653955","file0":"1395653951","file4":"1395653968","file5":"1395653971","file3":"1395653961"},"map_files_photo_id_array":[{"photo_id":"1395653971","filename":"file5"},{"photo_id":"1395653958","filename":"file2"},{"photo_id":"1395653968","filename":"file4"},{"photo_id":"1395653955","filename":"file1"},{"photo_id":"1395653951","filename":"file0"},{"photo_id":"1395653961","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395653961":["hashtag1","hashtag2"]},{"1395653955":["hashtag1","hashtag2"]},{"1395653958":["hashtag1","hashtag2"]},{"1395653951":["hashtag1","hashtag2"]},{"1395653971":["hashtag1","hashtag2"]},{"1395653968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395653961, 1395653955, 1395653958, 1395653951, 1395653971, 1395653968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72154450416565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:25:03.429409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_40_2618.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_43_2679.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_46_2753.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_49_3736.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_52_2650.jpg', '/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_55_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_40_2618.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_43_2679.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_46_2753.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_49_3736.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_52_2650.jpg
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_55_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395653973","1395653976","1395653981","1395653978","1395653975","1395653974"],"photo_ids_order":["1395653973","1395653974","1395653975","1395653976","1395653978","1395653981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e2b9b0fe47fe7b9988df0359829ce38.jpg","text":"TemporaryFile(/tmp/multipartBody4275867457442188483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771165170,"filename":"image_19112025_23_52_40_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89e429bd2608cf3f1fcebafe02b00498.jpg","text":"TemporaryFile(/tmp/multipartBody8606155623753024622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771165170,"filename":"image_19112025_23_52_49_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bed5e15fb675ccb649de269f639569a9.jpg","text":"TemporaryFile(/tmp/multipartBody8325488136933295572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771165170,"filename":"image_19112025_23_52_55_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6c66efa53dc403621981531f3c0e865.jpg","text":"TemporaryFile(/tmp/multipartBody8011020445791928349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771165170,"filename":"image_19112025_23_52_52_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5785a1a7dbec8358a824b0bda4dc5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2908050985265376943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771165170,"filename":"image_19112025_23_52_46_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/149d5579420233d96cf36fe4a064cbd4.jpg","text":"TemporaryFile(/tmp/multipartBody2290066992881725122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771165170,"filename":"image_19112025_23_52_43_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653975","file1":"1395653974","file0":"1395653973","file4":"1395653978","file5":"1395653981","file3":"1395653976"},"map_files_photo_id_array":[{"photo_id":"1395653981","filename":"file5"},{"photo_id":"1395653975","filename":"file2"},{"photo_id":"1395653978","filename":"file4"},{"photo_id":"1395653974","filename":"file1"},{"photo_id":"1395653973","filename":"file0"},{"photo_id":"1395653976","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395653973":["hashtag1","hashtag2"]},{"1395653976":["hashtag1","hashtag2"]},{"1395653981":["hashtag1","hashtag2"]},{"1395653978":["hashtag1","hashtag2"]},{"1395653975":["hashtag1","hashtag2"]},{"1395653974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395653973, 1395653976, 1395653981, 1395653978, 1395653975, 1395653974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13370394706726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:25:42.709109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_40_2648.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_07_3015.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_11_3709.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_13_2693.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_16_2783.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_20_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/23/image_22112025_01_23_40_2648.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_07_3015.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_11_3709.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_13_2693.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_16_2783.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_20_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654021","1395653990","1395654008","1395653993","1395654023","1395653997"],"photo_ids_order":["1395653990","1395653993","1395653997","1395654008","1395654021","1395654023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7006fb65e30b7c36a40d82318cb5a80.jpg","text":"TemporaryFile(/tmp/multipartBody7098769300986028083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771203371,"filename":"image_22112025_01_25_16_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f348dcaf86d0f0c248b76c00d884d331.jpg","text":"TemporaryFile(/tmp/multipartBody3462493634210412609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771203371,"filename":"image_22112025_01_23_40_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3af22060c6a950549b68e95b59130fc.jpg","text":"TemporaryFile(/tmp/multipartBody903378557174570371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771203371,"filename":"image_22112025_01_25_13_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e37dce446c821ec2373b19891341142.jpg","text":"TemporaryFile(/tmp/multipartBody8403230594628564834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771203371,"filename":"image_22112025_01_25_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30fec076f29280e769ed65cc1285a1ba.jpg","text":"TemporaryFile(/tmp/multipartBody8410370295726973199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771203371,"filename":"image_22112025_01_25_20_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33f5b8b890d09b4f6e0405a878ddcd1e.jpg","text":"TemporaryFile(/tmp/multipartBody366716975894609966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771203371,"filename":"image_22112025_01_25_11_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395653997","file1":"1395653993","file0":"1395653990","file4":"1395654021","file5":"1395654023","file3":"1395654008"},"map_files_photo_id_array":[{"photo_id":"1395654023","filename":"file5"},{"photo_id":"1395653997","filename":"file2"},{"photo_id":"1395654021","filename":"file4"},{"photo_id":"1395653993","filename":"file1"},{"photo_id":"1395653990","filename":"file0"},{"photo_id":"1395654008","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654021":["hashtag1","hashtag2"]},{"1395653990":["hashtag1","hashtag2"]},{"1395654008":["hashtag1","hashtag2"]},{"1395653993":["hashtag1","hashtag2"]},{"1395654023":["hashtag1","hashtag2"]},{"1395653997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654021, 1395653990, 1395654008, 1395653993, 1395654023, 1395653997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.251869201660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:26:24.473301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_23_2793.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_25_2761.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_28_2872.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_32_3668.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_37_2669.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_41_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_23_2793.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_25_2761.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_28_2872.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_32_3668.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_37_2669.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_41_3610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5580379962921143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:26:51.415960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_23_2793.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_25_2761.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_28_2872.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_32_3668.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_37_2669.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_41_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_23_2793.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_25_2761.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_28_2872.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_32_3668.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_37_2669.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_41_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654042","1395654051","1395654045","1395654044","1395654043","1395654049"],"photo_ids_order":["1395654042","1395654043","1395654044","1395654045","1395654049","1395654051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efa5a16180dd90a52c799d696f0032e0.jpg","text":"TemporaryFile(/tmp/multipartBody1104326771234782264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771272094,"filename":"image_22112025_01_25_23_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ddc94db2706fc403d5be92b49179c32.jpg","text":"TemporaryFile(/tmp/multipartBody4890777403220390678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771272094,"filename":"image_22112025_01_25_41_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26941a25dbad8703c20ea10d85121e63.jpg","text":"TemporaryFile(/tmp/multipartBody3259134006077943236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771272094,"filename":"image_22112025_01_25_32_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22964ce32c67fe98c716528de3d8f45c.jpg","text":"TemporaryFile(/tmp/multipartBody8157734573534882589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771272094,"filename":"image_22112025_01_25_28_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c315704e2df6b7fb68856f0df535d00f.jpg","text":"TemporaryFile(/tmp/multipartBody8739842527618956600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771272094,"filename":"image_22112025_01_25_25_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9645a2e8406037a5d02e44b6008cb3e0.jpg","text":"TemporaryFile(/tmp/multipartBody7548471292059987883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771272094,"filename":"image_22112025_01_25_37_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654044","file1":"1395654043","file0":"1395654042","file4":"1395654049","file5":"1395654051","file3":"1395654045"},"map_files_photo_id_array":[{"photo_id":"1395654051","filename":"file5"},{"photo_id":"1395654044","filename":"file2"},{"photo_id":"1395654049","filename":"file4"},{"photo_id":"1395654043","filename":"file1"},{"photo_id":"1395654042","filename":"file0"},{"photo_id":"1395654045","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654042":["hashtag1","hashtag2"]},{"1395654051":["hashtag1","hashtag2"]},{"1395654045":["hashtag1","hashtag2"]},{"1395654044":["hashtag1","hashtag2"]},{"1395654043":["hashtag1","hashtag2"]},{"1395654049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654042, 1395654051, 1395654045, 1395654044, 1395654043, 1395654049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.303574323654175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:27:42.667088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_43_2556.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_46_2667.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_50_3800.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_52_2636.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_55_2670.jpg', '/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_59_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_43_2556.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_46_2667.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_50_3800.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_52_2636.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_55_2670.jpg
/home/pi/Desktop/images/22112025/01/25/image_22112025_01_25_59_3761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654069","1395654065","1395654068","1395654070","1395654067","1395654066"],"photo_ids_order":["1395654065","1395654066","1395654067","1395654068","1395654069","1395654070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f63e00296e44286d9b6cd0a874aa6ec.jpg","text":"TemporaryFile(/tmp/multipartBody5790714768760389905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771323329,"filename":"image_22112025_01_25_55_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a1f924cf566d30cbd1a3636c3be510f.jpg","text":"TemporaryFile(/tmp/multipartBody7606734869138150611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771323329,"filename":"image_22112025_01_25_43_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b99e5506b63b34465f3941b16cd08be.jpg","text":"TemporaryFile(/tmp/multipartBody5053736537910870850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771323329,"filename":"image_22112025_01_25_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ce8d7f3e667d345028f06bf248326c5.jpg","text":"TemporaryFile(/tmp/multipartBody228699077651464122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771323329,"filename":"image_22112025_01_25_59_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1df5cf9df8fc967f879c00da45c93ee7.jpg","text":"TemporaryFile(/tmp/multipartBody9022031069731672401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771323329,"filename":"image_22112025_01_25_50_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/352de162ab2090c59ecec60639fae52e.jpg","text":"TemporaryFile(/tmp/multipartBody6872267457893966396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771323329,"filename":"image_22112025_01_25_46_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654067","file1":"1395654066","file0":"1395654065","file4":"1395654069","file5":"1395654070","file3":"1395654068"},"map_files_photo_id_array":[{"photo_id":"1395654070","filename":"file5"},{"photo_id":"1395654067","filename":"file2"},{"photo_id":"1395654069","filename":"file4"},{"photo_id":"1395654066","filename":"file1"},{"photo_id":"1395654065","filename":"file0"},{"photo_id":"1395654068","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654069":["hashtag1","hashtag2"]},{"1395654065":["hashtag1","hashtag2"]},{"1395654068":["hashtag1","hashtag2"]},{"1395654070":["hashtag1","hashtag2"]},{"1395654067":["hashtag1","hashtag2"]},{"1395654066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654069, 1395654065, 1395654068, 1395654070, 1395654067, 1395654066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78309392929077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:28:22.017942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_06_3011.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_12_2667.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_16_3689.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_19_2765.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_21_2614.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_25_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_06_3011.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_12_2667.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_16_3689.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_19_2765.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_21_2614.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_25_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654089","1395654080","1395654083","1395654077","1395654073","1395654093"],"photo_ids_order":["1395654073","1395654077","1395654080","1395654083","1395654089","1395654093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90beae70f754d94c62c53ec9d0592f6f.jpg","text":"TemporaryFile(/tmp/multipartBody2340468176701623397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771363003,"filename":"image_22112025_01_27_21_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac8e0804d83b7f9cdb7ab3437e99f183.jpg","text":"TemporaryFile(/tmp/multipartBody8863436889521684317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771363003,"filename":"image_22112025_01_27_16_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/523e1846404eb409c98ab921d31f8097.jpg","text":"TemporaryFile(/tmp/multipartBody645083335599706876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771363003,"filename":"image_22112025_01_27_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4fb9df34753c8a07bc944cad21ce845.jpg","text":"TemporaryFile(/tmp/multipartBody4166642078858811273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771363003,"filename":"image_22112025_01_27_12_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ed5691f534f75fac14705576c28a501.jpg","text":"TemporaryFile(/tmp/multipartBody4215793982396118924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771363003,"filename":"image_22112025_01_27_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d251c9ef5ab58367d8adc7f579239aea.jpg","text":"TemporaryFile(/tmp/multipartBody4610536469583925519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771363003,"filename":"image_22112025_01_27_25_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654080","file1":"1395654077","file0":"1395654073","file4":"1395654089","file5":"1395654093","file3":"1395654083"},"map_files_photo_id_array":[{"photo_id":"1395654093","filename":"file5"},{"photo_id":"1395654080","filename":"file2"},{"photo_id":"1395654089","filename":"file4"},{"photo_id":"1395654077","filename":"file1"},{"photo_id":"1395654073","filename":"file0"},{"photo_id":"1395654083","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654089":["hashtag1","hashtag2"]},{"1395654080":["hashtag1","hashtag2"]},{"1395654083":["hashtag1","hashtag2"]},{"1395654077":["hashtag1","hashtag2"]},{"1395654073":["hashtag1","hashtag2"]},{"1395654093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654089, 1395654080, 1395654083, 1395654077, 1395654073, 1395654093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73589754104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:29:03.859067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_28_2793.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_31_2735.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_33_2671.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_40_2803.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_51_11644.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_53_1761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_28_2793.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_31_2735.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_33_2671.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_40_2803.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_51_11644.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_53_1761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654105","1395654095","1395654098","1395654101","1395654097","1395654099"],"photo_ids_order":["1395654095","1395654097","1395654098","1395654099","1395654101","1395654105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8252d1ced373f4a4aa6d4b121eafb82.jpg","text":"TemporaryFile(/tmp/multipartBody5710649282419605960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771404634,"filename":"image_22112025_01_27_53_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27dd37f1889e1b4b7455b96582d057f9.jpg","text":"TemporaryFile(/tmp/multipartBody8192638617113043916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771404634,"filename":"image_22112025_01_27_28_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6045e469876d9afb324d681dff8cc715.jpg","text":"TemporaryFile(/tmp/multipartBody4507149283927531415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771404634,"filename":"image_22112025_01_27_33_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86ee31576e7eb168883765f6296a8b2f.jpg","text":"TemporaryFile(/tmp/multipartBody1905909552205203434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771404634,"filename":"image_22112025_01_27_51_11644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8247213052d482b0f8a6636824ed941.jpg","text":"TemporaryFile(/tmp/multipartBody9193441472622033024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771404634,"filename":"image_22112025_01_27_31_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c3d99198ed0537da6a3aa541baa7a20.jpg","text":"TemporaryFile(/tmp/multipartBody502604122252819853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771404634,"filename":"image_22112025_01_27_40_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654098","file1":"1395654097","file0":"1395654095","file4":"1395654101","file5":"1395654105","file3":"1395654099"},"map_files_photo_id_array":[{"photo_id":"1395654105","filename":"file5"},{"photo_id":"1395654098","filename":"file2"},{"photo_id":"1395654101","filename":"file4"},{"photo_id":"1395654097","filename":"file1"},{"photo_id":"1395654095","filename":"file0"},{"photo_id":"1395654099","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654105":["hashtag1","hashtag2"]},{"1395654095":["hashtag1","hashtag2"]},{"1395654098":["hashtag1","hashtag2"]},{"1395654101":["hashtag1","hashtag2"]},{"1395654097":["hashtag1","hashtag2"]},{"1395654099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654105, 1395654095, 1395654098, 1395654101, 1395654097, 1395654099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.914215087890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:29:42.853365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_55_1571.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_56_1568.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_58_1666.jpg', '/home/pi/Desktop/images/22112025/01/27/image_22112025_01_28_00_1702.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_06_3012.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_10_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_55_1571.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_56_1568.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_27_58_1666.jpg
/home/pi/Desktop/images/22112025/01/27/image_22112025_01_28_00_1702.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_06_3012.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_10_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654117","1395654114","1395654152","1395654149","1395654116","1395654127"],"photo_ids_order":["1395654114","1395654116","1395654117","1395654127","1395654149","1395654152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/853bb12e99fee018127b358fe12f8d89.jpg","text":"TemporaryFile(/tmp/multipartBody5601962088171527579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771443519,"filename":"image_22112025_01_27_58_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5b9fd892947a7600a34327465d318fc.jpg","text":"TemporaryFile(/tmp/multipartBody2393429944802969853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771443519,"filename":"image_22112025_01_27_55_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25238ac1638fb8c0314ec1b1b343aeaf.jpg","text":"TemporaryFile(/tmp/multipartBody1249083609195680237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771443519,"filename":"image_22112025_01_29_10_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73aacc9291efb934a7906f053a5221be.jpg","text":"TemporaryFile(/tmp/multipartBody285007618392453500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771443519,"filename":"image_22112025_01_29_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2706dd1d5edfaf6cb9ffd0eca76fff3a.jpg","text":"TemporaryFile(/tmp/multipartBody5575564720723733610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771443519,"filename":"image_22112025_01_27_56_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee95f230563a082ed504b6a1ca752c8f.jpg","text":"TemporaryFile(/tmp/multipartBody5625188811558619526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771443519,"filename":"image_22112025_01_28_00_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654117","file1":"1395654116","file0":"1395654114","file4":"1395654149","file5":"1395654152","file3":"1395654127"},"map_files_photo_id_array":[{"photo_id":"1395654152","filename":"file5"},{"photo_id":"1395654117","filename":"file2"},{"photo_id":"1395654149","filename":"file4"},{"photo_id":"1395654116","filename":"file1"},{"photo_id":"1395654114","filename":"file0"},{"photo_id":"1395654127","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654117":["hashtag1","hashtag2"]},{"1395654114":["hashtag1","hashtag2"]},{"1395654152":["hashtag1","hashtag2"]},{"1395654149":["hashtag1","hashtag2"]},{"1395654116":["hashtag1","hashtag2"]},{"1395654127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654117, 1395654114, 1395654152, 1395654149, 1395654116, 1395654127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.22499990463257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:31:03.370719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_12_2503.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_16_3693.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_19_2631.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_21_2701.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_25_3712.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_28_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_12_2503.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_16_3693.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_19_2631.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_21_2701.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_25_3712.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_28_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654204","1395654194","1395654199","1395654196","1395654192","1395654186"],"photo_ids_order":["1395654186","1395654192","1395654194","1395654196","1395654199","1395654204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44650b2187b2a85a092758177a587a73.jpg","text":"TemporaryFile(/tmp/multipartBody1421028429485401142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771524121,"filename":"image_22112025_01_29_28_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/622ed2f228d104b6cf30e72e8b747a59.jpg","text":"TemporaryFile(/tmp/multipartBody6963630386535197050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771524121,"filename":"image_22112025_01_29_19_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1d4c1f3316a6f684c1116559b3b0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody6829975964778294525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771524121,"filename":"image_22112025_01_29_25_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf2e9626f7b72d349a65b5803fd4d4c8.jpg","text":"TemporaryFile(/tmp/multipartBody8936060738966013201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771524121,"filename":"image_22112025_01_29_21_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4a086c2956ceddc1b8d2e48a95990a5.jpg","text":"TemporaryFile(/tmp/multipartBody6051196132154118665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771524121,"filename":"image_22112025_01_29_16_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b04408e5140795f30643ec0141b7b87d.jpg","text":"TemporaryFile(/tmp/multipartBody5881837405888053184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771524121,"filename":"image_22112025_01_29_12_2503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654194","file1":"1395654192","file0":"1395654186","file4":"1395654199","file5":"1395654204","file3":"1395654196"},"map_files_photo_id_array":[{"photo_id":"1395654204","filename":"file5"},{"photo_id":"1395654194","filename":"file2"},{"photo_id":"1395654199","filename":"file4"},{"photo_id":"1395654192","filename":"file1"},{"photo_id":"1395654186","filename":"file0"},{"photo_id":"1395654196","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654204":["hashtag1","hashtag2"]},{"1395654194":["hashtag1","hashtag2"]},{"1395654199":["hashtag1","hashtag2"]},{"1395654196":["hashtag1","hashtag2"]},{"1395654192":["hashtag1","hashtag2"]},{"1395654186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654204, 1395654194, 1395654199, 1395654196, 1395654192, 1395654186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.849294900894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:31:42.655915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_30_2623.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_33_2744.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_37_3636.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_39_2733.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_43_3566.jpg', '/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_46_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_30_2623.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_33_2744.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_37_3636.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_39_2733.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_43_3566.jpg
/home/pi/Desktop/images/22112025/01/29/image_22112025_01_29_46_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654273","1395654240","1395654287","1395654281","1395654242","1395654253"],"photo_ids_order":["1395654240","1395654242","1395654253","1395654273","1395654281","1395654287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/891432b42a3f7306e4e5b3bc2f54ddc2.jpg","text":"TemporaryFile(/tmp/multipartBody1396841642905470995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771563334,"filename":"image_22112025_01_29_39_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58d40afea899b83fa7bbbe939a6c1e34.jpg","text":"TemporaryFile(/tmp/multipartBody5643782073488122078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771563334,"filename":"image_22112025_01_29_30_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/857e659d339fa0aae2f859155d943756.jpg","text":"TemporaryFile(/tmp/multipartBody373404507968266177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771563334,"filename":"image_22112025_01_29_46_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa12b6b2be108b33eb57f5860531f221.jpg","text":"TemporaryFile(/tmp/multipartBody9130020292155427656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771563334,"filename":"image_22112025_01_29_43_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9c4f73ed6be2d04e85bf66eeb054904.jpg","text":"TemporaryFile(/tmp/multipartBody3154065238075721600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771563334,"filename":"image_22112025_01_29_33_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df5b6fc66ee7b296c53a9b526993e46d.jpg","text":"TemporaryFile(/tmp/multipartBody8316791076354664767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771563334,"filename":"image_22112025_01_29_37_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654253","file1":"1395654242","file0":"1395654240","file4":"1395654281","file5":"1395654287","file3":"1395654273"},"map_files_photo_id_array":[{"photo_id":"1395654287","filename":"file5"},{"photo_id":"1395654253","filename":"file2"},{"photo_id":"1395654281","filename":"file4"},{"photo_id":"1395654242","filename":"file1"},{"photo_id":"1395654240","filename":"file0"},{"photo_id":"1395654273","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654273":["hashtag1","hashtag2"]},{"1395654240":["hashtag1","hashtag2"]},{"1395654287":["hashtag1","hashtag2"]},{"1395654281":["hashtag1","hashtag2"]},{"1395654242":["hashtag1","hashtag2"]},{"1395654253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654273, 1395654240, 1395654287, 1395654281, 1395654242, 1395654253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.896159648895264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:32:21.846238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_10_3770.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_13_2694.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_15_2716.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_19_3550.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_22_2613.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_24_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_10_3770.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_13_2694.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_15_2716.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_19_3550.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_22_2613.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_24_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654300","1395654303","1395654306","1395654317","1395654294","1395654313"],"photo_ids_order":["1395654294","1395654300","1395654303","1395654306","1395654313","1395654317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7aa840dba714769a3821a5348a62cde3.jpg","text":"TemporaryFile(/tmp/multipartBody815992815134164790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771602520,"filename":"image_22112025_01_31_13_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1212403f5aa021f5bf93a6189401dcf8.jpg","text":"TemporaryFile(/tmp/multipartBody3708661958946416877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771602520,"filename":"image_22112025_01_31_15_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/377a45cbd73e0025933b83bbee2f3f60.jpg","text":"TemporaryFile(/tmp/multipartBody44438049506166961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771602520,"filename":"image_22112025_01_31_19_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/901df0e146410ebebcaa1eaf86e6d02c.jpg","text":"TemporaryFile(/tmp/multipartBody3133931436694084712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771602520,"filename":"image_22112025_01_31_24_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c37ba8430d90ca25f4912b9e3402b384.jpg","text":"TemporaryFile(/tmp/multipartBody1884409086720708983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771602520,"filename":"image_22112025_01_31_10_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9450f4a80af6a59787ece95dffe4037.jpg","text":"TemporaryFile(/tmp/multipartBody8574868681921906124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771602520,"filename":"image_22112025_01_31_22_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654303","file1":"1395654300","file0":"1395654294","file4":"1395654313","file5":"1395654317","file3":"1395654306"},"map_files_photo_id_array":[{"photo_id":"1395654317","filename":"file5"},{"photo_id":"1395654303","filename":"file2"},{"photo_id":"1395654313","filename":"file4"},{"photo_id":"1395654300","filename":"file1"},{"photo_id":"1395654294","filename":"file0"},{"photo_id":"1395654306","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654300":["hashtag1","hashtag2"]},{"1395654303":["hashtag1","hashtag2"]},{"1395654306":["hashtag1","hashtag2"]},{"1395654317":["hashtag1","hashtag2"]},{"1395654294":["hashtag1","hashtag2"]},{"1395654313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654300, 1395654303, 1395654306, 1395654317, 1395654294, 1395654313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56424355506897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:33:02.809816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_28_3644.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_31_2921.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_34_2665.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_36_2657.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_40_3630.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_49_8731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_28_3644.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_31_2921.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_34_2665.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_36_2657.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_40_3630.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_49_8731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654339","1395654342","1395654336","1395654321","1395654332","1395654337"],"photo_ids_order":["1395654321","1395654332","1395654336","1395654337","1395654339","1395654342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1129978e0e191f6a074e8cf27cfc2cdc.jpg","text":"TemporaryFile(/tmp/multipartBody116050310005565166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771643586,"filename":"image_22112025_01_31_40_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58c12f44f3256ed19951a9c15fad760f.jpg","text":"TemporaryFile(/tmp/multipartBody6089924673225589211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771643586,"filename":"image_22112025_01_31_49_8731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31ffa67d79ce57d944e5c5a2a3698bda.jpg","text":"TemporaryFile(/tmp/multipartBody2283291609526233766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771643586,"filename":"image_22112025_01_31_34_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bd72dac89200b7942f24b022e6f1261.jpg","text":"TemporaryFile(/tmp/multipartBody5159798520521504418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771643586,"filename":"image_22112025_01_31_28_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/615c0b3eb5607d2c9f2a903bf36264fa.jpg","text":"TemporaryFile(/tmp/multipartBody1613948204772318083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771643586,"filename":"image_22112025_01_31_31_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d60baa787befd213e5eeb8e9f2f1a12.jpg","text":"TemporaryFile(/tmp/multipartBody5619849309875097923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771643586,"filename":"image_22112025_01_31_36_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654336","file1":"1395654332","file0":"1395654321","file4":"1395654339","file5":"1395654342","file3":"1395654337"},"map_files_photo_id_array":[{"photo_id":"1395654342","filename":"file5"},{"photo_id":"1395654336","filename":"file2"},{"photo_id":"1395654339","filename":"file4"},{"photo_id":"1395654332","filename":"file1"},{"photo_id":"1395654321","filename":"file0"},{"photo_id":"1395654337","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654339":["hashtag1","hashtag2"]},{"1395654342":["hashtag1","hashtag2"]},{"1395654336":["hashtag1","hashtag2"]},{"1395654321":["hashtag1","hashtag2"]},{"1395654332":["hashtag1","hashtag2"]},{"1395654337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654339, 1395654342, 1395654336, 1395654321, 1395654332, 1395654337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.391745805740356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:33:42.067091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_50_1526.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_52_1689.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_53_1560.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_55_1540.jpg', '/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_58_2617.jpg', '/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_50_1526.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_52_1689.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_53_1560.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_55_1540.jpg
/home/pi/Desktop/images/22112025/01/31/image_22112025_01_31_58_2617.jpg
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654354","1395654356","1395654352","1395654355","1395654358","1395654357"],"photo_ids_order":["1395654352","1395654354","1395654355","1395654356","1395654357","1395654358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2812f30a75633b1954c5b0799807f14c.jpg","text":"TemporaryFile(/tmp/multipartBody7899099381145001205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771682735,"filename":"image_22112025_01_31_52_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2deded08dd37c0926606be19230641b.jpg","text":"TemporaryFile(/tmp/multipartBody4910903583514300850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771682735,"filename":"image_22112025_01_31_55_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c6f6da05ea667483332f29984af8d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5067705037660759563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771682735,"filename":"image_22112025_01_31_50_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc632d206e0dda719f057ead0926cb74.jpg","text":"TemporaryFile(/tmp/multipartBody7930526400145434041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771682735,"filename":"image_22112025_01_31_53_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cdc7364994318d5b44e287aff3fdf5f.jpg","text":"TemporaryFile(/tmp/multipartBody3282094751355920539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771682735,"filename":"image_22112025_01_33_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26f5d9061715eb592d7983ab92b4b3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7138099190231978009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771682735,"filename":"image_22112025_01_31_58_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654355","file1":"1395654354","file0":"1395654352","file4":"1395654357","file5":"1395654358","file3":"1395654356"},"map_files_photo_id_array":[{"photo_id":"1395654358","filename":"file5"},{"photo_id":"1395654355","filename":"file2"},{"photo_id":"1395654357","filename":"file4"},{"photo_id":"1395654354","filename":"file1"},{"photo_id":"1395654352","filename":"file0"},{"photo_id":"1395654356","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654354":["hashtag1","hashtag2"]},{"1395654356":["hashtag1","hashtag2"]},{"1395654352":["hashtag1","hashtag2"]},{"1395654355":["hashtag1","hashtag2"]},{"1395654358":["hashtag1","hashtag2"]},{"1395654357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654354, 1395654356, 1395654352, 1395654355, 1395654358, 1395654357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24787354469299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:34:22.338920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_10_3631.jpg', '/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_13_2726.jpg', '/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_16_3513.jpg', '/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_19_2603.jpg', '/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_28_2700.jpg', '/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_30_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_10_3631.jpg
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_13_2726.jpg
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_16_3513.jpg
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_19_2603.jpg
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_28_2700.jpg
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_30_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654372","1395654366","1395654369","1395654386","1395654382","1395654384"],"photo_ids_order":["1395654366","1395654369","1395654372","1395654382","1395654384","1395654386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7e5d0a4dad4b9a0069c72b2118f6fae.jpg","text":"TemporaryFile(/tmp/multipartBody1555715940594397945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771725916,"filename":"image_22112025_01_33_16_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a13bc05092940e18ce43863d6ab18be1.jpg","text":"TemporaryFile(/tmp/multipartBody5580513226140876217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771725916,"filename":"image_22112025_01_33_10_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adc0a436342b9f4bf9c5fcc23ab907b6.jpg","text":"TemporaryFile(/tmp/multipartBody1725813221386080683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771725916,"filename":"image_22112025_01_33_13_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/964db6d631153f7997ebbfa93877611f.jpg","text":"TemporaryFile(/tmp/multipartBody998008222087616159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771725916,"filename":"image_22112025_01_33_30_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05343935ec517b42d726c647894f9145.jpg","text":"TemporaryFile(/tmp/multipartBody1351621068816970295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771725916,"filename":"image_22112025_01_33_19_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a504bea091898175b9fb4bc018f34054.jpg","text":"TemporaryFile(/tmp/multipartBody6569157734691869115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771725916,"filename":"image_22112025_01_33_28_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654372","file1":"1395654369","file0":"1395654366","file4":"1395654384","file5":"1395654386","file3":"1395654382"},"map_files_photo_id_array":[{"photo_id":"1395654386","filename":"file5"},{"photo_id":"1395654372","filename":"file2"},{"photo_id":"1395654384","filename":"file4"},{"photo_id":"1395654369","filename":"file1"},{"photo_id":"1395654366","filename":"file0"},{"photo_id":"1395654382","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654372":["hashtag1","hashtag2"]},{"1395654366":["hashtag1","hashtag2"]},{"1395654369":["hashtag1","hashtag2"]},{"1395654386":["hashtag1","hashtag2"]},{"1395654382":["hashtag1","hashtag2"]},{"1395654384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654372, 1395654366, 1395654369, 1395654386, 1395654382, 1395654384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.956191301345825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:35:03.028084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:35:26.454919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_34_3591.jpg', '/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_37_2675.jpg', '/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_39_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_34_3591.jpg
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_37_2675.jpg
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_39_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654397","1395654401","1395654394"],"photo_ids_order":["1395654394","1395654397","1395654401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf9ac21cfcd562b003bfb7ee4e058a63.jpg","text":"TemporaryFile(/tmp/multipartBody5744202420693300715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771787029,"filename":"image_22112025_01_33_37_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6dc215f8560f73ba92f4280f0c64501.jpg","text":"TemporaryFile(/tmp/multipartBody5355210768185021611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771787029,"filename":"image_22112025_01_33_39_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4d303bb0ca9ba411e0b1004b6df22c6.jpg","text":"TemporaryFile(/tmp/multipartBody1638443019517457234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771787029,"filename":"image_22112025_01_33_34_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654401","file1":"1395654397","file0":"1395654394"},"map_files_photo_id_array":[{"photo_id":"1395654401","filename":"file2"},{"photo_id":"1395654397","filename":"file1"},{"photo_id":"1395654394","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654397":["hashtag1","hashtag2"]},{"1395654401":["hashtag1","hashtag2"]},{"1395654394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654397, 1395654401, 1395654394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.726680517196655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:36:03.001456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_58_3623.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_01_2635.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_04_2631.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_07_3584.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_10_2578.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_13_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/52/image_19112025_23_52_58_3623.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_01_2635.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_04_2631.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_07_3584.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_10_2578.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_13_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654450","1395654458","1395654434","1395654454","1395654448","1395654439"],"photo_ids_order":["1395654434","1395654439","1395654448","1395654450","1395654454","1395654458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2185de3eeba47cd94fe0ae96608f7df.jpg","text":"TemporaryFile(/tmp/multipartBody2408374265480540668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771824819,"filename":"image_19112025_23_53_07_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/259bad6fa935d9fe904a5edca3054d43.jpg","text":"TemporaryFile(/tmp/multipartBody8750138769643749584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771824819,"filename":"image_19112025_23_53_13_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db38f3a6d1baa616393ca451747b4708.jpg","text":"TemporaryFile(/tmp/multipartBody626407044466501119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771824819,"filename":"image_19112025_23_52_58_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61d2ee2b0c7ae3e902a1565a0b2a9c54.jpg","text":"TemporaryFile(/tmp/multipartBody4744794419602060153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771824819,"filename":"image_19112025_23_53_10_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/516612947f85c005fc7567610d110506.jpg","text":"TemporaryFile(/tmp/multipartBody7499446444408381073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771824819,"filename":"image_19112025_23_53_04_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d0ca73d5a2538d6955a3f8b0ac8e862.jpg","text":"TemporaryFile(/tmp/multipartBody2057922932699023195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771824819,"filename":"image_19112025_23_53_01_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654448","file1":"1395654439","file0":"1395654434","file4":"1395654454","file5":"1395654458","file3":"1395654450"},"map_files_photo_id_array":[{"photo_id":"1395654458","filename":"file5"},{"photo_id":"1395654448","filename":"file2"},{"photo_id":"1395654454","filename":"file4"},{"photo_id":"1395654439","filename":"file1"},{"photo_id":"1395654434","filename":"file0"},{"photo_id":"1395654450","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395654450":["hashtag1","hashtag2"]},{"1395654458":["hashtag1","hashtag2"]},{"1395654434":["hashtag1","hashtag2"]},{"1395654454":["hashtag1","hashtag2"]},{"1395654448":["hashtag1","hashtag2"]},{"1395654439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395654450, 1395654458, 1395654434, 1395654454, 1395654448, 1395654439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28881478309631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:36:42.592350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_43_3650.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_07_3018.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_10_3768.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_13_2578.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_17_3579.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_19_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/33/image_22112025_01_33_43_3650.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_07_3018.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_10_3768.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_13_2578.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_17_3579.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_19_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654485","1395654482","1395654481","1395654484","1395654475","1395654483"],"photo_ids_order":["1395654475","1395654481","1395654482","1395654483","1395654484","1395654485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b49b8b006f69b876c43e7f69a7cc77a0.jpg","text":"TemporaryFile(/tmp/multipartBody3808838655335770858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771863322,"filename":"image_22112025_01_35_19_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd533b0af9ca95fada1ca1b9ac370375.jpg","text":"TemporaryFile(/tmp/multipartBody8618890098302256907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771863322,"filename":"image_22112025_01_35_10_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da0e92b9fbdb9ab4ab5b49bb57409a4e.jpg","text":"TemporaryFile(/tmp/multipartBody5843611516928300469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771863322,"filename":"image_22112025_01_35_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6eca15c96eb6507375a44c997722cb38.jpg","text":"TemporaryFile(/tmp/multipartBody3393729435305310055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771863322,"filename":"image_22112025_01_35_17_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff5485b71616475d17352e4ffe20d43c.jpg","text":"TemporaryFile(/tmp/multipartBody4156082894999135240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771863322,"filename":"image_22112025_01_33_43_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7339a9a849ed267927b036d091324014.jpg","text":"TemporaryFile(/tmp/multipartBody5748858225635296406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771863322,"filename":"image_22112025_01_35_13_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654482","file1":"1395654481","file0":"1395654475","file4":"1395654484","file5":"1395654485","file3":"1395654483"},"map_files_photo_id_array":[{"photo_id":"1395654485","filename":"file5"},{"photo_id":"1395654482","filename":"file2"},{"photo_id":"1395654484","filename":"file4"},{"photo_id":"1395654481","filename":"file1"},{"photo_id":"1395654475","filename":"file0"},{"photo_id":"1395654483","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654485":["hashtag1","hashtag2"]},{"1395654482":["hashtag1","hashtag2"]},{"1395654481":["hashtag1","hashtag2"]},{"1395654484":["hashtag1","hashtag2"]},{"1395654475":["hashtag1","hashtag2"]},{"1395654483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654485, 1395654482, 1395654481, 1395654484, 1395654475, 1395654483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6870231628418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:37:21.856781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_22_2683.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_26_4170.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_29_2584.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_31_2745.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_34_2657.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_38_4331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_22_2683.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_26_4170.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_29_2584.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_31_2745.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_34_2657.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_38_4331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654525","1395654527","1395654529","1395654520","1395654523","1395654517"],"photo_ids_order":["1395654517","1395654520","1395654523","1395654525","1395654527","1395654529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba367e59e4fb5670b8d45f43e786f051.jpg","text":"TemporaryFile(/tmp/multipartBody2443534256651366499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771902552,"filename":"image_22112025_01_35_31_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8f3f7426af1b7560d09f5fddeb74407.jpg","text":"TemporaryFile(/tmp/multipartBody3161276352858806964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771902552,"filename":"image_22112025_01_35_34_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/668cf9ef107ac9a73da66972b03e0a59.jpg","text":"TemporaryFile(/tmp/multipartBody7586829674466041878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771902552,"filename":"image_22112025_01_35_38_4331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4284f6dda02bec27ffda3118f298a511.jpg","text":"TemporaryFile(/tmp/multipartBody8726370645131842546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771902552,"filename":"image_22112025_01_35_26_4170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6c155f35dee3da3a96e3d98bf2ff0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2702660899934809140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771902552,"filename":"image_22112025_01_35_29_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd5fd10c682d2368c7a5eacb0bf8eec2.jpg","text":"TemporaryFile(/tmp/multipartBody6587121289689851341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771902552,"filename":"image_22112025_01_35_22_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654523","file1":"1395654520","file0":"1395654517","file4":"1395654527","file5":"1395654529","file3":"1395654525"},"map_files_photo_id_array":[{"photo_id":"1395654529","filename":"file5"},{"photo_id":"1395654523","filename":"file2"},{"photo_id":"1395654527","filename":"file4"},{"photo_id":"1395654520","filename":"file1"},{"photo_id":"1395654517","filename":"file0"},{"photo_id":"1395654525","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654525":["hashtag1","hashtag2"]},{"1395654527":["hashtag1","hashtag2"]},{"1395654529":["hashtag1","hashtag2"]},{"1395654520":["hashtag1","hashtag2"]},{"1395654523":["hashtag1","hashtag2"]},{"1395654517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654525, 1395654527, 1395654529, 1395654520, 1395654523, 1395654517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52879285812378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:38:02.592227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_44_5701.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_46_1780.jpg', '/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_49_1691.jpg', '/home/pi/Desktop/images/22112025/01/36/image_22112025_01_36_02_9726.jpg', '/home/pi/Desktop/images/22112025/01/36/image_22112025_01_36_03_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_44_5701.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_46_1780.jpg
/home/pi/Desktop/images/22112025/01/35/image_22112025_01_35_49_1691.jpg
/home/pi/Desktop/images/22112025/01/36/image_22112025_01_36_02_9726.jpg
/home/pi/Desktop/images/22112025/01/36/image_22112025_01_36_03_1638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654531","1395654540","1395654534","1395654536","1395654532"],"photo_ids_order":["1395654531","1395654532","1395654534","1395654536","1395654540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/315929ca9ca4c76d86747bbde3dd458e.jpg","text":"TemporaryFile(/tmp/multipartBody733724921470698811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771943273,"filename":"image_22112025_01_35_44_5701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f3a3339a4c4c25149d23a3bd2d809a4.jpg","text":"TemporaryFile(/tmp/multipartBody5661555508878506984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771943273,"filename":"image_22112025_01_36_03_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4817026e205f9e309cf5aa4955562fc.jpg","text":"TemporaryFile(/tmp/multipartBody1644582167974295861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771943273,"filename":"image_22112025_01_35_49_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd93a17616b348514a657ff1f5fcb31d.jpg","text":"TemporaryFile(/tmp/multipartBody8508005118596324705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771943273,"filename":"image_22112025_01_36_02_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f846545a3e887cb683e2fe53467f3edd.jpg","text":"TemporaryFile(/tmp/multipartBody1703924310083967637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771943273,"filename":"image_22112025_01_35_46_1780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654534","file1":"1395654532","file0":"1395654531","file4":"1395654540","file3":"1395654536"},"map_files_photo_id_array":[{"photo_id":"1395654534","filename":"file2"},{"photo_id":"1395654540","filename":"file4"},{"photo_id":"1395654532","filename":"file1"},{"photo_id":"1395654531","filename":"file0"},{"photo_id":"1395654536","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654531":["hashtag1","hashtag2"]},{"1395654540":["hashtag1","hashtag2"]},{"1395654534":["hashtag1","hashtag2"]},{"1395654536":["hashtag1","hashtag2"]},{"1395654532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654531, 1395654540, 1395654534, 1395654536, 1395654532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.370174646377563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:38:42.136313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/36/image_22112025_01_36_10_6524.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_06_3011.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_10_3750.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_13_2758.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_16_2765.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_19_3518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/36/image_22112025_01_36_10_6524.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_06_3011.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_10_3750.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_13_2758.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_16_2765.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_19_3518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654564","1395654566","1395654560","1395654563","1395654562","1395654565"],"photo_ids_order":["1395654560","1395654562","1395654563","1395654564","1395654565","1395654566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f611df01207fadab70ec19304fe677d9.jpg","text":"TemporaryFile(/tmp/multipartBody6374701773306928523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771982805,"filename":"image_22112025_01_38_13_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f572acea53aa19f91805f14ab3928f5.jpg","text":"TemporaryFile(/tmp/multipartBody2092228559502012480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771982805,"filename":"image_22112025_01_38_19_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bbe32933caf39d661774ff7f327f82e.jpg","text":"TemporaryFile(/tmp/multipartBody47023786980305512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771982805,"filename":"image_22112025_01_36_10_6524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26de472e687e3476a42c6e5e7970bfb5.jpg","text":"TemporaryFile(/tmp/multipartBody9185303743852825768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771982805,"filename":"image_22112025_01_38_10_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcff25cfb59f941138f39fa5fc62ae51.jpg","text":"TemporaryFile(/tmp/multipartBody2898700570212429204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771982805,"filename":"image_22112025_01_38_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccf22897aa544a65bb8d9d075f5d6902.jpg","text":"TemporaryFile(/tmp/multipartBody5790144486137416350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763771982805,"filename":"image_22112025_01_38_16_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654563","file1":"1395654562","file0":"1395654560","file4":"1395654565","file5":"1395654566","file3":"1395654564"},"map_files_photo_id_array":[{"photo_id":"1395654566","filename":"file5"},{"photo_id":"1395654563","filename":"file2"},{"photo_id":"1395654565","filename":"file4"},{"photo_id":"1395654562","filename":"file1"},{"photo_id":"1395654560","filename":"file0"},{"photo_id":"1395654564","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654564":["hashtag1","hashtag2"]},{"1395654566":["hashtag1","hashtag2"]},{"1395654560":["hashtag1","hashtag2"]},{"1395654563":["hashtag1","hashtag2"]},{"1395654562":["hashtag1","hashtag2"]},{"1395654565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654564, 1395654566, 1395654560, 1395654563, 1395654562, 1395654565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31567573547363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:39:22.425165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_22_2690.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_26_4478.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_28_1575.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_31_2621.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_34_3630.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_40_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_22_2690.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_26_4478.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_28_1575.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_31_2621.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_34_3630.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_40_2720.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6362895965576172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:39:42.329774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_22_2690.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_26_4478.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_28_1575.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_31_2621.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_34_3630.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_40_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_22_2690.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_26_4478.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_28_1575.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_31_2621.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_34_3630.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_40_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654599","1395654603","1395654602","1395654605","1395654601","1395654604"],"photo_ids_order":["1395654599","1395654601","1395654602","1395654603","1395654604","1395654605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a34748848c9fb890ccdef68d76fd9436.jpg","text":"TemporaryFile(/tmp/multipartBody3816580697471360160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772043004,"filename":"image_22112025_01_38_22_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5796d42a54b9694f04258a94e1843dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1117147784550631697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772043004,"filename":"image_22112025_01_38_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08cbd671e8680b36504d4383ffe04b47.jpg","text":"TemporaryFile(/tmp/multipartBody7734215273821982947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772043004,"filename":"image_22112025_01_38_28_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91889db132901312ecd29336ca71c78d.jpg","text":"TemporaryFile(/tmp/multipartBody5536239316140377814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772043004,"filename":"image_22112025_01_38_40_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/347016b2f5f94ec73a762123e47af732.jpg","text":"TemporaryFile(/tmp/multipartBody4172392640749557080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772043004,"filename":"image_22112025_01_38_26_4478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6845b75c28bdedc20596f82de8404fa5.jpg","text":"TemporaryFile(/tmp/multipartBody5869551280558664850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772043004,"filename":"image_22112025_01_38_34_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654602","file1":"1395654601","file0":"1395654599","file4":"1395654604","file5":"1395654605","file3":"1395654603"},"map_files_photo_id_array":[{"photo_id":"1395654605","filename":"file5"},{"photo_id":"1395654602","filename":"file2"},{"photo_id":"1395654604","filename":"file4"},{"photo_id":"1395654601","filename":"file1"},{"photo_id":"1395654599","filename":"file0"},{"photo_id":"1395654603","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654599":["hashtag1","hashtag2"]},{"1395654603":["hashtag1","hashtag2"]},{"1395654602":["hashtag1","hashtag2"]},{"1395654605":["hashtag1","hashtag2"]},{"1395654601":["hashtag1","hashtag2"]},{"1395654604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654599, 1395654603, 1395654602, 1395654605, 1395654601, 1395654604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85693025588989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:40:22.593335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_43_3597.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_46_2804.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_49_2681.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_55_2839.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_58_2561.jpg', '/home/pi/Desktop/images/22112025/01/38/image_22112025_01_39_01_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_43_3597.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_46_2804.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_49_2681.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_55_2839.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_38_58_2561.jpg
/home/pi/Desktop/images/22112025/01/38/image_22112025_01_39_01_3611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654624","1395654614","1395654626","1395654628","1395654622","1395654619"],"photo_ids_order":["1395654614","1395654619","1395654622","1395654624","1395654626","1395654628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b70a82df63a76c27068aac2f0e3c122.jpg","text":"TemporaryFile(/tmp/multipartBody155083031690436620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772083343,"filename":"image_22112025_01_38_55_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58991b60bde6edd29d6d6d9d0ddce090.jpg","text":"TemporaryFile(/tmp/multipartBody3759438325572643794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772083343,"filename":"image_22112025_01_38_43_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa20911b15681d77991a41ef67a43067.jpg","text":"TemporaryFile(/tmp/multipartBody5694638768095546935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772083343,"filename":"image_22112025_01_38_58_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a55fe7453aab2882a4ebc14561d8530.jpg","text":"TemporaryFile(/tmp/multipartBody1812526902563948931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772083343,"filename":"image_22112025_01_39_01_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29827abbced4486255127fa07e64b404.jpg","text":"TemporaryFile(/tmp/multipartBody2185745177738881042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772083343,"filename":"image_22112025_01_38_49_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7968c8313ed9b09578e400c6238a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody2891100474560817832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772083343,"filename":"image_22112025_01_38_46_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654622","file1":"1395654619","file0":"1395654614","file4":"1395654626","file5":"1395654628","file3":"1395654624"},"map_files_photo_id_array":[{"photo_id":"1395654628","filename":"file5"},{"photo_id":"1395654622","filename":"file2"},{"photo_id":"1395654626","filename":"file4"},{"photo_id":"1395654619","filename":"file1"},{"photo_id":"1395654614","filename":"file0"},{"photo_id":"1395654624","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654624":["hashtag1","hashtag2"]},{"1395654614":["hashtag1","hashtag2"]},{"1395654626":["hashtag1","hashtag2"]},{"1395654628":["hashtag1","hashtag2"]},{"1395654622":["hashtag1","hashtag2"]},{"1395654619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654624, 1395654614, 1395654626, 1395654628, 1395654622, 1395654619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38832879066467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:41:02.541184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/39/image_22112025_01_39_04_2680.jpg', '/home/pi/Desktop/images/22112025/01/39/image_22112025_01_39_10_3583.jpg', '/home/pi/Desktop/images/22112025/01/39/image_22112025_01_39_13_2624.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_07_3017.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_13_2608.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_17_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/39/image_22112025_01_39_04_2680.jpg
/home/pi/Desktop/images/22112025/01/39/image_22112025_01_39_10_3583.jpg
/home/pi/Desktop/images/22112025/01/39/image_22112025_01_39_13_2624.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_07_3017.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_13_2608.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_17_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654659","1395654629","1395654638","1395654652","1395654646","1395654655"],"photo_ids_order":["1395654629","1395654638","1395654646","1395654652","1395654655","1395654659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfc3589b69416646f3b95a18c7501887.jpg","text":"TemporaryFile(/tmp/multipartBody3714046788878494463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772123312,"filename":"image_22112025_01_40_17_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66093469dbe425595df5173b442d0408.jpg","text":"TemporaryFile(/tmp/multipartBody3676450774787114179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772123312,"filename":"image_22112025_01_39_04_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5084d4136fa5cb3daa9f9a504732163f.jpg","text":"TemporaryFile(/tmp/multipartBody7447614217611912089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772123312,"filename":"image_22112025_01_39_10_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfa924c474e62c110735b34798cba84e.jpg","text":"TemporaryFile(/tmp/multipartBody6070125310759643487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772123312,"filename":"image_22112025_01_40_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc2d7870d2d94cba335811afcc66b874.jpg","text":"TemporaryFile(/tmp/multipartBody7484202543373794933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772123312,"filename":"image_22112025_01_39_13_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b268e31f7c5a8d66440bc8bd71a03583.jpg","text":"TemporaryFile(/tmp/multipartBody8511792350735067048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772123312,"filename":"image_22112025_01_40_13_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654646","file1":"1395654638","file0":"1395654629","file4":"1395654655","file5":"1395654659","file3":"1395654652"},"map_files_photo_id_array":[{"photo_id":"1395654659","filename":"file5"},{"photo_id":"1395654646","filename":"file2"},{"photo_id":"1395654655","filename":"file4"},{"photo_id":"1395654638","filename":"file1"},{"photo_id":"1395654629","filename":"file0"},{"photo_id":"1395654652","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654659":["hashtag1","hashtag2"]},{"1395654629":["hashtag1","hashtag2"]},{"1395654638":["hashtag1","hashtag2"]},{"1395654652":["hashtag1","hashtag2"]},{"1395654646":["hashtag1","hashtag2"]},{"1395654655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654659, 1395654629, 1395654638, 1395654652, 1395654646, 1395654655)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.00517725944519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:42:04.782958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_19_2523.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_23_3557.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_26_2762.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_28_2725.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_31_2676.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_35_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_19_2523.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_23_3557.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_26_2762.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_28_2725.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_31_2676.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_35_3705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654741","1395654738","1395654728","1395654730","1395654733","1395654727"],"photo_ids_order":["1395654727","1395654728","1395654730","1395654733","1395654738","1395654741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/391f25c2b1c9a6589aef3bfb0dd52f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4289141600774845036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772187242,"filename":"image_22112025_01_40_35_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42263c531533307e4df7724c660d2bd3.jpg","text":"TemporaryFile(/tmp/multipartBody895275750053313424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772187242,"filename":"image_22112025_01_40_31_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67a2b29c2badf57a9e7d87f0cfd0999b.jpg","text":"TemporaryFile(/tmp/multipartBody1227388268581200629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772187242,"filename":"image_22112025_01_40_23_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/becaf86de0690c27e67a81cbce325c55.jpg","text":"TemporaryFile(/tmp/multipartBody1728609556603477430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772187242,"filename":"image_22112025_01_40_26_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53c7e0e47cccc936c75c8ee7a028e30c.jpg","text":"TemporaryFile(/tmp/multipartBody8463690831597226146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772187242,"filename":"image_22112025_01_40_28_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03bb6d1df24dff9841efdde554e06061.jpg","text":"TemporaryFile(/tmp/multipartBody205820220235138733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772187242,"filename":"image_22112025_01_40_19_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654730","file1":"1395654728","file0":"1395654727","file4":"1395654738","file5":"1395654741","file3":"1395654733"},"map_files_photo_id_array":[{"photo_id":"1395654741","filename":"file5"},{"photo_id":"1395654730","filename":"file2"},{"photo_id":"1395654738","filename":"file4"},{"photo_id":"1395654728","filename":"file1"},{"photo_id":"1395654727","filename":"file0"},{"photo_id":"1395654733","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654741":["hashtag1","hashtag2"]},{"1395654738":["hashtag1","hashtag2"]},{"1395654728":["hashtag1","hashtag2"]},{"1395654730":["hashtag1","hashtag2"]},{"1395654733":["hashtag1","hashtag2"]},{"1395654727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654741, 1395654738, 1395654728, 1395654730, 1395654733, 1395654727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.888147592544556 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:43:03.264757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_37_2584.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_44_3661.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_46_2617.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_49_2769.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_56_2685.jpg', '/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_58_2492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_37_2584.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_44_3661.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_46_2617.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_49_2769.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_56_2685.jpg
/home/pi/Desktop/images/22112025/01/40/image_22112025_01_40_58_2492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654762","1395654764","1395654760","1395654771","1395654765","1395654768"],"photo_ids_order":["1395654760","1395654762","1395654764","1395654765","1395654768","1395654771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45923e282bffe002c25164f60ae38990.jpg","text":"TemporaryFile(/tmp/multipartBody4791636876398481831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772244051,"filename":"image_22112025_01_40_44_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c270ad60920d75be4f323c41992955c6.jpg","text":"TemporaryFile(/tmp/multipartBody5545404948126012284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772244051,"filename":"image_22112025_01_40_46_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cd305370c7e687f5e910ee27a6d30ab.jpg","text":"TemporaryFile(/tmp/multipartBody8369328411881211547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772244051,"filename":"image_22112025_01_40_37_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f5418bde8260f7eeb45d2934fcaeaa6.jpg","text":"TemporaryFile(/tmp/multipartBody2224958090704094667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772244051,"filename":"image_22112025_01_40_58_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06b6fd8fcd5ed517796f3f570429f345.jpg","text":"TemporaryFile(/tmp/multipartBody7059404582268135437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772244051,"filename":"image_22112025_01_40_49_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d7d6e689d20e3b6a300d0c7ab5d849b.jpg","text":"TemporaryFile(/tmp/multipartBody1665284426189026732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772244051,"filename":"image_22112025_01_40_56_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654764","file1":"1395654762","file0":"1395654760","file4":"1395654768","file5":"1395654771","file3":"1395654765"},"map_files_photo_id_array":[{"photo_id":"1395654771","filename":"file5"},{"photo_id":"1395654764","filename":"file2"},{"photo_id":"1395654768","filename":"file4"},{"photo_id":"1395654762","filename":"file1"},{"photo_id":"1395654760","filename":"file0"},{"photo_id":"1395654765","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654762":["hashtag1","hashtag2"]},{"1395654764":["hashtag1","hashtag2"]},{"1395654760":["hashtag1","hashtag2"]},{"1395654771":["hashtag1","hashtag2"]},{"1395654765":["hashtag1","hashtag2"]},{"1395654768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654762, 1395654764, 1395654760, 1395654771, 1395654765, 1395654768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43492555618286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:43:42.695721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_02_3636.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_04_2727.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_07_2786.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_11_3695.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_14_2727.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_16_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_02_3636.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_04_2727.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_07_2786.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_11_3695.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_14_2727.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_16_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654782","1395654781","1395654784","1395654778","1395654783","1395654780"],"photo_ids_order":["1395654778","1395654780","1395654781","1395654782","1395654783","1395654784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f34c3473c0f08d155a8f87e46f4f6168.jpg","text":"TemporaryFile(/tmp/multipartBody5509638892289019403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772283375,"filename":"image_22112025_01_41_11_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c840a33daf7a946745ff45663f8cdca6.jpg","text":"TemporaryFile(/tmp/multipartBody4038771799101051070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772283375,"filename":"image_22112025_01_41_07_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f821ca27b696a135db76309677bdc2db.jpg","text":"TemporaryFile(/tmp/multipartBody1296371749935569503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772283375,"filename":"image_22112025_01_41_16_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89309bb18427f41de4778a5d7dc18d73.jpg","text":"TemporaryFile(/tmp/multipartBody4746205955658828119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772283375,"filename":"image_22112025_01_41_02_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccd8814649c75ae818b265e7c2ac61b4.jpg","text":"TemporaryFile(/tmp/multipartBody7500690147324655615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772283375,"filename":"image_22112025_01_41_14_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7745d32329ee99a02ca164f3af3b3cef.jpg","text":"TemporaryFile(/tmp/multipartBody5858973348503398388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772283375,"filename":"image_22112025_01_41_04_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654781","file1":"1395654780","file0":"1395654778","file4":"1395654783","file5":"1395654784","file3":"1395654782"},"map_files_photo_id_array":[{"photo_id":"1395654784","filename":"file5"},{"photo_id":"1395654781","filename":"file2"},{"photo_id":"1395654783","filename":"file4"},{"photo_id":"1395654780","filename":"file1"},{"photo_id":"1395654778","filename":"file0"},{"photo_id":"1395654782","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654782":["hashtag1","hashtag2"]},{"1395654781":["hashtag1","hashtag2"]},{"1395654784":["hashtag1","hashtag2"]},{"1395654778":["hashtag1","hashtag2"]},{"1395654783":["hashtag1","hashtag2"]},{"1395654780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654782, 1395654781, 1395654784, 1395654778, 1395654783, 1395654780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75234389305115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:44:24.283526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_25_2765.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_29_3669.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_32_2639.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_34_2597.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_41_2766.jpg', '/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_43_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_25_2765.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_29_3669.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_32_2639.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_34_2597.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_41_2766.jpg
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_43_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654816","1395654799","1395654805","1395654817","1395654792","1395654795"],"photo_ids_order":["1395654792","1395654795","1395654799","1395654805","1395654816","1395654817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/227ea85f596b9c9ac6b972aa96727f20.jpg","text":"TemporaryFile(/tmp/multipartBody7629037843086265685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772325010,"filename":"image_22112025_01_41_41_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/168e66095cb8ce1a9d3e1d26e3965fac.jpg","text":"TemporaryFile(/tmp/multipartBody8552212864148126904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772325010,"filename":"image_22112025_01_41_32_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98acab63de214ccbe8b7e49ea78d8fd0.jpg","text":"TemporaryFile(/tmp/multipartBody3931541065536044197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772325010,"filename":"image_22112025_01_41_34_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b71712a3e67eb95902316626ff081a9.jpg","text":"TemporaryFile(/tmp/multipartBody4594187028564311622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772325010,"filename":"image_22112025_01_41_43_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/883c7cba0f4dcb4f212db30ae84270eb.jpg","text":"TemporaryFile(/tmp/multipartBody5547046658622825520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772325010,"filename":"image_22112025_01_41_25_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b37b59fea2293bce5dd48c08e9b841b.jpg","text":"TemporaryFile(/tmp/multipartBody6877664345894574809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772325010,"filename":"image_22112025_01_41_29_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654799","file1":"1395654795","file0":"1395654792","file4":"1395654816","file5":"1395654817","file3":"1395654805"},"map_files_photo_id_array":[{"photo_id":"1395654817","filename":"file5"},{"photo_id":"1395654799","filename":"file2"},{"photo_id":"1395654816","filename":"file4"},{"photo_id":"1395654795","filename":"file1"},{"photo_id":"1395654792","filename":"file0"},{"photo_id":"1395654805","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654816":["hashtag1","hashtag2"]},{"1395654799":["hashtag1","hashtag2"]},{"1395654805":["hashtag1","hashtag2"]},{"1395654817":["hashtag1","hashtag2"]},{"1395654792":["hashtag1","hashtag2"]},{"1395654795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654816, 1395654799, 1395654805, 1395654817, 1395654792, 1395654795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21297740936279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:45:03.451681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_46_2675.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_08_3013.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_12_3812.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_15_2789.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_18_2576.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_22_4554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/41/image_22112025_01_41_46_2675.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_08_3013.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_12_3812.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_15_2789.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_18_2576.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_22_4554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654831","1395654825","1395654833","1395654827","1395654836","1395654829"],"photo_ids_order":["1395654825","1395654827","1395654829","1395654831","1395654833","1395654836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01ac2dae36dbd091ec5a3b2070285c94.jpg","text":"TemporaryFile(/tmp/multipartBody5714684635843025030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772364224,"filename":"image_22112025_01_43_15_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b7f6d44008ba4dd85c1dad3ddf415ad.jpg","text":"TemporaryFile(/tmp/multipartBody1018695163801316571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772364224,"filename":"image_22112025_01_41_46_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d26aebf98582e92ff58f30d73e84e73.jpg","text":"TemporaryFile(/tmp/multipartBody4456573755378036954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772364224,"filename":"image_22112025_01_43_18_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/874fe9a70cd26790e6d4b93ab114f29c.jpg","text":"TemporaryFile(/tmp/multipartBody3163065803270234646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772364224,"filename":"image_22112025_01_43_08_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df402000b3d9329d51769291a5c5c328.jpg","text":"TemporaryFile(/tmp/multipartBody8902719287104069084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772364224,"filename":"image_22112025_01_43_22_4554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9467c18b40e5005331a384ec468203f.jpg","text":"TemporaryFile(/tmp/multipartBody7289028827315876315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772364224,"filename":"image_22112025_01_43_12_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654829","file1":"1395654827","file0":"1395654825","file4":"1395654833","file5":"1395654836","file3":"1395654831"},"map_files_photo_id_array":[{"photo_id":"1395654836","filename":"file5"},{"photo_id":"1395654829","filename":"file2"},{"photo_id":"1395654833","filename":"file4"},{"photo_id":"1395654827","filename":"file1"},{"photo_id":"1395654825","filename":"file0"},{"photo_id":"1395654831","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654831":["hashtag1","hashtag2"]},{"1395654825":["hashtag1","hashtag2"]},{"1395654833":["hashtag1","hashtag2"]},{"1395654827":["hashtag1","hashtag2"]},{"1395654836":["hashtag1","hashtag2"]},{"1395654829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654831, 1395654825, 1395654833, 1395654827, 1395654836, 1395654829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.534459829330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:45:42.740374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_24_1800.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_27_2728.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_29_2735.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_33_3773.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_36_2715.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_39_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_24_1800.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_27_2728.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_29_2735.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_33_3773.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_36_2715.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_39_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654855","1395654854","1395654848","1395654850","1395654852","1395654846"],"photo_ids_order":["1395654846","1395654848","1395654850","1395654852","1395654854","1395654855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abc65c2f2d989cc7b85bea6281dc5f76.jpg","text":"TemporaryFile(/tmp/multipartBody7773691989440393522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772403408,"filename":"image_22112025_01_43_39_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60660be1d21d698f704817e9a0634f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6827266006886738752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772403408,"filename":"image_22112025_01_43_36_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b88208db5f35ad53e5933a0553db4447.jpg","text":"TemporaryFile(/tmp/multipartBody4476264596518943890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772403408,"filename":"image_22112025_01_43_27_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f41004a03b5300328f44d25e5d5c4fc8.jpg","text":"TemporaryFile(/tmp/multipartBody7460309183190763030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772403408,"filename":"image_22112025_01_43_29_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a79b547e4b5537c3b4e35e842978aba.jpg","text":"TemporaryFile(/tmp/multipartBody2173128699920320260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772403408,"filename":"image_22112025_01_43_33_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6c6862c9acf4e3c0e3f4381b0b2bf9c.jpg","text":"TemporaryFile(/tmp/multipartBody4195924102930271717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772403408,"filename":"image_22112025_01_43_24_1800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654850","file1":"1395654848","file0":"1395654846","file4":"1395654854","file5":"1395654855","file3":"1395654852"},"map_files_photo_id_array":[{"photo_id":"1395654855","filename":"file5"},{"photo_id":"1395654850","filename":"file2"},{"photo_id":"1395654854","filename":"file4"},{"photo_id":"1395654848","filename":"file1"},{"photo_id":"1395654846","filename":"file0"},{"photo_id":"1395654852","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654855":["hashtag1","hashtag2"]},{"1395654854":["hashtag1","hashtag2"]},{"1395654848":["hashtag1","hashtag2"]},{"1395654850":["hashtag1","hashtag2"]},{"1395654852":["hashtag1","hashtag2"]},{"1395654846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654855, 1395654854, 1395654848, 1395654850, 1395654852, 1395654846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78468179702759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:46:22.090857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_42_3607.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_45_3097.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_48_2664.jpg', '/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_55_6710.jpg', '/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_15_9999.jpg', '/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_17_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_42_3607.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_45_3097.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_48_2664.jpg
/home/pi/Desktop/images/22112025/01/43/image_22112025_01_43_55_6710.jpg
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_15_9999.jpg
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_17_1745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654902","1395654880","1395654874","1395654883","1395654862","1395654870"],"photo_ids_order":["1395654862","1395654870","1395654874","1395654880","1395654883","1395654902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfe9239de04b2d18ee804bf870e74dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5571409985232215511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772442777,"filename":"image_22112025_01_45_17_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e60d3e482f8f41d70eb34ef815a398b2.jpg","text":"TemporaryFile(/tmp/multipartBody5364235430184021710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772442777,"filename":"image_22112025_01_43_55_6710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a24acbfed13c08c0ea880a54ba6a7692.jpg","text":"TemporaryFile(/tmp/multipartBody6440097666090012462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772442777,"filename":"image_22112025_01_43_48_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7817f8d73c1ccf84e262593f5203a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody1215445015070670527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772442777,"filename":"image_22112025_01_45_15_9999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/125f95ffe0a27924a66cff5f0cb8a389.jpg","text":"TemporaryFile(/tmp/multipartBody4017961693359952412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772442777,"filename":"image_22112025_01_43_42_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7bd933174b3415c1118f2026dec7893.jpg","text":"TemporaryFile(/tmp/multipartBody7006159065917294473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772442777,"filename":"image_22112025_01_43_45_3097.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654874","file1":"1395654870","file0":"1395654862","file4":"1395654883","file5":"1395654902","file3":"1395654880"},"map_files_photo_id_array":[{"photo_id":"1395654902","filename":"file5"},{"photo_id":"1395654874","filename":"file2"},{"photo_id":"1395654883","filename":"file4"},{"photo_id":"1395654870","filename":"file1"},{"photo_id":"1395654862","filename":"file0"},{"photo_id":"1395654880","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654902":["hashtag1","hashtag2"]},{"1395654880":["hashtag1","hashtag2"]},{"1395654874":["hashtag1","hashtag2"]},{"1395654883":["hashtag1","hashtag2"]},{"1395654862":["hashtag1","hashtag2"]},{"1395654870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654902, 1395654880, 1395654874, 1395654883, 1395654862, 1395654870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39898490905762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:47:03.045057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_20_1557.jpg', '/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_22_1597.jpg', '/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_24_1738.jpg', '/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_27_3686.jpg', '/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_37_9902.jpg', '/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_40_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_20_1557.jpg
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_22_1597.jpg
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_24_1738.jpg
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_27_3686.jpg
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_37_9902.jpg
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_40_1539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654918","1395654920","1395654923","1395654916","1395654928","1395654913"],"photo_ids_order":["1395654913","1395654916","1395654918","1395654920","1395654923","1395654928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdb5c08115b92657e9f4e58ea8d83d78.jpg","text":"TemporaryFile(/tmp/multipartBody7073345527644121790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772483832,"filename":"image_22112025_01_45_24_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82589d4c4265d46cc6eeabd0f855934e.jpg","text":"TemporaryFile(/tmp/multipartBody6471228701897787911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772483832,"filename":"image_22112025_01_45_27_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf072b775e56d695800c7c315db14043.jpg","text":"TemporaryFile(/tmp/multipartBody3659844935151231538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772483832,"filename":"image_22112025_01_45_37_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/524ca353a9120a5eef1feb7b3003b3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4658421736375058825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772483832,"filename":"image_22112025_01_45_22_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29bfa58413edc3d6af0e63dd4ae8a8e7.jpg","text":"TemporaryFile(/tmp/multipartBody564557887557003328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772483832,"filename":"image_22112025_01_45_40_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbe3c24ff1d49ea4119c21082d397da0.jpg","text":"TemporaryFile(/tmp/multipartBody2834436624613284167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772483832,"filename":"image_22112025_01_45_20_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654918","file1":"1395654916","file0":"1395654913","file4":"1395654923","file5":"1395654928","file3":"1395654920"},"map_files_photo_id_array":[{"photo_id":"1395654928","filename":"file5"},{"photo_id":"1395654918","filename":"file2"},{"photo_id":"1395654923","filename":"file4"},{"photo_id":"1395654916","filename":"file1"},{"photo_id":"1395654913","filename":"file0"},{"photo_id":"1395654920","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654918":["hashtag1","hashtag2"]},{"1395654920":["hashtag1","hashtag2"]},{"1395654923":["hashtag1","hashtag2"]},{"1395654916":["hashtag1","hashtag2"]},{"1395654928":["hashtag1","hashtag2"]},{"1395654913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654918, 1395654920, 1395654923, 1395654916, 1395654928, 1395654913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76540470123291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:47:42.228504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_42_1588.jpg', '/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_44_1668.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_06_3011.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_10_3728.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_12_2530.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_16_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_42_1588.jpg
/home/pi/Desktop/images/22112025/01/45/image_22112025_01_45_44_1668.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_06_3011.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_10_3728.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_12_2530.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_16_3586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654936","1395654939","1395654944","1395654938","1395654940","1395654937"],"photo_ids_order":["1395654936","1395654937","1395654938","1395654939","1395654940","1395654944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af01ed1ad96c34b069bbec5c1caedd01.jpg","text":"TemporaryFile(/tmp/multipartBody5329257559632311735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772522899,"filename":"image_22112025_01_45_42_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d0bb11fc36c219b9391a865dca997f9.jpg","text":"TemporaryFile(/tmp/multipartBody1678322308339317783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772522899,"filename":"image_22112025_01_47_10_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e39e4160549634c5a861a779e8a9d98c.jpg","text":"TemporaryFile(/tmp/multipartBody2364091475104762539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772522899,"filename":"image_22112025_01_47_16_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/298da51f64c57cdb76eec74886bddf50.jpg","text":"TemporaryFile(/tmp/multipartBody521296695641525999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772522899,"filename":"image_22112025_01_47_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5aa6c40af94a173d2f46489784c8bbb0.jpg","text":"TemporaryFile(/tmp/multipartBody3628489392853384281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772522899,"filename":"image_22112025_01_47_12_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1515abc033592265a388d0a439ba93b.jpg","text":"TemporaryFile(/tmp/multipartBody5529049821648817703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772522899,"filename":"image_22112025_01_45_44_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654938","file1":"1395654937","file0":"1395654936","file4":"1395654940","file5":"1395654944","file3":"1395654939"},"map_files_photo_id_array":[{"photo_id":"1395654944","filename":"file5"},{"photo_id":"1395654938","filename":"file2"},{"photo_id":"1395654940","filename":"file4"},{"photo_id":"1395654937","filename":"file1"},{"photo_id":"1395654936","filename":"file0"},{"photo_id":"1395654939","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654936":["hashtag1","hashtag2"]},{"1395654939":["hashtag1","hashtag2"]},{"1395654944":["hashtag1","hashtag2"]},{"1395654938":["hashtag1","hashtag2"]},{"1395654940":["hashtag1","hashtag2"]},{"1395654937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654936, 1395654939, 1395654944, 1395654938, 1395654940, 1395654937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94673418998718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:48:22.441190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_19_2652.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_25_3615.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_28_2707.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_30_2540.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_34_3615.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_37_2968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_19_2652.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_25_3615.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_28_2707.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_30_2540.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_34_3615.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_37_2968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654975","1395654968","1395654961","1395654964","1395654958","1395654972"],"photo_ids_order":["1395654958","1395654961","1395654964","1395654968","1395654972","1395654975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c941f34695621739974f8f0f1097376.jpg","text":"TemporaryFile(/tmp/multipartBody8689969358835610726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772563149,"filename":"image_22112025_01_47_37_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27e2b7f6db274871dbd50494e39d4b42.jpg","text":"TemporaryFile(/tmp/multipartBody5731543997050584249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772563149,"filename":"image_22112025_01_47_30_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41b0ff9e7e936fc1acdbc8c889b57531.jpg","text":"TemporaryFile(/tmp/multipartBody6904933016862409725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772563149,"filename":"image_22112025_01_47_25_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0337b8c7ffa532379ddb264a6bd2af7.jpg","text":"TemporaryFile(/tmp/multipartBody1292046592674978268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772563149,"filename":"image_22112025_01_47_28_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e938bd10e4ed7ed37343245052ff7762.jpg","text":"TemporaryFile(/tmp/multipartBody4570530602820497519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772563149,"filename":"image_22112025_01_47_19_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c57a39fce6d65de460b6aaf9e2436d4f.jpg","text":"TemporaryFile(/tmp/multipartBody739660819316469147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772563149,"filename":"image_22112025_01_47_34_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654964","file1":"1395654961","file0":"1395654958","file4":"1395654972","file5":"1395654975","file3":"1395654968"},"map_files_photo_id_array":[{"photo_id":"1395654975","filename":"file5"},{"photo_id":"1395654964","filename":"file2"},{"photo_id":"1395654972","filename":"file4"},{"photo_id":"1395654961","filename":"file1"},{"photo_id":"1395654958","filename":"file0"},{"photo_id":"1395654968","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654975":["hashtag1","hashtag2"]},{"1395654968":["hashtag1","hashtag2"]},{"1395654961":["hashtag1","hashtag2"]},{"1395654964":["hashtag1","hashtag2"]},{"1395654958":["hashtag1","hashtag2"]},{"1395654972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654975, 1395654968, 1395654961, 1395654964, 1395654958, 1395654972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48539733886719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:49:03.487934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_39_2631.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_43_3506.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_46_2579.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_48_2654.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_52_3786.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_55_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_39_2631.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_43_3506.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_46_2579.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_48_2654.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_52_3786.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_55_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395654983","1395654985","1395654979","1395654981","1395654990","1395654987"],"photo_ids_order":["1395654979","1395654981","1395654983","1395654985","1395654987","1395654990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31237cfa527ca070521d3a052444e369.jpg","text":"TemporaryFile(/tmp/multipartBody1452499231658712874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772604342,"filename":"image_22112025_01_47_46_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/647c843eb8797f4a008f3f8870ce30d0.jpg","text":"TemporaryFile(/tmp/multipartBody372210303396906152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772604342,"filename":"image_22112025_01_47_48_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52b276320eeb934a743b0e192ceb645b.jpg","text":"TemporaryFile(/tmp/multipartBody2572539087150703219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772604342,"filename":"image_22112025_01_47_39_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6343c939a8fe3c49820671626289da49.jpg","text":"TemporaryFile(/tmp/multipartBody9019533316083113295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772604342,"filename":"image_22112025_01_47_43_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11093233a4ad202c8ded4ff733ea4119.jpg","text":"TemporaryFile(/tmp/multipartBody6208713482265860190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772604342,"filename":"image_22112025_01_47_55_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59f4c7663823091280f1ba1ba4002449.jpg","text":"TemporaryFile(/tmp/multipartBody593950073225862631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772604342,"filename":"image_22112025_01_47_52_3786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395654983","file1":"1395654981","file0":"1395654979","file4":"1395654987","file5":"1395654990","file3":"1395654985"},"map_files_photo_id_array":[{"photo_id":"1395654990","filename":"file5"},{"photo_id":"1395654983","filename":"file2"},{"photo_id":"1395654987","filename":"file4"},{"photo_id":"1395654981","filename":"file1"},{"photo_id":"1395654979","filename":"file0"},{"photo_id":"1395654985","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395654983":["hashtag1","hashtag2"]},{"1395654985":["hashtag1","hashtag2"]},{"1395654979":["hashtag1","hashtag2"]},{"1395654981":["hashtag1","hashtag2"]},{"1395654990":["hashtag1","hashtag2"]},{"1395654987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395654983, 1395654985, 1395654979, 1395654981, 1395654990, 1395654987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15099096298218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:49:42.691260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_57_2578.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_48_00_3170.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_07_3018.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_10_3566.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_13_2658.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_16_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_57_2578.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_48_00_3170.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_07_3018.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_10_3566.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_13_2658.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_16_3597.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5867488384246826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:50:02.549269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_57_2578.jpg', '/home/pi/Desktop/images/22112025/01/47/image_22112025_01_48_00_3170.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_07_3018.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_10_3566.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_13_2658.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_16_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_47_57_2578.jpg
/home/pi/Desktop/images/22112025/01/47/image_22112025_01_48_00_3170.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_07_3018.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_10_3566.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_13_2658.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_16_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655011","1395655025","1395655013","1395655022","1395655018","1395655009"],"photo_ids_order":["1395655009","1395655011","1395655013","1395655018","1395655022","1395655025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e12b54259a4bc945139ee0998152ce64.jpg","text":"TemporaryFile(/tmp/multipartBody5090843769409847014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772663288,"filename":"image_22112025_01_48_00_3170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c9bf2b9bc20756f797182bdd3f3d567.jpg","text":"TemporaryFile(/tmp/multipartBody3388684808589233287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772663288,"filename":"image_22112025_01_49_16_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29af7b846f325f64216d6f538420ac06.jpg","text":"TemporaryFile(/tmp/multipartBody8270169707158324030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772663288,"filename":"image_22112025_01_49_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb7e758afad0f2f27bf37c70693541e3.jpg","text":"TemporaryFile(/tmp/multipartBody5551146996679612490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772663288,"filename":"image_22112025_01_49_13_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8f6d066657f240d0f6bffed4aed0be7.jpg","text":"TemporaryFile(/tmp/multipartBody171672815542844954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772663288,"filename":"image_22112025_01_49_10_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71e995311ecc5c1d4d5868cb20879476.jpg","text":"TemporaryFile(/tmp/multipartBody2318368890322258991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772663288,"filename":"image_22112025_01_47_57_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655013","file1":"1395655011","file0":"1395655009","file4":"1395655022","file5":"1395655025","file3":"1395655018"},"map_files_photo_id_array":[{"photo_id":"1395655025","filename":"file5"},{"photo_id":"1395655013","filename":"file2"},{"photo_id":"1395655022","filename":"file4"},{"photo_id":"1395655011","filename":"file1"},{"photo_id":"1395655009","filename":"file0"},{"photo_id":"1395655018","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655011":["hashtag1","hashtag2"]},{"1395655025":["hashtag1","hashtag2"]},{"1395655013":["hashtag1","hashtag2"]},{"1395655022":["hashtag1","hashtag2"]},{"1395655018":["hashtag1","hashtag2"]},{"1395655009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655011, 1395655025, 1395655013, 1395655022, 1395655018, 1395655009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16115403175354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:50:42.102754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_19_2809.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_22_2532.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_25_3646.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_34_3738.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_37_3054.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_40_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_19_2809.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_22_2532.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_25_3646.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_34_3738.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_37_3054.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_40_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655038","1395655037","1395655040","1395655039","1395655041","1395655035"],"photo_ids_order":["1395655035","1395655037","1395655038","1395655039","1395655040","1395655041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4861d8045dc1a9a6e2498304a1a13f3.jpg","text":"TemporaryFile(/tmp/multipartBody729359824622753528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772702770,"filename":"image_22112025_01_49_25_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/138984e000ef5ae11bd62a788c8e78dc.jpg","text":"TemporaryFile(/tmp/multipartBody5321063880877014133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772702770,"filename":"image_22112025_01_49_22_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e0f7d133292a53d4d964cad29d3a739.jpg","text":"TemporaryFile(/tmp/multipartBody7608371614115046634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772702770,"filename":"image_22112025_01_49_37_3054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8441bcad2a41be2bdf4b756d109f6145.jpg","text":"TemporaryFile(/tmp/multipartBody7518650118002468567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772702770,"filename":"image_22112025_01_49_34_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab8572051d8e7b3fd847c2fd00cc3e37.jpg","text":"TemporaryFile(/tmp/multipartBody1626500202171374984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772702770,"filename":"image_22112025_01_49_40_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbbc98c6c68f497baeef4fa4f057d1f6.jpg","text":"TemporaryFile(/tmp/multipartBody2037834644126555550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772702770,"filename":"image_22112025_01_49_19_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655038","file1":"1395655037","file0":"1395655035","file4":"1395655040","file5":"1395655041","file3":"1395655039"},"map_files_photo_id_array":[{"photo_id":"1395655041","filename":"file5"},{"photo_id":"1395655038","filename":"file2"},{"photo_id":"1395655040","filename":"file4"},{"photo_id":"1395655037","filename":"file1"},{"photo_id":"1395655035","filename":"file0"},{"photo_id":"1395655039","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655038":["hashtag1","hashtag2"]},{"1395655037":["hashtag1","hashtag2"]},{"1395655040":["hashtag1","hashtag2"]},{"1395655039":["hashtag1","hashtag2"]},{"1395655041":["hashtag1","hashtag2"]},{"1395655035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655038, 1395655037, 1395655040, 1395655039, 1395655041, 1395655035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.825398445129395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:51:22.372021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_43_2669.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_46_3747.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_49_2636.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_52_2605.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_55_3746.jpg', '/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_58_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_43_2669.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_46_3747.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_49_2636.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_52_2605.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_55_3746.jpg
/home/pi/Desktop/images/22112025/01/49/image_22112025_01_49_58_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655110","1395655088","1395655103","1395655105","1395655080","1395655107"],"photo_ids_order":["1395655080","1395655088","1395655103","1395655105","1395655107","1395655110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b1678629f853d93d676a4c09e90051e.jpg","text":"TemporaryFile(/tmp/multipartBody7035625909926995860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772746796,"filename":"image_22112025_01_49_58_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbe99b837c14264fa944b919a7b2839d.jpg","text":"TemporaryFile(/tmp/multipartBody8263993118941986790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772746796,"filename":"image_22112025_01_49_46_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d0f2ec05e2be625aa2cac9e0e55fff2.jpg","text":"TemporaryFile(/tmp/multipartBody7786257052298344930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772746796,"filename":"image_22112025_01_49_49_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/322c8010e4cc68f67685257f90491332.jpg","text":"TemporaryFile(/tmp/multipartBody3736648777726723167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772746796,"filename":"image_22112025_01_49_52_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1882a0ce9e8173077830b958689c47e.jpg","text":"TemporaryFile(/tmp/multipartBody5350623590526010152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772746796,"filename":"image_22112025_01_49_43_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb14e6bf919739f7a8fe4370f9887000.jpg","text":"TemporaryFile(/tmp/multipartBody1967338512606175928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772746796,"filename":"image_22112025_01_49_55_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655103","file1":"1395655088","file0":"1395655080","file4":"1395655107","file5":"1395655110","file3":"1395655105"},"map_files_photo_id_array":[{"photo_id":"1395655110","filename":"file5"},{"photo_id":"1395655103","filename":"file2"},{"photo_id":"1395655107","filename":"file4"},{"photo_id":"1395655088","filename":"file1"},{"photo_id":"1395655080","filename":"file0"},{"photo_id":"1395655105","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655110":["hashtag1","hashtag2"]},{"1395655088":["hashtag1","hashtag2"]},{"1395655103":["hashtag1","hashtag2"]},{"1395655105":["hashtag1","hashtag2"]},{"1395655080":["hashtag1","hashtag2"]},{"1395655107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655110, 1395655088, 1395655103, 1395655105, 1395655080, 1395655107)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.4774534702301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:52:22.284654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_01_3202.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_04_3128.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_10_2608.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_13_3675.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_16_2579.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_19_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_01_3202.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_04_3128.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_10_2608.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_13_3675.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_16_2579.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_19_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655142","1395655136","1395655124","1395655133","1395655129","1395655144"],"photo_ids_order":["1395655124","1395655129","1395655133","1395655136","1395655142","1395655144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/898257c1c14f79903965861d31dddef5.jpg","text":"TemporaryFile(/tmp/multipartBody6121924996433006781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772803004,"filename":"image_22112025_01_50_16_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a1954a7824160b5f3b50ee22d9e6556.jpg","text":"TemporaryFile(/tmp/multipartBody301976814203583738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772803004,"filename":"image_22112025_01_50_13_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a5449409aa9204268b5eab21116a2ff.jpg","text":"TemporaryFile(/tmp/multipartBody3637414739874227707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772803004,"filename":"image_22112025_01_50_01_3202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e200c2ccc840b8b79fdddcb6e4c47c09.jpg","text":"TemporaryFile(/tmp/multipartBody4113988274810001240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772803004,"filename":"image_22112025_01_50_10_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8971d7e8d00ebf11e022d4a14939dc1.jpg","text":"TemporaryFile(/tmp/multipartBody8166169407686624921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772803004,"filename":"image_22112025_01_50_04_3128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3580cb41b86e34838fb9bd5c5b32c5a4.jpg","text":"TemporaryFile(/tmp/multipartBody5056020664500276403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772803004,"filename":"image_22112025_01_50_19_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655133","file1":"1395655129","file0":"1395655124","file4":"1395655142","file5":"1395655144","file3":"1395655136"},"map_files_photo_id_array":[{"photo_id":"1395655144","filename":"file5"},{"photo_id":"1395655133","filename":"file2"},{"photo_id":"1395655142","filename":"file4"},{"photo_id":"1395655129","filename":"file1"},{"photo_id":"1395655124","filename":"file0"},{"photo_id":"1395655136","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655142":["hashtag1","hashtag2"]},{"1395655136":["hashtag1","hashtag2"]},{"1395655124":["hashtag1","hashtag2"]},{"1395655133":["hashtag1","hashtag2"]},{"1395655129":["hashtag1","hashtag2"]},{"1395655144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655142, 1395655136, 1395655124, 1395655133, 1395655129, 1395655144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.273723125457764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:53:06.183788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:53:25.071274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_22_3756.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_25_2592.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_28_3569.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_30_2029.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_34_3802.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_37_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_22_3756.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_25_2592.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_28_3569.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_30_2029.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_34_3802.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_37_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655171","1395655174","1395655168","1395655176","1395655161","1395655164"],"photo_ids_order":["1395655161","1395655164","1395655168","1395655171","1395655174","1395655176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f9e2b882be008e4b1634aef2402e3d0.jpg","text":"TemporaryFile(/tmp/multipartBody8602485314147030712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772865782,"filename":"image_22112025_01_50_30_2029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/873512c8d73821cb9a1441ace2321e7f.jpg","text":"TemporaryFile(/tmp/multipartBody7202353760201719365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772865782,"filename":"image_22112025_01_50_34_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/981e984bf44b5430219a283fa87de822.jpg","text":"TemporaryFile(/tmp/multipartBody592601430391197875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772865782,"filename":"image_22112025_01_50_28_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77d29bf3c2be27645362ae1b55048ccc.jpg","text":"TemporaryFile(/tmp/multipartBody4549318864687436362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772865782,"filename":"image_22112025_01_50_37_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/393c130e1750730458c38ef4cad86c51.jpg","text":"TemporaryFile(/tmp/multipartBody2755129164034259415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772865782,"filename":"image_22112025_01_50_22_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6eaa7311231b6afa6c7c7ebf787e0fa8.jpg","text":"TemporaryFile(/tmp/multipartBody3174443632966332642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772865782,"filename":"image_22112025_01_50_25_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655168","file1":"1395655164","file0":"1395655161","file4":"1395655174","file5":"1395655176","file3":"1395655171"},"map_files_photo_id_array":[{"photo_id":"1395655176","filename":"file5"},{"photo_id":"1395655168","filename":"file2"},{"photo_id":"1395655174","filename":"file4"},{"photo_id":"1395655164","filename":"file1"},{"photo_id":"1395655161","filename":"file0"},{"photo_id":"1395655171","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655171":["hashtag1","hashtag2"]},{"1395655174":["hashtag1","hashtag2"]},{"1395655168":["hashtag1","hashtag2"]},{"1395655176":["hashtag1","hashtag2"]},{"1395655161":["hashtag1","hashtag2"]},{"1395655164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655171, 1395655174, 1395655168, 1395655176, 1395655161, 1395655164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86810922622681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:54:04.033202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_40_2703.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_43_3486.jpg', '/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_46_2625.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_07_3012.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_10_3760.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_13_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_40_2703.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_43_3486.jpg
/home/pi/Desktop/images/22112025/01/50/image_22112025_01_50_46_2625.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_07_3012.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_10_3760.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_13_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655178","1395655183","1395655180","1395655194","1395655188","1395655185"],"photo_ids_order":["1395655178","1395655180","1395655183","1395655185","1395655188","1395655194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ab4b53552e0eb283b34f9df91a73dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4065100633446877687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772909752,"filename":"image_22112025_01_50_40_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/432649ecbb6f755eb29b2901ebc123fe.jpg","text":"TemporaryFile(/tmp/multipartBody3580383513722370188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772909752,"filename":"image_22112025_01_50_46_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a09d075edc276e9ede63543cba41d1cc.jpg","text":"TemporaryFile(/tmp/multipartBody945028027479269306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772909752,"filename":"image_22112025_01_50_43_3486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca1827dde132f218514c30d3545f4fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5028456102223244327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772909752,"filename":"image_22112025_01_52_13_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7c641067612e144cd44edcb372e7a64.jpg","text":"TemporaryFile(/tmp/multipartBody2029551366339144594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772909752,"filename":"image_22112025_01_52_10_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce179f63008739d3464972f1c870efd8.jpg","text":"TemporaryFile(/tmp/multipartBody8964882217072950232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772909752,"filename":"image_22112025_01_52_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655183","file1":"1395655180","file0":"1395655178","file4":"1395655188","file5":"1395655194","file3":"1395655185"},"map_files_photo_id_array":[{"photo_id":"1395655194","filename":"file5"},{"photo_id":"1395655183","filename":"file2"},{"photo_id":"1395655188","filename":"file4"},{"photo_id":"1395655180","filename":"file1"},{"photo_id":"1395655178","filename":"file0"},{"photo_id":"1395655185","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655178":["hashtag1","hashtag2"]},{"1395655183":["hashtag1","hashtag2"]},{"1395655180":["hashtag1","hashtag2"]},{"1395655194":["hashtag1","hashtag2"]},{"1395655188":["hashtag1","hashtag2"]},{"1395655185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655178, 1395655183, 1395655180, 1395655194, 1395655188, 1395655185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.751696825027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:55:03.551406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_16_2548.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_19_3618.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_22_2584.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_27_5005.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_29_1830.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_32_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_16_2548.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_19_3618.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_22_2584.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_27_5005.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_29_1830.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_32_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655200","1395655211","1395655208","1395655202","1395655204","1395655206"],"photo_ids_order":["1395655200","1395655202","1395655204","1395655206","1395655208","1395655211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37b5d55b6083759ead18681d6e264e96.jpg","text":"TemporaryFile(/tmp/multipartBody8813054142228858101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772964278,"filename":"image_22112025_01_52_16_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91fcaf01b0e320a04db37d0654428dac.jpg","text":"TemporaryFile(/tmp/multipartBody3309741408174613311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772964278,"filename":"image_22112025_01_52_32_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfd7665e256f184811734d8ae5f74ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3617025904460474065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772964278,"filename":"image_22112025_01_52_29_1830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74064500ef810b9f6277639840779550.jpg","text":"TemporaryFile(/tmp/multipartBody2660239171091851765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772964278,"filename":"image_22112025_01_52_19_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ccf3de2bd21dc2e4abd59bebdb67297.jpg","text":"TemporaryFile(/tmp/multipartBody4292958436956651603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772964278,"filename":"image_22112025_01_52_22_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3bd5084b67bb72a43bb631610a0d291a.jpg","text":"TemporaryFile(/tmp/multipartBody4187099759714596743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763772964278,"filename":"image_22112025_01_52_27_5005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655204","file1":"1395655202","file0":"1395655200","file4":"1395655208","file5":"1395655211","file3":"1395655206"},"map_files_photo_id_array":[{"photo_id":"1395655211","filename":"file5"},{"photo_id":"1395655204","filename":"file2"},{"photo_id":"1395655208","filename":"file4"},{"photo_id":"1395655202","filename":"file1"},{"photo_id":"1395655200","filename":"file0"},{"photo_id":"1395655206","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655200":["hashtag1","hashtag2"]},{"1395655211":["hashtag1","hashtag2"]},{"1395655208":["hashtag1","hashtag2"]},{"1395655202":["hashtag1","hashtag2"]},{"1395655204":["hashtag1","hashtag2"]},{"1395655206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655200, 1395655211, 1395655208, 1395655202, 1395655204, 1395655206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46368598937988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:55:42.847967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_34_2732.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_37_2519.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_40_3593.jpg', '/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_50_9843.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_09_4224.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_12_2976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_34_2732.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_37_2519.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_40_3593.jpg
/home/pi/Desktop/images/22112025/01/52/image_22112025_01_52_50_9843.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_09_4224.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_12_2976.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655223","1395655232","1395655220","1395655231","1395655228","1395655222"],"photo_ids_order":["1395655220","1395655222","1395655223","1395655228","1395655231","1395655232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b194b512dd5fa413e71b8b355cc51242.jpg","text":"TemporaryFile(/tmp/multipartBody3558844366316211167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773003518,"filename":"image_22112025_01_52_40_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/647c6ccf3b7a539ac0cd2ffb6fdd3715.jpg","text":"TemporaryFile(/tmp/multipartBody6898625669012908129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773003518,"filename":"image_22112025_01_54_12_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2def785a6623845cf548314a9dc222e4.jpg","text":"TemporaryFile(/tmp/multipartBody3226177927958346437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773003518,"filename":"image_22112025_01_52_34_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20ccdba24bdd2e96cc062ef12b49e1fc.jpg","text":"TemporaryFile(/tmp/multipartBody25585556342938074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773003518,"filename":"image_22112025_01_54_09_4224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7dac8edea02441b49d218e2da59e0e2a.jpg","text":"TemporaryFile(/tmp/multipartBody579182695844539363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773003518,"filename":"image_22112025_01_52_50_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4f3f3b57692dd57529528101ad16e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4892086034314238107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773003518,"filename":"image_22112025_01_52_37_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655223","file1":"1395655222","file0":"1395655220","file4":"1395655231","file5":"1395655232","file3":"1395655228"},"map_files_photo_id_array":[{"photo_id":"1395655232","filename":"file5"},{"photo_id":"1395655223","filename":"file2"},{"photo_id":"1395655231","filename":"file4"},{"photo_id":"1395655222","filename":"file1"},{"photo_id":"1395655220","filename":"file0"},{"photo_id":"1395655228","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655223":["hashtag1","hashtag2"]},{"1395655232":["hashtag1","hashtag2"]},{"1395655220":["hashtag1","hashtag2"]},{"1395655231":["hashtag1","hashtag2"]},{"1395655228":["hashtag1","hashtag2"]},{"1395655222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655223, 1395655232, 1395655220, 1395655231, 1395655228, 1395655222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86187720298767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 01:56:22.507230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_16_3581.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_19_3681.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_25_5680.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_26_1579.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_28_1600.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_30_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_16_3581.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_19_3681.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_25_5680.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_26_1579.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_28_1600.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_30_1575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655253","1395655256","1395655282","1395655285","1395655279","1395655287"],"photo_ids_order":["1395655253","1395655256","1395655279","1395655282","1395655285","1395655287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62e831a200361851f008274ee1a0de19.jpg","text":"TemporaryFile(/tmp/multipartBody3830306261936097078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773043263,"filename":"image_22112025_01_54_16_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2896493d6c97c0d9b9f8007a7f3fdb07.jpg","text":"TemporaryFile(/tmp/multipartBody6779070101184469127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773043263,"filename":"image_22112025_01_54_19_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da7b2e821f414c4a975b935f772ac872.jpg","text":"TemporaryFile(/tmp/multipartBody3934815067388666129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773043263,"filename":"image_22112025_01_54_26_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/289e7b5ec7a947f3f31baeab52359da8.jpg","text":"TemporaryFile(/tmp/multipartBody729391946957680727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773043263,"filename":"image_22112025_01_54_28_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6eaa628feed9a32fe89f49b465e2c95c.jpg","text":"TemporaryFile(/tmp/multipartBody101456971295765501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773043263,"filename":"image_22112025_01_54_25_5680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c69c95ef88688163c42fb566eb0e1e2.jpg","text":"TemporaryFile(/tmp/multipartBody8229401975772469129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773043263,"filename":"image_22112025_01_54_30_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655279","file1":"1395655256","file0":"1395655253","file4":"1395655285","file5":"1395655287","file3":"1395655282"},"map_files_photo_id_array":[{"photo_id":"1395655287","filename":"file5"},{"photo_id":"1395655279","filename":"file2"},{"photo_id":"1395655285","filename":"file4"},{"photo_id":"1395655256","filename":"file1"},{"photo_id":"1395655253","filename":"file0"},{"photo_id":"1395655282","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655253":["hashtag1","hashtag2"]},{"1395655256":["hashtag1","hashtag2"]},{"1395655282":["hashtag1","hashtag2"]},{"1395655285":["hashtag1","hashtag2"]},{"1395655279":["hashtag1","hashtag2"]},{"1395655287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655253, 1395655256, 1395655282, 1395655285, 1395655279, 1395655287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60853838920593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:57:03.372733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_32_2734.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_35_2589.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_39_3632.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_41_2649.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_44_2664.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_48_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_32_2734.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_35_2589.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_39_3632.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_41_2649.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_44_2664.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_48_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655397","1395655289","1395655436","1395655294","1395655360","1395655321"],"photo_ids_order":["1395655289","1395655294","1395655321","1395655360","1395655397","1395655436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e8d66c919a3dc6db6e6cbf2c7547497.jpg","text":"TemporaryFile(/tmp/multipartBody8710253052401944292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773086429,"filename":"image_22112025_01_54_44_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a55b6f61ca6bafb20417d6bc9c014f3c.jpg","text":"TemporaryFile(/tmp/multipartBody4083838359155817101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773086429,"filename":"image_22112025_01_54_32_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52ba4aad37e4f2fb886e8a5f4ab9cce0.jpg","text":"TemporaryFile(/tmp/multipartBody4345000665153935381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773086429,"filename":"image_22112025_01_54_48_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74517614d8ee7ea1695ee98f677187f8.jpg","text":"TemporaryFile(/tmp/multipartBody8010531530216842518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773086429,"filename":"image_22112025_01_54_35_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d73b674166a96999e93fcf6fe49057f.jpg","text":"TemporaryFile(/tmp/multipartBody4015260033067195943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773086429,"filename":"image_22112025_01_54_41_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02709d68f06e5e2f086a10bf937e125b.jpg","text":"TemporaryFile(/tmp/multipartBody2645761307381147943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773086429,"filename":"image_22112025_01_54_39_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655321","file1":"1395655294","file0":"1395655289","file4":"1395655397","file5":"1395655436","file3":"1395655360"},"map_files_photo_id_array":[{"photo_id":"1395655436","filename":"file5"},{"photo_id":"1395655321","filename":"file2"},{"photo_id":"1395655397","filename":"file4"},{"photo_id":"1395655294","filename":"file1"},{"photo_id":"1395655289","filename":"file0"},{"photo_id":"1395655360","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655397":["hashtag1","hashtag2"]},{"1395655289":["hashtag1","hashtag2"]},{"1395655436":["hashtag1","hashtag2"]},{"1395655294":["hashtag1","hashtag2"]},{"1395655360":["hashtag1","hashtag2"]},{"1395655321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655397, 1395655289, 1395655436, 1395655294, 1395655360, 1395655321)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.71078133583069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 01:59:03.231880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_50_2577.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_53_2625.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_56_3573.jpg', '/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_59_2677.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_07_3012.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_11_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_50_2577.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_53_2625.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_56_3573.jpg
/home/pi/Desktop/images/22112025/01/54/image_22112025_01_54_59_2677.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_07_3012.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_11_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655538","1395655549","1395655552","1395655546","1395655540","1395655542"],"photo_ids_order":["1395655538","1395655540","1395655542","1395655546","1395655549","1395655552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62b6bf0e23636c1fd9df130b1d980e8d.jpg","text":"TemporaryFile(/tmp/multipartBody3081393807638826444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773209164,"filename":"image_22112025_01_54_50_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24bc2c51afcecff0f633cf813d1b5066.jpg","text":"TemporaryFile(/tmp/multipartBody6614737968987551186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773209164,"filename":"image_22112025_01_56_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7680265d7936b5987013e65506d0a6bb.jpg","text":"TemporaryFile(/tmp/multipartBody123469620244873752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773209164,"filename":"image_22112025_01_56_11_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83487932133879bad4bf75b4efaddca7.jpg","text":"TemporaryFile(/tmp/multipartBody9152986240428388710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773209164,"filename":"image_22112025_01_54_59_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ba3489aa8e18fe4b72c34acb66c8996.jpg","text":"TemporaryFile(/tmp/multipartBody5240476227797966893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773209164,"filename":"image_22112025_01_54_53_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/504e6602d3ac2c4931cf37eaea4c84e6.jpg","text":"TemporaryFile(/tmp/multipartBody4144366872413820445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773209164,"filename":"image_22112025_01_54_56_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655542","file1":"1395655540","file0":"1395655538","file4":"1395655549","file5":"1395655552","file3":"1395655546"},"map_files_photo_id_array":[{"photo_id":"1395655552","filename":"file5"},{"photo_id":"1395655542","filename":"file2"},{"photo_id":"1395655549","filename":"file4"},{"photo_id":"1395655540","filename":"file1"},{"photo_id":"1395655538","filename":"file0"},{"photo_id":"1395655546","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655538":["hashtag1","hashtag2"]},{"1395655549":["hashtag1","hashtag2"]},{"1395655552":["hashtag1","hashtag2"]},{"1395655546":["hashtag1","hashtag2"]},{"1395655540":["hashtag1","hashtag2"]},{"1395655542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655538, 1395655549, 1395655552, 1395655546, 1395655540, 1395655542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03653144836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:00:03.026400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_14_2772.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_26_9240.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_27_1595.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_29_1753.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_31_1599.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_32_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_14_2772.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_26_9240.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_27_1595.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_29_1753.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_31_1599.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_32_1650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655562","1395655571","1395655565","1395655568","1395655567","1395655569"],"photo_ids_order":["1395655562","1395655565","1395655567","1395655568","1395655569","1395655571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dad91eaff26e5a4d5c28fad21b8f7616.jpg","text":"TemporaryFile(/tmp/multipartBody3062489419175893895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773263723,"filename":"image_22112025_01_56_14_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3533c50aadbb6ccaeb2fd1a52df07cc6.jpg","text":"TemporaryFile(/tmp/multipartBody4074516387278022093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773263723,"filename":"image_22112025_01_56_32_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d311c15363b06a87844ccb7b671f0a0a.jpg","text":"TemporaryFile(/tmp/multipartBody1605882165482669398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773263723,"filename":"image_22112025_01_56_26_9240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d752ae9a859ae1961750dfdb7663c875.jpg","text":"TemporaryFile(/tmp/multipartBody3571139430695191588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773263723,"filename":"image_22112025_01_56_29_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6a01b037b944f844b5969e838a282b0.jpg","text":"TemporaryFile(/tmp/multipartBody3393163860000523848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773263723,"filename":"image_22112025_01_56_27_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e66ada4bfb1fdfe4251683d10fdec008.jpg","text":"TemporaryFile(/tmp/multipartBody290873540828714790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773263723,"filename":"image_22112025_01_56_31_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655567","file1":"1395655565","file0":"1395655562","file4":"1395655569","file5":"1395655571","file3":"1395655568"},"map_files_photo_id_array":[{"photo_id":"1395655571","filename":"file5"},{"photo_id":"1395655567","filename":"file2"},{"photo_id":"1395655569","filename":"file4"},{"photo_id":"1395655565","filename":"file1"},{"photo_id":"1395655562","filename":"file0"},{"photo_id":"1395655568","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655562":["hashtag1","hashtag2"]},{"1395655571":["hashtag1","hashtag2"]},{"1395655565":["hashtag1","hashtag2"]},{"1395655568":["hashtag1","hashtag2"]},{"1395655567":["hashtag1","hashtag2"]},{"1395655569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655562, 1395655571, 1395655565, 1395655568, 1395655567, 1395655569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05239248275757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:00:42.413116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_35_2870.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_38_2595.jpg', '/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_40_2673.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_07_3015.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_11_3587.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_15_4389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_35_2870.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_38_2595.jpg
/home/pi/Desktop/images/22112025/01/56/image_22112025_01_56_40_2673.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_07_3015.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_11_3587.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_15_4389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655589","1395655582","1395655576","1395655590","1395655578","1395655587"],"photo_ids_order":["1395655576","1395655578","1395655582","1395655587","1395655589","1395655590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b326539ad34b1fc23cdcf83d9e0a47b8.jpg","text":"TemporaryFile(/tmp/multipartBody3470646222876878444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773303080,"filename":"image_22112025_01_58_11_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cd9fa4c05ae96ba432c247c341034ab.jpg","text":"TemporaryFile(/tmp/multipartBody8539755376730857026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773303080,"filename":"image_22112025_01_56_40_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0db5aeff7be5c90ecff1f1932af1e8c8.jpg","text":"TemporaryFile(/tmp/multipartBody3865067534251023825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773303080,"filename":"image_22112025_01_56_35_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8d1a65da33333254ed1e66aec491eba.jpg","text":"TemporaryFile(/tmp/multipartBody482807423454203009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773303080,"filename":"image_22112025_01_58_15_4389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/248b2edc6ac5600bb1a8825708e6c180.jpg","text":"TemporaryFile(/tmp/multipartBody641630197989346112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773303080,"filename":"image_22112025_01_56_38_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f0f0d815c6a165d9743b70485fe6e51.jpg","text":"TemporaryFile(/tmp/multipartBody8468111798711092955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773303080,"filename":"image_22112025_01_58_07_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655582","file1":"1395655578","file0":"1395655576","file4":"1395655589","file5":"1395655590","file3":"1395655587"},"map_files_photo_id_array":[{"photo_id":"1395655590","filename":"file5"},{"photo_id":"1395655582","filename":"file2"},{"photo_id":"1395655589","filename":"file4"},{"photo_id":"1395655578","filename":"file1"},{"photo_id":"1395655576","filename":"file0"},{"photo_id":"1395655587","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655589":["hashtag1","hashtag2"]},{"1395655582":["hashtag1","hashtag2"]},{"1395655576":["hashtag1","hashtag2"]},{"1395655590":["hashtag1","hashtag2"]},{"1395655578":["hashtag1","hashtag2"]},{"1395655587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655589, 1395655582, 1395655576, 1395655590, 1395655578, 1395655587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.663994789123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:01:22.759191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_17_1678.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_19_2596.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_22_2708.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_26_3580.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_32_6719.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_34_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_17_1678.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_19_2596.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_22_2708.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_26_3580.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_32_6719.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_34_1692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655626","1395655607","1395655630","1395655596","1395655629","1395655623"],"photo_ids_order":["1395655596","1395655607","1395655623","1395655626","1395655629","1395655630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de64f209f238d3f8f723bc8d1e444a9d.jpg","text":"TemporaryFile(/tmp/multipartBody648498106591793595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773343481,"filename":"image_22112025_01_58_26_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3e0326432fbd09f7ce41610a04bcff7.jpg","text":"TemporaryFile(/tmp/multipartBody7005660005820120969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773343481,"filename":"image_22112025_01_58_19_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddba981ac078292fa406f4d8f851ab1b.jpg","text":"TemporaryFile(/tmp/multipartBody7341949350049573256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773343481,"filename":"image_22112025_01_58_34_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe532efb3ac785605c2ab9348e70ac8e.jpg","text":"TemporaryFile(/tmp/multipartBody914699061520123380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773343481,"filename":"image_22112025_01_58_17_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fabb84dc7f171d1c2fe65f392ce9ae24.jpg","text":"TemporaryFile(/tmp/multipartBody8824604242454688298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773343481,"filename":"image_22112025_01_58_32_6719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e08916bf56dd37e54d939ef6763b34e4.jpg","text":"TemporaryFile(/tmp/multipartBody3597082123094434214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773343481,"filename":"image_22112025_01_58_22_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655623","file1":"1395655607","file0":"1395655596","file4":"1395655629","file5":"1395655630","file3":"1395655626"},"map_files_photo_id_array":[{"photo_id":"1395655630","filename":"file5"},{"photo_id":"1395655623","filename":"file2"},{"photo_id":"1395655629","filename":"file4"},{"photo_id":"1395655607","filename":"file1"},{"photo_id":"1395655596","filename":"file0"},{"photo_id":"1395655626","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655626":["hashtag1","hashtag2"]},{"1395655607":["hashtag1","hashtag2"]},{"1395655630":["hashtag1","hashtag2"]},{"1395655596":["hashtag1","hashtag2"]},{"1395655629":["hashtag1","hashtag2"]},{"1395655623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655626, 1395655607, 1395655630, 1395655596, 1395655629, 1395655623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66746282577515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:02:02.334221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:02:22.104597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_36_1784.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_40_4404.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_42_1643.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_44_1820.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_46_2623.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_49_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_36_1784.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_40_4404.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_42_1643.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_44_1820.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_46_2623.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_49_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395655679","1395655640","1395655637","1395655633","1395655758","1395655716"],"photo_ids_order":["1395655633","1395655637","1395655640","1395655679","1395655716","1395655758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57b31d5c27b41d796c35e87e3ef4fca1.jpg","text":"TemporaryFile(/tmp/multipartBody7130322414932336087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773402800,"filename":"image_22112025_01_58_44_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d94cadb5ab337b4cc44219ad4c00938e.jpg","text":"TemporaryFile(/tmp/multipartBody6081166945770545810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773402800,"filename":"image_22112025_01_58_42_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/584b082c8465309fd51eea17f5fc3e48.jpg","text":"TemporaryFile(/tmp/multipartBody7031850717617268953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773402800,"filename":"image_22112025_01_58_40_4404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b382380589815787c0d7f80b684a841.jpg","text":"TemporaryFile(/tmp/multipartBody6551421572980193857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773402800,"filename":"image_22112025_01_58_36_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/721b1c61261e3834d95e8de49974e438.jpg","text":"TemporaryFile(/tmp/multipartBody4094455474476690647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773402800,"filename":"image_22112025_01_58_49_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c11b83c479f8c7e35a665aeb1b029e80.jpg","text":"TemporaryFile(/tmp/multipartBody4442680609101524222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773402800,"filename":"image_22112025_01_58_46_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655640","file1":"1395655637","file0":"1395655633","file4":"1395655716","file5":"1395655758","file3":"1395655679"},"map_files_photo_id_array":[{"photo_id":"1395655758","filename":"file5"},{"photo_id":"1395655640","filename":"file2"},{"photo_id":"1395655716","filename":"file4"},{"photo_id":"1395655637","filename":"file1"},{"photo_id":"1395655633","filename":"file0"},{"photo_id":"1395655679","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395655679":["hashtag1","hashtag2"]},{"1395655640":["hashtag1","hashtag2"]},{"1395655637":["hashtag1","hashtag2"]},{"1395655633":["hashtag1","hashtag2"]},{"1395655758":["hashtag1","hashtag2"]},{"1395655716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395655679, 1395655640, 1395655637, 1395655633, 1395655758, 1395655716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98297381401062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:03:03.177027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_52_3157.jpg', '/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_56_3715.jpg', '/home/pi/Desktop/images/22112025/01/59/image_22112025_01_59_01_2536.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_07_3011.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_11_3787.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_16_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_52_3157.jpg
/home/pi/Desktop/images/22112025/01/58/image_22112025_01_58_56_3715.jpg
/home/pi/Desktop/images/22112025/01/59/image_22112025_01_59_01_2536.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_07_3011.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_11_3787.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_16_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656054","1395655907","1395655945","1395656019","1395655983","1395656093"],"photo_ids_order":["1395655907","1395655945","1395655983","1395656019","1395656054","1395656093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c752c8f2f326f94a0c88e487117b51e.jpg","text":"TemporaryFile(/tmp/multipartBody5348285519378633013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773443980,"filename":"image_22112025_02_01_11_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8073e59ff02220b261d41ad653b1f4ba.jpg","text":"TemporaryFile(/tmp/multipartBody2526551295910366556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773443980,"filename":"image_22112025_01_58_52_3157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2e2dd4abf9e30e7782e81dd146873c4.jpg","text":"TemporaryFile(/tmp/multipartBody2390265774744472262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773443980,"filename":"image_22112025_01_58_56_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d435c8d9d3ca3306c75fd6788a89f171.jpg","text":"TemporaryFile(/tmp/multipartBody1321329630440247897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773443980,"filename":"image_22112025_02_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce26441667c369e6950f2130ebfc8ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2255964298110614819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773443980,"filename":"image_22112025_01_59_01_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d68d594e9e1c6f2ca61a0841381040a7.jpg","text":"TemporaryFile(/tmp/multipartBody8040279425232216224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773443980,"filename":"image_22112025_02_01_16_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395655983","file1":"1395655945","file0":"1395655907","file4":"1395656054","file5":"1395656093","file3":"1395656019"},"map_files_photo_id_array":[{"photo_id":"1395656093","filename":"file5"},{"photo_id":"1395655983","filename":"file2"},{"photo_id":"1395656054","filename":"file4"},{"photo_id":"1395655945","filename":"file1"},{"photo_id":"1395655907","filename":"file0"},{"photo_id":"1395656019","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395656054":["hashtag1","hashtag2"]},{"1395655907":["hashtag1","hashtag2"]},{"1395655945":["hashtag1","hashtag2"]},{"1395656019":["hashtag1","hashtag2"]},{"1395655983":["hashtag1","hashtag2"]},{"1395656093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395656054, 1395655907, 1395655945, 1395656019, 1395655983, 1395656093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84070038795471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:03:42.482023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_20_3799.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_22_2663.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_25_2853.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_36_11077.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_38_1725.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_40_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_20_3799.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_22_2663.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_25_2853.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_36_11077.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_38_1725.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_40_1632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656156","1395656237","1395656158","1395656200","1395656166","1395656159"],"photo_ids_order":["1395656156","1395656158","1395656159","1395656166","1395656200","1395656237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36d91baaaf2e5bf77fab70c572f02863.jpg","text":"TemporaryFile(/tmp/multipartBody4148704897741011567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773483172,"filename":"image_22112025_02_01_20_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7273e846fc84be43d2243de929d85a6f.jpg","text":"TemporaryFile(/tmp/multipartBody6852573465050868385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773483172,"filename":"image_22112025_02_01_40_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea24a1996e1572f77bb490c324c956d3.jpg","text":"TemporaryFile(/tmp/multipartBody3241487688571890533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773483172,"filename":"image_22112025_02_01_22_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46597d87605939ff00b91c8cd3674817.jpg","text":"TemporaryFile(/tmp/multipartBody6778142211821377659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773483172,"filename":"image_22112025_02_01_38_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e36a7e5c913169730fad4634a1f0609.jpg","text":"TemporaryFile(/tmp/multipartBody8023276384227952447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773483172,"filename":"image_22112025_02_01_36_11077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cc5c9b64bbe0bc4a17aa3ef641b4612.jpg","text":"TemporaryFile(/tmp/multipartBody2123176278265125905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773483172,"filename":"image_22112025_02_01_25_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395656159","file1":"1395656158","file0":"1395656156","file4":"1395656200","file5":"1395656237","file3":"1395656166"},"map_files_photo_id_array":[{"photo_id":"1395656237","filename":"file5"},{"photo_id":"1395656159","filename":"file2"},{"photo_id":"1395656200","filename":"file4"},{"photo_id":"1395656158","filename":"file1"},{"photo_id":"1395656156","filename":"file0"},{"photo_id":"1395656166","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395656156":["hashtag1","hashtag2"]},{"1395656237":["hashtag1","hashtag2"]},{"1395656158":["hashtag1","hashtag2"]},{"1395656200":["hashtag1","hashtag2"]},{"1395656166":["hashtag1","hashtag2"]},{"1395656159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395656156, 1395656237, 1395656158, 1395656200, 1395656166, 1395656159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51054549217224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:04:22.881666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_41_1554.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_43_1774.jpg', '/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_45_1633.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_11_4851.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_13_1794.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_16_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_41_1554.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_43_1774.jpg
/home/pi/Desktop/images/22112025/02/01/image_22112025_02_01_45_1633.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_11_4851.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_13_1794.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_16_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656333","1395656356","1395656320","1395656283","1395656352","1395656358"],"photo_ids_order":["1395656283","1395656320","1395656333","1395656352","1395656356","1395656358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a8109ab6ac6c751f98e5f0514b01f15.jpg","text":"TemporaryFile(/tmp/multipartBody3281629560884845573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773523614,"filename":"image_22112025_02_01_45_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70470dc870bedbd99fd6c7f92ddd7ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8853374524229035707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773523614,"filename":"image_22112025_02_03_13_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a92b17435a93350f9cd82a6647b6de69.jpg","text":"TemporaryFile(/tmp/multipartBody8248687628638012930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773523614,"filename":"image_22112025_02_01_43_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b7e3cdc92d5d65c08e786beeea1cdfa.jpg","text":"TemporaryFile(/tmp/multipartBody2916411981225121928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773523614,"filename":"image_22112025_02_01_41_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7cd36f3fcf491ca1476d8a76be358d2.jpg","text":"TemporaryFile(/tmp/multipartBody6416747110351384405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773523614,"filename":"image_22112025_02_03_11_4851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01833a1f1c467e4c446b8f791e89d72a.jpg","text":"TemporaryFile(/tmp/multipartBody7930616573216167553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773523614,"filename":"image_22112025_02_03_16_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395656333","file1":"1395656320","file0":"1395656283","file4":"1395656356","file5":"1395656358","file3":"1395656352"},"map_files_photo_id_array":[{"photo_id":"1395656358","filename":"file5"},{"photo_id":"1395656333","filename":"file2"},{"photo_id":"1395656356","filename":"file4"},{"photo_id":"1395656320","filename":"file1"},{"photo_id":"1395656283","filename":"file0"},{"photo_id":"1395656352","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395656333":["hashtag1","hashtag2"]},{"1395656356":["hashtag1","hashtag2"]},{"1395656320":["hashtag1","hashtag2"]},{"1395656283":["hashtag1","hashtag2"]},{"1395656352":["hashtag1","hashtag2"]},{"1395656358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395656333, 1395656356, 1395656320, 1395656283, 1395656352, 1395656358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.205450773239136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:05:02.788451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_18_2654.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_22_3678.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_28_3692.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_36_2648.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_40_3557.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_49_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_18_2654.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_22_3678.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_28_3692.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_36_2648.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_40_3557.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_49_1594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656371","1395656368","1395656397","1395656388","1395656376","1395656375"],"photo_ids_order":["1395656368","1395656371","1395656375","1395656376","1395656388","1395656397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98324a99b28877940d54b4fdcfa8d895.jpg","text":"TemporaryFile(/tmp/multipartBody4261562410975695042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773563590,"filename":"image_22112025_02_03_22_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b778118d0c4313cb773d787f4261aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1634010992805590006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773563590,"filename":"image_22112025_02_03_18_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6786b73f1db4b2d62ea8612b7513c74b.jpg","text":"TemporaryFile(/tmp/multipartBody4832024850044046329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773563590,"filename":"image_22112025_02_03_49_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ea061a336b97e64e9c42dd081b67503.jpg","text":"TemporaryFile(/tmp/multipartBody3312152523035549474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773563590,"filename":"image_22112025_02_03_40_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d499adec8d689fceebfa499612e21021.jpg","text":"TemporaryFile(/tmp/multipartBody7444758474030835129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773563590,"filename":"image_22112025_02_03_36_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd124b0662cdedc228fdfd6cb31a6a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5402624844365423052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773563590,"filename":"image_22112025_02_03_28_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395656375","file1":"1395656371","file0":"1395656368","file4":"1395656388","file5":"1395656397","file3":"1395656376"},"map_files_photo_id_array":[{"photo_id":"1395656397","filename":"file5"},{"photo_id":"1395656375","filename":"file2"},{"photo_id":"1395656388","filename":"file4"},{"photo_id":"1395656371","filename":"file1"},{"photo_id":"1395656368","filename":"file0"},{"photo_id":"1395656376","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395656371":["hashtag1","hashtag2"]},{"1395656368":["hashtag1","hashtag2"]},{"1395656397":["hashtag1","hashtag2"]},{"1395656388":["hashtag1","hashtag2"]},{"1395656376":["hashtag1","hashtag2"]},{"1395656375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395656371, 1395656368, 1395656397, 1395656388, 1395656376, 1395656375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7867214679718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:05:42.090030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_50_1559.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_58_2810.jpg', '/home/pi/Desktop/images/22112025/02/03/image_22112025_02_04_01_3655.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_08_3562.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_13_4768.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_14_1764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_50_1559.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_03_58_2810.jpg
/home/pi/Desktop/images/22112025/02/03/image_22112025_02_04_01_3655.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_08_3562.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_13_4768.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_14_1764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656438","1395656434","1395656443","1395656431","1395656410","1395656424"],"photo_ids_order":["1395656410","1395656424","1395656431","1395656434","1395656438","1395656443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce9be289629b04fee93b51f4a181b8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2625767194404921232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773602822,"filename":"image_22112025_02_05_13_4768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b338278bb7527f460b8120533465a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1026868099323749514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773602822,"filename":"image_22112025_02_05_08_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/781dc6a2bdc204e13cd29a597945b50e.jpg","text":"TemporaryFile(/tmp/multipartBody1331109429077345735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773602822,"filename":"image_22112025_02_05_14_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b0aa3a9a7f00c074fcf8694b44af5db.jpg","text":"TemporaryFile(/tmp/multipartBody6059867661664452904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773602822,"filename":"image_22112025_02_04_01_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f10b45469bc9cb598165efe0cd6de6f0.jpg","text":"TemporaryFile(/tmp/multipartBody5186909802010746840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773602822,"filename":"image_22112025_02_03_50_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dec8f8cb7d390907af676c7a48fa1e54.jpg","text":"TemporaryFile(/tmp/multipartBody4802524960790733867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773602822,"filename":"image_22112025_02_03_58_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395656431","file1":"1395656424","file0":"1395656410","file4":"1395656438","file5":"1395656443","file3":"1395656434"},"map_files_photo_id_array":[{"photo_id":"1395656443","filename":"file5"},{"photo_id":"1395656431","filename":"file2"},{"photo_id":"1395656438","filename":"file4"},{"photo_id":"1395656424","filename":"file1"},{"photo_id":"1395656410","filename":"file0"},{"photo_id":"1395656434","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395656438":["hashtag1","hashtag2"]},{"1395656434":["hashtag1","hashtag2"]},{"1395656443":["hashtag1","hashtag2"]},{"1395656431":["hashtag1","hashtag2"]},{"1395656410":["hashtag1","hashtag2"]},{"1395656424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395656438, 1395656434, 1395656443, 1395656431, 1395656410, 1395656424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98588156700134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:06:22.240914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_16_1889.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_19_3247.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_37_2560.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_44_2809.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_46_2703.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_50_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_16_1889.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_19_3247.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_37_2560.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_44_2809.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_46_2703.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_50_3558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656459","1395656452","1395656461","1395656449","1395656463","1395656456"],"photo_ids_order":["1395656449","1395656452","1395656456","1395656459","1395656461","1395656463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bf4a70b23217ef63438a943e7cf116c.jpg","text":"TemporaryFile(/tmp/multipartBody7272012493622508274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773642909,"filename":"image_22112025_02_05_44_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d0cb19b2cd31f648d5346777e2e1a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7393229691136462262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773642909,"filename":"image_22112025_02_05_19_3247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/997601e52083ca828395b923ccf27d22.jpg","text":"TemporaryFile(/tmp/multipartBody2130266623329031615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773642909,"filename":"image_22112025_02_05_46_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3be4f378cf4437098aab32886e68635f.jpg","text":"TemporaryFile(/tmp/multipartBody3883745420341358569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773642909,"filename":"image_22112025_02_05_16_1889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11c0e8340668c071940b5d2046a9803c.jpg","text":"TemporaryFile(/tmp/multipartBody3516086724409281375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773642909,"filename":"image_22112025_02_05_50_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fa9cefd3f4c44fd96a406852d1cdc3f.jpg","text":"TemporaryFile(/tmp/multipartBody1403848068040040451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773642909,"filename":"image_22112025_02_05_37_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395656456","file1":"1395656452","file0":"1395656449","file4":"1395656461","file5":"1395656463","file3":"1395656459"},"map_files_photo_id_array":[{"photo_id":"1395656463","filename":"file5"},{"photo_id":"1395656456","filename":"file2"},{"photo_id":"1395656461","filename":"file4"},{"photo_id":"1395656452","filename":"file1"},{"photo_id":"1395656449","filename":"file0"},{"photo_id":"1395656459","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395656459":["hashtag1","hashtag2"]},{"1395656452":["hashtag1","hashtag2"]},{"1395656461":["hashtag1","hashtag2"]},{"1395656449":["hashtag1","hashtag2"]},{"1395656463":["hashtag1","hashtag2"]},{"1395656456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395656459, 1395656452, 1395656461, 1395656449, 1395656463, 1395656456)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.997132539749146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:07:25.112097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_53_2867.jpg', '/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_55_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_53_2867.jpg
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_55_2577.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656479","1395656474"],"photo_ids_order":["1395656474","1395656479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/980da781cd62e3c8062f4f8a84ba76a1.jpg","text":"TemporaryFile(/tmp/multipartBody6666795335939575962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773705687,"filename":"image_22112025_02_05_55_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60e16e6500043a4546d01fe910f1cdd2.jpg","text":"TemporaryFile(/tmp/multipartBody7585078290090269810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773705687,"filename":"image_22112025_02_05_53_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395656479","file0":"1395656474"},"map_files_photo_id_array":[{"photo_id":"1395656479","filename":"file1"},{"photo_id":"1395656474","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395656479":["hashtag1","hashtag2"]},{"1395656474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395656479, 1395656474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.538633584976196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:07:45.094085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_41_2705.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_44_2668.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_47_3653.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_50_2653.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_53_2758.jpg', '/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_56_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_41_2705.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_44_2668.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_47_3653.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_50_2653.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_53_2758.jpg
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_56_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656491","1395656488","1395656490","1395656487","1395656486","1395656489"],"photo_ids_order":["1395656486","1395656487","1395656488","1395656489","1395656490","1395656491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5817e3c4822db1558feea82eb8fe2466.jpg","text":"TemporaryFile(/tmp/multipartBody7076753785624092611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773727317,"filename":"image_30102025_18_00_56_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bdb4d6318532caad002086844ff865d.jpg","text":"TemporaryFile(/tmp/multipartBody6484679287420963644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773727317,"filename":"image_30102025_18_00_47_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b5ea6652ed773b9f2b8b86b79c75b92.jpg","text":"TemporaryFile(/tmp/multipartBody4825162892102797204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773727317,"filename":"image_30102025_18_00_53_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40264130ed118b7239b89120e8598eba.jpg","text":"TemporaryFile(/tmp/multipartBody5415114968756772999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773727317,"filename":"image_30102025_18_00_44_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adcf16be3cd707b139953fb151281330.jpg","text":"TemporaryFile(/tmp/multipartBody3072607653491170474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773727317,"filename":"image_30102025_18_00_41_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/863a702ec8f75cafcba2fdc27b422921.jpg","text":"TemporaryFile(/tmp/multipartBody63168039883195778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773727317,"filename":"image_30102025_18_00_50_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395656488","file1":"1395656487","file0":"1395656486","file4":"1395656490","file5":"1395656491","file3":"1395656489"},"map_files_photo_id_array":[{"photo_id":"1395656491","filename":"file5"},{"photo_id":"1395656488","filename":"file2"},{"photo_id":"1395656490","filename":"file4"},{"photo_id":"1395656487","filename":"file1"},{"photo_id":"1395656486","filename":"file0"},{"photo_id":"1395656489","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395656491":["hashtag1","hashtag2"]},{"1395656488":["hashtag1","hashtag2"]},{"1395656490":["hashtag1","hashtag2"]},{"1395656487":["hashtag1","hashtag2"]},{"1395656486":["hashtag1","hashtag2"]},{"1395656489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395656491, 1395656488, 1395656490, 1395656487, 1395656486, 1395656489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65409564971924 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:08:42.390446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_58_2858.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_06_3016.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_10_3868.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_21_10402.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_22_1702.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_24_1823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/05/image_22112025_02_05_58_2858.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_06_3016.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_10_3868.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_21_10402.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_22_1702.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_24_1823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395656695","1395656730","1395656847","1395656805","1395656765","1395656660"],"photo_ids_order":["1395656660","1395656695","1395656730","1395656765","1395656805","1395656847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b19b1024f4f959fe79a06e7cff7e867c.jpg","text":"TemporaryFile(/tmp/multipartBody4391491131202722870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773783075,"filename":"image_22112025_02_07_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/847aa10cf8a520b1feba8ffb4496e7c4.jpg","text":"TemporaryFile(/tmp/multipartBody5340509831656189943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773783075,"filename":"image_22112025_02_07_10_3868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95d3c94eed44774b1816f236ee9c7c7b.jpg","text":"TemporaryFile(/tmp/multipartBody5831267039588579622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773783075,"filename":"image_22112025_02_07_24_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bc6d15b557f4f5aea76523912f01154.jpg","text":"TemporaryFile(/tmp/multipartBody4908213113512009967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773783075,"filename":"image_22112025_02_07_22_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d771684aa64f1327da2b7514d618c3c.jpg","text":"TemporaryFile(/tmp/multipartBody9031201151802832739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773783075,"filename":"image_22112025_02_07_21_10402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e428b9e8b9887920842e9c0cbd7d2fba.jpg","text":"TemporaryFile(/tmp/multipartBody3461286059990037786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773783075,"filename":"image_22112025_02_05_58_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395656730","file1":"1395656695","file0":"1395656660","file4":"1395656805","file5":"1395656847","file3":"1395656765"},"map_files_photo_id_array":[{"photo_id":"1395656847","filename":"file5"},{"photo_id":"1395656730","filename":"file2"},{"photo_id":"1395656805","filename":"file4"},{"photo_id":"1395656695","filename":"file1"},{"photo_id":"1395656660","filename":"file0"},{"photo_id":"1395656765","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395656695":["hashtag1","hashtag2"]},{"1395656730":["hashtag1","hashtag2"]},{"1395656847":["hashtag1","hashtag2"]},{"1395656805":["hashtag1","hashtag2"]},{"1395656765":["hashtag1","hashtag2"]},{"1395656660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395656695, 1395656730, 1395656847, 1395656805, 1395656765, 1395656660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24880242347717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:09:22.591373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_26_1686.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_27_1558.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_31_1678.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_34_3697.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_37_2512.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_40_3500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_26_1686.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_27_1558.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_31_1678.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_34_3697.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_37_2512.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_40_3500.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657040","1395657037","1395657096","1395657034","1395657060","1395657000"],"photo_ids_order":["1395657000","1395657034","1395657037","1395657040","1395657060","1395657096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3744ec91c7f728ad486841679aebc43.jpg","text":"TemporaryFile(/tmp/multipartBody4585934497286684188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773823285,"filename":"image_22112025_02_07_34_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/645dcb8630f6c2fa1a36bc5af7bc1030.jpg","text":"TemporaryFile(/tmp/multipartBody861859452587918701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773823285,"filename":"image_22112025_02_07_31_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/213f1f0a8a51656aecc866ac7e6015d4.jpg","text":"TemporaryFile(/tmp/multipartBody7503540149804009890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773823285,"filename":"image_22112025_02_07_40_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b148b99676394bd1302a07a8a06efc94.jpg","text":"TemporaryFile(/tmp/multipartBody5844965715537907811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773823285,"filename":"image_22112025_02_07_27_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00f55e273da8925f7cdc31bde15dc575.jpg","text":"TemporaryFile(/tmp/multipartBody2774135109642278228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773823285,"filename":"image_22112025_02_07_37_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9d7c3148d4593ac6d33d7bcddec769e.jpg","text":"TemporaryFile(/tmp/multipartBody9091208716275952763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773823285,"filename":"image_22112025_02_07_26_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657037","file1":"1395657034","file0":"1395657000","file4":"1395657060","file5":"1395657096","file3":"1395657040"},"map_files_photo_id_array":[{"photo_id":"1395657096","filename":"file5"},{"photo_id":"1395657037","filename":"file2"},{"photo_id":"1395657060","filename":"file4"},{"photo_id":"1395657034","filename":"file1"},{"photo_id":"1395657000","filename":"file0"},{"photo_id":"1395657040","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657040":["hashtag1","hashtag2"]},{"1395657037":["hashtag1","hashtag2"]},{"1395657096":["hashtag1","hashtag2"]},{"1395657034":["hashtag1","hashtag2"]},{"1395657060":["hashtag1","hashtag2"]},{"1395657000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657040, 1395657037, 1395657096, 1395657034, 1395657060, 1395657000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.705798625946045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:10:02.227341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_43_2734.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_46_2638.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_48_2616.jpg', '/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_52_3656.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_08_15963.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_11_2975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_43_2734.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_46_2638.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_48_2616.jpg
/home/pi/Desktop/images/22112025/02/07/image_22112025_02_07_52_3656.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_08_15963.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_11_2975.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657160","1395657154","1395657148","1395657162","1395657156","1395657152"],"photo_ids_order":["1395657148","1395657152","1395657154","1395657156","1395657160","1395657162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a12c285c14a57717c31fb6e0833c753.jpg","text":"TemporaryFile(/tmp/multipartBody2063172085363426745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773862902,"filename":"image_22112025_02_08_08_15963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa2d9ca07178e817404eed81964c4203.jpg","text":"TemporaryFile(/tmp/multipartBody4831539573053004177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773862902,"filename":"image_22112025_02_07_48_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d30573b250f9f77c2ed699386136033.jpg","text":"TemporaryFile(/tmp/multipartBody994598677185948190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773862902,"filename":"image_22112025_02_07_43_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e87939cca8d646420716d0012710442b.jpg","text":"TemporaryFile(/tmp/multipartBody2280887048953487471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773862902,"filename":"image_22112025_02_08_11_2975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0cf20bbcef2d6fb7b029290dffb7ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1155914867249877409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773862902,"filename":"image_22112025_02_07_52_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/241d04f1a40e7455fc198cba556d9bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4199788622214594301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773862902,"filename":"image_22112025_02_07_46_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657154","file1":"1395657152","file0":"1395657148","file4":"1395657160","file5":"1395657162","file3":"1395657156"},"map_files_photo_id_array":[{"photo_id":"1395657162","filename":"file5"},{"photo_id":"1395657154","filename":"file2"},{"photo_id":"1395657160","filename":"file4"},{"photo_id":"1395657152","filename":"file1"},{"photo_id":"1395657148","filename":"file0"},{"photo_id":"1395657156","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657160":["hashtag1","hashtag2"]},{"1395657154":["hashtag1","hashtag2"]},{"1395657148":["hashtag1","hashtag2"]},{"1395657162":["hashtag1","hashtag2"]},{"1395657156":["hashtag1","hashtag2"]},{"1395657152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657160, 1395657154, 1395657148, 1395657162, 1395657156, 1395657152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.958877086639404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:10:41.842243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_13_1678.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_22_9898.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_24_1611.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_26_1618.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_27_1682.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_31_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_13_1678.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_22_9898.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_24_1611.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_26_1618.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_27_1682.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_31_1649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657307","1395657291","1395657312","1395657303","1395657254","1395657305"],"photo_ids_order":["1395657254","1395657291","1395657303","1395657305","1395657307","1395657312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38ea3d86edf2a2a99875b3ea68677284.jpg","text":"TemporaryFile(/tmp/multipartBody5983366703554270915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773902505,"filename":"image_22112025_02_08_27_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/585fd9961404ee476b88793b5ab542da.jpg","text":"TemporaryFile(/tmp/multipartBody4721773293075212852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773902505,"filename":"image_22112025_02_08_22_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ac5ca88e803032dac819ee7a48c60b0.jpg","text":"TemporaryFile(/tmp/multipartBody3578060310358445042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773902505,"filename":"image_22112025_02_08_31_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d02ab9d96f9dc31e0bc832c0077fe762.jpg","text":"TemporaryFile(/tmp/multipartBody3355779170013147353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773902505,"filename":"image_22112025_02_08_24_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50fe896ea6c9b5741bacad7bc54ea7f3.jpg","text":"TemporaryFile(/tmp/multipartBody6698537333972566025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773902505,"filename":"image_22112025_02_08_13_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0941f0f231843e62efce0fe58111271c.jpg","text":"TemporaryFile(/tmp/multipartBody5149327949741124385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773902505,"filename":"image_22112025_02_08_26_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657303","file1":"1395657291","file0":"1395657254","file4":"1395657307","file5":"1395657312","file3":"1395657305"},"map_files_photo_id_array":[{"photo_id":"1395657312","filename":"file5"},{"photo_id":"1395657303","filename":"file2"},{"photo_id":"1395657307","filename":"file4"},{"photo_id":"1395657291","filename":"file1"},{"photo_id":"1395657254","filename":"file0"},{"photo_id":"1395657305","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657307":["hashtag1","hashtag2"]},{"1395657291":["hashtag1","hashtag2"]},{"1395657312":["hashtag1","hashtag2"]},{"1395657303":["hashtag1","hashtag2"]},{"1395657254":["hashtag1","hashtag2"]},{"1395657305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657307, 1395657291, 1395657312, 1395657303, 1395657254, 1395657305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07740592956543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:11:22.108795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_32_1509.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_35_1619.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_37_1674.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_39_1491.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_42_1568.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_44_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_32_1509.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_35_1619.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_37_1674.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_39_1491.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_42_1568.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_44_1743.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5571434497833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:11:42.105797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_32_1509.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_35_1619.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_37_1674.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_39_1491.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_42_1568.jpg', '/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_44_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_32_1509.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_35_1619.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_37_1674.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_39_1491.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_42_1568.jpg
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_44_1743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657367","1395657375","1395657363","1395657366","1395657371","1395657368"],"photo_ids_order":["1395657363","1395657366","1395657367","1395657368","1395657371","1395657375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/502bf11c6508de65c0fc37d002e7a5b2.jpg","text":"TemporaryFile(/tmp/multipartBody3531901127551024050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773962771,"filename":"image_22112025_02_08_37_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bddaebda75a718c48af1f375a1b29027.jpg","text":"TemporaryFile(/tmp/multipartBody1010104093794361493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773962771,"filename":"image_22112025_02_08_44_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/094d5429566de5d4a0ba8c8c505b1e99.jpg","text":"TemporaryFile(/tmp/multipartBody5721359680029696791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773962771,"filename":"image_22112025_02_08_32_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e72c86e7afb877e8868175e99751a1ee.jpg","text":"TemporaryFile(/tmp/multipartBody2647935171636622641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773962771,"filename":"image_22112025_02_08_35_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa3827657f549d709ec995d3a4552931.jpg","text":"TemporaryFile(/tmp/multipartBody8811412324626748087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773962771,"filename":"image_22112025_02_08_42_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0144f0b252ff101f84362d13969bdacb.jpg","text":"TemporaryFile(/tmp/multipartBody7191783043957432628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763773962771,"filename":"image_22112025_02_08_39_1491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657367","file1":"1395657366","file0":"1395657363","file4":"1395657371","file5":"1395657375","file3":"1395657368"},"map_files_photo_id_array":[{"photo_id":"1395657375","filename":"file5"},{"photo_id":"1395657367","filename":"file2"},{"photo_id":"1395657371","filename":"file4"},{"photo_id":"1395657366","filename":"file1"},{"photo_id":"1395657363","filename":"file0"},{"photo_id":"1395657368","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657367":["hashtag1","hashtag2"]},{"1395657375":["hashtag1","hashtag2"]},{"1395657363":["hashtag1","hashtag2"]},{"1395657366":["hashtag1","hashtag2"]},{"1395657371":["hashtag1","hashtag2"]},{"1395657368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657367, 1395657375, 1395657363, 1395657366, 1395657371, 1395657368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02105140686035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:12:22.420090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_51_2503.jpg', '/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_07_3011.jpg', '/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_11_3692.jpg', '/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_14_2727.jpg', '/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_16_2666.jpg', '/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_20_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/08/image_22112025_02_08_51_2503.jpg
/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_07_3011.jpg
/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_11_3692.jpg
/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_14_2727.jpg
/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_16_2666.jpg
/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_20_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657391","1395657385","1395657396","1395657389","1395657383","1395657394"],"photo_ids_order":["1395657383","1395657385","1395657389","1395657391","1395657394","1395657396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d149bce5b016ba8b7757fde5a587d42.jpg","text":"TemporaryFile(/tmp/multipartBody2682403334561467818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774003082,"filename":"image_22112025_02_10_14_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abdcd8b8f356609cdb31db597a07431d.jpg","text":"TemporaryFile(/tmp/multipartBody4239234414777997979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774003082,"filename":"image_22112025_02_10_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e8ebe55c383f9d1d2a596053b03e752.jpg","text":"TemporaryFile(/tmp/multipartBody2374307016573091338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774003082,"filename":"image_22112025_02_10_20_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d285e1f289d8ab5271638f8907745a96.jpg","text":"TemporaryFile(/tmp/multipartBody298561101753699391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774003082,"filename":"image_22112025_02_10_11_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efb041c6acb1fc53b8c637f0433545ba.jpg","text":"TemporaryFile(/tmp/multipartBody4341216445677129243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774003082,"filename":"image_22112025_02_08_51_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ced63d8331e8ba0b08db1cb12e0a4c78.jpg","text":"TemporaryFile(/tmp/multipartBody4881623159264224646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774003082,"filename":"image_22112025_02_10_16_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657389","file1":"1395657385","file0":"1395657383","file4":"1395657394","file5":"1395657396","file3":"1395657391"},"map_files_photo_id_array":[{"photo_id":"1395657396","filename":"file5"},{"photo_id":"1395657389","filename":"file2"},{"photo_id":"1395657394","filename":"file4"},{"photo_id":"1395657385","filename":"file1"},{"photo_id":"1395657383","filename":"file0"},{"photo_id":"1395657391","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657391":["hashtag1","hashtag2"]},{"1395657385":["hashtag1","hashtag2"]},{"1395657396":["hashtag1","hashtag2"]},{"1395657389":["hashtag1","hashtag2"]},{"1395657383":["hashtag1","hashtag2"]},{"1395657394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657391, 1395657385, 1395657396, 1395657389, 1395657383, 1395657394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68432331085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:13:03.270508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_23_2567.jpg', '/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_25_2667.jpg', '/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_29_3834.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_07_3011.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_10_3521.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_13_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_23_2567.jpg
/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_25_2667.jpg
/home/pi/Desktop/images/22112025/02/10/image_22112025_02_10_29_3834.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_07_3011.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_10_3521.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_13_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657413","1395657407","1395657403","1395657406","1395657408","1395657410"],"photo_ids_order":["1395657403","1395657406","1395657407","1395657408","1395657410","1395657413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7eb9c33fdb15d1fd1793ae316abfc747.jpg","text":"TemporaryFile(/tmp/multipartBody3421522573012086629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774044010,"filename":"image_22112025_02_12_13_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6830534fdb422977209c4b569252f0ca.jpg","text":"TemporaryFile(/tmp/multipartBody2687086364689073013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774044010,"filename":"image_22112025_02_10_29_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a128b50df98cb4c6b350292f98d7c421.jpg","text":"TemporaryFile(/tmp/multipartBody8511267046473774074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774044010,"filename":"image_22112025_02_10_23_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80cc2c4e5af34db12fcea9ad14cc568a.jpg","text":"TemporaryFile(/tmp/multipartBody4439143104792461827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774044010,"filename":"image_22112025_02_10_25_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f57085de67baebbc976e938d44cab2ef.jpg","text":"TemporaryFile(/tmp/multipartBody9749463460242048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774044010,"filename":"image_22112025_02_12_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/baf1846276037472620edce1685020ed.jpg","text":"TemporaryFile(/tmp/multipartBody6364289962424799420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774044010,"filename":"image_22112025_02_12_10_3521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657407","file1":"1395657406","file0":"1395657403","file4":"1395657410","file5":"1395657413","file3":"1395657408"},"map_files_photo_id_array":[{"photo_id":"1395657413","filename":"file5"},{"photo_id":"1395657407","filename":"file2"},{"photo_id":"1395657410","filename":"file4"},{"photo_id":"1395657406","filename":"file1"},{"photo_id":"1395657403","filename":"file0"},{"photo_id":"1395657408","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657413":["hashtag1","hashtag2"]},{"1395657407":["hashtag1","hashtag2"]},{"1395657403":["hashtag1","hashtag2"]},{"1395657406":["hashtag1","hashtag2"]},{"1395657408":["hashtag1","hashtag2"]},{"1395657410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657413, 1395657407, 1395657403, 1395657406, 1395657408, 1395657410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.980626583099365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:13:42.623138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_16_3666.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_19_2596.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_22_2742.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_25_2782.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_28_3638.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_34_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_16_3666.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_19_2596.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_22_2742.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_25_2782.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_28_3638.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_34_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657428","1395657427","1395657424","1395657426","1395657422","1395657425"],"photo_ids_order":["1395657422","1395657424","1395657425","1395657426","1395657427","1395657428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b18904e7c39ca00205be944073bb268d.jpg","text":"TemporaryFile(/tmp/multipartBody895809530808387215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774083332,"filename":"image_22112025_02_12_34_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1369bc0a7f9d55e72ceb6bd2ab54a82a.jpg","text":"TemporaryFile(/tmp/multipartBody363990445529071114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774083332,"filename":"image_22112025_02_12_28_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a9cd6541010950c467bc3ef6488b368.jpg","text":"TemporaryFile(/tmp/multipartBody5333052347631944218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774083332,"filename":"image_22112025_02_12_19_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37a0aff069b550f448714dbfd8cd4366.jpg","text":"TemporaryFile(/tmp/multipartBody1053360487591968741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774083332,"filename":"image_22112025_02_12_25_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f345ac1c43a0b46c6c1e462ff5a26b86.jpg","text":"TemporaryFile(/tmp/multipartBody5893789387373586871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774083332,"filename":"image_22112025_02_12_16_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14150e46d488437eea7bc6c377d614f8.jpg","text":"TemporaryFile(/tmp/multipartBody6329746336167090157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774083332,"filename":"image_22112025_02_12_22_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657425","file1":"1395657424","file0":"1395657422","file4":"1395657427","file5":"1395657428","file3":"1395657426"},"map_files_photo_id_array":[{"photo_id":"1395657428","filename":"file5"},{"photo_id":"1395657425","filename":"file2"},{"photo_id":"1395657427","filename":"file4"},{"photo_id":"1395657424","filename":"file1"},{"photo_id":"1395657422","filename":"file0"},{"photo_id":"1395657426","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657428":["hashtag1","hashtag2"]},{"1395657427":["hashtag1","hashtag2"]},{"1395657424":["hashtag1","hashtag2"]},{"1395657426":["hashtag1","hashtag2"]},{"1395657422":["hashtag1","hashtag2"]},{"1395657425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657428, 1395657427, 1395657424, 1395657426, 1395657422, 1395657425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.612671852111816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:14:21.856076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_37_2574.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_40_2695.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_43_3578.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_46_2691.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_49_3519.jpg', '/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_52_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_37_2574.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_40_2695.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_43_3578.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_46_2691.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_49_3519.jpg
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_52_2556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657456","1395657444","1395657453","1395657447","1395657440","1395657437"],"photo_ids_order":["1395657437","1395657440","1395657444","1395657447","1395657453","1395657456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/693ab8fd7722b561fdb66e6c83f315ef.jpg","text":"TemporaryFile(/tmp/multipartBody6379568431720147474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774122591,"filename":"image_22112025_02_12_52_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29a06e74ebe4fa157f44795c9f2ef7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8639970076227036396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774122591,"filename":"image_22112025_02_12_43_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c394a94f0ecf0035baee51356340b3a.jpg","text":"TemporaryFile(/tmp/multipartBody3800642652584737242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774122591,"filename":"image_22112025_02_12_49_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c89d2ff8bfb86e4ae918eaf8de94756.jpg","text":"TemporaryFile(/tmp/multipartBody281952777063767091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774122591,"filename":"image_22112025_02_12_46_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/620eac0081fc507f0aaa102b8fea11c7.jpg","text":"TemporaryFile(/tmp/multipartBody1839732923400333084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774122591,"filename":"image_22112025_02_12_40_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ea3cb020078ad1c387c58acd18e5536.jpg","text":"TemporaryFile(/tmp/multipartBody5682398634265787787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774122591,"filename":"image_22112025_02_12_37_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657444","file1":"1395657440","file0":"1395657437","file4":"1395657453","file5":"1395657456","file3":"1395657447"},"map_files_photo_id_array":[{"photo_id":"1395657456","filename":"file5"},{"photo_id":"1395657444","filename":"file2"},{"photo_id":"1395657453","filename":"file4"},{"photo_id":"1395657440","filename":"file1"},{"photo_id":"1395657437","filename":"file0"},{"photo_id":"1395657447","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657456":["hashtag1","hashtag2"]},{"1395657444":["hashtag1","hashtag2"]},{"1395657453":["hashtag1","hashtag2"]},{"1395657447":["hashtag1","hashtag2"]},{"1395657440":["hashtag1","hashtag2"]},{"1395657437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657456, 1395657444, 1395657453, 1395657447, 1395657440, 1395657437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77777647972107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:15:02.770050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_55_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_55_2680.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657459"],"photo_id":"1395657459","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03e896bb5d86cf6461f4475bc1d2b9b0.jpg","text":"TemporaryFile(/tmp/multipartBody6982581121118280502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774163322,"filename":"image_22112025_02_12_55_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395657459"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395657459"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.049553394317627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:15:22.230166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_58_3719.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_07_3015.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_14_2708.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_17_3574.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_26_8907.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_28_1712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/12/image_22112025_02_12_58_3719.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_07_3015.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_14_2708.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_17_3574.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_26_8907.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_28_1712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657475","1395657487","1395657468","1395657477","1395657471","1395657465"],"photo_ids_order":["1395657465","1395657468","1395657471","1395657475","1395657477","1395657487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17a16707051485f792307a0b87e99869.jpg","text":"TemporaryFile(/tmp/multipartBody7747969668584184682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774182937,"filename":"image_22112025_02_14_17_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6416536ff7199899a3a331c1406bd664.jpg","text":"TemporaryFile(/tmp/multipartBody4708092081016789302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774182937,"filename":"image_22112025_02_14_28_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d66694e8154ed0263b116a9d456f4207.jpg","text":"TemporaryFile(/tmp/multipartBody4638876180084746273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774182937,"filename":"image_22112025_02_14_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f2297fc19a250d0948c5fc07b1e83ad.jpg","text":"TemporaryFile(/tmp/multipartBody2242834782247035185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774182937,"filename":"image_22112025_02_14_26_8907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/499d3dad05d2f024201791f3bd29e4e4.jpg","text":"TemporaryFile(/tmp/multipartBody4074056634657459567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774182937,"filename":"image_22112025_02_14_14_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aba55b291ac666151bd4b05d512eada2.jpg","text":"TemporaryFile(/tmp/multipartBody582153083279784102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774182937,"filename":"image_22112025_02_12_58_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657471","file1":"1395657468","file0":"1395657465","file4":"1395657477","file5":"1395657487","file3":"1395657475"},"map_files_photo_id_array":[{"photo_id":"1395657487","filename":"file5"},{"photo_id":"1395657471","filename":"file2"},{"photo_id":"1395657477","filename":"file4"},{"photo_id":"1395657468","filename":"file1"},{"photo_id":"1395657465","filename":"file0"},{"photo_id":"1395657475","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657475":["hashtag1","hashtag2"]},{"1395657487":["hashtag1","hashtag2"]},{"1395657468":["hashtag1","hashtag2"]},{"1395657477":["hashtag1","hashtag2"]},{"1395657471":["hashtag1","hashtag2"]},{"1395657465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657475, 1395657487, 1395657468, 1395657477, 1395657471, 1395657465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44752216339111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:16:02.874130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_30_1666.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_32_2542.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_34_1604.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_37_1997.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_41_3540.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_44_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_30_1666.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_32_2542.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_34_1604.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_37_1997.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_41_3540.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_44_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657490","1395657502","1395657495","1395657489","1395657498","1395657493"],"photo_ids_order":["1395657489","1395657490","1395657493","1395657495","1395657498","1395657502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11d5f54e6f876523b6a4f3ebb6e14c91.jpg","text":"TemporaryFile(/tmp/multipartBody6966573965501490462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774223557,"filename":"image_22112025_02_14_32_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/729ff2646fa23cfd005fd7660fe9758e.jpg","text":"TemporaryFile(/tmp/multipartBody6471699112276400574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774223557,"filename":"image_22112025_02_14_44_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c966db4debe71b46507b40343d777b7c.jpg","text":"TemporaryFile(/tmp/multipartBody6267975174069942363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774223557,"filename":"image_22112025_02_14_37_1997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75833f1caf5055baf7aa17f6eaab08ab.jpg","text":"TemporaryFile(/tmp/multipartBody5703006510705759411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774223557,"filename":"image_22112025_02_14_30_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e42e2a58632b09c31816b66c5abcdca.jpg","text":"TemporaryFile(/tmp/multipartBody3043109335756348692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774223557,"filename":"image_22112025_02_14_41_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e07cbf62d6f6a6655fc8b2d817736aef.jpg","text":"TemporaryFile(/tmp/multipartBody6718143238305167999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774223557,"filename":"image_22112025_02_14_34_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657493","file1":"1395657490","file0":"1395657489","file4":"1395657498","file5":"1395657502","file3":"1395657495"},"map_files_photo_id_array":[{"photo_id":"1395657502","filename":"file5"},{"photo_id":"1395657493","filename":"file2"},{"photo_id":"1395657498","filename":"file4"},{"photo_id":"1395657490","filename":"file1"},{"photo_id":"1395657489","filename":"file0"},{"photo_id":"1395657495","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657490":["hashtag1","hashtag2"]},{"1395657502":["hashtag1","hashtag2"]},{"1395657495":["hashtag1","hashtag2"]},{"1395657489":["hashtag1","hashtag2"]},{"1395657498":["hashtag1","hashtag2"]},{"1395657493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657490, 1395657502, 1395657495, 1395657489, 1395657498, 1395657493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91284990310669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:16:42.417163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_47_3571.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_50_2675.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_52_2541.jpg', '/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_56_3780.jpg', '/home/pi/Desktop/images/22112025/02/15/image_22112025_02_15_02_2773.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_07_3013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_47_3571.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_50_2675.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_52_2541.jpg
/home/pi/Desktop/images/22112025/02/14/image_22112025_02_14_56_3780.jpg
/home/pi/Desktop/images/22112025/02/15/image_22112025_02_15_02_2773.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_07_3013.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657527","1395657526","1395657529","1395657522","1395657521","1395657518"],"photo_ids_order":["1395657518","1395657521","1395657522","1395657526","1395657527","1395657529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1edee6d7883d8670c7c3a33d63004c4a.jpg","text":"TemporaryFile(/tmp/multipartBody5762187928705526792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774263078,"filename":"image_22112025_02_15_02_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25ea878b1818f7a140d40b9c33de2725.jpg","text":"TemporaryFile(/tmp/multipartBody6724536379252696497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774263078,"filename":"image_22112025_02_14_56_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ad457c1c0f1e8a33944b26b2caef60b.jpg","text":"TemporaryFile(/tmp/multipartBody379936095979078032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774263078,"filename":"image_22112025_02_16_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2aed3d6ed6b818eda6f50eecead6a110.jpg","text":"TemporaryFile(/tmp/multipartBody3624788934516536486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774263078,"filename":"image_22112025_02_14_52_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f784d67c6c3ed28563fd38966aa6b71.jpg","text":"TemporaryFile(/tmp/multipartBody1719679571622901787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774263078,"filename":"image_22112025_02_14_50_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f1677c669227c337596786e74cc65de.jpg","text":"TemporaryFile(/tmp/multipartBody4796410746262031434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774263078,"filename":"image_22112025_02_14_47_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657522","file1":"1395657521","file0":"1395657518","file4":"1395657527","file5":"1395657529","file3":"1395657526"},"map_files_photo_id_array":[{"photo_id":"1395657529","filename":"file5"},{"photo_id":"1395657522","filename":"file2"},{"photo_id":"1395657527","filename":"file4"},{"photo_id":"1395657521","filename":"file1"},{"photo_id":"1395657518","filename":"file0"},{"photo_id":"1395657526","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657527":["hashtag1","hashtag2"]},{"1395657526":["hashtag1","hashtag2"]},{"1395657529":["hashtag1","hashtag2"]},{"1395657522":["hashtag1","hashtag2"]},{"1395657521":["hashtag1","hashtag2"]},{"1395657518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657527, 1395657526, 1395657529, 1395657522, 1395657521, 1395657518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88214373588562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:17:22.663853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_11_3742.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_13_2802.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_16_2595.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_22_2640.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_25_2621.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_29_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_11_3742.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_13_2802.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_16_2595.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_22_2640.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_25_2621.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_29_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657550","1395657544","1395657541","1395657546","1395657533","1395657536"],"photo_ids_order":["1395657533","1395657536","1395657541","1395657544","1395657546","1395657550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c397dbe230d1aefb1a6397c4a794e4f.jpg","text":"TemporaryFile(/tmp/multipartBody3087704791039585655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774303368,"filename":"image_22112025_02_16_29_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b08c6f844588175863ac08c2c4f654ae.jpg","text":"TemporaryFile(/tmp/multipartBody1795958014472412782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774303368,"filename":"image_22112025_02_16_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/470b7378d06bf6cbb9acd3bdb1a00ba7.jpg","text":"TemporaryFile(/tmp/multipartBody4701967719886324857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774303368,"filename":"image_22112025_02_16_16_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/425a2c0db122aeb73b1639e572f23fc8.jpg","text":"TemporaryFile(/tmp/multipartBody3318671815965133505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774303368,"filename":"image_22112025_02_16_25_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7c40d6aa42c249377c44bafba6bce77.jpg","text":"TemporaryFile(/tmp/multipartBody7252764554076330818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774303368,"filename":"image_22112025_02_16_11_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a3394e098f7cf495cada0bd3455d5ec.jpg","text":"TemporaryFile(/tmp/multipartBody1506746466689567954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774303368,"filename":"image_22112025_02_16_13_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657541","file1":"1395657536","file0":"1395657533","file4":"1395657546","file5":"1395657550","file3":"1395657544"},"map_files_photo_id_array":[{"photo_id":"1395657550","filename":"file5"},{"photo_id":"1395657541","filename":"file2"},{"photo_id":"1395657546","filename":"file4"},{"photo_id":"1395657536","filename":"file1"},{"photo_id":"1395657533","filename":"file0"},{"photo_id":"1395657544","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657550":["hashtag1","hashtag2"]},{"1395657544":["hashtag1","hashtag2"]},{"1395657541":["hashtag1","hashtag2"]},{"1395657546":["hashtag1","hashtag2"]},{"1395657533":["hashtag1","hashtag2"]},{"1395657536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657550, 1395657544, 1395657541, 1395657546, 1395657533, 1395657536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.482763051986694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:18:02.478462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_31_2536.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_35_3571.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_37_2648.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_40_2714.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_44_3612.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_46_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_31_2536.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_35_3571.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_37_2648.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_40_2714.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_44_3612.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_46_2680.jpg
 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":["1395657562","1395657568","1395657570","1395657564","1395657566","1395657575"],"photo_ids_order":["1395657562","1395657564","1395657566","1395657568","1395657570","1395657575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28d1fc0878becc5c5ae1ef06160ad11d.jpg","text":"TemporaryFile(/tmp/multipartBody7081260062801845368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774345821,"filename":"image_22112025_02_16_31_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65cf58fb8a4c409f91fbf6ee405f3010.jpg","text":"TemporaryFile(/tmp/multipartBody3743714610658205365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774345821,"filename":"image_22112025_02_16_40_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da2b381c3c0bcf2390065be0c98c4ea9.jpg","text":"TemporaryFile(/tmp/multipartBody9083301050410030149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774345821,"filename":"image_22112025_02_16_44_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/969218bdda57e487610dcb83bedaeb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2339198263035236682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774345821,"filename":"image_22112025_02_16_35_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fe8ff60246b4f89cac3d84d3bf6a632.jpg","text":"TemporaryFile(/tmp/multipartBody1211914449137776168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774345821,"filename":"image_22112025_02_16_37_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fed07e3f12c9c1e2d5f4517d22d6ee56.jpg","text":"TemporaryFile(/tmp/multipartBody4307661507041341347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774345821,"filename":"image_22112025_02_16_46_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657566","file1":"1395657564","file0":"1395657562","file4":"1395657570","file5":"1395657575","file3":"1395657568"},"map_files_photo_id_array":[{"photo_id":"1395657575","filename":"file5"},{"photo_id":"1395657566","filename":"file2"},{"photo_id":"1395657570","filename":"file4"},{"photo_id":"1395657564","filename":"file1"},{"photo_id":"1395657562","filename":"file0"},{"photo_id":"1395657568","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657562":["hashtag1","hashtag2"]},{"1395657568":["hashtag1","hashtag2"]},{"1395657570":["hashtag1","hashtag2"]},{"1395657564":["hashtag1","hashtag2"]},{"1395657566":["hashtag1","hashtag2"]},{"1395657575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657562, 1395657568, 1395657570, 1395657564, 1395657566, 1395657575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.5348584651947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:19:02.880620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_49_2607.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_52_2940.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_55_3614.jpg', '/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_58_2817.jpg', '/home/pi/Desktop/images/22112025/02/17/image_22112025_02_17_01_2744.jpg', '/home/pi/Desktop/images/22112025/02/17/image_22112025_02_17_04_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_49_2607.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_52_2940.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_55_3614.jpg
/home/pi/Desktop/images/22112025/02/16/image_22112025_02_16_58_2817.jpg
/home/pi/Desktop/images/22112025/02/17/image_22112025_02_17_01_2744.jpg
/home/pi/Desktop/images/22112025/02/17/image_22112025_02_17_04_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657589","1395657607","1395657585","1395657588","1395657596","1395657587"],"photo_ids_order":["1395657585","1395657587","1395657588","1395657589","1395657596","1395657607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a5477d17f6e11cd7f367e1cf10bf451.jpg","text":"TemporaryFile(/tmp/multipartBody7572455714012145355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774403709,"filename":"image_22112025_02_16_58_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24ef4e6ffb2ae751a85533c254fae462.jpg","text":"TemporaryFile(/tmp/multipartBody4978825315578846968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774403709,"filename":"image_22112025_02_17_04_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d60ae92ff7ae329f8f0802d8f0f9822.jpg","text":"TemporaryFile(/tmp/multipartBody6155695580631017665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774403709,"filename":"image_22112025_02_16_49_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbcf6dd2dee0c362bb8cf69365d8d6ed.jpg","text":"TemporaryFile(/tmp/multipartBody3033853726311769902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774403709,"filename":"image_22112025_02_16_55_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f16451f68b5643c5b4c902ea3b20858a.jpg","text":"TemporaryFile(/tmp/multipartBody1490175483615545377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774403709,"filename":"image_22112025_02_17_01_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13cf927148ddcf7d644cea63a70a78f1.jpg","text":"TemporaryFile(/tmp/multipartBody1945013215116818164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774403709,"filename":"image_22112025_02_16_52_2940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657588","file1":"1395657587","file0":"1395657585","file4":"1395657596","file5":"1395657607","file3":"1395657589"},"map_files_photo_id_array":[{"photo_id":"1395657607","filename":"file5"},{"photo_id":"1395657588","filename":"file2"},{"photo_id":"1395657596","filename":"file4"},{"photo_id":"1395657587","filename":"file1"},{"photo_id":"1395657585","filename":"file0"},{"photo_id":"1395657589","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657589":["hashtag1","hashtag2"]},{"1395657607":["hashtag1","hashtag2"]},{"1395657585":["hashtag1","hashtag2"]},{"1395657588":["hashtag1","hashtag2"]},{"1395657596":["hashtag1","hashtag2"]},{"1395657587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657589, 1395657607, 1395657585, 1395657588, 1395657596, 1395657587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.163227558135986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:19:42.031427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/17/image_22112025_02_17_07_3618.jpg', '/home/pi/Desktop/images/22112025/02/17/image_22112025_02_17_10_2556.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_07_3019.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_11_3714.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_13_2672.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_16_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/17/image_22112025_02_17_07_3618.jpg
/home/pi/Desktop/images/22112025/02/17/image_22112025_02_17_10_2556.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_07_3019.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_11_3714.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_13_2672.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_16_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657676","1395657634","1395657675","1395657654","1395657678","1395657677"],"photo_ids_order":["1395657634","1395657654","1395657675","1395657676","1395657677","1395657678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edc596d9fea8d6578182669914e334de.jpg","text":"TemporaryFile(/tmp/multipartBody5738482389713204549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774442746,"filename":"image_22112025_02_18_11_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0feacd119ad3389027c2a34ee8e33a07.jpg","text":"TemporaryFile(/tmp/multipartBody3809286578938667980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774442746,"filename":"image_22112025_02_17_07_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/329ab8035636c8c543aa3983eb8b7e24.jpg","text":"TemporaryFile(/tmp/multipartBody6301220721220437318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774442746,"filename":"image_22112025_02_18_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1d7fb085c408a040b4d0428186e4f95.jpg","text":"TemporaryFile(/tmp/multipartBody8131065375596083298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774442746,"filename":"image_22112025_02_17_10_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fed6e7bb94bab2133c2dc0a15a814c3.jpg","text":"TemporaryFile(/tmp/multipartBody8049222644709206330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774442746,"filename":"image_22112025_02_18_16_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b5657bb977d01e0090a1ce024ae0ffd.jpg","text":"TemporaryFile(/tmp/multipartBody7520839609290519063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774442746,"filename":"image_22112025_02_18_13_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657675","file1":"1395657654","file0":"1395657634","file4":"1395657677","file5":"1395657678","file3":"1395657676"},"map_files_photo_id_array":[{"photo_id":"1395657678","filename":"file5"},{"photo_id":"1395657675","filename":"file2"},{"photo_id":"1395657677","filename":"file4"},{"photo_id":"1395657654","filename":"file1"},{"photo_id":"1395657634","filename":"file0"},{"photo_id":"1395657676","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657676":["hashtag1","hashtag2"]},{"1395657634":["hashtag1","hashtag2"]},{"1395657675":["hashtag1","hashtag2"]},{"1395657654":["hashtag1","hashtag2"]},{"1395657678":["hashtag1","hashtag2"]},{"1395657677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657676, 1395657634, 1395657675, 1395657654, 1395657678, 1395657677)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.53878307342529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:20:42.207310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_20_3505.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_22_2678.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_26_3574.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_29_2704.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_31_2545.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_35_3743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_20_3505.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_22_2678.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_26_3574.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_29_2704.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_31_2545.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_35_3743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657704","1395657706","1395657709","1395657702","1395657705","1395657707"],"photo_ids_order":["1395657702","1395657704","1395657705","1395657706","1395657707","1395657709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f99c6d38472b2b4bd68ad047702aae4.jpg","text":"TemporaryFile(/tmp/multipartBody1105396643588979146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774502878,"filename":"image_22112025_02_18_22_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27a43fcb2eae7ff87454673b0cd89d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7447476535782475589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774502878,"filename":"image_22112025_02_18_29_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/956e664bd84d71c7efbfb654a9901a47.jpg","text":"TemporaryFile(/tmp/multipartBody6924078512609562286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774502878,"filename":"image_22112025_02_18_35_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4363381fb0e7194a07ae9c732a07800.jpg","text":"TemporaryFile(/tmp/multipartBody370339378289939363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774502878,"filename":"image_22112025_02_18_20_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed519d84f1c08dd850d2ff6a5e109961.jpg","text":"TemporaryFile(/tmp/multipartBody3475621674931184060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774502878,"filename":"image_22112025_02_18_26_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b1f67a93b3d801b9f11fbeae8f16691.jpg","text":"TemporaryFile(/tmp/multipartBody5499428998588046458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774502878,"filename":"image_22112025_02_18_31_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657705","file1":"1395657704","file0":"1395657702","file4":"1395657707","file5":"1395657709","file3":"1395657706"},"map_files_photo_id_array":[{"photo_id":"1395657709","filename":"file5"},{"photo_id":"1395657705","filename":"file2"},{"photo_id":"1395657707","filename":"file4"},{"photo_id":"1395657704","filename":"file1"},{"photo_id":"1395657702","filename":"file0"},{"photo_id":"1395657706","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657704":["hashtag1","hashtag2"]},{"1395657706":["hashtag1","hashtag2"]},{"1395657709":["hashtag1","hashtag2"]},{"1395657702":["hashtag1","hashtag2"]},{"1395657705":["hashtag1","hashtag2"]},{"1395657707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657704, 1395657706, 1395657709, 1395657702, 1395657705, 1395657707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43422341346741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:21:22.416908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_38_2708.jpg', '/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_44_3691.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_08_3943.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_11_2566.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_13_2623.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_17_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_38_2708.jpg
/home/pi/Desktop/images/22112025/02/18/image_22112025_02_18_44_3691.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_08_3943.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_11_2566.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_13_2623.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_17_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657742","1395657739","1395657733","1395657747","1395657749","1395657737"],"photo_ids_order":["1395657733","1395657737","1395657739","1395657742","1395657747","1395657749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a61a35eedf2d94d6eecd07841e43a69c.jpg","text":"TemporaryFile(/tmp/multipartBody7938714471319624394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774543086,"filename":"image_22112025_02_20_11_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37796a2ee27fc62f20cbfcd068bcef10.jpg","text":"TemporaryFile(/tmp/multipartBody533400957187480326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774543086,"filename":"image_22112025_02_20_08_3943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42c1b729a4ca053d2565146fc1cb978f.jpg","text":"TemporaryFile(/tmp/multipartBody3319442509997003116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774543086,"filename":"image_22112025_02_18_38_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bafd66da0f6ac8494405de15dd9245a4.jpg","text":"TemporaryFile(/tmp/multipartBody3422781034982490900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774543086,"filename":"image_22112025_02_20_13_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f61b7e76de757a661b0f1f67da320579.jpg","text":"TemporaryFile(/tmp/multipartBody7239275572076598997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774543086,"filename":"image_22112025_02_20_17_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94bd3baf1ab3eac6ac9ce77ba15b820b.jpg","text":"TemporaryFile(/tmp/multipartBody502443721983458877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774543086,"filename":"image_22112025_02_18_44_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657739","file1":"1395657737","file0":"1395657733","file4":"1395657747","file5":"1395657749","file3":"1395657742"},"map_files_photo_id_array":[{"photo_id":"1395657749","filename":"file5"},{"photo_id":"1395657739","filename":"file2"},{"photo_id":"1395657747","filename":"file4"},{"photo_id":"1395657737","filename":"file1"},{"photo_id":"1395657733","filename":"file0"},{"photo_id":"1395657742","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657742":["hashtag1","hashtag2"]},{"1395657739":["hashtag1","hashtag2"]},{"1395657733":["hashtag1","hashtag2"]},{"1395657747":["hashtag1","hashtag2"]},{"1395657749":["hashtag1","hashtag2"]},{"1395657737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657742, 1395657739, 1395657733, 1395657747, 1395657749, 1395657737)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.82523322105408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:22:23.746599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_20_2682.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_26_5812.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_33_1866.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_35_1602.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_37_1670.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_38_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_20_2682.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_26_5812.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_33_1866.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_35_1602.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_37_1670.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_38_1588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657763","1395657777","1395657759","1395657780","1395657774","1395657767"],"photo_ids_order":["1395657759","1395657763","1395657767","1395657774","1395657777","1395657780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b25f3f78cb73cd3bcf9ad6701177bd6b.jpg","text":"TemporaryFile(/tmp/multipartBody8155101513412753017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774604445,"filename":"image_22112025_02_20_26_5812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72a1fdee3a8372c021962f272785ca47.jpg","text":"TemporaryFile(/tmp/multipartBody3078026625103910162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774604445,"filename":"image_22112025_02_20_37_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94f3e09c371d6f6a7bd5ca2752aa5b05.jpg","text":"TemporaryFile(/tmp/multipartBody1708312862513497367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774604445,"filename":"image_22112025_02_20_20_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a14b831091e61b766e0c8962de20c62b.jpg","text":"TemporaryFile(/tmp/multipartBody6537510086717302891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774604445,"filename":"image_22112025_02_20_38_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52dbf41a9f1150617a2f080a52037252.jpg","text":"TemporaryFile(/tmp/multipartBody6259380229632788623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774604445,"filename":"image_22112025_02_20_35_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/072d24568c6d14c26d7c7bc2de9598b5.jpg","text":"TemporaryFile(/tmp/multipartBody3522327822582731395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774604445,"filename":"image_22112025_02_20_33_1866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657767","file1":"1395657763","file0":"1395657759","file4":"1395657777","file5":"1395657780","file3":"1395657774"},"map_files_photo_id_array":[{"photo_id":"1395657780","filename":"file5"},{"photo_id":"1395657767","filename":"file2"},{"photo_id":"1395657777","filename":"file4"},{"photo_id":"1395657763","filename":"file1"},{"photo_id":"1395657759","filename":"file0"},{"photo_id":"1395657774","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657763":["hashtag1","hashtag2"]},{"1395657777":["hashtag1","hashtag2"]},{"1395657759":["hashtag1","hashtag2"]},{"1395657780":["hashtag1","hashtag2"]},{"1395657774":["hashtag1","hashtag2"]},{"1395657767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657763, 1395657777, 1395657759, 1395657780, 1395657774, 1395657767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94222545623779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:23:02.685641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:23:22.001904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_41_2555.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_44_2772.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_46_2696.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_50_3594.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_53_2625.jpg', '/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_55_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_41_2555.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_44_2772.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_46_2696.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_50_3594.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_53_2625.jpg
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_55_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657805","1395657795","1395657802","1395657810","1395657807","1395657799"],"photo_ids_order":["1395657795","1395657799","1395657802","1395657805","1395657807","1395657810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/785c3f3d8b808248bc1ecadb535552ce.jpg","text":"TemporaryFile(/tmp/multipartBody5789721035208979114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774662621,"filename":"image_22112025_02_20_50_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ac2adc31220a5c67e8d856dfd6d9ec5.jpg","text":"TemporaryFile(/tmp/multipartBody4962020416019017154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774662621,"filename":"image_22112025_02_20_41_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/446dc63f57415525eabea314d5bb03ce.jpg","text":"TemporaryFile(/tmp/multipartBody2813092743608494255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774662621,"filename":"image_22112025_02_20_46_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d802484dc68aa401f4e0367b37a2f363.jpg","text":"TemporaryFile(/tmp/multipartBody2476270327095876747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774662621,"filename":"image_22112025_02_20_55_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0db2c70271fb923724c1678c807acac2.jpg","text":"TemporaryFile(/tmp/multipartBody4135844330323584037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774662621,"filename":"image_22112025_02_20_53_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/597e42d828643ca4b67d377340dd1ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4327503360273308153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774662621,"filename":"image_22112025_02_20_44_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657802","file1":"1395657799","file0":"1395657795","file4":"1395657807","file5":"1395657810","file3":"1395657805"},"map_files_photo_id_array":[{"photo_id":"1395657810","filename":"file5"},{"photo_id":"1395657802","filename":"file2"},{"photo_id":"1395657807","filename":"file4"},{"photo_id":"1395657799","filename":"file1"},{"photo_id":"1395657795","filename":"file0"},{"photo_id":"1395657805","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657805":["hashtag1","hashtag2"]},{"1395657795":["hashtag1","hashtag2"]},{"1395657802":["hashtag1","hashtag2"]},{"1395657810":["hashtag1","hashtag2"]},{"1395657807":["hashtag1","hashtag2"]},{"1395657799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657805, 1395657795, 1395657802, 1395657810, 1395657807, 1395657799)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.79814314842224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:24:26.135984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_59_3546.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_07_3011.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_10_3579.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_16_5317.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_19_1548.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_25_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/20/image_22112025_02_20_59_3546.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_07_3011.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_10_3579.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_16_5317.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_19_1548.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_25_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657838","1395657834","1395657831","1395657824","1395657827","1395657836"],"photo_ids_order":["1395657824","1395657827","1395657831","1395657834","1395657836","1395657838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c43563e6277d6640d20298a997387f1.jpg","text":"TemporaryFile(/tmp/multipartBody836051025768370598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774726849,"filename":"image_22112025_02_22_25_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8bef933b71169150ecdecbeae99680b.jpg","text":"TemporaryFile(/tmp/multipartBody9211048830066127666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774726849,"filename":"image_22112025_02_22_16_5317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dd29725e27100718729e41f09b4e491.jpg","text":"TemporaryFile(/tmp/multipartBody8316490542185307279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774726849,"filename":"image_22112025_02_22_10_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02087e5f5ca2b46a97bf9af576917a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2467457572501753049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774726849,"filename":"image_22112025_02_20_59_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e01a978194b14665e355d6b928f3536.jpg","text":"TemporaryFile(/tmp/multipartBody3497433443020048141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774726849,"filename":"image_22112025_02_22_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6e74a1b5f66f3383b8b4a904fa34507.jpg","text":"TemporaryFile(/tmp/multipartBody7719847976224564224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774726849,"filename":"image_22112025_02_22_19_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657831","file1":"1395657827","file0":"1395657824","file4":"1395657836","file5":"1395657838","file3":"1395657834"},"map_files_photo_id_array":[{"photo_id":"1395657838","filename":"file5"},{"photo_id":"1395657831","filename":"file2"},{"photo_id":"1395657836","filename":"file4"},{"photo_id":"1395657827","filename":"file1"},{"photo_id":"1395657824","filename":"file0"},{"photo_id":"1395657834","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657838":["hashtag1","hashtag2"]},{"1395657834":["hashtag1","hashtag2"]},{"1395657831":["hashtag1","hashtag2"]},{"1395657824":["hashtag1","hashtag2"]},{"1395657827":["hashtag1","hashtag2"]},{"1395657836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657838, 1395657834, 1395657831, 1395657824, 1395657827, 1395657836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31265687942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:25:03.001342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_28_2525.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_31_3527.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_34_2845.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_38_3495.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_41_2766.jpg', '/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_43_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_28_2525.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_31_3527.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_34_2845.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_38_3495.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_41_2766.jpg
/home/pi/Desktop/images/22112025/02/22/image_22112025_02_22_43_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657894","1395657897","1395657891","1395657888","1395657852","1395657849"],"photo_ids_order":["1395657849","1395657852","1395657888","1395657891","1395657894","1395657897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3aa9edd3d44a5f4f68ea50b31d8a73a.jpg","text":"TemporaryFile(/tmp/multipartBody4130074267531299404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774763732,"filename":"image_22112025_02_22_41_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e481b2fed228e37a7a873f4eb357448a.jpg","text":"TemporaryFile(/tmp/multipartBody293848452965771915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774763732,"filename":"image_22112025_02_22_43_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84568778e23970ebfb4190fde02d51fd.jpg","text":"TemporaryFile(/tmp/multipartBody3716773605419038835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774763732,"filename":"image_22112025_02_22_38_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7a6e73b3d30eb220479622616784f4b.jpg","text":"TemporaryFile(/tmp/multipartBody1768944010649099346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774763732,"filename":"image_22112025_02_22_34_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57282788895ed535139c1633e4ed48e6.jpg","text":"TemporaryFile(/tmp/multipartBody137693949621359533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774763732,"filename":"image_22112025_02_22_31_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d191d7008332396e801f14b55e22330.jpg","text":"TemporaryFile(/tmp/multipartBody997767959772277474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774763732,"filename":"image_22112025_02_22_28_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657888","file1":"1395657852","file0":"1395657849","file4":"1395657894","file5":"1395657897","file3":"1395657891"},"map_files_photo_id_array":[{"photo_id":"1395657897","filename":"file5"},{"photo_id":"1395657888","filename":"file2"},{"photo_id":"1395657894","filename":"file4"},{"photo_id":"1395657852","filename":"file1"},{"photo_id":"1395657849","filename":"file0"},{"photo_id":"1395657891","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657894":["hashtag1","hashtag2"]},{"1395657897":["hashtag1","hashtag2"]},{"1395657891":["hashtag1","hashtag2"]},{"1395657888":["hashtag1","hashtag2"]},{"1395657852":["hashtag1","hashtag2"]},{"1395657849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657894, 1395657897, 1395657891, 1395657888, 1395657852, 1395657849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93275856971741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:25:42.369327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_07_3218.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_10_3109.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_21_1618.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_23_1575.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_24_1643.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_26_1737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_07_3218.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_10_3109.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_21_1618.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_23_1575.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_24_1643.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_26_1737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657910","1395657915","1395657909","1395657906","1395657911","1395657908"],"photo_ids_order":["1395657906","1395657908","1395657909","1395657910","1395657911","1395657915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3e0102ffda2e526577336a33317d03d.jpg","text":"TemporaryFile(/tmp/multipartBody6916637826963897168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774803103,"filename":"image_22112025_02_24_23_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50810dfe04178c71b770e4eb5250f0ef.jpg","text":"TemporaryFile(/tmp/multipartBody1789957901260491571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774803103,"filename":"image_22112025_02_24_26_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de8d69b975c1ec63bd71a594b4bd9046.jpg","text":"TemporaryFile(/tmp/multipartBody6454309947223899039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774803103,"filename":"image_22112025_02_24_21_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d16c0987fd56a02ce6703a3b3fd9b7f5.jpg","text":"TemporaryFile(/tmp/multipartBody6240825222050633182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774803103,"filename":"image_22112025_02_24_07_3218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa9aa72c1715601047829b361404220d.jpg","text":"TemporaryFile(/tmp/multipartBody6221944667698383835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774803103,"filename":"image_22112025_02_24_24_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7da8f90f5f875f2dae8a9dbf02fbdddb.jpg","text":"TemporaryFile(/tmp/multipartBody3276833835692833249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774803103,"filename":"image_22112025_02_24_10_3109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657909","file1":"1395657908","file0":"1395657906","file4":"1395657911","file5":"1395657915","file3":"1395657910"},"map_files_photo_id_array":[{"photo_id":"1395657915","filename":"file5"},{"photo_id":"1395657909","filename":"file2"},{"photo_id":"1395657911","filename":"file4"},{"photo_id":"1395657908","filename":"file1"},{"photo_id":"1395657906","filename":"file0"},{"photo_id":"1395657910","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657910":["hashtag1","hashtag2"]},{"1395657915":["hashtag1","hashtag2"]},{"1395657909":["hashtag1","hashtag2"]},{"1395657906":["hashtag1","hashtag2"]},{"1395657911":["hashtag1","hashtag2"]},{"1395657908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657910, 1395657915, 1395657909, 1395657906, 1395657911, 1395657908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58102369308472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:26:22.056401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_28_1535.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_31_3672.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_38_6287.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_46_3528.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_49_2756.jpg', '/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_55_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_28_1535.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_31_3672.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_38_6287.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_46_3528.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_49_2756.jpg
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_55_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657952","1395657940","1395657943","1395657950","1395657947","1395657935"],"photo_ids_order":["1395657935","1395657940","1395657943","1395657947","1395657950","1395657952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/714440114a106480b65af8520fd12bbb.jpg","text":"TemporaryFile(/tmp/multipartBody8435952589852873415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774842757,"filename":"image_22112025_02_24_55_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e88f2464a58a344df4bef0245834887.jpg","text":"TemporaryFile(/tmp/multipartBody2414245953466788775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774842757,"filename":"image_22112025_02_24_31_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a49217891e234f79d4ae99f1c9dad704.jpg","text":"TemporaryFile(/tmp/multipartBody4393310342636426988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774842757,"filename":"image_22112025_02_24_38_6287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3d7c3c34c8bd7187a91b998a4576a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7027818622908511117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774842757,"filename":"image_22112025_02_24_49_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e30a90ddeb1ace56fdd82545f4b0e7a4.jpg","text":"TemporaryFile(/tmp/multipartBody9068908172682818943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774842757,"filename":"image_22112025_02_24_46_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea7adc02d094ed254214ea9aa1134323.jpg","text":"TemporaryFile(/tmp/multipartBody7059725997375032954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774842757,"filename":"image_22112025_02_24_28_1535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657943","file1":"1395657940","file0":"1395657935","file4":"1395657950","file5":"1395657952","file3":"1395657947"},"map_files_photo_id_array":[{"photo_id":"1395657952","filename":"file5"},{"photo_id":"1395657943","filename":"file2"},{"photo_id":"1395657950","filename":"file4"},{"photo_id":"1395657940","filename":"file1"},{"photo_id":"1395657935","filename":"file0"},{"photo_id":"1395657947","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657952":["hashtag1","hashtag2"]},{"1395657940":["hashtag1","hashtag2"]},{"1395657943":["hashtag1","hashtag2"]},{"1395657950":["hashtag1","hashtag2"]},{"1395657947":["hashtag1","hashtag2"]},{"1395657935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657952, 1395657940, 1395657943, 1395657950, 1395657947, 1395657935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39840245246887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:27:02.952736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_58_2593.jpg', '/home/pi/Desktop/images/22112025/02/25/image_22112025_02_25_06_8281.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_07_3019.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_11_3619.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_13_2783.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_20_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_58_2593.jpg
/home/pi/Desktop/images/22112025/02/25/image_22112025_02_25_06_8281.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_07_3019.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_11_3619.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_13_2783.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_20_3604.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6296782493591309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:27:22.242260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_58_2593.jpg', '/home/pi/Desktop/images/22112025/02/25/image_22112025_02_25_06_8281.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_07_3019.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_11_3619.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_13_2783.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_20_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/24/image_22112025_02_24_58_2593.jpg
/home/pi/Desktop/images/22112025/02/25/image_22112025_02_25_06_8281.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_07_3019.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_11_3619.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_13_2783.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_20_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657985","1395657981","1395657975","1395657978","1395657987","1395657983"],"photo_ids_order":["1395657975","1395657978","1395657981","1395657983","1395657985","1395657987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fa634a4984b47c1802cf229facff09f.jpg","text":"TemporaryFile(/tmp/multipartBody2449064601911332065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774902910,"filename":"image_22112025_02_26_13_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0693accc664d300a94f2c7277d3c71b.jpg","text":"TemporaryFile(/tmp/multipartBody6264683080806997385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774902910,"filename":"image_22112025_02_26_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/430d8259759892c3c34dee0afd98c10a.jpg","text":"TemporaryFile(/tmp/multipartBody6192112767028035802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774902910,"filename":"image_22112025_02_24_58_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85085211d5b7483f862243400c979494.jpg","text":"TemporaryFile(/tmp/multipartBody6100722652024096002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774902910,"filename":"image_22112025_02_25_06_8281.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a30ec8d2a9d32ac4e621a68e4c3ce86.jpg","text":"TemporaryFile(/tmp/multipartBody7425100297010172006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774902910,"filename":"image_22112025_02_26_20_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f466e1d996fa5ed7db8bf38a0152c04.jpg","text":"TemporaryFile(/tmp/multipartBody2393368958957140925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774902910,"filename":"image_22112025_02_26_11_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657981","file1":"1395657978","file0":"1395657975","file4":"1395657985","file5":"1395657987","file3":"1395657983"},"map_files_photo_id_array":[{"photo_id":"1395657987","filename":"file5"},{"photo_id":"1395657981","filename":"file2"},{"photo_id":"1395657985","filename":"file4"},{"photo_id":"1395657978","filename":"file1"},{"photo_id":"1395657975","filename":"file0"},{"photo_id":"1395657983","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657985":["hashtag1","hashtag2"]},{"1395657981":["hashtag1","hashtag2"]},{"1395657975":["hashtag1","hashtag2"]},{"1395657978":["hashtag1","hashtag2"]},{"1395657987":["hashtag1","hashtag2"]},{"1395657983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657985, 1395657981, 1395657975, 1395657978, 1395657987, 1395657983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22952914237976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:28:03.070137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_22_2609.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_29_2751.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_36_4508.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_40_2598.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_44_3688.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_49_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_22_2609.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_29_2751.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_36_4508.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_40_2598.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_44_3688.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_49_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395657994","1395657988","1395657990","1395657992","1395657998","1395658001"],"photo_ids_order":["1395657988","1395657990","1395657992","1395657994","1395657998","1395658001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54b879737a872dd2042a38004342e328.jpg","text":"TemporaryFile(/tmp/multipartBody6798066160606702519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774943736,"filename":"image_22112025_02_26_40_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffc812adaec2efe8b81ebed76a91940f.jpg","text":"TemporaryFile(/tmp/multipartBody4152376744534855137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774943736,"filename":"image_22112025_02_26_22_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ae229101b80b063d12e0181c5a3eed4.jpg","text":"TemporaryFile(/tmp/multipartBody8204731905193380083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774943736,"filename":"image_22112025_02_26_29_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55a9f57d04f912490a68a4c292bb54d0.jpg","text":"TemporaryFile(/tmp/multipartBody2153581611433045609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774943736,"filename":"image_22112025_02_26_36_4508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e6d479a8138b6d68112b9229631b608.jpg","text":"TemporaryFile(/tmp/multipartBody7803884487682218105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774943736,"filename":"image_22112025_02_26_44_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e9ac628f2980f67010dab92639242cf.jpg","text":"TemporaryFile(/tmp/multipartBody4109403326924489347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774943736,"filename":"image_22112025_02_26_49_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395657992","file1":"1395657990","file0":"1395657988","file4":"1395657998","file5":"1395658001","file3":"1395657994"},"map_files_photo_id_array":[{"photo_id":"1395658001","filename":"file5"},{"photo_id":"1395657992","filename":"file2"},{"photo_id":"1395657998","filename":"file4"},{"photo_id":"1395657990","filename":"file1"},{"photo_id":"1395657988","filename":"file0"},{"photo_id":"1395657994","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395657994":["hashtag1","hashtag2"]},{"1395657988":["hashtag1","hashtag2"]},{"1395657990":["hashtag1","hashtag2"]},{"1395657992":["hashtag1","hashtag2"]},{"1395657998":["hashtag1","hashtag2"]},{"1395658001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395657994, 1395657988, 1395657990, 1395657992, 1395657998, 1395658001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.313599824905396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:28:42.449618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_53_3588.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_55_2702.jpg', '/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_58_2608.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_07_3012.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_11_3696.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_13_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_53_3588.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_55_2702.jpg
/home/pi/Desktop/images/22112025/02/26/image_22112025_02_26_58_2608.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_07_3012.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_11_3696.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_13_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658033","1395658018","1395658029","1395658020","1395658019","1395658016"],"photo_ids_order":["1395658016","1395658018","1395658019","1395658020","1395658029","1395658033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db927baa6735050872746cd12302bc7f.jpg","text":"TemporaryFile(/tmp/multipartBody7874912175192209561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774983118,"filename":"image_22112025_02_28_13_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e6d2f6a7f105969581651a5872c992a.jpg","text":"TemporaryFile(/tmp/multipartBody8667038411692508947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774983118,"filename":"image_22112025_02_26_55_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2e27c4315964cf52bba9c36ecff9ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4174642191137582375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774983118,"filename":"image_22112025_02_28_11_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca5c07f33f0c809b17bf2c19a7061709.jpg","text":"TemporaryFile(/tmp/multipartBody8970101357036315501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774983118,"filename":"image_22112025_02_28_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd68658e7c72c590b616f3c1b149608a.jpg","text":"TemporaryFile(/tmp/multipartBody3188592127129883356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774983118,"filename":"image_22112025_02_26_58_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a9baffcc5327147738f691ef7b5a3e3.jpg","text":"TemporaryFile(/tmp/multipartBody5022862739739536539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763774983118,"filename":"image_22112025_02_26_53_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658019","file1":"1395658018","file0":"1395658016","file4":"1395658029","file5":"1395658033","file3":"1395658020"},"map_files_photo_id_array":[{"photo_id":"1395658033","filename":"file5"},{"photo_id":"1395658019","filename":"file2"},{"photo_id":"1395658029","filename":"file4"},{"photo_id":"1395658018","filename":"file1"},{"photo_id":"1395658016","filename":"file0"},{"photo_id":"1395658020","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658033":["hashtag1","hashtag2"]},{"1395658018":["hashtag1","hashtag2"]},{"1395658029":["hashtag1","hashtag2"]},{"1395658020":["hashtag1","hashtag2"]},{"1395658019":["hashtag1","hashtag2"]},{"1395658016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658033, 1395658018, 1395658029, 1395658020, 1395658019, 1395658016)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.933980226516724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:29:42.740548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_17_3590.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_20_2728.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_22_2657.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_25_2695.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_29_3571.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_35_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_17_3590.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_20_2728.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_22_2657.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_25_2695.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_29_3571.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_35_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658057","1395658056","1395658065","1395658053","1395658061","1395658055"],"photo_ids_order":["1395658053","1395658055","1395658056","1395658057","1395658061","1395658065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ab3f4aa02cb8b4dd82a352ec4a93408.jpg","text":"TemporaryFile(/tmp/multipartBody6058634336253685427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775043426,"filename":"image_22112025_02_28_25_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/384b6263853f32aebe7f8ffa7f67bd5e.jpg","text":"TemporaryFile(/tmp/multipartBody7109018052215653619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775043426,"filename":"image_22112025_02_28_22_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1491a64a176174e0b6e2298023da5657.jpg","text":"TemporaryFile(/tmp/multipartBody101302451769230889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775043426,"filename":"image_22112025_02_28_35_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e8fcf6ff92719f6dbd16157d1404666.jpg","text":"TemporaryFile(/tmp/multipartBody7897916981767588085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775043426,"filename":"image_22112025_02_28_17_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fedd10d6ffe31787bc7e9cf740181c08.jpg","text":"TemporaryFile(/tmp/multipartBody4777408233890321517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775043426,"filename":"image_22112025_02_28_29_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc90b203ab6f7a01d677defbca19fa65.jpg","text":"TemporaryFile(/tmp/multipartBody7984076420751992747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775043426,"filename":"image_22112025_02_28_20_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658056","file1":"1395658055","file0":"1395658053","file4":"1395658061","file5":"1395658065","file3":"1395658057"},"map_files_photo_id_array":[{"photo_id":"1395658065","filename":"file5"},{"photo_id":"1395658056","filename":"file2"},{"photo_id":"1395658061","filename":"file4"},{"photo_id":"1395658055","filename":"file1"},{"photo_id":"1395658053","filename":"file0"},{"photo_id":"1395658057","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658057":["hashtag1","hashtag2"]},{"1395658056":["hashtag1","hashtag2"]},{"1395658065":["hashtag1","hashtag2"]},{"1395658053":["hashtag1","hashtag2"]},{"1395658061":["hashtag1","hashtag2"]},{"1395658055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658057, 1395658056, 1395658065, 1395658053, 1395658061, 1395658055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26368594169617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:30:21.954235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_37_2564.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_44_3686.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_46_2635.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_49_2653.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_53_3628.jpg', '/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_58_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_37_2564.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_44_3686.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_46_2635.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_49_2653.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_53_3628.jpg
/home/pi/Desktop/images/22112025/02/28/image_22112025_02_28_58_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658075","1395658095","1395658083","1395658086","1395658079","1395658070"],"photo_ids_order":["1395658070","1395658075","1395658079","1395658083","1395658086","1395658095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acfa070cf5d5d912ceb85cdf9edf1081.jpg","text":"TemporaryFile(/tmp/multipartBody5786950484924913655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775082651,"filename":"image_22112025_02_28_44_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44f777a4f57493324105bf2fefdb3572.jpg","text":"TemporaryFile(/tmp/multipartBody4489078162932732245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775082651,"filename":"image_22112025_02_28_58_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1312df5616aae667ace0db071ee128a.jpg","text":"TemporaryFile(/tmp/multipartBody5409540820983639982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775082651,"filename":"image_22112025_02_28_49_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f523b973d001b359265bd9b0b2de4824.jpg","text":"TemporaryFile(/tmp/multipartBody7168713547519577550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775082651,"filename":"image_22112025_02_28_53_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84913b82009785a5aa49cff3fc1cc4cb.jpg","text":"TemporaryFile(/tmp/multipartBody8777419480920817547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775082651,"filename":"image_22112025_02_28_46_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55950bc622a2819d7aad712c19a5cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody1700429549470380202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775082651,"filename":"image_22112025_02_28_37_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658079","file1":"1395658075","file0":"1395658070","file4":"1395658086","file5":"1395658095","file3":"1395658083"},"map_files_photo_id_array":[{"photo_id":"1395658095","filename":"file5"},{"photo_id":"1395658079","filename":"file2"},{"photo_id":"1395658086","filename":"file4"},{"photo_id":"1395658075","filename":"file1"},{"photo_id":"1395658070","filename":"file0"},{"photo_id":"1395658083","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658075":["hashtag1","hashtag2"]},{"1395658095":["hashtag1","hashtag2"]},{"1395658083":["hashtag1","hashtag2"]},{"1395658086":["hashtag1","hashtag2"]},{"1395658079":["hashtag1","hashtag2"]},{"1395658070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658075, 1395658095, 1395658083, 1395658086, 1395658079, 1395658070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45599412918091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:31:02.699345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_02_3684.jpg', '/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_04_2580.jpg', '/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_07_2739.jpg', '/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_10_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_02_3684.jpg
/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_04_2580.jpg
/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_07_2739.jpg
/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_10_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658102","1395658101","1395658103","1395658100"],"photo_ids_order":["1395658100","1395658101","1395658102","1395658103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd0380135f61469a45339614834e3857.jpg","text":"TemporaryFile(/tmp/multipartBody1985774892337383387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775123379,"filename":"image_22112025_02_29_07_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd16df771e2b6f5ebbe097a8d253b363.jpg","text":"TemporaryFile(/tmp/multipartBody8344634335476743747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775123379,"filename":"image_22112025_02_29_04_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08b7baa4c851526ae9f81409b731b49a.jpg","text":"TemporaryFile(/tmp/multipartBody7360458020850994690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775123379,"filename":"image_22112025_02_29_10_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/022dd2c470b8c1d2b41f41e3c7d6c30a.jpg","text":"TemporaryFile(/tmp/multipartBody2925543840320832036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775123379,"filename":"image_22112025_02_29_02_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658102","file1":"1395658101","file0":"1395658100","file3":"1395658103"},"map_files_photo_id_array":[{"photo_id":"1395658102","filename":"file2"},{"photo_id":"1395658101","filename":"file1"},{"photo_id":"1395658100","filename":"file0"},{"photo_id":"1395658103","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658102":["hashtag1","hashtag2"]},{"1395658101":["hashtag1","hashtag2"]},{"1395658103":["hashtag1","hashtag2"]},{"1395658100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658102, 1395658101, 1395658103, 1395658100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.090858697891235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:31:41.979665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_13_2617.jpg', '/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_10_5606.jpg', '/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_13_2893.jpg', '/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_15_1633.jpg', '/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_29_14193.jpg', '/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_31_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/29/image_22112025_02_29_13_2617.jpg
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_10_5606.jpg
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_13_2893.jpg
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_15_1633.jpg
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_29_14193.jpg
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_31_1788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658168","1395658166","1395658163","1395658121","1395658145","1395658159"],"photo_ids_order":["1395658121","1395658145","1395658159","1395658163","1395658166","1395658168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1dcd1386652b8fe365ff6f7994cc1735.jpg","text":"TemporaryFile(/tmp/multipartBody6706486890720780885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775162647,"filename":"image_22112025_02_30_31_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0a4b92fe092a0d898f0c26015095ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7523295001589218384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775162647,"filename":"image_22112025_02_30_29_14193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7fd077578ae4f93dd6bf19e3ce27d24.jpg","text":"TemporaryFile(/tmp/multipartBody6447788291415862351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775162647,"filename":"image_22112025_02_30_15_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b46e917bc02fbfe0cf85ab5e62a56da.jpg","text":"TemporaryFile(/tmp/multipartBody3719121596766371488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775162647,"filename":"image_22112025_02_29_13_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54609c177aaf2fb73c3bbdb8649f2afc.jpg","text":"TemporaryFile(/tmp/multipartBody4580622385016306071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775162647,"filename":"image_22112025_02_30_10_5606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9cb5b9459138f22c7ac030eaf11da5b.jpg","text":"TemporaryFile(/tmp/multipartBody255412281524997826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775162647,"filename":"image_22112025_02_30_13_2893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658159","file1":"1395658145","file0":"1395658121","file4":"1395658166","file5":"1395658168","file3":"1395658163"},"map_files_photo_id_array":[{"photo_id":"1395658168","filename":"file5"},{"photo_id":"1395658159","filename":"file2"},{"photo_id":"1395658166","filename":"file4"},{"photo_id":"1395658145","filename":"file1"},{"photo_id":"1395658121","filename":"file0"},{"photo_id":"1395658163","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658168":["hashtag1","hashtag2"]},{"1395658166":["hashtag1","hashtag2"]},{"1395658163":["hashtag1","hashtag2"]},{"1395658121":["hashtag1","hashtag2"]},{"1395658145":["hashtag1","hashtag2"]},{"1395658159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658168, 1395658166, 1395658163, 1395658121, 1395658145, 1395658159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94946479797363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:32:22.154484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_32_1504.jpg', '/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_34_1731.jpg', '/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_35_1665.jpg', '/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_37_1635.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_06_3015.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_10_3779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_32_1504.jpg
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_34_1731.jpg
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_35_1665.jpg
/home/pi/Desktop/images/22112025/02/30/image_22112025_02_30_37_1635.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_06_3015.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_10_3779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658174","1395658194","1395658188","1395658184","1395658178","1395658192"],"photo_ids_order":["1395658174","1395658178","1395658184","1395658188","1395658192","1395658194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16a8733b8b6ebbe241ee5a2717d57852.jpg","text":"TemporaryFile(/tmp/multipartBody3891465921851295937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775202844,"filename":"image_22112025_02_30_32_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea2ae4d9ea6da84bd656a606cdb08366.jpg","text":"TemporaryFile(/tmp/multipartBody7676369384901876858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775202844,"filename":"image_22112025_02_31_10_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18ba8553804832352f240c8ce0a86b35.jpg","text":"TemporaryFile(/tmp/multipartBody782544429778093193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775202844,"filename":"image_22112025_02_30_37_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f95d48123eaf8a515a6feb2455f084a9.jpg","text":"TemporaryFile(/tmp/multipartBody170112793171852840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775202844,"filename":"image_22112025_02_30_35_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c43e880a03b243dec52df22d76205c2.jpg","text":"TemporaryFile(/tmp/multipartBody1763769070378699710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775202844,"filename":"image_22112025_02_30_34_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0ef324cf4301db91583fad6515d9c70.jpg","text":"TemporaryFile(/tmp/multipartBody320342074045101791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775202844,"filename":"image_22112025_02_31_06_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658184","file1":"1395658178","file0":"1395658174","file4":"1395658192","file5":"1395658194","file3":"1395658188"},"map_files_photo_id_array":[{"photo_id":"1395658194","filename":"file5"},{"photo_id":"1395658184","filename":"file2"},{"photo_id":"1395658192","filename":"file4"},{"photo_id":"1395658178","filename":"file1"},{"photo_id":"1395658174","filename":"file0"},{"photo_id":"1395658188","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658174":["hashtag1","hashtag2"]},{"1395658194":["hashtag1","hashtag2"]},{"1395658188":["hashtag1","hashtag2"]},{"1395658184":["hashtag1","hashtag2"]},{"1395658178":["hashtag1","hashtag2"]},{"1395658192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658174, 1395658194, 1395658188, 1395658184, 1395658178, 1395658192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96373224258423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:33:03.349207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_12_2622.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_15_2735.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_19_3582.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_21_2691.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_24_2740.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_31_7003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_12_2622.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_15_2735.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_19_3582.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_21_2691.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_24_2740.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_31_7003.jpg
 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":["1395658209","1395658200","1395658196","1395658202","1395658205","1395658198"],"photo_ids_order":["1395658196","1395658198","1395658200","1395658202","1395658205","1395658209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4f4da658f3450a053d600609a026750.jpg","text":"TemporaryFile(/tmp/multipartBody8960499458810332145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775244076,"filename":"image_22112025_02_31_31_7003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbafcc838ca3a6086ea59de0449c2286.jpg","text":"TemporaryFile(/tmp/multipartBody4549443510045668893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775244076,"filename":"image_22112025_02_31_19_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b1801060c1806b98f045c22e72ef669.jpg","text":"TemporaryFile(/tmp/multipartBody2890540406678295275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775244076,"filename":"image_22112025_02_31_12_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d957bae5ff34d5ffad879ea65473a9e6.jpg","text":"TemporaryFile(/tmp/multipartBody3923320297404507988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775244076,"filename":"image_22112025_02_31_21_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5345175d061e98895d63ae20a6a3151.jpg","text":"TemporaryFile(/tmp/multipartBody8057911593893891863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775244076,"filename":"image_22112025_02_31_24_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5cc540d2a823757de8cdc2ff22ea1ca.jpg","text":"TemporaryFile(/tmp/multipartBody6318530143580610261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775244076,"filename":"image_22112025_02_31_15_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658200","file1":"1395658198","file0":"1395658196","file4":"1395658205","file5":"1395658209","file3":"1395658202"},"map_files_photo_id_array":[{"photo_id":"1395658209","filename":"file5"},{"photo_id":"1395658200","filename":"file2"},{"photo_id":"1395658205","filename":"file4"},{"photo_id":"1395658198","filename":"file1"},{"photo_id":"1395658196","filename":"file0"},{"photo_id":"1395658202","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658209":["hashtag1","hashtag2"]},{"1395658200":["hashtag1","hashtag2"]},{"1395658196":["hashtag1","hashtag2"]},{"1395658202":["hashtag1","hashtag2"]},{"1395658205":["hashtag1","hashtag2"]},{"1395658198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658209, 1395658200, 1395658196, 1395658202, 1395658205, 1395658198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.675031900405884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:34:02.635836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_37_6078.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_39_1542.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_40_1642.jpg', '/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_42_1589.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_06_3011.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_10_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_37_6078.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_39_1542.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_40_1642.jpg
/home/pi/Desktop/images/22112025/02/31/image_22112025_02_31_42_1589.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_06_3011.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_10_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658219","1395658224","1395658229","1395658220","1395658223","1395658226"],"photo_ids_order":["1395658219","1395658220","1395658223","1395658224","1395658226","1395658229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/951ac7ead9d72d095076703c349fda73.jpg","text":"TemporaryFile(/tmp/multipartBody3234182847936859626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775303368,"filename":"image_22112025_02_31_37_6078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df91de6763182029f774204c2d1684ff.jpg","text":"TemporaryFile(/tmp/multipartBody8571263867897465296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775303368,"filename":"image_22112025_02_31_42_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bedfcb6bec5c45cbde2ec02d9cfeb85.jpg","text":"TemporaryFile(/tmp/multipartBody1706042934310718678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775303368,"filename":"image_22112025_02_33_10_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a9075bc23bf132c9f8e7d000ee2aece.jpg","text":"TemporaryFile(/tmp/multipartBody4373039903855770658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775303368,"filename":"image_22112025_02_31_39_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c19ad66c52d087373b7ec336d7c42a8.jpg","text":"TemporaryFile(/tmp/multipartBody4317701111882428568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775303368,"filename":"image_22112025_02_31_40_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/890c1ec6a1665585856fc4b2339db014.jpg","text":"TemporaryFile(/tmp/multipartBody2860589577854038219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775303368,"filename":"image_22112025_02_33_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658223","file1":"1395658220","file0":"1395658219","file4":"1395658226","file5":"1395658229","file3":"1395658224"},"map_files_photo_id_array":[{"photo_id":"1395658229","filename":"file5"},{"photo_id":"1395658223","filename":"file2"},{"photo_id":"1395658226","filename":"file4"},{"photo_id":"1395658220","filename":"file1"},{"photo_id":"1395658219","filename":"file0"},{"photo_id":"1395658224","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658219":["hashtag1","hashtag2"]},{"1395658224":["hashtag1","hashtag2"]},{"1395658229":["hashtag1","hashtag2"]},{"1395658220":["hashtag1","hashtag2"]},{"1395658223":["hashtag1","hashtag2"]},{"1395658226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658219, 1395658224, 1395658229, 1395658220, 1395658223, 1395658226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66736340522766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:34:42.019453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_13_2768.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_15_2715.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_19_3578.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_22_2793.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_28_3619.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_34_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_13_2768.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_15_2715.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_19_3578.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_22_2793.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_28_3619.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_34_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658240","1395658242","1395658241","1395658244","1395658238","1395658243"],"photo_ids_order":["1395658238","1395658240","1395658241","1395658242","1395658243","1395658244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f19c2b4f793ae0e2b29ed67d8084da8.jpg","text":"TemporaryFile(/tmp/multipartBody2549290391139078040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775342694,"filename":"image_22112025_02_33_15_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ec6dca16d84f9879d9abdd1340cc35d.jpg","text":"TemporaryFile(/tmp/multipartBody432638291910623715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775342694,"filename":"image_22112025_02_33_22_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b6aa541d07a9f9b434f73b66daeb58e.jpg","text":"TemporaryFile(/tmp/multipartBody8499240891387621952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775342694,"filename":"image_22112025_02_33_19_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66306d396bec84cc8a10bd31649287b4.jpg","text":"TemporaryFile(/tmp/multipartBody471104458417528514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775342694,"filename":"image_22112025_02_33_34_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d5dc61cd619a2d3ba7088ff29bdfd7d.jpg","text":"TemporaryFile(/tmp/multipartBody3003597768663170838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775342694,"filename":"image_22112025_02_33_13_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d7b0fa0d60f60cc5da5444b19d682f0.jpg","text":"TemporaryFile(/tmp/multipartBody7878673449564130265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775342694,"filename":"image_22112025_02_33_28_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658241","file1":"1395658240","file0":"1395658238","file4":"1395658243","file5":"1395658244","file3":"1395658242"},"map_files_photo_id_array":[{"photo_id":"1395658244","filename":"file5"},{"photo_id":"1395658241","filename":"file2"},{"photo_id":"1395658243","filename":"file4"},{"photo_id":"1395658240","filename":"file1"},{"photo_id":"1395658238","filename":"file0"},{"photo_id":"1395658242","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658240":["hashtag1","hashtag2"]},{"1395658242":["hashtag1","hashtag2"]},{"1395658241":["hashtag1","hashtag2"]},{"1395658244":["hashtag1","hashtag2"]},{"1395658238":["hashtag1","hashtag2"]},{"1395658243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658240, 1395658242, 1395658241, 1395658244, 1395658238, 1395658243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58350682258606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:35:22.232578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_40_2587.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_42_2619.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_46_3702.jpg', '/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_52_2804.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_07_3011.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_10_3774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_40_2587.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_42_2619.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_46_3702.jpg
/home/pi/Desktop/images/22112025/02/33/image_22112025_02_33_52_2804.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_07_3011.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_10_3774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658260","1395658254","1395658263","1395658257","1395658251","1395658265"],"photo_ids_order":["1395658251","1395658254","1395658257","1395658260","1395658263","1395658265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2de106f2d2d99481e21c5cd0adda93e.jpg","text":"TemporaryFile(/tmp/multipartBody445270706484198995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775382908,"filename":"image_22112025_02_33_52_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb806fecec43bec5a1f0eaa1e099bab4.jpg","text":"TemporaryFile(/tmp/multipartBody6528246212989578650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775382908,"filename":"image_22112025_02_33_42_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a52075204472356004d4de93013e691.jpg","text":"TemporaryFile(/tmp/multipartBody7579404772658505788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775382908,"filename":"image_22112025_02_35_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4884299b2063049ff7f6787598515672.jpg","text":"TemporaryFile(/tmp/multipartBody5394813581657803671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775382908,"filename":"image_22112025_02_33_46_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b399fa6a71771055bcf7acb916be6677.jpg","text":"TemporaryFile(/tmp/multipartBody8660748064242430736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775382908,"filename":"image_22112025_02_33_40_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5391d8c12cc6c2c411a490f2b1f71637.jpg","text":"TemporaryFile(/tmp/multipartBody6973373529445074353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775382908,"filename":"image_22112025_02_35_10_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658257","file1":"1395658254","file0":"1395658251","file4":"1395658263","file5":"1395658265","file3":"1395658260"},"map_files_photo_id_array":[{"photo_id":"1395658265","filename":"file5"},{"photo_id":"1395658257","filename":"file2"},{"photo_id":"1395658263","filename":"file4"},{"photo_id":"1395658254","filename":"file1"},{"photo_id":"1395658251","filename":"file0"},{"photo_id":"1395658260","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658260":["hashtag1","hashtag2"]},{"1395658254":["hashtag1","hashtag2"]},{"1395658263":["hashtag1","hashtag2"]},{"1395658257":["hashtag1","hashtag2"]},{"1395658251":["hashtag1","hashtag2"]},{"1395658265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658260, 1395658254, 1395658263, 1395658257, 1395658251, 1395658265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.509976863861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:36:02.983983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_13_2665.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_16_2580.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_27_11870.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_29_1604.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_34_1634.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_36_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_13_2665.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_16_2580.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_27_11870.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_29_1604.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_34_1634.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_36_1658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658299","1395658296","1395658295","1395658302","1395658294","1395658297"],"photo_ids_order":["1395658294","1395658295","1395658296","1395658297","1395658299","1395658302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4eddcdc2f32615dc1b436eb2280762c1.jpg","text":"TemporaryFile(/tmp/multipartBody9071621784765355593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775423647,"filename":"image_22112025_02_35_34_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/073991232f9d257b7ff2283a26811af9.jpg","text":"TemporaryFile(/tmp/multipartBody3052776753232545953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775423647,"filename":"image_22112025_02_35_27_11870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63a8a0f0570256b649b2572e90faaaea.jpg","text":"TemporaryFile(/tmp/multipartBody5471282235077479614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775423647,"filename":"image_22112025_02_35_16_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c23b3d34b7e8baa87c278449c7297c3.jpg","text":"TemporaryFile(/tmp/multipartBody8805603049521295221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775423647,"filename":"image_22112025_02_35_36_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a4e07649312c6aed7cbff39ebafdfe7.jpg","text":"TemporaryFile(/tmp/multipartBody8034548847896079334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775423647,"filename":"image_22112025_02_35_13_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aefa79b4192038450907bf33be6a0416.jpg","text":"TemporaryFile(/tmp/multipartBody6118580862916481192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775423647,"filename":"image_22112025_02_35_29_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658296","file1":"1395658295","file0":"1395658294","file4":"1395658299","file5":"1395658302","file3":"1395658297"},"map_files_photo_id_array":[{"photo_id":"1395658302","filename":"file5"},{"photo_id":"1395658296","filename":"file2"},{"photo_id":"1395658299","filename":"file4"},{"photo_id":"1395658295","filename":"file1"},{"photo_id":"1395658294","filename":"file0"},{"photo_id":"1395658297","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658299":["hashtag1","hashtag2"]},{"1395658296":["hashtag1","hashtag2"]},{"1395658295":["hashtag1","hashtag2"]},{"1395658302":["hashtag1","hashtag2"]},{"1395658294":["hashtag1","hashtag2"]},{"1395658297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658299, 1395658296, 1395658295, 1395658302, 1395658294, 1395658297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0726261138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:36:42.522805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_37_1715.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_41_3587.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_43_2510.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_46_2638.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_49_2658.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_52_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_37_1715.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_41_3587.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_43_2510.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_46_2638.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_49_2658.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_52_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658312","1395658315","1395658311","1395658314","1395658316","1395658313"],"photo_ids_order":["1395658311","1395658312","1395658313","1395658314","1395658315","1395658316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e20073e627627c3325bc287811e1427d.jpg","text":"TemporaryFile(/tmp/multipartBody2686337224399103629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775463191,"filename":"image_22112025_02_35_41_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c758ee6dcaf81738fe9fb3cb181391c8.jpg","text":"TemporaryFile(/tmp/multipartBody1986166636395237378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775463191,"filename":"image_22112025_02_35_49_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/333fcc002c93104a81fffcbdb5e12172.jpg","text":"TemporaryFile(/tmp/multipartBody7234517767281879248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775463191,"filename":"image_22112025_02_35_37_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0bd13db5cc71750ee873ad5c7cf97cc.jpg","text":"TemporaryFile(/tmp/multipartBody9146710994684468682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775463191,"filename":"image_22112025_02_35_46_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d8bf5cc337fa14e012e5c00abcf4dfc.jpg","text":"TemporaryFile(/tmp/multipartBody892867897881091489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775463191,"filename":"image_22112025_02_35_52_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f9a777b6ff3173f28d971441539e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody1728407975871057475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775463191,"filename":"image_22112025_02_35_43_2510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658313","file1":"1395658312","file0":"1395658311","file4":"1395658315","file5":"1395658316","file3":"1395658314"},"map_files_photo_id_array":[{"photo_id":"1395658316","filename":"file5"},{"photo_id":"1395658313","filename":"file2"},{"photo_id":"1395658315","filename":"file4"},{"photo_id":"1395658312","filename":"file1"},{"photo_id":"1395658311","filename":"file0"},{"photo_id":"1395658314","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658312":["hashtag1","hashtag2"]},{"1395658315":["hashtag1","hashtag2"]},{"1395658311":["hashtag1","hashtag2"]},{"1395658314":["hashtag1","hashtag2"]},{"1395658316":["hashtag1","hashtag2"]},{"1395658313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658312, 1395658315, 1395658311, 1395658314, 1395658316, 1395658313)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395658313 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_43_2510.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 66.93809628486633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:38:02.311675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:38:21.873237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_55_2654.jpg', '/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_58_2885.jpg', '/home/pi/Desktop/images/22112025/02/36/image_22112025_02_36_04_3611.jpg', '/home/pi/Desktop/images/22112025/02/36/image_22112025_02_36_07_2552.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_07_3018.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_11_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_55_2654.jpg
/home/pi/Desktop/images/22112025/02/35/image_22112025_02_35_58_2885.jpg
/home/pi/Desktop/images/22112025/02/36/image_22112025_02_36_04_3611.jpg
/home/pi/Desktop/images/22112025/02/36/image_22112025_02_36_07_2552.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_07_3018.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_11_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658351","1395658339","1395658353","1395658346","1395658349","1395658343"],"photo_ids_order":["1395658339","1395658343","1395658346","1395658349","1395658351","1395658353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee74bd6ca180c2c76b95fdf45ce8b754.jpg","text":"TemporaryFile(/tmp/multipartBody6993793227351185866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775562573,"filename":"image_22112025_02_37_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c53d47c69cdfd73932825666e7b4dcf.jpg","text":"TemporaryFile(/tmp/multipartBody4546004810043804757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775562573,"filename":"image_22112025_02_35_55_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bc4f1f7b35a87871a70e5d6a45e3ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3128175431986382476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775562573,"filename":"image_22112025_02_37_11_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8711c53ec57dd74b1ee970e8090448a5.jpg","text":"TemporaryFile(/tmp/multipartBody3993622116051265853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775562573,"filename":"image_22112025_02_36_04_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/968385fd1c1a67a006f0b762ace4b0b9.jpg","text":"TemporaryFile(/tmp/multipartBody8348872962368670986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775562573,"filename":"image_22112025_02_36_07_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72177963567767c9d4fa78db8e0d1c1b.jpg","text":"TemporaryFile(/tmp/multipartBody3104221952270141559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775562573,"filename":"image_22112025_02_35_58_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658346","file1":"1395658343","file0":"1395658339","file4":"1395658351","file5":"1395658353","file3":"1395658349"},"map_files_photo_id_array":[{"photo_id":"1395658353","filename":"file5"},{"photo_id":"1395658346","filename":"file2"},{"photo_id":"1395658351","filename":"file4"},{"photo_id":"1395658343","filename":"file1"},{"photo_id":"1395658339","filename":"file0"},{"photo_id":"1395658349","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658351":["hashtag1","hashtag2"]},{"1395658339":["hashtag1","hashtag2"]},{"1395658353":["hashtag1","hashtag2"]},{"1395658346":["hashtag1","hashtag2"]},{"1395658349":["hashtag1","hashtag2"]},{"1395658343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658351, 1395658339, 1395658353, 1395658346, 1395658349, 1395658343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.10925507545471 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:39:31.738717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_13_2684.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_17_3535.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_22_2687.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_25_2686.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_31_2932.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_34_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_13_2684.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_17_3535.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_22_2687.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_25_2686.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_31_2932.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_34_2665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5241329669952393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:39:51.681164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_13_2684.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_17_3535.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_22_2687.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_25_2686.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_31_2932.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_34_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_13_2684.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_17_3535.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_22_2687.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_25_2686.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_31_2932.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_34_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395658606","1395658566","1395658532","1395658693","1395658654","1395658498"],"photo_ids_order":["1395658498","1395658532","1395658566","1395658606","1395658654","1395658693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2c15cf6371a5f3f489032f028359146.jpg","text":"TemporaryFile(/tmp/multipartBody4181416919444628258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775652342,"filename":"image_22112025_02_37_25_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f525663212ff2df6e1b75a0471411616.jpg","text":"TemporaryFile(/tmp/multipartBody6823480161898846064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775652342,"filename":"image_22112025_02_37_22_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d40d7c7039ad8d32561cd402d592cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2622514281388043891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775652342,"filename":"image_22112025_02_37_17_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3accbe014a052f2895bcbaea2e1c513f.jpg","text":"TemporaryFile(/tmp/multipartBody7862100983781980661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775652342,"filename":"image_22112025_02_37_34_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b52c18fc94fb77045c4d2cfae2b66cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6971352556708740188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775652342,"filename":"image_22112025_02_37_31_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/931653c6a6bd702b4c3b935aa65b7126.jpg","text":"TemporaryFile(/tmp/multipartBody4499719817697345173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775652342,"filename":"image_22112025_02_37_13_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395658566","file1":"1395658532","file0":"1395658498","file4":"1395658654","file5":"1395658693","file3":"1395658606"},"map_files_photo_id_array":[{"photo_id":"1395658693","filename":"file5"},{"photo_id":"1395658566","filename":"file2"},{"photo_id":"1395658654","filename":"file4"},{"photo_id":"1395658532","filename":"file1"},{"photo_id":"1395658498","filename":"file0"},{"photo_id":"1395658606","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395658606":["hashtag1","hashtag2"]},{"1395658566":["hashtag1","hashtag2"]},{"1395658532":["hashtag1","hashtag2"]},{"1395658693":["hashtag1","hashtag2"]},{"1395658654":["hashtag1","hashtag2"]},{"1395658498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395658606, 1395658566, 1395658532, 1395658693, 1395658654, 1395658498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17502403259277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:40:41.918999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_38_3667.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_43_2712.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_46_2851.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_50_3597.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_52_2660.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_55_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_38_3667.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_43_2712.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_46_2851.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_50_3597.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_52_2660.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_55_2778.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.557349443435669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:41:02.749735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_38_3667.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_43_2712.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_46_2851.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_50_3597.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_52_2660.jpg', '/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_55_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_38_3667.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_43_2712.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_46_2851.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_50_3597.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_52_2660.jpg
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_55_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659253","1395659214","1395659142","1395659294","1395659176","1395659107"],"photo_ids_order":["1395659107","1395659142","1395659176","1395659214","1395659253","1395659294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2adae2d817f157d3ac32eed1b30bcc06.jpg","text":"TemporaryFile(/tmp/multipartBody56954761778344957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775723491,"filename":"image_22112025_02_37_52_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12d1e73f2891b9d6be3cd7f12d4aaf31.jpg","text":"TemporaryFile(/tmp/multipartBody4458842318133327102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775723491,"filename":"image_22112025_02_37_50_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1dd66c6b580f137bdc2721be03fa455.jpg","text":"TemporaryFile(/tmp/multipartBody42004644048886015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775723491,"filename":"image_22112025_02_37_43_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/974ef7c28bc276aa6edd3b2bb5dc2d3a.jpg","text":"TemporaryFile(/tmp/multipartBody3192816524151510656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775723491,"filename":"image_22112025_02_37_55_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/615ca4188b55fc13597aa45256b096ea.jpg","text":"TemporaryFile(/tmp/multipartBody5018841072037142530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775723491,"filename":"image_22112025_02_37_46_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3ab204038ff210706e733d51f9a1a75.jpg","text":"TemporaryFile(/tmp/multipartBody2303823482013336533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775723491,"filename":"image_22112025_02_37_38_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659176","file1":"1395659142","file0":"1395659107","file4":"1395659253","file5":"1395659294","file3":"1395659214"},"map_files_photo_id_array":[{"photo_id":"1395659294","filename":"file5"},{"photo_id":"1395659176","filename":"file2"},{"photo_id":"1395659253","filename":"file4"},{"photo_id":"1395659142","filename":"file1"},{"photo_id":"1395659107","filename":"file0"},{"photo_id":"1395659214","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659253":["hashtag1","hashtag2"]},{"1395659214":["hashtag1","hashtag2"]},{"1395659142":["hashtag1","hashtag2"]},{"1395659294":["hashtag1","hashtag2"]},{"1395659176":["hashtag1","hashtag2"]},{"1395659107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659253, 1395659214, 1395659142, 1395659294, 1395659176, 1395659107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.441911697387695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:41:42.227169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_58_2886.jpg', '/home/pi/Desktop/images/22112025/02/38/image_22112025_02_38_02_3563.jpg', '/home/pi/Desktop/images/22112025/02/38/image_22112025_02_38_04_2708.jpg', '/home/pi/Desktop/images/22112025/02/38/image_22112025_02_38_07_2660.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_06_3019.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_09_3234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/37/image_22112025_02_37_58_2886.jpg
/home/pi/Desktop/images/22112025/02/38/image_22112025_02_38_02_3563.jpg
/home/pi/Desktop/images/22112025/02/38/image_22112025_02_38_04_2708.jpg
/home/pi/Desktop/images/22112025/02/38/image_22112025_02_38_07_2660.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_06_3019.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_09_3234.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659316","1395659424","1395659387","1395659348","1395659318","1395659317"],"photo_ids_order":["1395659316","1395659317","1395659318","1395659348","1395659387","1395659424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7a73586174a904a507da5fae576fa2c.jpg","text":"TemporaryFile(/tmp/multipartBody4755334416374172756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775762895,"filename":"image_22112025_02_37_58_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de5856a128cbb9820f27c6bfcd4e7926.jpg","text":"TemporaryFile(/tmp/multipartBody5456134016806065807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775762895,"filename":"image_22112025_02_39_09_3234.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47d5f771a8528dfc3dbe05001f7097bb.jpg","text":"TemporaryFile(/tmp/multipartBody2692528976463795260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775762895,"filename":"image_22112025_02_39_06_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a574969427d3236085194c1064384f70.jpg","text":"TemporaryFile(/tmp/multipartBody873373147124420239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775762895,"filename":"image_22112025_02_38_07_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/900a8fe0c50cff865e42b291683126e8.jpg","text":"TemporaryFile(/tmp/multipartBody1267279313056414555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775762895,"filename":"image_22112025_02_38_04_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52fdd182896bdebaa00c3145016312e1.jpg","text":"TemporaryFile(/tmp/multipartBody5245081942558801248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775762895,"filename":"image_22112025_02_38_02_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659318","file1":"1395659317","file0":"1395659316","file4":"1395659387","file5":"1395659424","file3":"1395659348"},"map_files_photo_id_array":[{"photo_id":"1395659424","filename":"file5"},{"photo_id":"1395659318","filename":"file2"},{"photo_id":"1395659387","filename":"file4"},{"photo_id":"1395659317","filename":"file1"},{"photo_id":"1395659316","filename":"file0"},{"photo_id":"1395659348","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659316":["hashtag1","hashtag2"]},{"1395659424":["hashtag1","hashtag2"]},{"1395659387":["hashtag1","hashtag2"]},{"1395659348":["hashtag1","hashtag2"]},{"1395659318":["hashtag1","hashtag2"]},{"1395659317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659316, 1395659424, 1395659387, 1395659348, 1395659318, 1395659317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.599037170410156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:42:22.503603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_14_4774.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_16_1667.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_19_2716.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_21_2577.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_25_3673.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_28_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_14_4774.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_16_1667.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_19_2716.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_21_2577.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_25_3673.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_28_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659496","1395659562","1395659553","1395659543","1395659560","1395659524"],"photo_ids_order":["1395659496","1395659524","1395659543","1395659553","1395659560","1395659562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/365016eb9f1baa2fe533b97b95e6abc3.jpg","text":"TemporaryFile(/tmp/multipartBody960841822247702121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775803178,"filename":"image_22112025_02_39_14_4774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa07a75509388bf89f6cb3213d826802.jpg","text":"TemporaryFile(/tmp/multipartBody3408365735965995610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775803178,"filename":"image_22112025_02_39_28_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0af5d1836d1e313daedcac2547af3567.jpg","text":"TemporaryFile(/tmp/multipartBody4275013359842549567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775803178,"filename":"image_22112025_02_39_21_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a618cccf726868758dededeea8ab8861.jpg","text":"TemporaryFile(/tmp/multipartBody7214785151323003244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775803178,"filename":"image_22112025_02_39_19_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a05a93e291eda3987dc5ebf59783062.jpg","text":"TemporaryFile(/tmp/multipartBody7782240943196784256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775803178,"filename":"image_22112025_02_39_25_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/066798c13294cd64378f19d463942c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4332299511908251447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775803178,"filename":"image_22112025_02_39_16_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659543","file1":"1395659524","file0":"1395659496","file4":"1395659560","file5":"1395659562","file3":"1395659553"},"map_files_photo_id_array":[{"photo_id":"1395659562","filename":"file5"},{"photo_id":"1395659543","filename":"file2"},{"photo_id":"1395659560","filename":"file4"},{"photo_id":"1395659524","filename":"file1"},{"photo_id":"1395659496","filename":"file0"},{"photo_id":"1395659553","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659496":["hashtag1","hashtag2"]},{"1395659562":["hashtag1","hashtag2"]},{"1395659553":["hashtag1","hashtag2"]},{"1395659543":["hashtag1","hashtag2"]},{"1395659560":["hashtag1","hashtag2"]},{"1395659524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659496, 1395659562, 1395659553, 1395659543, 1395659560, 1395659524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.344688415527344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:43:02.495484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_42_14110.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_43_1830.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_45_1506.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_48_1571.jpg', '/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_50_1530.jpg', '/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_06_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_42_14110.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_43_1830.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_45_1506.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_48_1571.jpg
/home/pi/Desktop/images/22112025/02/39/image_22112025_02_39_50_1530.jpg
/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_06_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659574","1395659571","1395659565","1395659568","1395659564","1395659578"],"photo_ids_order":["1395659564","1395659565","1395659568","1395659571","1395659574","1395659578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73f5d31b4d82d6ce0d19407bcefba51f.jpg","text":"TemporaryFile(/tmp/multipartBody1256650542375591966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775843250,"filename":"image_22112025_02_39_50_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dee48ff646d367702aa9cce50e4e0235.jpg","text":"TemporaryFile(/tmp/multipartBody7310618878137651007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775843250,"filename":"image_22112025_02_39_48_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23c1aa7c083a1f251850b657cb93eff1.jpg","text":"TemporaryFile(/tmp/multipartBody8294431217170324612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775843250,"filename":"image_22112025_02_39_43_1830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90a3c0f09b3a55795e3060f48ab9260a.jpg","text":"TemporaryFile(/tmp/multipartBody6386171018842015703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775843250,"filename":"image_22112025_02_39_45_1506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ad7ff28dec0e3710ac098c05b48de58.jpg","text":"TemporaryFile(/tmp/multipartBody6619798260163810673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775843250,"filename":"image_22112025_02_39_42_14110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/019031f3212f05e27df4c353f72fd18c.jpg","text":"TemporaryFile(/tmp/multipartBody8769842332587277180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775843250,"filename":"image_22112025_02_41_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659568","file1":"1395659565","file0":"1395659564","file4":"1395659574","file5":"1395659578","file3":"1395659571"},"map_files_photo_id_array":[{"photo_id":"1395659578","filename":"file5"},{"photo_id":"1395659568","filename":"file2"},{"photo_id":"1395659574","filename":"file4"},{"photo_id":"1395659565","filename":"file1"},{"photo_id":"1395659564","filename":"file0"},{"photo_id":"1395659571","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659574":["hashtag1","hashtag2"]},{"1395659571":["hashtag1","hashtag2"]},{"1395659565":["hashtag1","hashtag2"]},{"1395659568":["hashtag1","hashtag2"]},{"1395659564":["hashtag1","hashtag2"]},{"1395659578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659574, 1395659571, 1395659565, 1395659568, 1395659564, 1395659578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90655779838562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:43:41.839175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_10_3707.jpg', '/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_15_2664.jpg', '/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_19_3681.jpg', '/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_23_4590.jpg', '/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_25_1801.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_07_3074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_10_3707.jpg
/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_15_2664.jpg
/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_19_3681.jpg
/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_23_4590.jpg
/home/pi/Desktop/images/22112025/02/41/image_22112025_02_41_25_1801.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_07_3074.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659589","1395659591","1395659594","1395659590","1395659587","1395659592"],"photo_ids_order":["1395659587","1395659589","1395659590","1395659591","1395659592","1395659594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8210c2b626379dc2f142ae079c5f1634.jpg","text":"TemporaryFile(/tmp/multipartBody8196292717707714032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775882540,"filename":"image_22112025_02_41_15_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/359de21fd6696f57a89807b837af8fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3788127384376542112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775882540,"filename":"image_22112025_02_41_23_4590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/837c88f88e31d4bf090f6fe231dfd258.jpg","text":"TemporaryFile(/tmp/multipartBody7070148845631835663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775882540,"filename":"image_22112025_02_43_07_3074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a43dd0724da28e974c054dfb2d575eca.jpg","text":"TemporaryFile(/tmp/multipartBody8426377632684827728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775882540,"filename":"image_22112025_02_41_19_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c47108ce0154fd2c244e2d1ba16a893a.jpg","text":"TemporaryFile(/tmp/multipartBody43558258366356421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775882540,"filename":"image_22112025_02_41_10_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1b1626588095093d4324c1eafa76553.jpg","text":"TemporaryFile(/tmp/multipartBody4433508160210624611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775882540,"filename":"image_22112025_02_41_25_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659590","file1":"1395659589","file0":"1395659587","file4":"1395659592","file5":"1395659594","file3":"1395659591"},"map_files_photo_id_array":[{"photo_id":"1395659594","filename":"file5"},{"photo_id":"1395659590","filename":"file2"},{"photo_id":"1395659592","filename":"file4"},{"photo_id":"1395659589","filename":"file1"},{"photo_id":"1395659587","filename":"file0"},{"photo_id":"1395659591","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659589":["hashtag1","hashtag2"]},{"1395659591":["hashtag1","hashtag2"]},{"1395659594":["hashtag1","hashtag2"]},{"1395659590":["hashtag1","hashtag2"]},{"1395659587":["hashtag1","hashtag2"]},{"1395659592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659589, 1395659591, 1395659594, 1395659590, 1395659587, 1395659592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.333831548690796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:44:21.999452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_10_3803.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_13_2596.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_16_2617.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_19_3616.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_22_2667.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_25_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_10_3803.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_13_2596.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_16_2617.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_19_3616.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_22_2667.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_25_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659601","1395659604","1395659615","1395659612","1395659609","1395659617"],"photo_ids_order":["1395659601","1395659604","1395659609","1395659612","1395659615","1395659617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef73a05c0b552a40cc5ac3a5d064fc0e.jpg","text":"TemporaryFile(/tmp/multipartBody7901635473987439428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775922699,"filename":"image_22112025_02_43_10_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ce3da759eb084195b76229e1facd22c.jpg","text":"TemporaryFile(/tmp/multipartBody942028965634115519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775922699,"filename":"image_22112025_02_43_13_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a2364f1faecdcc24da4173e89f13442.jpg","text":"TemporaryFile(/tmp/multipartBody960789322516593027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775922699,"filename":"image_22112025_02_43_22_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed8b7516c8edc64dfb093b3a70b2b9e5.jpg","text":"TemporaryFile(/tmp/multipartBody8672725125905940373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775922699,"filename":"image_22112025_02_43_19_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9cdc067ee67f80b647cb89c30191ae1.jpg","text":"TemporaryFile(/tmp/multipartBody9117309764508512169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775922699,"filename":"image_22112025_02_43_16_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e66d3447fb139b35830f95b8cc3efcf.jpg","text":"TemporaryFile(/tmp/multipartBody7979272839289097365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775922699,"filename":"image_22112025_02_43_25_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659609","file1":"1395659604","file0":"1395659601","file4":"1395659615","file5":"1395659617","file3":"1395659612"},"map_files_photo_id_array":[{"photo_id":"1395659617","filename":"file5"},{"photo_id":"1395659609","filename":"file2"},{"photo_id":"1395659615","filename":"file4"},{"photo_id":"1395659604","filename":"file1"},{"photo_id":"1395659601","filename":"file0"},{"photo_id":"1395659612","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659601":["hashtag1","hashtag2"]},{"1395659604":["hashtag1","hashtag2"]},{"1395659615":["hashtag1","hashtag2"]},{"1395659612":["hashtag1","hashtag2"]},{"1395659609":["hashtag1","hashtag2"]},{"1395659617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659601, 1395659604, 1395659615, 1395659612, 1395659609, 1395659617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38011980056763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:45:02.852608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_28_3625.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_31_2746.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_34_2932.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_37_2765.jpg', '/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_40_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_28_3625.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_31_2746.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_34_2932.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_37_2765.jpg
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_40_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659625","1395659619","1395659621","1395659627","1395659623"],"photo_ids_order":["1395659619","1395659621","1395659623","1395659625","1395659627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ebaad8d5cd5ee6d5b6e3c3c04265b71.jpg","text":"TemporaryFile(/tmp/multipartBody244040211185873975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775963665,"filename":"image_22112025_02_43_37_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e15056e470395e482ed69e0731ba290.jpg","text":"TemporaryFile(/tmp/multipartBody8291046774751719500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775963665,"filename":"image_22112025_02_43_28_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87f6da4f2e48b7d9c1495ccfb0067932.jpg","text":"TemporaryFile(/tmp/multipartBody454666245779111353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775963665,"filename":"image_22112025_02_43_31_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e7372e55e3d18c3591f817f4e14b17f.jpg","text":"TemporaryFile(/tmp/multipartBody2962584769785617546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775963665,"filename":"image_22112025_02_43_40_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d66af929445e7bbbee9403fde0091b4.jpg","text":"TemporaryFile(/tmp/multipartBody8054218264505502272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763775963665,"filename":"image_22112025_02_43_34_2932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659623","file1":"1395659621","file0":"1395659619","file4":"1395659627","file3":"1395659625"},"map_files_photo_id_array":[{"photo_id":"1395659623","filename":"file2"},{"photo_id":"1395659627","filename":"file4"},{"photo_id":"1395659621","filename":"file1"},{"photo_id":"1395659619","filename":"file0"},{"photo_id":"1395659625","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659625":["hashtag1","hashtag2"]},{"1395659619":["hashtag1","hashtag2"]},{"1395659621":["hashtag1","hashtag2"]},{"1395659627":["hashtag1","hashtag2"]},{"1395659623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659625, 1395659619, 1395659621, 1395659627, 1395659623)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395659623 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_34_2932.jpg";
try second time after 15 secs
uploaded 5 photos
time to upload: 50.91735315322876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:46:02.635133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_43_2661.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_06_3012.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_10_3666.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_13_2608.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_16_3687.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_19_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/43/image_22112025_02_43_43_2661.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_06_3012.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_10_3666.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_13_2608.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_16_3687.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_19_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659655","1395659652","1395659681","1395659642","1395659677","1395659644"],"photo_ids_order":["1395659642","1395659644","1395659652","1395659655","1395659677","1395659681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97579bf9e358a8a9c7daf3a4600d93d3.jpg","text":"TemporaryFile(/tmp/multipartBody2944118493942228278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776023374,"filename":"image_22112025_02_45_13_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bc7f0074664f0c4d42168b798482d78.jpg","text":"TemporaryFile(/tmp/multipartBody3459462684741244534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776023374,"filename":"image_22112025_02_45_10_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dfd79731d2059b7c8918699a18412c6.jpg","text":"TemporaryFile(/tmp/multipartBody7838644830213679668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776023374,"filename":"image_22112025_02_45_19_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24d01f55a7292c8b8c7936a6cbae0178.jpg","text":"TemporaryFile(/tmp/multipartBody5779438136571432855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776023374,"filename":"image_22112025_02_43_43_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8061641b2697cbd9fe998a5753cacbc1.jpg","text":"TemporaryFile(/tmp/multipartBody8518451928068655736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776023374,"filename":"image_22112025_02_45_16_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a104d8dea63d00b958dfb71b22853c07.jpg","text":"TemporaryFile(/tmp/multipartBody3148939730477121641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776023374,"filename":"image_22112025_02_45_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659652","file1":"1395659644","file0":"1395659642","file4":"1395659677","file5":"1395659681","file3":"1395659655"},"map_files_photo_id_array":[{"photo_id":"1395659681","filename":"file5"},{"photo_id":"1395659652","filename":"file2"},{"photo_id":"1395659677","filename":"file4"},{"photo_id":"1395659644","filename":"file1"},{"photo_id":"1395659642","filename":"file0"},{"photo_id":"1395659655","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659655":["hashtag1","hashtag2"]},{"1395659652":["hashtag1","hashtag2"]},{"1395659681":["hashtag1","hashtag2"]},{"1395659642":["hashtag1","hashtag2"]},{"1395659677":["hashtag1","hashtag2"]},{"1395659644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659655, 1395659652, 1395659681, 1395659642, 1395659677, 1395659644)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.7989456653595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:47:02.735587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:47:33.471721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_22_2642.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_25_2713.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_31_2694.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_34_2736.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_37_3586.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_40_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_22_2642.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_25_2713.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_31_2694.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_34_2736.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_37_3586.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_40_2530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659710","1395659718","1395659721","1395659715","1395659723","1395659713"],"photo_ids_order":["1395659710","1395659713","1395659715","1395659718","1395659721","1395659723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ff6b9b2c0923ca111d209ca5fc379e1.jpg","text":"TemporaryFile(/tmp/multipartBody7380344647671194597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776114173,"filename":"image_22112025_02_45_22_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/676057875e80075b5eab99ce727570c4.jpg","text":"TemporaryFile(/tmp/multipartBody8036391671842134625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776114173,"filename":"image_22112025_02_45_34_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86996ac8850f21db0e8a15afa1594af3.jpg","text":"TemporaryFile(/tmp/multipartBody5688987261841239210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776114173,"filename":"image_22112025_02_45_37_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1ddc7677a2a717558808c2ea7b2d801.jpg","text":"TemporaryFile(/tmp/multipartBody4459204288731083294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776114173,"filename":"image_22112025_02_45_31_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2975720e130d78f2eb00b2fd711ec4a.jpg","text":"TemporaryFile(/tmp/multipartBody2245715044736819410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776114173,"filename":"image_22112025_02_45_40_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29c90fc86ae858c1b8ae1b061162068d.jpg","text":"TemporaryFile(/tmp/multipartBody5766305775676964736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776114173,"filename":"image_22112025_02_45_25_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659715","file1":"1395659713","file0":"1395659710","file4":"1395659721","file5":"1395659723","file3":"1395659718"},"map_files_photo_id_array":[{"photo_id":"1395659723","filename":"file5"},{"photo_id":"1395659715","filename":"file2"},{"photo_id":"1395659721","filename":"file4"},{"photo_id":"1395659713","filename":"file1"},{"photo_id":"1395659710","filename":"file0"},{"photo_id":"1395659718","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659710":["hashtag1","hashtag2"]},{"1395659718":["hashtag1","hashtag2"]},{"1395659721":["hashtag1","hashtag2"]},{"1395659715":["hashtag1","hashtag2"]},{"1395659723":["hashtag1","hashtag2"]},{"1395659713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659710, 1395659718, 1395659721, 1395659715, 1395659723, 1395659713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10375356674194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:48:22.401698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_43_2757.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_46_3702.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_49_2958.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_52_2499.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_46_01_3587.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_07_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_43_2757.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_46_3702.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_49_2958.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_52_2499.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_46_01_3587.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_07_3723.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5992002487182617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:48:42.359265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_43_2757.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_46_3702.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_49_2958.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_52_2499.jpg', '/home/pi/Desktop/images/22112025/02/45/image_22112025_02_46_01_3587.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_07_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_43_2757.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_46_3702.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_49_2958.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_45_52_2499.jpg
/home/pi/Desktop/images/22112025/02/45/image_22112025_02_46_01_3587.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_07_3723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659754","1395659750","1395659753","1395659756","1395659752","1395659755"],"photo_ids_order":["1395659750","1395659752","1395659753","1395659754","1395659755","1395659756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ffc0d346e5a53b59ce94e012ae3994b.jpg","text":"TemporaryFile(/tmp/multipartBody539757326705988109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776183022,"filename":"image_22112025_02_45_52_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b94a67042983b743aba6ccc4180ed7c.jpg","text":"TemporaryFile(/tmp/multipartBody1721049583708304525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776183022,"filename":"image_22112025_02_45_43_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54f7ccaaf2a0154bea9e8316685ff294.jpg","text":"TemporaryFile(/tmp/multipartBody314674625561566797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776183022,"filename":"image_22112025_02_45_49_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97b4aea95b672068259eee4db1f34ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8908547511716926502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776183022,"filename":"image_22112025_02_47_07_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52c6e1ce2074424a379f3b89ad6d51b8.jpg","text":"TemporaryFile(/tmp/multipartBody5849881525604363466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776183022,"filename":"image_22112025_02_45_46_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ba31fb6581e83169de675b8b145e46b.jpg","text":"TemporaryFile(/tmp/multipartBody1877403938047849364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776183022,"filename":"image_22112025_02_46_01_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659753","file1":"1395659752","file0":"1395659750","file4":"1395659755","file5":"1395659756","file3":"1395659754"},"map_files_photo_id_array":[{"photo_id":"1395659756","filename":"file5"},{"photo_id":"1395659753","filename":"file2"},{"photo_id":"1395659755","filename":"file4"},{"photo_id":"1395659752","filename":"file1"},{"photo_id":"1395659750","filename":"file0"},{"photo_id":"1395659754","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659754":["hashtag1","hashtag2"]},{"1395659750":["hashtag1","hashtag2"]},{"1395659753":["hashtag1","hashtag2"]},{"1395659756":["hashtag1","hashtag2"]},{"1395659752":["hashtag1","hashtag2"]},{"1395659755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659754, 1395659750, 1395659753, 1395659756, 1395659752, 1395659755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10528326034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:49:22.569766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_10_3030.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_13_2685.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_19_3686.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_22_2669.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_25_2702.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_29_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_10_3030.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_13_2685.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_19_3686.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_22_2669.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_25_2702.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_29_3760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659787","1395659789","1395659782","1395659776","1395659791","1395659785"],"photo_ids_order":["1395659776","1395659782","1395659785","1395659787","1395659789","1395659791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19bd315e0fa44c95be086d72fd958e14.jpg","text":"TemporaryFile(/tmp/multipartBody8762844650899940785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776223236,"filename":"image_22112025_02_47_22_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1ddc9042ea144680cadc9ee4c597601.jpg","text":"TemporaryFile(/tmp/multipartBody1572901899792699425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776223236,"filename":"image_22112025_02_47_25_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d523738e7cada61c117619d57109104.jpg","text":"TemporaryFile(/tmp/multipartBody3114892520789301575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776223236,"filename":"image_22112025_02_47_13_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fb18bc787cf7dd85a00a43f720af09a.jpg","text":"TemporaryFile(/tmp/multipartBody4768661665400994440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776223236,"filename":"image_22112025_02_47_10_3030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11e948a29cf8aed8780e063484be326b.jpg","text":"TemporaryFile(/tmp/multipartBody4671376116661296490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776223236,"filename":"image_22112025_02_47_29_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/713bf34ef1203698658317085b283829.jpg","text":"TemporaryFile(/tmp/multipartBody1252044383501190200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776223236,"filename":"image_22112025_02_47_19_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659785","file1":"1395659782","file0":"1395659776","file4":"1395659789","file5":"1395659791","file3":"1395659787"},"map_files_photo_id_array":[{"photo_id":"1395659791","filename":"file5"},{"photo_id":"1395659785","filename":"file2"},{"photo_id":"1395659789","filename":"file4"},{"photo_id":"1395659782","filename":"file1"},{"photo_id":"1395659776","filename":"file0"},{"photo_id":"1395659787","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659787":["hashtag1","hashtag2"]},{"1395659789":["hashtag1","hashtag2"]},{"1395659782":["hashtag1","hashtag2"]},{"1395659776":["hashtag1","hashtag2"]},{"1395659791":["hashtag1","hashtag2"]},{"1395659785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659787, 1395659789, 1395659782, 1395659776, 1395659791, 1395659785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.791993856430054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:50:02.651567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_31_2666.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_34_2584.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_38_3715.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_40_2638.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_43_2748.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_46_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_31_2666.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_34_2584.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_38_3715.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_40_2638.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_43_2748.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_46_3515.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.56085205078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:50:22.266870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_31_2666.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_34_2584.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_38_3715.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_40_2638.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_43_2748.jpg', '/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_46_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_31_2666.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_34_2584.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_38_3715.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_40_2638.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_43_2748.jpg
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_46_3515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659820","1395659817","1395659811","1395659814","1395659808","1395659822"],"photo_ids_order":["1395659808","1395659811","1395659814","1395659817","1395659820","1395659822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4ff6044b65e88d50faf9d154f583773.jpg","text":"TemporaryFile(/tmp/multipartBody1613539182234519728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776283078,"filename":"image_22112025_02_47_43_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7981fd74a2565c1d63d74f47ce82e6dc.jpg","text":"TemporaryFile(/tmp/multipartBody1169230219180000262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776283078,"filename":"image_22112025_02_47_40_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c01a2b6e0ab374a636962a0f5725130c.jpg","text":"TemporaryFile(/tmp/multipartBody7486275585447121021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776283078,"filename":"image_22112025_02_47_34_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ed2af9c0b86f448d4fa4eab6b38523a.jpg","text":"TemporaryFile(/tmp/multipartBody8175033900700493744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776283078,"filename":"image_22112025_02_47_38_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df8af614d78466f64ec72093ff7ae005.jpg","text":"TemporaryFile(/tmp/multipartBody4011224029002173150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776283078,"filename":"image_22112025_02_47_31_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ddfea256608b057ff66b5b3426f709f.jpg","text":"TemporaryFile(/tmp/multipartBody6677433373945498373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776283078,"filename":"image_22112025_02_47_46_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659814","file1":"1395659811","file0":"1395659808","file4":"1395659820","file5":"1395659822","file3":"1395659817"},"map_files_photo_id_array":[{"photo_id":"1395659822","filename":"file5"},{"photo_id":"1395659814","filename":"file2"},{"photo_id":"1395659820","filename":"file4"},{"photo_id":"1395659811","filename":"file1"},{"photo_id":"1395659808","filename":"file0"},{"photo_id":"1395659817","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659820":["hashtag1","hashtag2"]},{"1395659817":["hashtag1","hashtag2"]},{"1395659811":["hashtag1","hashtag2"]},{"1395659814":["hashtag1","hashtag2"]},{"1395659808":["hashtag1","hashtag2"]},{"1395659822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659820, 1395659817, 1395659811, 1395659814, 1395659808, 1395659822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28278088569641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:51:03.153126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_49_2600.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_07_3011.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_14_2651.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_17_2754.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_20_3690.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_26_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/47/image_22112025_02_47_49_2600.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_07_3011.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_14_2651.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_17_2754.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_20_3690.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_26_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659838","1395659846","1395659831","1395659825","1395659842","1395659824"],"photo_ids_order":["1395659824","1395659825","1395659831","1395659838","1395659842","1395659846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7087e6e3a8dee4482746499e9cbdf2b7.jpg","text":"TemporaryFile(/tmp/multipartBody6454095049605244216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776323881,"filename":"image_22112025_02_50_17_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ed24f4d7461dee714e5039e5432b667.jpg","text":"TemporaryFile(/tmp/multipartBody295937495072954484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776323881,"filename":"image_22112025_02_50_26_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f284fab06b963e1dc5f967ec5d1a42dd.jpg","text":"TemporaryFile(/tmp/multipartBody8402983543321480435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776323881,"filename":"image_22112025_02_50_14_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e88ebf272317afbc90c02ce70ca2630.jpg","text":"TemporaryFile(/tmp/multipartBody1447601914178872779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776323881,"filename":"image_22112025_02_50_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/858e5d289f824435c66f88b480ffeab8.jpg","text":"TemporaryFile(/tmp/multipartBody2036661582858600497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776323881,"filename":"image_22112025_02_50_20_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d44e96295aa669c632edf1ceba98b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2326129496961199544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776323881,"filename":"image_22112025_02_47_49_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659831","file1":"1395659825","file0":"1395659824","file4":"1395659842","file5":"1395659846","file3":"1395659838"},"map_files_photo_id_array":[{"photo_id":"1395659846","filename":"file5"},{"photo_id":"1395659831","filename":"file2"},{"photo_id":"1395659842","filename":"file4"},{"photo_id":"1395659825","filename":"file1"},{"photo_id":"1395659824","filename":"file0"},{"photo_id":"1395659838","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659838":["hashtag1","hashtag2"]},{"1395659846":["hashtag1","hashtag2"]},{"1395659831":["hashtag1","hashtag2"]},{"1395659825":["hashtag1","hashtag2"]},{"1395659842":["hashtag1","hashtag2"]},{"1395659824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659838, 1395659846, 1395659831, 1395659825, 1395659842, 1395659824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.353017807006836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:51:42.387237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_29_3568.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_32_2648.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_35_3647.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_38_2864.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_41_2606.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_44_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_29_3568.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_32_2648.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_35_3647.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_38_2864.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_41_2606.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_44_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659862","1395659856","1395659864","1395659858","1395659861","1395659863"],"photo_ids_order":["1395659856","1395659858","1395659861","1395659862","1395659863","1395659864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c0eb16b61b1142c20fceb9eec72b359.jpg","text":"TemporaryFile(/tmp/multipartBody7838160296945289455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776363051,"filename":"image_22112025_02_50_38_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e73384b5a30aa002b04dd675e4c4ac04.jpg","text":"TemporaryFile(/tmp/multipartBody7733019205307256741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776363051,"filename":"image_22112025_02_50_29_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64f23ebb76e67cb1c9add2eb1e82a7e2.jpg","text":"TemporaryFile(/tmp/multipartBody7370718110787735492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776363051,"filename":"image_22112025_02_50_44_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffc5228582eded201a22dc9317aa0dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5345804709093137437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776363051,"filename":"image_22112025_02_50_32_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5fe17806e21d03ed741bc294239f893.jpg","text":"TemporaryFile(/tmp/multipartBody363809152605246200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776363051,"filename":"image_22112025_02_50_35_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a55c11c5277c62c092aafd145fb6518.jpg","text":"TemporaryFile(/tmp/multipartBody3727689259071752220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776363051,"filename":"image_22112025_02_50_41_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659861","file1":"1395659858","file0":"1395659856","file4":"1395659863","file5":"1395659864","file3":"1395659862"},"map_files_photo_id_array":[{"photo_id":"1395659864","filename":"file5"},{"photo_id":"1395659861","filename":"file2"},{"photo_id":"1395659863","filename":"file4"},{"photo_id":"1395659858","filename":"file1"},{"photo_id":"1395659856","filename":"file0"},{"photo_id":"1395659862","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659862":["hashtag1","hashtag2"]},{"1395659856":["hashtag1","hashtag2"]},{"1395659864":["hashtag1","hashtag2"]},{"1395659858":["hashtag1","hashtag2"]},{"1395659861":["hashtag1","hashtag2"]},{"1395659863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659862, 1395659856, 1395659864, 1395659858, 1395659861, 1395659863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13796806335449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:52:22.665072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_47_3533.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_53_3554.jpg', '/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_56_2779.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_11_3683.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_13_2610.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_17_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_47_3533.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_53_3554.jpg
/home/pi/Desktop/images/22112025/02/50/image_22112025_02_50_56_2779.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_11_3683.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_13_2610.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_17_3611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659886","1395659881","1395659875","1395659884","1395659878","1395659872"],"photo_ids_order":["1395659872","1395659875","1395659878","1395659881","1395659884","1395659886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb637b096e2617650090807c7889efb1.jpg","text":"TemporaryFile(/tmp/multipartBody9154308695616289035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776403366,"filename":"image_22112025_02_52_17_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80833575e36c367947350c596bb527a5.jpg","text":"TemporaryFile(/tmp/multipartBody8436387217229530616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776403366,"filename":"image_22112025_02_52_11_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d8382d0060771dfe74be27cc9ea4a3a.jpg","text":"TemporaryFile(/tmp/multipartBody4316296127460274856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776403366,"filename":"image_22112025_02_50_53_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbb1687cf375d72c7ca5a3f4545442b3.jpg","text":"TemporaryFile(/tmp/multipartBody590642298830113281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776403366,"filename":"image_22112025_02_52_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e47efb942c20ed7ac1d65dcbb94ec00.jpg","text":"TemporaryFile(/tmp/multipartBody7842239264236942099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776403366,"filename":"image_22112025_02_50_56_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2abe1beafdcf077e48087f22bbebaa4.jpg","text":"TemporaryFile(/tmp/multipartBody8992749974453494436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776403366,"filename":"image_22112025_02_50_47_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659878","file1":"1395659875","file0":"1395659872","file4":"1395659884","file5":"1395659886","file3":"1395659881"},"map_files_photo_id_array":[{"photo_id":"1395659886","filename":"file5"},{"photo_id":"1395659878","filename":"file2"},{"photo_id":"1395659884","filename":"file4"},{"photo_id":"1395659875","filename":"file1"},{"photo_id":"1395659872","filename":"file0"},{"photo_id":"1395659881","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659886":["hashtag1","hashtag2"]},{"1395659881":["hashtag1","hashtag2"]},{"1395659875":["hashtag1","hashtag2"]},{"1395659884":["hashtag1","hashtag2"]},{"1395659878":["hashtag1","hashtag2"]},{"1395659872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659886, 1395659881, 1395659875, 1395659884, 1395659878, 1395659872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.399709701538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:53:02.580321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_20_2708.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_22_2605.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_26_3547.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_31_2691.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_34_2951.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_38_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_20_2708.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_22_2605.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_26_3547.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_31_2691.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_34_2951.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_38_3587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659889","1395659901","1395659894","1395659896","1395659905","1395659898"],"photo_ids_order":["1395659889","1395659894","1395659896","1395659898","1395659901","1395659905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a35cb7b2823012ad404d0b570b921e3.jpg","text":"TemporaryFile(/tmp/multipartBody3758929481131154071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776443358,"filename":"image_22112025_02_52_20_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b24a8b67dd4af66baa4aef059ef0821.jpg","text":"TemporaryFile(/tmp/multipartBody1207042586233414971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776443358,"filename":"image_22112025_02_52_34_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d2a715adcc4eb86394bfbb644640cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6940545255349015620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776443358,"filename":"image_22112025_02_52_22_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bff7ed813611cbdec8c4b5e21a6edd4.jpg","text":"TemporaryFile(/tmp/multipartBody4886343072374179341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776443358,"filename":"image_22112025_02_52_26_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce76d042c1d7a4247e012e7cd89b65d0.jpg","text":"TemporaryFile(/tmp/multipartBody8089573703525044598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776443358,"filename":"image_22112025_02_52_38_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71d62ec91d18537cbc0a4aa8be502373.jpg","text":"TemporaryFile(/tmp/multipartBody2742645384904913532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776443358,"filename":"image_22112025_02_52_31_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659896","file1":"1395659894","file0":"1395659889","file4":"1395659901","file5":"1395659905","file3":"1395659898"},"map_files_photo_id_array":[{"photo_id":"1395659905","filename":"file5"},{"photo_id":"1395659896","filename":"file2"},{"photo_id":"1395659901","filename":"file4"},{"photo_id":"1395659894","filename":"file1"},{"photo_id":"1395659889","filename":"file0"},{"photo_id":"1395659898","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659889":["hashtag1","hashtag2"]},{"1395659901":["hashtag1","hashtag2"]},{"1395659894":["hashtag1","hashtag2"]},{"1395659896":["hashtag1","hashtag2"]},{"1395659905":["hashtag1","hashtag2"]},{"1395659898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659889, 1395659901, 1395659894, 1395659896, 1395659905, 1395659898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.018879652023315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:53:41.904511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_43_2669.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_46_2734.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_50_3583.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_52_2583.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_56_3796.jpg', '/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_59_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_43_2669.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_46_2734.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_50_3583.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_52_2583.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_56_3796.jpg
/home/pi/Desktop/images/22112025/02/52/image_22112025_02_52_59_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659922","1395659916","1395659927","1395659923","1395659917","1395659914"],"photo_ids_order":["1395659914","1395659916","1395659917","1395659922","1395659923","1395659927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7e75151923347ae7d4971481eaa6ff9.jpg","text":"TemporaryFile(/tmp/multipartBody5049665618679959077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776482571,"filename":"image_22112025_02_52_52_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7c0b3cc00e9fdc2f00658771d27ef21.jpg","text":"TemporaryFile(/tmp/multipartBody3177130443675595157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776482571,"filename":"image_22112025_02_52_46_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16adce7323f285950ed4d03002bafd6d.jpg","text":"TemporaryFile(/tmp/multipartBody3083969108789109718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776482571,"filename":"image_22112025_02_52_59_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e1f6a1d7084976be9d8264d9cf51854.jpg","text":"TemporaryFile(/tmp/multipartBody2270915516082133664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776482571,"filename":"image_22112025_02_52_56_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bda9000ffdb1e4eaa6be77b71d555791.jpg","text":"TemporaryFile(/tmp/multipartBody6582319333435688204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776482571,"filename":"image_22112025_02_52_50_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fce32c683b4b2ad86d6a5d46f251c523.jpg","text":"TemporaryFile(/tmp/multipartBody59272896431194994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776482571,"filename":"image_22112025_02_52_43_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659917","file1":"1395659916","file0":"1395659914","file4":"1395659923","file5":"1395659927","file3":"1395659922"},"map_files_photo_id_array":[{"photo_id":"1395659927","filename":"file5"},{"photo_id":"1395659917","filename":"file2"},{"photo_id":"1395659923","filename":"file4"},{"photo_id":"1395659916","filename":"file1"},{"photo_id":"1395659914","filename":"file0"},{"photo_id":"1395659922","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659922":["hashtag1","hashtag2"]},{"1395659916":["hashtag1","hashtag2"]},{"1395659927":["hashtag1","hashtag2"]},{"1395659923":["hashtag1","hashtag2"]},{"1395659917":["hashtag1","hashtag2"]},{"1395659914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659922, 1395659916, 1395659927, 1395659923, 1395659917, 1395659914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36307644844055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:54:28.352399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/53/image_22112025_02_53_01_2599.jpg', '/home/pi/Desktop/images/22112025/02/53/image_22112025_02_53_05_3719.jpg', '/home/pi/Desktop/images/22112025/02/53/image_22112025_02_53_08_2699.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_13_2582.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_19_2597.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_22_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/53/image_22112025_02_53_01_2599.jpg
/home/pi/Desktop/images/22112025/02/53/image_22112025_02_53_05_3719.jpg
/home/pi/Desktop/images/22112025/02/53/image_22112025_02_53_08_2699.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_13_2582.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_19_2597.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_22_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659964","1395659943","1395659957","1395659951","1395659969","1395659948"],"photo_ids_order":["1395659943","1395659948","1395659951","1395659957","1395659964","1395659969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c727e732dd1afd7d105771c4449623a7.jpg","text":"TemporaryFile(/tmp/multipartBody6230957292694500915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776529017,"filename":"image_22112025_02_54_19_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba36abfaff34f2f776f0a6c71260d3b8.jpg","text":"TemporaryFile(/tmp/multipartBody8874378331916831943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776529017,"filename":"image_22112025_02_53_01_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb723571817f7ab86d3101cb7e82647d.jpg","text":"TemporaryFile(/tmp/multipartBody9057395245163266010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776529017,"filename":"image_22112025_02_54_13_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffdef95e2c049651551bec1bda8776b5.jpg","text":"TemporaryFile(/tmp/multipartBody6897771821851817655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776529017,"filename":"image_22112025_02_53_08_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91c6f3fdd51b3a8e33b2d643f1fb192d.jpg","text":"TemporaryFile(/tmp/multipartBody4423412505336218828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776529017,"filename":"image_22112025_02_54_22_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99ac35877a3fb97e1ec55cc693617848.jpg","text":"TemporaryFile(/tmp/multipartBody3147270395690098240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776529017,"filename":"image_22112025_02_53_05_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659951","file1":"1395659948","file0":"1395659943","file4":"1395659964","file5":"1395659969","file3":"1395659957"},"map_files_photo_id_array":[{"photo_id":"1395659969","filename":"file5"},{"photo_id":"1395659951","filename":"file2"},{"photo_id":"1395659964","filename":"file4"},{"photo_id":"1395659948","filename":"file1"},{"photo_id":"1395659943","filename":"file0"},{"photo_id":"1395659957","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659964":["hashtag1","hashtag2"]},{"1395659943":["hashtag1","hashtag2"]},{"1395659957":["hashtag1","hashtag2"]},{"1395659951":["hashtag1","hashtag2"]},{"1395659969":["hashtag1","hashtag2"]},{"1395659948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659964, 1395659943, 1395659957, 1395659951, 1395659969, 1395659948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.645910024642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:55:22.249959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_25_2740.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_28_3561.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_32_3259.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_34_2594.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_37_2610.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_40_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_25_2740.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_28_3561.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_32_3259.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_34_2594.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_37_2610.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_40_3704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659991","1395659976","1395659986","1395659989","1395659980","1395659983"],"photo_ids_order":["1395659976","1395659980","1395659983","1395659986","1395659989","1395659991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62cb83e7dd0ccdc5d856338d51b84257.jpg","text":"TemporaryFile(/tmp/multipartBody6098984463059764750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776582916,"filename":"image_22112025_02_54_40_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cce86e97b27dfacace718aceb0f22d4.jpg","text":"TemporaryFile(/tmp/multipartBody4595339084737738211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776582916,"filename":"image_22112025_02_54_25_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95834d2bbb5d03a29595803aa020f732.jpg","text":"TemporaryFile(/tmp/multipartBody7736240579200485350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776582916,"filename":"image_22112025_02_54_34_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/808bd06127a000e1d75ca64b79a977ef.jpg","text":"TemporaryFile(/tmp/multipartBody3891830581690727425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776582916,"filename":"image_22112025_02_54_37_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3ee12703f3382b2bc0fd46832463e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6132554465303483071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776582916,"filename":"image_22112025_02_54_28_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4378679f04a3355e17757dea13218846.jpg","text":"TemporaryFile(/tmp/multipartBody6919752703368061731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776582916,"filename":"image_22112025_02_54_32_3259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659983","file1":"1395659980","file0":"1395659976","file4":"1395659989","file5":"1395659991","file3":"1395659986"},"map_files_photo_id_array":[{"photo_id":"1395659991","filename":"file5"},{"photo_id":"1395659983","filename":"file2"},{"photo_id":"1395659989","filename":"file4"},{"photo_id":"1395659980","filename":"file1"},{"photo_id":"1395659976","filename":"file0"},{"photo_id":"1395659986","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659991":["hashtag1","hashtag2"]},{"1395659976":["hashtag1","hashtag2"]},{"1395659986":["hashtag1","hashtag2"]},{"1395659989":["hashtag1","hashtag2"]},{"1395659980":["hashtag1","hashtag2"]},{"1395659983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659991, 1395659976, 1395659986, 1395659989, 1395659980, 1395659983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64575695991516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:56:02.803753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_43_2670.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_49_3685.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_55_5206.jpg', '/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_56_1705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_43_2670.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_49_3685.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_55_5206.jpg
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_56_1705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395659993","1395659998","1395659992","1395659995"],"photo_ids_order":["1395659992","1395659993","1395659995","1395659998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa1f600aeae887bb5cf578852ec92d43.jpg","text":"TemporaryFile(/tmp/multipartBody9131411860316072593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776623399,"filename":"image_22112025_02_54_49_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b5666409d45f813f622dce8ab12f8d3.jpg","text":"TemporaryFile(/tmp/multipartBody3454222182080279199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776623399,"filename":"image_22112025_02_54_56_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fdff19c74608075b01522a736133b58.jpg","text":"TemporaryFile(/tmp/multipartBody6604356447375020126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776623399,"filename":"image_22112025_02_54_43_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9acd126f7cda60afb9f993efa1b86c3.jpg","text":"TemporaryFile(/tmp/multipartBody8981777942477041273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776623399,"filename":"image_22112025_02_54_55_5206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395659995","file1":"1395659993","file0":"1395659992","file3":"1395659998"},"map_files_photo_id_array":[{"photo_id":"1395659995","filename":"file2"},{"photo_id":"1395659993","filename":"file1"},{"photo_id":"1395659992","filename":"file0"},{"photo_id":"1395659998","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395659993":["hashtag1","hashtag2"]},{"1395659998":["hashtag1","hashtag2"]},{"1395659992":["hashtag1","hashtag2"]},{"1395659995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395659993, 1395659998, 1395659992, 1395659995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.08625054359436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:56:42.294348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_58_1730.jpg', '/home/pi/Desktop/images/22112025/02/55/image_22112025_02_55_09_3751.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_07_3497.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_10_2707.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_14_3783.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_16_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/54/image_22112025_02_54_58_1730.jpg
/home/pi/Desktop/images/22112025/02/55/image_22112025_02_55_09_3751.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_07_3497.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_10_2707.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_14_3783.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_16_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395660171","1395660231","1395660243","1395660201","1395660254","1395660172"],"photo_ids_order":["1395660171","1395660172","1395660201","1395660231","1395660243","1395660254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e499135b8817c0e2d3c68b192f82434d.jpg","text":"TemporaryFile(/tmp/multipartBody6106848985271632221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776662953,"filename":"image_22112025_02_54_58_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96a70d68beb4069b2138ab56908ecea2.jpg","text":"TemporaryFile(/tmp/multipartBody5805406815713491911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776662953,"filename":"image_22112025_02_56_10_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5c5bebcbbdbf9abcdac870ff5dd9a05.jpg","text":"TemporaryFile(/tmp/multipartBody6535959339024501940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776662953,"filename":"image_22112025_02_56_14_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47ee976c7c85fb8ea47188b558efc14f.jpg","text":"TemporaryFile(/tmp/multipartBody7925854501721321062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776662953,"filename":"image_22112025_02_56_07_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8af8700df598a683887d42adb296e86.jpg","text":"TemporaryFile(/tmp/multipartBody5637980154833707127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776662953,"filename":"image_22112025_02_56_16_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0df785d354a931ddad5200cffe5a26c7.jpg","text":"TemporaryFile(/tmp/multipartBody4927984494826804062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776662953,"filename":"image_22112025_02_55_09_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395660201","file1":"1395660172","file0":"1395660171","file4":"1395660243","file5":"1395660254","file3":"1395660231"},"map_files_photo_id_array":[{"photo_id":"1395660254","filename":"file5"},{"photo_id":"1395660201","filename":"file2"},{"photo_id":"1395660243","filename":"file4"},{"photo_id":"1395660172","filename":"file1"},{"photo_id":"1395660171","filename":"file0"},{"photo_id":"1395660231","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395660171":["hashtag1","hashtag2"]},{"1395660231":["hashtag1","hashtag2"]},{"1395660243":["hashtag1","hashtag2"]},{"1395660201":["hashtag1","hashtag2"]},{"1395660254":["hashtag1","hashtag2"]},{"1395660172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395660171, 1395660231, 1395660243, 1395660201, 1395660254, 1395660172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28114604949951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:57:22.495289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_19_2643.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_22_3680.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_28_2657.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_31_3756.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_34_2856.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_37_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_19_2643.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_22_3680.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_28_2657.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_31_3756.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_34_2856.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_37_2806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395660277","1395660275","1395660260","1395660271","1395660265","1395660268"],"photo_ids_order":["1395660260","1395660265","1395660268","1395660271","1395660275","1395660277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7af78cf26eea0c24f9814a39b7bbd326.jpg","text":"TemporaryFile(/tmp/multipartBody8529929691629385231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776703197,"filename":"image_22112025_02_56_37_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3295d708a185155bb26d650946fc2c45.jpg","text":"TemporaryFile(/tmp/multipartBody5857090299406171267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776703197,"filename":"image_22112025_02_56_34_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a00540fb35e61a520c5ca64ce6aa1c48.jpg","text":"TemporaryFile(/tmp/multipartBody3532864361144158920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776703197,"filename":"image_22112025_02_56_19_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf3be0a70b06fdaf17ed3a6a7f3349a0.jpg","text":"TemporaryFile(/tmp/multipartBody3524019458763060212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776703197,"filename":"image_22112025_02_56_31_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42d3b086107a53799fb9a5168073e938.jpg","text":"TemporaryFile(/tmp/multipartBody1231119154298475411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776703197,"filename":"image_22112025_02_56_22_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a4ff8dce7da6a071453fd0acbff9f87.jpg","text":"TemporaryFile(/tmp/multipartBody8347494819452034352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776703197,"filename":"image_22112025_02_56_28_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395660268","file1":"1395660265","file0":"1395660260","file4":"1395660275","file5":"1395660277","file3":"1395660271"},"map_files_photo_id_array":[{"photo_id":"1395660277","filename":"file5"},{"photo_id":"1395660268","filename":"file2"},{"photo_id":"1395660275","filename":"file4"},{"photo_id":"1395660265","filename":"file1"},{"photo_id":"1395660260","filename":"file0"},{"photo_id":"1395660271","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395660277":["hashtag1","hashtag2"]},{"1395660275":["hashtag1","hashtag2"]},{"1395660260":["hashtag1","hashtag2"]},{"1395660271":["hashtag1","hashtag2"]},{"1395660265":["hashtag1","hashtag2"]},{"1395660268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395660277, 1395660275, 1395660260, 1395660271, 1395660265, 1395660268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39556360244751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 02:59:02.979198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_40_2707.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_43_3546.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_46_2645.jpg', '/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_49_2631.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_07_3012.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_13_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_40_2707.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_43_3546.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_46_2645.jpg
/home/pi/Desktop/images/22112025/02/56/image_22112025_02_56_49_2631.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_07_3012.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_13_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395660301","1395660290","1395660305","1395660308","1395660298","1395660295"],"photo_ids_order":["1395660290","1395660295","1395660298","1395660301","1395660305","1395660308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd4ee9e00f4b8d965ca20e56206315d2.jpg","text":"TemporaryFile(/tmp/multipartBody3218349257813610793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776803858,"filename":"image_22112025_02_56_49_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/453fb0fa1c44b2a545934b556b79e904.jpg","text":"TemporaryFile(/tmp/multipartBody1396542966905894307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776803858,"filename":"image_22112025_02_56_40_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/124984cff736b24b1268afc3968b9f7f.jpg","text":"TemporaryFile(/tmp/multipartBody1587650926251444556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776803858,"filename":"image_22112025_02_58_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79ded02f08ff27c12de801502047c029.jpg","text":"TemporaryFile(/tmp/multipartBody6582511607499381338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776803858,"filename":"image_22112025_02_58_13_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dabcf11750764188cbdbb14ec38e2f6.jpg","text":"TemporaryFile(/tmp/multipartBody5622711890941903075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776803858,"filename":"image_22112025_02_56_46_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b55ab8d427eadf11dbe4b8478c6a760.jpg","text":"TemporaryFile(/tmp/multipartBody1378367989077862545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776803858,"filename":"image_22112025_02_56_43_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395660298","file1":"1395660295","file0":"1395660290","file4":"1395660305","file5":"1395660308","file3":"1395660301"},"map_files_photo_id_array":[{"photo_id":"1395660308","filename":"file5"},{"photo_id":"1395660298","filename":"file2"},{"photo_id":"1395660305","filename":"file4"},{"photo_id":"1395660295","filename":"file1"},{"photo_id":"1395660290","filename":"file0"},{"photo_id":"1395660301","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395660301":["hashtag1","hashtag2"]},{"1395660290":["hashtag1","hashtag2"]},{"1395660305":["hashtag1","hashtag2"]},{"1395660308":["hashtag1","hashtag2"]},{"1395660298":["hashtag1","hashtag2"]},{"1395660295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395660301, 1395660290, 1395660305, 1395660308, 1395660298, 1395660295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68786311149597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 02:59:42.123485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_20_2791.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_22_2675.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_25_2774.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_29_3648.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_35_3594.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_40_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_20_2791.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_22_2675.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_25_2774.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_29_3648.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_35_3594.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_40_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395660541","1395660498","1395660579","1395660459","1395660389","1395660425"],"photo_ids_order":["1395660389","1395660425","1395660459","1395660498","1395660541","1395660579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd59f73623c5f22a8e3390289c1e9514.jpg","text":"TemporaryFile(/tmp/multipartBody9129441211294764006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776842798,"filename":"image_22112025_02_58_35_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af48922ccca9f9801eed52e072c9ca49.jpg","text":"TemporaryFile(/tmp/multipartBody2312957169898757854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776842798,"filename":"image_22112025_02_58_29_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6efb99f30f7824bca750f4e79618cd00.jpg","text":"TemporaryFile(/tmp/multipartBody173171639336818846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776842798,"filename":"image_22112025_02_58_40_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a005a04da4ca057d66021453b2e6395b.jpg","text":"TemporaryFile(/tmp/multipartBody6681254347292850296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776842798,"filename":"image_22112025_02_58_25_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aab168ac2a81b8e11024cf1261ec0e14.jpg","text":"TemporaryFile(/tmp/multipartBody7996436724079690710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776842798,"filename":"image_22112025_02_58_20_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cface9058609fcadee13dbc69bd63284.jpg","text":"TemporaryFile(/tmp/multipartBody5340764067819730133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776842798,"filename":"image_22112025_02_58_22_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395660459","file1":"1395660425","file0":"1395660389","file4":"1395660541","file5":"1395660579","file3":"1395660498"},"map_files_photo_id_array":[{"photo_id":"1395660579","filename":"file5"},{"photo_id":"1395660459","filename":"file2"},{"photo_id":"1395660541","filename":"file4"},{"photo_id":"1395660425","filename":"file1"},{"photo_id":"1395660389","filename":"file0"},{"photo_id":"1395660498","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395660541":["hashtag1","hashtag2"]},{"1395660498":["hashtag1","hashtag2"]},{"1395660579":["hashtag1","hashtag2"]},{"1395660459":["hashtag1","hashtag2"]},{"1395660389":["hashtag1","hashtag2"]},{"1395660425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395660541, 1395660498, 1395660579, 1395660459, 1395660389, 1395660425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54592204093933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:00:22.361537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_46_2737.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_53_3552.jpg', '/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_55_2669.jpg', '/home/pi/Desktop/images/22112025/02/59/image_22112025_02_59_02_4494.jpg', '/home/pi/Desktop/images/22112025/02/59/image_22112025_02_59_04_1677.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_07_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_46_2737.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_53_3552.jpg
/home/pi/Desktop/images/22112025/02/58/image_22112025_02_58_55_2669.jpg
/home/pi/Desktop/images/22112025/02/59/image_22112025_02_59_02_4494.jpg
/home/pi/Desktop/images/22112025/02/59/image_22112025_02_59_04_1677.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_07_3015.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395660724","1395661083","1395661014","1395660800","1395660874","1395660949"],"photo_ids_order":["1395660724","1395660800","1395660874","1395660949","1395661014","1395661083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98f41b8674920fbab671691d4bc63a6f.jpg","text":"TemporaryFile(/tmp/multipartBody8342934480633601790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776883064,"filename":"image_22112025_02_58_46_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc7b9b8eabb3aff0e8dc3daddb05cbb7.jpg","text":"TemporaryFile(/tmp/multipartBody1356584983685021844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776883064,"filename":"image_22112025_03_00_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebf8e8dbdb737750f38d056406782cd0.jpg","text":"TemporaryFile(/tmp/multipartBody3179235903828219585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776883064,"filename":"image_22112025_02_59_04_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb8f4c3b40fd08debd163def8a0c62a9.jpg","text":"TemporaryFile(/tmp/multipartBody1745290468747108631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776883064,"filename":"image_22112025_02_58_53_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b4e6633bd24ea7d1235674fa705e805.jpg","text":"TemporaryFile(/tmp/multipartBody2017353567009826182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776883064,"filename":"image_22112025_02_58_55_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be2645a57cb92e1f3ea8b28a15478ade.jpg","text":"TemporaryFile(/tmp/multipartBody445663328214689302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776883064,"filename":"image_22112025_02_59_02_4494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395660874","file1":"1395660800","file0":"1395660724","file4":"1395661014","file5":"1395661083","file3":"1395660949"},"map_files_photo_id_array":[{"photo_id":"1395661083","filename":"file5"},{"photo_id":"1395660874","filename":"file2"},{"photo_id":"1395661014","filename":"file4"},{"photo_id":"1395660800","filename":"file1"},{"photo_id":"1395660724","filename":"file0"},{"photo_id":"1395660949","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395660724":["hashtag1","hashtag2"]},{"1395661083":["hashtag1","hashtag2"]},{"1395661014":["hashtag1","hashtag2"]},{"1395660800":["hashtag1","hashtag2"]},{"1395660874":["hashtag1","hashtag2"]},{"1395660949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395660724, 1395661083, 1395661014, 1395660800, 1395660874, 1395660949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37394046783447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:01:03.250940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_11_3623.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_14_2793.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_16_2678.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_26_3651.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_29_2752.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_31_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_11_3623.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_14_2793.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_16_2678.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_26_3651.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_29_2752.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_31_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395661485","1395661374","1395661446","1395661556","1395661337","1395661411"],"photo_ids_order":["1395661337","1395661374","1395661411","1395661446","1395661485","1395661556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc4e6e888d65e3911b7b4a9812fe5e57.jpg","text":"TemporaryFile(/tmp/multipartBody158018403099706875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776923944,"filename":"image_22112025_03_00_29_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f644cd4d2c48699e2feb69f90ba7725.jpg","text":"TemporaryFile(/tmp/multipartBody1053642024210339902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776923944,"filename":"image_22112025_03_00_14_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3731972f73785a2571a5f559ed174222.jpg","text":"TemporaryFile(/tmp/multipartBody7476498711312503410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776923944,"filename":"image_22112025_03_00_26_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dbb6d9fdd405ef5d4fcbf7e2ee5f50a.jpg","text":"TemporaryFile(/tmp/multipartBody2902053320166803040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776923944,"filename":"image_22112025_03_00_31_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d00fcb60f82ed86cb24c96400489b1f1.jpg","text":"TemporaryFile(/tmp/multipartBody2829171860528203853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776923944,"filename":"image_22112025_03_00_11_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5651d2f5d6c5dbb366d55ad0e78572fa.jpg","text":"TemporaryFile(/tmp/multipartBody2074573043085541082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776923944,"filename":"image_22112025_03_00_16_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395661411","file1":"1395661374","file0":"1395661337","file4":"1395661485","file5":"1395661556","file3":"1395661446"},"map_files_photo_id_array":[{"photo_id":"1395661556","filename":"file5"},{"photo_id":"1395661411","filename":"file2"},{"photo_id":"1395661485","filename":"file4"},{"photo_id":"1395661374","filename":"file1"},{"photo_id":"1395661337","filename":"file0"},{"photo_id":"1395661446","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395661485":["hashtag1","hashtag2"]},{"1395661374":["hashtag1","hashtag2"]},{"1395661446":["hashtag1","hashtag2"]},{"1395661556":["hashtag1","hashtag2"]},{"1395661337":["hashtag1","hashtag2"]},{"1395661411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395661485, 1395661374, 1395661446, 1395661556, 1395661337, 1395661411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31346821784973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:01:42.609345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_34_2689.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_38_3538.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_44_3762.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_47_2639.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_49_2705.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_52_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_34_2689.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_38_3538.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_44_3762.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_47_2639.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_49_2705.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_52_2823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395661959","1395661823","1395661858","1395661969","1395661924","1395661788"],"photo_ids_order":["1395661788","1395661823","1395661858","1395661924","1395661959","1395661969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3760bbdeba5c082fe57b33a6d7642e73.jpg","text":"TemporaryFile(/tmp/multipartBody3036037285137827606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776963274,"filename":"image_22112025_03_00_49_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef25f63bb869dee15630a966ac377409.jpg","text":"TemporaryFile(/tmp/multipartBody1281122821978702305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776963274,"filename":"image_22112025_03_00_38_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8021c9cef45b6a68bcfc65726dc32c4a.jpg","text":"TemporaryFile(/tmp/multipartBody1088775641861190856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776963274,"filename":"image_22112025_03_00_44_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27cbef69a4e8234c61b6d2dab28d00f1.jpg","text":"TemporaryFile(/tmp/multipartBody7802384059844075130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776963274,"filename":"image_22112025_03_00_52_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2786390ddda45af1d0a5ad26626f20b0.jpg","text":"TemporaryFile(/tmp/multipartBody1167654834947124275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776963274,"filename":"image_22112025_03_00_47_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e85bf1bdfd9f09ee44a1c7434631651.jpg","text":"TemporaryFile(/tmp/multipartBody4917563032947349610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763776963274,"filename":"image_22112025_03_00_34_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395661858","file1":"1395661823","file0":"1395661788","file4":"1395661959","file5":"1395661969","file3":"1395661924"},"map_files_photo_id_array":[{"photo_id":"1395661969","filename":"file5"},{"photo_id":"1395661858","filename":"file2"},{"photo_id":"1395661959","filename":"file4"},{"photo_id":"1395661823","filename":"file1"},{"photo_id":"1395661788","filename":"file0"},{"photo_id":"1395661924","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395661959":["hashtag1","hashtag2"]},{"1395661823":["hashtag1","hashtag2"]},{"1395661858":["hashtag1","hashtag2"]},{"1395661969":["hashtag1","hashtag2"]},{"1395661924":["hashtag1","hashtag2"]},{"1395661788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395661959, 1395661823, 1395661858, 1395661969, 1395661924, 1395661788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55436992645264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:02:21.876035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_56_3664.jpg', '/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_58_2580.jpg', '/home/pi/Desktop/images/22112025/03/01/image_22112025_03_01_01_2659.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_07_3018.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_11_3822.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_14_2916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_56_3664.jpg
/home/pi/Desktop/images/22112025/03/00/image_22112025_03_00_58_2580.jpg
/home/pi/Desktop/images/22112025/03/01/image_22112025_03_01_01_2659.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_07_3018.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_11_3822.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_14_2916.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662165","1395662066","1395662129","1395662114","1395662111","1395662104"],"photo_ids_order":["1395662066","1395662104","1395662111","1395662114","1395662129","1395662165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e84b720ed5c9fb76fa48486fa2c7de3a.jpg","text":"TemporaryFile(/tmp/multipartBody1914546420095874881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777002509,"filename":"image_22112025_03_02_14_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8a3bb2e0a809d2e1a6efe66e54b0306.jpg","text":"TemporaryFile(/tmp/multipartBody230591771071651370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777002509,"filename":"image_22112025_03_00_56_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1966a16bff02bf1c33e5b7006a2f1871.jpg","text":"TemporaryFile(/tmp/multipartBody6396334509999550980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777002509,"filename":"image_22112025_03_02_11_3822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c208a4d05518b9b94209d023890ce0fb.jpg","text":"TemporaryFile(/tmp/multipartBody6980403214104592071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777002509,"filename":"image_22112025_03_02_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2d5ea9fb4c6f90e0ef32d89f893b6f1.jpg","text":"TemporaryFile(/tmp/multipartBody3687086088259798872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777002509,"filename":"image_22112025_03_01_01_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e6423df40d89c36c2717eee526b8493.jpg","text":"TemporaryFile(/tmp/multipartBody5028811000463909507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777002509,"filename":"image_22112025_03_00_58_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662111","file1":"1395662104","file0":"1395662066","file4":"1395662129","file5":"1395662165","file3":"1395662114"},"map_files_photo_id_array":[{"photo_id":"1395662165","filename":"file5"},{"photo_id":"1395662111","filename":"file2"},{"photo_id":"1395662129","filename":"file4"},{"photo_id":"1395662104","filename":"file1"},{"photo_id":"1395662066","filename":"file0"},{"photo_id":"1395662114","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662165":["hashtag1","hashtag2"]},{"1395662066":["hashtag1","hashtag2"]},{"1395662129":["hashtag1","hashtag2"]},{"1395662114":["hashtag1","hashtag2"]},{"1395662111":["hashtag1","hashtag2"]},{"1395662104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662165, 1395662066, 1395662129, 1395662114, 1395662111, 1395662104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04897379875183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:03:02.805075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_17_2745.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_19_2678.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_26_2641.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_32_3574.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_35_2708.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_37_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_17_2745.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_19_2678.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_26_2641.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_32_3574.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_35_2708.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_37_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662211","1395662205","1395662214","1395662207","1395662218","1395662209"],"photo_ids_order":["1395662205","1395662207","1395662209","1395662211","1395662214","1395662218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3aec1988c5348569b41c14dad13e9638.jpg","text":"TemporaryFile(/tmp/multipartBody4937457509930343949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777043517,"filename":"image_22112025_03_02_32_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d05b393ef7b0b08f3769a550107d989.jpg","text":"TemporaryFile(/tmp/multipartBody1386967859064753332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777043517,"filename":"image_22112025_03_02_17_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3384c44a8e66cfd80cdf906d678679e0.jpg","text":"TemporaryFile(/tmp/multipartBody5996896096839816345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777043517,"filename":"image_22112025_03_02_35_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6e58fdb3ac187d82159b1c5f97a6f2c.jpg","text":"TemporaryFile(/tmp/multipartBody1935193277073602720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777043517,"filename":"image_22112025_03_02_19_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c21a8d58d0a427bb861bd0f876c26030.jpg","text":"TemporaryFile(/tmp/multipartBody6140830372788547775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777043517,"filename":"image_22112025_03_02_37_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63acaf5932bf9e315646722ec55344bf.jpg","text":"TemporaryFile(/tmp/multipartBody7726569311676876772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777043517,"filename":"image_22112025_03_02_26_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662209","file1":"1395662207","file0":"1395662205","file4":"1395662214","file5":"1395662218","file3":"1395662211"},"map_files_photo_id_array":[{"photo_id":"1395662218","filename":"file5"},{"photo_id":"1395662209","filename":"file2"},{"photo_id":"1395662214","filename":"file4"},{"photo_id":"1395662207","filename":"file1"},{"photo_id":"1395662205","filename":"file0"},{"photo_id":"1395662211","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662211":["hashtag1","hashtag2"]},{"1395662205":["hashtag1","hashtag2"]},{"1395662214":["hashtag1","hashtag2"]},{"1395662207":["hashtag1","hashtag2"]},{"1395662218":["hashtag1","hashtag2"]},{"1395662209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662211, 1395662205, 1395662214, 1395662207, 1395662218, 1395662209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0797598361969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:03:42.099411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_41_3521.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_44_2655.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_46_2775.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_50_3677.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_55_2819.jpg', '/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_58_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_41_3521.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_44_2655.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_46_2775.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_50_3677.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_55_2819.jpg
/home/pi/Desktop/images/22112025/03/02/image_22112025_03_02_58_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662229","1395662231","1395662225","1395662228","1395662230","1395662227"],"photo_ids_order":["1395662225","1395662227","1395662228","1395662229","1395662230","1395662231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fde303571ea3bbd21f8cd6c7440d0892.jpg","text":"TemporaryFile(/tmp/multipartBody1662169958080757338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777082759,"filename":"image_22112025_03_02_50_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e738c69bc4341fce53891e36c2cd525.jpg","text":"TemporaryFile(/tmp/multipartBody1787037090713482808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777082759,"filename":"image_22112025_03_02_58_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3db1e442cb0c99d762f9b3eb45ad3328.jpg","text":"TemporaryFile(/tmp/multipartBody1243561045357698809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777082759,"filename":"image_22112025_03_02_41_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4aef2d5a7fb0f878e44f80d01c73621b.jpg","text":"TemporaryFile(/tmp/multipartBody2052326335573847366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777082759,"filename":"image_22112025_03_02_46_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df1fbb7cec8fb4ff5477ff83f1daaf59.jpg","text":"TemporaryFile(/tmp/multipartBody7298643828136781005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777082759,"filename":"image_22112025_03_02_55_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ac819819bba13841e4cd3d3f916b69b.jpg","text":"TemporaryFile(/tmp/multipartBody2588586953930552232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777082759,"filename":"image_22112025_03_02_44_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662228","file1":"1395662227","file0":"1395662225","file4":"1395662230","file5":"1395662231","file3":"1395662229"},"map_files_photo_id_array":[{"photo_id":"1395662231","filename":"file5"},{"photo_id":"1395662228","filename":"file2"},{"photo_id":"1395662230","filename":"file4"},{"photo_id":"1395662227","filename":"file1"},{"photo_id":"1395662225","filename":"file0"},{"photo_id":"1395662229","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662229":["hashtag1","hashtag2"]},{"1395662231":["hashtag1","hashtag2"]},{"1395662225":["hashtag1","hashtag2"]},{"1395662228":["hashtag1","hashtag2"]},{"1395662230":["hashtag1","hashtag2"]},{"1395662227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662229, 1395662231, 1395662225, 1395662228, 1395662230, 1395662227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.139782667160034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:04:22.389035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/03/image_22112025_03_03_02_3636.jpg', '/home/pi/Desktop/images/22112025/03/03/image_22112025_03_03_04_2615.jpg', '/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_07_3018.jpg', '/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_13_2643.jpg', '/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_16_2572.jpg', '/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_19_3743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/03/image_22112025_03_03_02_3636.jpg
/home/pi/Desktop/images/22112025/03/03/image_22112025_03_03_04_2615.jpg
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_07_3018.jpg
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_13_2643.jpg
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_16_2572.jpg
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_19_3743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662262","1395662241","1395662250","1395662273","1395662246","1395662253"],"photo_ids_order":["1395662241","1395662246","1395662250","1395662253","1395662262","1395662273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42962649c22fd2e34a331f38c572b3d1.jpg","text":"TemporaryFile(/tmp/multipartBody8749784920812570091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777123171,"filename":"image_22112025_03_04_16_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/894b448562b6c6050622314030a6fd11.jpg","text":"TemporaryFile(/tmp/multipartBody2456932457739868633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777123171,"filename":"image_22112025_03_03_02_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c87228bd5fe23e34f593f531ea694dd.jpg","text":"TemporaryFile(/tmp/multipartBody8443636483819701457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777123171,"filename":"image_22112025_03_04_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d430109f738eb711c5093b03b4fdbf43.jpg","text":"TemporaryFile(/tmp/multipartBody5927031378995421126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777123171,"filename":"image_22112025_03_04_19_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e15b974e275f31dba908fcd3a82d6683.jpg","text":"TemporaryFile(/tmp/multipartBody6128420304018617589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777123171,"filename":"image_22112025_03_03_04_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/164cc49acbcfbae1e429eef8cc975caf.jpg","text":"TemporaryFile(/tmp/multipartBody8875831478156780300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777123171,"filename":"image_22112025_03_04_13_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662250","file1":"1395662246","file0":"1395662241","file4":"1395662262","file5":"1395662273","file3":"1395662253"},"map_files_photo_id_array":[{"photo_id":"1395662273","filename":"file5"},{"photo_id":"1395662250","filename":"file2"},{"photo_id":"1395662262","filename":"file4"},{"photo_id":"1395662246","filename":"file1"},{"photo_id":"1395662241","filename":"file0"},{"photo_id":"1395662253","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662262":["hashtag1","hashtag2"]},{"1395662241":["hashtag1","hashtag2"]},{"1395662250":["hashtag1","hashtag2"]},{"1395662273":["hashtag1","hashtag2"]},{"1395662246":["hashtag1","hashtag2"]},{"1395662253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662262, 1395662241, 1395662250, 1395662273, 1395662246, 1395662253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38202404975891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:05:03.258286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_22_2718.jpg', '/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_34_2823.jpg', '/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_40_3696.jpg', '/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_43_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_22_2718.jpg
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_34_2823.jpg
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_40_3696.jpg
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_43_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662276","1395662278","1395662280","1395662274"],"photo_ids_order":["1395662274","1395662276","1395662278","1395662280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/049853a319293d88512f013d5fa3aaaa.jpg","text":"TemporaryFile(/tmp/multipartBody739403933374852990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777163947,"filename":"image_22112025_03_04_34_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb08cea215d355c5a53e27b84f3d0e84.jpg","text":"TemporaryFile(/tmp/multipartBody6548238887292964252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777163947,"filename":"image_22112025_03_04_40_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3eb2aeffd42360ec585cf7879400f459.jpg","text":"TemporaryFile(/tmp/multipartBody1461290857837028771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777163947,"filename":"image_22112025_03_04_43_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbb20bb5635e31a9ebe466318f03115d.jpg","text":"TemporaryFile(/tmp/multipartBody6652714602060612625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777163947,"filename":"image_22112025_03_04_22_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662278","file1":"1395662276","file0":"1395662274","file3":"1395662280"},"map_files_photo_id_array":[{"photo_id":"1395662278","filename":"file2"},{"photo_id":"1395662276","filename":"file1"},{"photo_id":"1395662274","filename":"file0"},{"photo_id":"1395662280","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662276":["hashtag1","hashtag2"]},{"1395662278":["hashtag1","hashtag2"]},{"1395662280":["hashtag1","hashtag2"]},{"1395662274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662276, 1395662278, 1395662280, 1395662274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.90207862854004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:05:42.680472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_49_2664.jpg', '/home/pi/Desktop/images/22112025/03/05/image_22112025_03_05_01_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/04/image_22112025_03_04_49_2664.jpg
/home/pi/Desktop/images/22112025/03/05/image_22112025_03_05_01_2673.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662294","1395662292"],"photo_ids_order":["1395662292","1395662294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37ebe1c7e1f42d968e2e52c2c14bb095.jpg","text":"TemporaryFile(/tmp/multipartBody2480266910272202419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777203223,"filename":"image_22112025_03_05_01_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9b19f62c535807a2dba55108429ad0a.jpg","text":"TemporaryFile(/tmp/multipartBody5120448938367305091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777203223,"filename":"image_22112025_03_04_49_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395662294","file0":"1395662292"},"map_files_photo_id_array":[{"photo_id":"1395662294","filename":"file1"},{"photo_id":"1395662292","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662294":["hashtag1","hashtag2"]},{"1395662292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662294, 1395662292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.170356273651123 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:06:23.665246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/05/image_22112025_03_05_04_2628.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_07_3018.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_11_3721.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_14_2652.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_25_2651.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_29_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/05/image_22112025_03_05_04_2628.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_07_3018.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_11_3721.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_14_2652.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_25_2651.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_29_3550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662322","1395662304","1395662307","1395662312","1395662318","1395662320"],"photo_ids_order":["1395662304","1395662307","1395662312","1395662318","1395662320","1395662322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f90c8cfe3088de4e208b6cb1fe1302f.jpg","text":"TemporaryFile(/tmp/multipartBody1585435388456638090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777244351,"filename":"image_22112025_03_06_29_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41cc4d351fabd20db2feff605ff0c8d2.jpg","text":"TemporaryFile(/tmp/multipartBody7179180018127259594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777244351,"filename":"image_22112025_03_05_04_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c448257ba559eb76fed4e989c266217.jpg","text":"TemporaryFile(/tmp/multipartBody3818929749159478786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777244351,"filename":"image_22112025_03_06_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2402a63d038018b8ee639216e6ba8c67.jpg","text":"TemporaryFile(/tmp/multipartBody400725612676018465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777244351,"filename":"image_22112025_03_06_11_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a22030dd3206251b1b3e3ed42f45b77e.jpg","text":"TemporaryFile(/tmp/multipartBody4156945146512679113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777244351,"filename":"image_22112025_03_06_14_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04d773b4fa0e20d799204c0913b386d8.jpg","text":"TemporaryFile(/tmp/multipartBody7594076934285939276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777244351,"filename":"image_22112025_03_06_25_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662312","file1":"1395662307","file0":"1395662304","file4":"1395662320","file5":"1395662322","file3":"1395662318"},"map_files_photo_id_array":[{"photo_id":"1395662322","filename":"file5"},{"photo_id":"1395662312","filename":"file2"},{"photo_id":"1395662320","filename":"file4"},{"photo_id":"1395662307","filename":"file1"},{"photo_id":"1395662304","filename":"file0"},{"photo_id":"1395662318","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662322":["hashtag1","hashtag2"]},{"1395662304":["hashtag1","hashtag2"]},{"1395662307":["hashtag1","hashtag2"]},{"1395662312":["hashtag1","hashtag2"]},{"1395662318":["hashtag1","hashtag2"]},{"1395662320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662322, 1395662304, 1395662307, 1395662312, 1395662318, 1395662320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.318238735198975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:07:02.610726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_31_2576.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_35_3172.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_38_3537.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_44_2903.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_47_2846.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_49_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_31_2576.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_35_3172.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_38_3537.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_44_2903.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_47_2846.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_49_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662342","1395662333","1395662335","1395662338","1395662329","1395662331"],"photo_ids_order":["1395662329","1395662331","1395662333","1395662335","1395662338","1395662342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebd345a7af05881bfa27e093f09ec808.jpg","text":"TemporaryFile(/tmp/multipartBody5756566830597054452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777283313,"filename":"image_22112025_03_06_49_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/476efa11b2e65c6e017a0955271f86d2.jpg","text":"TemporaryFile(/tmp/multipartBody3960596074403459985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777283313,"filename":"image_22112025_03_06_38_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/659671895a6bb1f57684a18bcb00135c.jpg","text":"TemporaryFile(/tmp/multipartBody4891657029708096590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777283313,"filename":"image_22112025_03_06_44_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/017ff17edc47573f02e2399dcf67a3f0.jpg","text":"TemporaryFile(/tmp/multipartBody5980872575800226042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777283313,"filename":"image_22112025_03_06_47_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ce3e93b51438dfa04894857b39e8721.jpg","text":"TemporaryFile(/tmp/multipartBody4689193878252048134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777283313,"filename":"image_22112025_03_06_31_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98eda4563de0f12f72241a654a97892e.jpg","text":"TemporaryFile(/tmp/multipartBody5857535428451265308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777283313,"filename":"image_22112025_03_06_35_3172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662333","file1":"1395662331","file0":"1395662329","file4":"1395662338","file5":"1395662342","file3":"1395662335"},"map_files_photo_id_array":[{"photo_id":"1395662342","filename":"file5"},{"photo_id":"1395662333","filename":"file2"},{"photo_id":"1395662338","filename":"file4"},{"photo_id":"1395662331","filename":"file1"},{"photo_id":"1395662329","filename":"file0"},{"photo_id":"1395662335","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662342":["hashtag1","hashtag2"]},{"1395662333":["hashtag1","hashtag2"]},{"1395662335":["hashtag1","hashtag2"]},{"1395662338":["hashtag1","hashtag2"]},{"1395662329":["hashtag1","hashtag2"]},{"1395662331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662342, 1395662333, 1395662335, 1395662338, 1395662329, 1395662331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03414011001587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:07:41.865286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_53_3618.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_55_2565.jpg', '/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_59_3660.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_03_4265.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_05_1634.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_08_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_53_3618.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_55_2565.jpg
/home/pi/Desktop/images/22112025/03/06/image_22112025_03_06_59_3660.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_03_4265.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_05_1634.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_08_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662355","1395662357","1395662351","1395662354","1395662353","1395662356"],"photo_ids_order":["1395662351","1395662353","1395662354","1395662355","1395662356","1395662357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ad5216975c80700bdc49a3e9e61854c.jpg","text":"TemporaryFile(/tmp/multipartBody1726059019900139327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777322537,"filename":"image_22112025_03_07_03_4265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/619256a5760dbef03b8b39e3e7aedab3.jpg","text":"TemporaryFile(/tmp/multipartBody8206195481044951400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777322537,"filename":"image_22112025_03_07_08_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08af5d8aef37934857b4738474e6b54b.jpg","text":"TemporaryFile(/tmp/multipartBody9046692900822679052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777322537,"filename":"image_22112025_03_06_53_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c813789d0b69a92e4738a16c01db739.jpg","text":"TemporaryFile(/tmp/multipartBody4549475052760221637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777322537,"filename":"image_22112025_03_06_59_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f3c36257d504495f5b93a5912687ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8078242776362983840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777322537,"filename":"image_22112025_03_06_55_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac460cbe7cb38fbd91868ddd8e76b017.jpg","text":"TemporaryFile(/tmp/multipartBody6981587053047427263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777322537,"filename":"image_22112025_03_07_05_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662354","file1":"1395662353","file0":"1395662351","file4":"1395662356","file5":"1395662357","file3":"1395662355"},"map_files_photo_id_array":[{"photo_id":"1395662357","filename":"file5"},{"photo_id":"1395662354","filename":"file2"},{"photo_id":"1395662356","filename":"file4"},{"photo_id":"1395662353","filename":"file1"},{"photo_id":"1395662351","filename":"file0"},{"photo_id":"1395662355","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662355":["hashtag1","hashtag2"]},{"1395662357":["hashtag1","hashtag2"]},{"1395662351":["hashtag1","hashtag2"]},{"1395662354":["hashtag1","hashtag2"]},{"1395662353":["hashtag1","hashtag2"]},{"1395662356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662355, 1395662357, 1395662351, 1395662354, 1395662353, 1395662356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77284240722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:08:22.074261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_10_2589.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_14_3637.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_17_3059.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_20_2771.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_22_2657.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_29_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_10_2589.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_14_3637.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_17_3059.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_20_2771.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_22_2657.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_29_3540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662375","1395662369","1395662363","1395662372","1395662377","1395662379"],"photo_ids_order":["1395662363","1395662369","1395662372","1395662375","1395662377","1395662379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1024a62e600079d3a8d156945426ca80.jpg","text":"TemporaryFile(/tmp/multipartBody1303370955411926434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777362735,"filename":"image_22112025_03_07_20_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/943446f2a684d2c91ce7b26a8254a3c1.jpg","text":"TemporaryFile(/tmp/multipartBody4563039454467375156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777362735,"filename":"image_22112025_03_07_14_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee308094c971bc3af5f48bb8c7cfaa31.jpg","text":"TemporaryFile(/tmp/multipartBody2381798085477294242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777362735,"filename":"image_22112025_03_07_10_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21e349219cc14e86768fb60afcf06d73.jpg","text":"TemporaryFile(/tmp/multipartBody609398783944782782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777362735,"filename":"image_22112025_03_07_17_3059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a26231ea012ffb33d9adae6daf3c62e4.jpg","text":"TemporaryFile(/tmp/multipartBody619096984152336998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777362735,"filename":"image_22112025_03_07_22_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/565c50b8355c588cbfcec36216bb9ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6623268014003153999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777362735,"filename":"image_22112025_03_07_29_3540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662372","file1":"1395662369","file0":"1395662363","file4":"1395662377","file5":"1395662379","file3":"1395662375"},"map_files_photo_id_array":[{"photo_id":"1395662379","filename":"file5"},{"photo_id":"1395662372","filename":"file2"},{"photo_id":"1395662377","filename":"file4"},{"photo_id":"1395662369","filename":"file1"},{"photo_id":"1395662363","filename":"file0"},{"photo_id":"1395662375","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662375":["hashtag1","hashtag2"]},{"1395662369":["hashtag1","hashtag2"]},{"1395662363":["hashtag1","hashtag2"]},{"1395662372":["hashtag1","hashtag2"]},{"1395662377":["hashtag1","hashtag2"]},{"1395662379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662375, 1395662369, 1395662363, 1395662372, 1395662377, 1395662379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97179579734802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:09:03.254808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_31_2746.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_35_3640.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_38_2564.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_40_2655.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_44_3769.jpg', '/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_47_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_31_2746.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_35_3640.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_38_2564.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_40_2655.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_44_3769.jpg
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_47_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662400","1395662390","1395662392","1395662389","1395662394","1395662397"],"photo_ids_order":["1395662389","1395662390","1395662392","1395662394","1395662397","1395662400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d157edcfd8aea5b44cf7e052bf6dfd64.jpg","text":"TemporaryFile(/tmp/multipartBody7726835711491763924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777404117,"filename":"image_22112025_03_07_47_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd0888accd284ce8ce8dcdf4370aa5cf.jpg","text":"TemporaryFile(/tmp/multipartBody6900288173222701866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777404117,"filename":"image_22112025_03_07_35_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a541491894cdfb65db7cf90b38d6a530.jpg","text":"TemporaryFile(/tmp/multipartBody3260619461612073203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777404117,"filename":"image_22112025_03_07_38_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d101b49909a10012d3bc46df4ef01168.jpg","text":"TemporaryFile(/tmp/multipartBody4002123516179452765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777404117,"filename":"image_22112025_03_07_31_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7c5fcdcc45f1dbf8093a78392b130bf.jpg","text":"TemporaryFile(/tmp/multipartBody7463410814167360144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777404117,"filename":"image_22112025_03_07_40_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de1f340c7604ce45cc3a569db8b657ac.jpg","text":"TemporaryFile(/tmp/multipartBody4763533731423340722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777404117,"filename":"image_22112025_03_07_44_3769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662392","file1":"1395662390","file0":"1395662389","file4":"1395662397","file5":"1395662400","file3":"1395662394"},"map_files_photo_id_array":[{"photo_id":"1395662400","filename":"file5"},{"photo_id":"1395662392","filename":"file2"},{"photo_id":"1395662397","filename":"file4"},{"photo_id":"1395662390","filename":"file1"},{"photo_id":"1395662389","filename":"file0"},{"photo_id":"1395662394","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662400":["hashtag1","hashtag2"]},{"1395662390":["hashtag1","hashtag2"]},{"1395662392":["hashtag1","hashtag2"]},{"1395662389":["hashtag1","hashtag2"]},{"1395662394":["hashtag1","hashtag2"]},{"1395662397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662400, 1395662390, 1395662392, 1395662389, 1395662394, 1395662397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.801472663879395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:09:42.628687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_58_2738.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_06_3114.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_10_3644.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_13_2593.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_15_2663.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_19_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/07/image_22112025_03_07_58_2738.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_06_3114.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_10_3644.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_13_2593.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_15_2663.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_19_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662412","1395662415","1395662414","1395662408","1395662410","1395662413"],"photo_ids_order":["1395662408","1395662410","1395662412","1395662413","1395662414","1395662415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06bd94d590226a8e8543cfec229d9b84.jpg","text":"TemporaryFile(/tmp/multipartBody4975126954746762241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777443290,"filename":"image_22112025_03_09_10_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d77084255f24544072cbacf93d0d126.jpg","text":"TemporaryFile(/tmp/multipartBody5701161661222552581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777443290,"filename":"image_22112025_03_09_19_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92eaa8f7950ee0e29022b0286aaecc7e.jpg","text":"TemporaryFile(/tmp/multipartBody7356564414513065011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777443290,"filename":"image_22112025_03_09_15_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ceef3c2d65aefeed66ffb7c72f4fdd4.jpg","text":"TemporaryFile(/tmp/multipartBody8532524760498559474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777443290,"filename":"image_22112025_03_07_58_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6334c84325ac8665b5bb6b4e2f929ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3789108627510910600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777443290,"filename":"image_22112025_03_09_06_3114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fc2eea830f6242eaacd33cd020f0ea5.jpg","text":"TemporaryFile(/tmp/multipartBody427042276835612362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777443290,"filename":"image_22112025_03_09_13_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662412","file1":"1395662410","file0":"1395662408","file4":"1395662414","file5":"1395662415","file3":"1395662413"},"map_files_photo_id_array":[{"photo_id":"1395662415","filename":"file5"},{"photo_id":"1395662412","filename":"file2"},{"photo_id":"1395662414","filename":"file4"},{"photo_id":"1395662410","filename":"file1"},{"photo_id":"1395662408","filename":"file0"},{"photo_id":"1395662413","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662412":["hashtag1","hashtag2"]},{"1395662415":["hashtag1","hashtag2"]},{"1395662414":["hashtag1","hashtag2"]},{"1395662408":["hashtag1","hashtag2"]},{"1395662410":["hashtag1","hashtag2"]},{"1395662413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662412, 1395662415, 1395662414, 1395662408, 1395662410, 1395662413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.717809200286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:10:21.880266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_24_2660.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_28_3648.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_31_2887.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_33_2562.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_40_2604.jpg', '/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_42_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_24_2660.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_28_3648.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_31_2887.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_33_2562.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_40_2604.jpg
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_42_2539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662427","1395662424","1395662432","1395662429","1395662434","1395662422"],"photo_ids_order":["1395662422","1395662424","1395662427","1395662429","1395662432","1395662434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97deaf1d02225f7f3e0d7940bf961251.jpg","text":"TemporaryFile(/tmp/multipartBody2842915793134207527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777482546,"filename":"image_22112025_03_09_31_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91783861b44378c928a52cd472347b70.jpg","text":"TemporaryFile(/tmp/multipartBody4441285502665691000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777482546,"filename":"image_22112025_03_09_28_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ccc3f86000c9694f7364098371c52e8.jpg","text":"TemporaryFile(/tmp/multipartBody3657351238982740065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777482546,"filename":"image_22112025_03_09_40_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87271b620955a6d4180607cfec00ad0a.jpg","text":"TemporaryFile(/tmp/multipartBody310250215259839525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777482546,"filename":"image_22112025_03_09_33_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e10c2269f7092222b7d20c9365c063f7.jpg","text":"TemporaryFile(/tmp/multipartBody1693650861580248647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777482546,"filename":"image_22112025_03_09_42_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c02df03f25b1be2148d35dcbba1dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody2785973604437194760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777482546,"filename":"image_22112025_03_09_24_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662427","file1":"1395662424","file0":"1395662422","file4":"1395662432","file5":"1395662434","file3":"1395662429"},"map_files_photo_id_array":[{"photo_id":"1395662434","filename":"file5"},{"photo_id":"1395662427","filename":"file2"},{"photo_id":"1395662432","filename":"file4"},{"photo_id":"1395662424","filename":"file1"},{"photo_id":"1395662422","filename":"file0"},{"photo_id":"1395662429","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662427":["hashtag1","hashtag2"]},{"1395662424":["hashtag1","hashtag2"]},{"1395662432":["hashtag1","hashtag2"]},{"1395662429":["hashtag1","hashtag2"]},{"1395662434":["hashtag1","hashtag2"]},{"1395662422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662427, 1395662424, 1395662432, 1395662429, 1395662434, 1395662422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03607153892517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:11:02.790579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_46_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_46_3619.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662443"],"photo_id":"1395662443","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a68cabbad0aa48b2a356d566c7c47151.jpg","text":"TemporaryFile(/tmp/multipartBody7693009028489834559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777523356,"filename":"image_22112025_03_09_46_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395662443"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395662443"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.044129610061646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:11:22.228406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_49_2694.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_10_3579.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_12_2729.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_15_2690.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_19_3671.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_21_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/09/image_22112025_03_09_49_2694.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_10_3579.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_12_2729.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_15_2690.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_19_3671.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_21_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662454","1395662465","1395662450","1395662461","1395662458","1395662466"],"photo_ids_order":["1395662450","1395662454","1395662458","1395662461","1395662465","1395662466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f39c8011b64fb812eef2e57db1b69f2.jpg","text":"TemporaryFile(/tmp/multipartBody3950539971993329678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777542957,"filename":"image_22112025_03_11_10_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a03e7f073c3524889599a08f315e1c7.jpg","text":"TemporaryFile(/tmp/multipartBody2326592547667832082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777542957,"filename":"image_22112025_03_11_19_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01903d2edfdd34e57c74686d9ee050ab.jpg","text":"TemporaryFile(/tmp/multipartBody4934124198368748868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777542957,"filename":"image_22112025_03_09_49_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/241d02c434a7b0f95a8c222576d5dce7.jpg","text":"TemporaryFile(/tmp/multipartBody2236857950962553795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777542957,"filename":"image_22112025_03_11_15_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d68dffdf60c62bc26da72d390b376b6e.jpg","text":"TemporaryFile(/tmp/multipartBody5509901287580946674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777542957,"filename":"image_22112025_03_11_12_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b0d1e5d234b3c3300de262b983e12f5.jpg","text":"TemporaryFile(/tmp/multipartBody212701844052641013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777542957,"filename":"image_22112025_03_11_21_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662458","file1":"1395662454","file0":"1395662450","file4":"1395662465","file5":"1395662466","file3":"1395662461"},"map_files_photo_id_array":[{"photo_id":"1395662466","filename":"file5"},{"photo_id":"1395662458","filename":"file2"},{"photo_id":"1395662465","filename":"file4"},{"photo_id":"1395662454","filename":"file1"},{"photo_id":"1395662450","filename":"file0"},{"photo_id":"1395662461","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662454":["hashtag1","hashtag2"]},{"1395662465":["hashtag1","hashtag2"]},{"1395662450":["hashtag1","hashtag2"]},{"1395662461":["hashtag1","hashtag2"]},{"1395662458":["hashtag1","hashtag2"]},{"1395662466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662454, 1395662465, 1395662450, 1395662461, 1395662458, 1395662466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61042022705078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:12:02.851064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_25_3559.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_28_2560.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_37_2660.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_39_2827.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_46_3636.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_49_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_25_3559.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_28_2560.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_37_2660.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_39_2827.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_46_3636.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_49_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662482","1395662479","1395662490","1395662484","1395662478","1395662487"],"photo_ids_order":["1395662478","1395662479","1395662482","1395662484","1395662487","1395662490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/923361ce3e05b1e89250641d85f802fd.jpg","text":"TemporaryFile(/tmp/multipartBody8968822034449921554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777583512,"filename":"image_22112025_03_11_37_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96d31f6ebf8afff196d841e3ee03b986.jpg","text":"TemporaryFile(/tmp/multipartBody7591691757508769551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777583512,"filename":"image_22112025_03_11_28_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2a37d9da83f00a79f3df354a2b4b78d.jpg","text":"TemporaryFile(/tmp/multipartBody482071951016047094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777583512,"filename":"image_22112025_03_11_49_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7107e071875756ccc8d09866e96fb9df.jpg","text":"TemporaryFile(/tmp/multipartBody508550304160253540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777583512,"filename":"image_22112025_03_11_39_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58a88ac1bb9e3bd5c49d4f6cb78ffdd7.jpg","text":"TemporaryFile(/tmp/multipartBody1286364236045044354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777583512,"filename":"image_22112025_03_11_25_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b5887c7b95c46573b4057155571db51.jpg","text":"TemporaryFile(/tmp/multipartBody117893780183840846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777583512,"filename":"image_22112025_03_11_46_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662482","file1":"1395662479","file0":"1395662478","file4":"1395662487","file5":"1395662490","file3":"1395662484"},"map_files_photo_id_array":[{"photo_id":"1395662490","filename":"file5"},{"photo_id":"1395662482","filename":"file2"},{"photo_id":"1395662487","filename":"file4"},{"photo_id":"1395662479","filename":"file1"},{"photo_id":"1395662478","filename":"file0"},{"photo_id":"1395662484","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662482":["hashtag1","hashtag2"]},{"1395662479":["hashtag1","hashtag2"]},{"1395662490":["hashtag1","hashtag2"]},{"1395662484":["hashtag1","hashtag2"]},{"1395662478":["hashtag1","hashtag2"]},{"1395662487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662482, 1395662479, 1395662490, 1395662484, 1395662478, 1395662487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.787243604660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:12:42.442483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_51_2700.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_55_3728.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_58_2694.jpg', '/home/pi/Desktop/images/22112025/03/11/image_22112025_03_12_00_2627.jpg', '/home/pi/Desktop/images/22112025/03/12/image_22112025_03_12_04_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_51_2700.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_55_3728.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_11_58_2694.jpg
/home/pi/Desktop/images/22112025/03/11/image_22112025_03_12_00_2627.jpg
/home/pi/Desktop/images/22112025/03/12/image_22112025_03_12_04_3639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662498","1395662502","1395662501","1395662503","1395662500"],"photo_ids_order":["1395662498","1395662500","1395662501","1395662502","1395662503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec17fd42ec90e7e8c53f499ce3bcf4b8.jpg","text":"TemporaryFile(/tmp/multipartBody8027429041662654207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777623093,"filename":"image_22112025_03_11_51_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abff9029f5be7f1982470838af2d9cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7173273976255333751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777623093,"filename":"image_22112025_03_12_00_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd9a203f1a99fb2797cc13aa91636f34.jpg","text":"TemporaryFile(/tmp/multipartBody6661292173009233158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777623093,"filename":"image_22112025_03_11_58_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e25e1edb3728f765bd64e93440c8661.jpg","text":"TemporaryFile(/tmp/multipartBody4013360539082000316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777623093,"filename":"image_22112025_03_12_04_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b83ea007f9ca1f920dd26df4aa7931bf.jpg","text":"TemporaryFile(/tmp/multipartBody8353007478386584417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777623093,"filename":"image_22112025_03_11_55_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662501","file1":"1395662500","file0":"1395662498","file4":"1395662503","file3":"1395662502"},"map_files_photo_id_array":[{"photo_id":"1395662501","filename":"file2"},{"photo_id":"1395662503","filename":"file4"},{"photo_id":"1395662500","filename":"file1"},{"photo_id":"1395662498","filename":"file0"},{"photo_id":"1395662502","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662498":["hashtag1","hashtag2"]},{"1395662502":["hashtag1","hashtag2"]},{"1395662501":["hashtag1","hashtag2"]},{"1395662503":["hashtag1","hashtag2"]},{"1395662500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662498, 1395662502, 1395662501, 1395662503, 1395662500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.322472095489502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:13:22.850433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/12/image_22112025_03_12_07_2694.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_07_3017.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_10_3551.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_13_2589.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_19_2634.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_22_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/12/image_22112025_03_12_07_2694.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_07_3017.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_10_3551.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_13_2589.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_19_2634.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_22_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662526","1395662517","1395662540","1395662543","1395662537","1395662545"],"photo_ids_order":["1395662517","1395662526","1395662537","1395662540","1395662543","1395662545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f06c9af6ba39ecd8ffc583fa4772ae9b.jpg","text":"TemporaryFile(/tmp/multipartBody2578204770659145559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777663579,"filename":"image_22112025_03_13_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5871769a0decd46d1dbe4855750a3268.jpg","text":"TemporaryFile(/tmp/multipartBody1555006947610172438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777663579,"filename":"image_22112025_03_12_07_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/387a6930f518e7400302595ad5f4cb05.jpg","text":"TemporaryFile(/tmp/multipartBody1639904786283742703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777663579,"filename":"image_22112025_03_13_13_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5edea222aaf30e081bf544b225d1e26.jpg","text":"TemporaryFile(/tmp/multipartBody8262279356063899777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777663579,"filename":"image_22112025_03_13_19_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6371d9fe7ed4b4907b79268d52c41e7c.jpg","text":"TemporaryFile(/tmp/multipartBody8307439327350178023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777663579,"filename":"image_22112025_03_13_10_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7c45c87cb0ae40341db36735b03fc17.jpg","text":"TemporaryFile(/tmp/multipartBody7519829408037615946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777663579,"filename":"image_22112025_03_13_22_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662537","file1":"1395662526","file0":"1395662517","file4":"1395662543","file5":"1395662545","file3":"1395662540"},"map_files_photo_id_array":[{"photo_id":"1395662545","filename":"file5"},{"photo_id":"1395662537","filename":"file2"},{"photo_id":"1395662543","filename":"file4"},{"photo_id":"1395662526","filename":"file1"},{"photo_id":"1395662517","filename":"file0"},{"photo_id":"1395662540","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662526":["hashtag1","hashtag2"]},{"1395662517":["hashtag1","hashtag2"]},{"1395662540":["hashtag1","hashtag2"]},{"1395662543":["hashtag1","hashtag2"]},{"1395662537":["hashtag1","hashtag2"]},{"1395662545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662526, 1395662517, 1395662540, 1395662543, 1395662537, 1395662545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64583730697632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:14:02.726944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_25_2670.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_28_3743.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_31_2800.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_34_2562.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_37_3661.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_40_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_25_2670.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_28_3743.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_31_2800.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_34_2562.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_37_3661.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_40_2728.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5905652046203613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:14:22.039591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_25_2670.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_28_3743.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_31_2800.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_34_2562.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_37_3661.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_40_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_25_2670.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_28_3743.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_31_2800.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_34_2562.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_37_3661.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_40_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662715","1395662758","1395662593","1395662632","1395662793","1395662673"],"photo_ids_order":["1395662593","1395662632","1395662673","1395662715","1395662758","1395662793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1c466f66282ab02c592c93c099f1978.jpg","text":"TemporaryFile(/tmp/multipartBody8951476715798525742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777722763,"filename":"image_22112025_03_13_34_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/728dff3956098839b748bf79a8cc7245.jpg","text":"TemporaryFile(/tmp/multipartBody6494363513866889511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777722763,"filename":"image_22112025_03_13_37_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22f25a676f43ed9249f34c8d6cb67917.jpg","text":"TemporaryFile(/tmp/multipartBody2542089750833229379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777722763,"filename":"image_22112025_03_13_25_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14177797072aa7ba4e3f6359b42c26b5.jpg","text":"TemporaryFile(/tmp/multipartBody8866485437852307235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777722763,"filename":"image_22112025_03_13_28_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2ea5604844705d4969fc8f4338e589a.jpg","text":"TemporaryFile(/tmp/multipartBody9034666289295966556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777722763,"filename":"image_22112025_03_13_40_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61c3159306d4e8763608268291e57230.jpg","text":"TemporaryFile(/tmp/multipartBody3269144695462026477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777722763,"filename":"image_22112025_03_13_31_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395662673","file1":"1395662632","file0":"1395662593","file4":"1395662758","file5":"1395662793","file3":"1395662715"},"map_files_photo_id_array":[{"photo_id":"1395662793","filename":"file5"},{"photo_id":"1395662673","filename":"file2"},{"photo_id":"1395662758","filename":"file4"},{"photo_id":"1395662632","filename":"file1"},{"photo_id":"1395662593","filename":"file0"},{"photo_id":"1395662715","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662715":["hashtag1","hashtag2"]},{"1395662758":["hashtag1","hashtag2"]},{"1395662593":["hashtag1","hashtag2"]},{"1395662632":["hashtag1","hashtag2"]},{"1395662793":["hashtag1","hashtag2"]},{"1395662673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662715, 1395662758, 1395662593, 1395662632, 1395662793, 1395662673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22084617614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:15:02.905242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_43_2480.jpg', '/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_55_2617.jpg', '/home/pi/Desktop/images/22112025/03/14/image_22112025_03_14_04_2726.jpg', '/home/pi/Desktop/images/22112025/03/14/image_22112025_03_14_07_2927.jpg', '/home/pi/Desktop/images/22112025/03/14/image_22112025_03_14_10_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_43_2480.jpg
/home/pi/Desktop/images/22112025/03/13/image_22112025_03_13_55_2617.jpg
/home/pi/Desktop/images/22112025/03/14/image_22112025_03_14_04_2726.jpg
/home/pi/Desktop/images/22112025/03/14/image_22112025_03_14_07_2927.jpg
/home/pi/Desktop/images/22112025/03/14/image_22112025_03_14_10_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395662943","1395663020","1395663064","1395662983","1395663057"],"photo_ids_order":["1395662943","1395662983","1395663020","1395663057","1395663064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12fb952e08a364d37987415eab2aa89e.jpg","text":"TemporaryFile(/tmp/multipartBody5121664320338823747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777763625,"filename":"image_22112025_03_13_43_2480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc0e688418ce70f72ab85098eea06f23.jpg","text":"TemporaryFile(/tmp/multipartBody775005957388292665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777763625,"filename":"image_22112025_03_14_04_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a93f59968a4e158a298b9903a4db9f5.jpg","text":"TemporaryFile(/tmp/multipartBody4004264726190360507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777763625,"filename":"image_22112025_03_14_10_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1ae8f29fe99be9c31bcf1e4d892c231.jpg","text":"TemporaryFile(/tmp/multipartBody1863069840872276338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777763625,"filename":"image_22112025_03_13_55_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e51141176859a0543c48ca9fd63247f9.jpg","text":"TemporaryFile(/tmp/multipartBody8037742909828100653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777763625,"filename":"image_22112025_03_14_07_2927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663020","file1":"1395662983","file0":"1395662943","file4":"1395663064","file3":"1395663057"},"map_files_photo_id_array":[{"photo_id":"1395663020","filename":"file2"},{"photo_id":"1395663064","filename":"file4"},{"photo_id":"1395662983","filename":"file1"},{"photo_id":"1395662943","filename":"file0"},{"photo_id":"1395663057","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395662943":["hashtag1","hashtag2"]},{"1395663020":["hashtag1","hashtag2"]},{"1395663064":["hashtag1","hashtag2"]},{"1395662983":["hashtag1","hashtag2"]},{"1395663057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395662943, 1395663020, 1395663064, 1395662983, 1395663057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.015244483947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:15:42.207983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/14/image_22112025_03_14_13_2882.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_07_3019.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_10_3638.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_16_2756.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_20_3662.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_22_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/14/image_22112025_03_14_13_2882.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_07_3019.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_10_3638.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_16_2756.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_20_3662.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_22_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663194","1395663143","1395663167","1395663195","1395663162","1395663191"],"photo_ids_order":["1395663143","1395663162","1395663167","1395663191","1395663194","1395663195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6730f892d9fb7639442de36eb0a56b1.jpg","text":"TemporaryFile(/tmp/multipartBody6441910534973738432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777802869,"filename":"image_22112025_03_15_20_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed0eeff4f216b4244e4ab8e885293ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4671367929923591735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777802869,"filename":"image_22112025_03_14_13_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd810d21ae3c7661d8a7ae85228e21ce.jpg","text":"TemporaryFile(/tmp/multipartBody6204903049628118678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777802869,"filename":"image_22112025_03_15_10_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b720dcc4ec03c781d972452c708e68f3.jpg","text":"TemporaryFile(/tmp/multipartBody5714787756073831519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777802869,"filename":"image_22112025_03_15_22_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ce7d9584ed63af571c60d7b3a243294.jpg","text":"TemporaryFile(/tmp/multipartBody4320352742335270963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777802869,"filename":"image_22112025_03_15_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9aa8a62b7d2f7fc3bf3fc3e5a43179c.jpg","text":"TemporaryFile(/tmp/multipartBody490728282644102761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777802869,"filename":"image_22112025_03_15_16_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663167","file1":"1395663162","file0":"1395663143","file4":"1395663194","file5":"1395663195","file3":"1395663191"},"map_files_photo_id_array":[{"photo_id":"1395663195","filename":"file5"},{"photo_id":"1395663167","filename":"file2"},{"photo_id":"1395663194","filename":"file4"},{"photo_id":"1395663162","filename":"file1"},{"photo_id":"1395663143","filename":"file0"},{"photo_id":"1395663191","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663194":["hashtag1","hashtag2"]},{"1395663143":["hashtag1","hashtag2"]},{"1395663167":["hashtag1","hashtag2"]},{"1395663195":["hashtag1","hashtag2"]},{"1395663162":["hashtag1","hashtag2"]},{"1395663191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663194, 1395663143, 1395663167, 1395663195, 1395663162, 1395663191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98134779930115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:16:22.481573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_25_2660.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_29_3768.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_31_2669.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_34_2661.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_37_2763.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_40_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_25_2660.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_29_3768.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_31_2669.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_34_2661.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_37_2763.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_40_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663210","1395663204","1395663206","1395663221","1395663215","1395663223"],"photo_ids_order":["1395663204","1395663206","1395663210","1395663215","1395663221","1395663223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd2ce8a9cc997664de7e40674678b3fa.jpg","text":"TemporaryFile(/tmp/multipartBody9103980600861390687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777843188,"filename":"image_22112025_03_15_31_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd85a0c117676929536399276a51f47b.jpg","text":"TemporaryFile(/tmp/multipartBody2436267917022628704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777843188,"filename":"image_22112025_03_15_25_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95b23b2c86b68e8e0161f21dd5e54eec.jpg","text":"TemporaryFile(/tmp/multipartBody1730511560706727705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777843188,"filename":"image_22112025_03_15_29_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08a6d87f82d1f802f3439cd51a47cc66.jpg","text":"TemporaryFile(/tmp/multipartBody4047051573562923478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777843188,"filename":"image_22112025_03_15_37_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13d20446431e21da097a15d3b75a9cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7311996765884348196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777843188,"filename":"image_22112025_03_15_34_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e96b54f6e11f088b6a3062f1bbda1ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4235571013011071690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777843188,"filename":"image_22112025_03_15_40_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663210","file1":"1395663206","file0":"1395663204","file4":"1395663221","file5":"1395663223","file3":"1395663215"},"map_files_photo_id_array":[{"photo_id":"1395663223","filename":"file5"},{"photo_id":"1395663210","filename":"file2"},{"photo_id":"1395663221","filename":"file4"},{"photo_id":"1395663206","filename":"file1"},{"photo_id":"1395663204","filename":"file0"},{"photo_id":"1395663215","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663210":["hashtag1","hashtag2"]},{"1395663204":["hashtag1","hashtag2"]},{"1395663206":["hashtag1","hashtag2"]},{"1395663221":["hashtag1","hashtag2"]},{"1395663215":["hashtag1","hashtag2"]},{"1395663223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663210, 1395663204, 1395663206, 1395663221, 1395663215, 1395663223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58665156364441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:17:03.126042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_43_2633.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_47_3620.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_49_2796.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_52_2741.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_55_2847.jpg', '/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_59_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_43_2633.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_47_3620.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_49_2796.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_52_2741.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_55_2847.jpg
/home/pi/Desktop/images/22112025/03/15/image_22112025_03_15_59_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663224","1395663233","1395663241","1395663229","1395663226","1395663225"],"photo_ids_order":["1395663224","1395663225","1395663226","1395663229","1395663233","1395663241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ae95d7f3b78c10bbb6c846ce350fc6e.jpg","text":"TemporaryFile(/tmp/multipartBody5354041768526803617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777883825,"filename":"image_22112025_03_15_43_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d5dc83f05a4dcf1f0d801f1c2a1c6cc.jpg","text":"TemporaryFile(/tmp/multipartBody3566287814223221965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777883825,"filename":"image_22112025_03_15_55_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27d9050f07b0258325d29e2e5a3ac5f5.jpg","text":"TemporaryFile(/tmp/multipartBody1292286911268378318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777883825,"filename":"image_22112025_03_15_59_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c18f881d72938ba9c647da223ebc02de.jpg","text":"TemporaryFile(/tmp/multipartBody7708784891727588521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777883825,"filename":"image_22112025_03_15_52_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c3796efc40e40b78d6c23dfa52659fa.jpg","text":"TemporaryFile(/tmp/multipartBody4654302038434639165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777883825,"filename":"image_22112025_03_15_49_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04de0c4f2169866232bc30968de20575.jpg","text":"TemporaryFile(/tmp/multipartBody5068396127882281795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777883825,"filename":"image_22112025_03_15_47_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663226","file1":"1395663225","file0":"1395663224","file4":"1395663233","file5":"1395663241","file3":"1395663229"},"map_files_photo_id_array":[{"photo_id":"1395663241","filename":"file5"},{"photo_id":"1395663226","filename":"file2"},{"photo_id":"1395663233","filename":"file4"},{"photo_id":"1395663225","filename":"file1"},{"photo_id":"1395663224","filename":"file0"},{"photo_id":"1395663229","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663224":["hashtag1","hashtag2"]},{"1395663233":["hashtag1","hashtag2"]},{"1395663241":["hashtag1","hashtag2"]},{"1395663229":["hashtag1","hashtag2"]},{"1395663226":["hashtag1","hashtag2"]},{"1395663225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663224, 1395663233, 1395663241, 1395663229, 1395663226, 1395663225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.425015687942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:17:42.299261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/16/image_22112025_03_16_01_2577.jpg', '/home/pi/Desktop/images/22112025/03/16/image_22112025_03_16_04_2722.jpg', '/home/pi/Desktop/images/22112025/03/16/image_22112025_03_16_07_3537.jpg', '/home/pi/Desktop/images/22112025/03/16/image_22112025_03_16_10_2869.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_07_3017.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_10_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/16/image_22112025_03_16_01_2577.jpg
/home/pi/Desktop/images/22112025/03/16/image_22112025_03_16_04_2722.jpg
/home/pi/Desktop/images/22112025/03/16/image_22112025_03_16_07_3537.jpg
/home/pi/Desktop/images/22112025/03/16/image_22112025_03_16_10_2869.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_07_3017.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_10_3780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663260","1395663254","1395663256","1395663261","1395663252","1395663255"],"photo_ids_order":["1395663252","1395663254","1395663255","1395663256","1395663260","1395663261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8890d49668699c7859cf37d37a23ffe2.jpg","text":"TemporaryFile(/tmp/multipartBody3564257444051844709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777922962,"filename":"image_22112025_03_17_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/610c524f223419fa91bfb35ae9091654.jpg","text":"TemporaryFile(/tmp/multipartBody4950379799049463242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777922962,"filename":"image_22112025_03_16_04_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9355cc14b437e47d1d613652419904c3.jpg","text":"TemporaryFile(/tmp/multipartBody4356415634736627151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777922962,"filename":"image_22112025_03_16_10_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f06e31917098ff4dde18c190afebd6d6.jpg","text":"TemporaryFile(/tmp/multipartBody7935283127060866282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777922962,"filename":"image_22112025_03_17_10_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8761cd7c913b1d515db7bf282d31974c.jpg","text":"TemporaryFile(/tmp/multipartBody989444605005794712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777922962,"filename":"image_22112025_03_16_01_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27aa8664c06f260d0522ed4b8f18c493.jpg","text":"TemporaryFile(/tmp/multipartBody3888792505710016843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777922962,"filename":"image_22112025_03_16_07_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663255","file1":"1395663254","file0":"1395663252","file4":"1395663260","file5":"1395663261","file3":"1395663256"},"map_files_photo_id_array":[{"photo_id":"1395663261","filename":"file5"},{"photo_id":"1395663255","filename":"file2"},{"photo_id":"1395663260","filename":"file4"},{"photo_id":"1395663254","filename":"file1"},{"photo_id":"1395663252","filename":"file0"},{"photo_id":"1395663256","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663260":["hashtag1","hashtag2"]},{"1395663254":["hashtag1","hashtag2"]},{"1395663256":["hashtag1","hashtag2"]},{"1395663261":["hashtag1","hashtag2"]},{"1395663252":["hashtag1","hashtag2"]},{"1395663255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663260, 1395663254, 1395663256, 1395663261, 1395663252, 1395663255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62005853652954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:18:22.468368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_13_2610.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_16_2784.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_19_3562.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_22_2996.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_25_2652.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_28_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_13_2610.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_16_2784.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_19_3562.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_22_2996.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_25_2652.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_28_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663281","1395663275","1395663278","1395663283","1395663271","1395663285"],"photo_ids_order":["1395663271","1395663275","1395663278","1395663281","1395663283","1395663285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b7cb72af59efdfafef989b1869b372c.jpg","text":"TemporaryFile(/tmp/multipartBody6096320443230497640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777963151,"filename":"image_22112025_03_17_22_2996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f08dd5fb5ea0431b59a0247c56af62cd.jpg","text":"TemporaryFile(/tmp/multipartBody2760937812175480608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777963151,"filename":"image_22112025_03_17_16_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/754fc978177661dfd49605ee189a5614.jpg","text":"TemporaryFile(/tmp/multipartBody1591520115086564939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777963151,"filename":"image_22112025_03_17_19_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b3feca2c7ec24d72824b6548f29d17e.jpg","text":"TemporaryFile(/tmp/multipartBody1854619635350451704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777963151,"filename":"image_22112025_03_17_25_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/004b83c88e99421060ebcd2492470b43.jpg","text":"TemporaryFile(/tmp/multipartBody2938343056148018692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777963151,"filename":"image_22112025_03_17_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de0ce3fc4f1b91dfa2e6a020933f0e14.jpg","text":"TemporaryFile(/tmp/multipartBody158431721164488624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763777963151,"filename":"image_22112025_03_17_28_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663278","file1":"1395663275","file0":"1395663271","file4":"1395663283","file5":"1395663285","file3":"1395663281"},"map_files_photo_id_array":[{"photo_id":"1395663285","filename":"file5"},{"photo_id":"1395663278","filename":"file2"},{"photo_id":"1395663283","filename":"file4"},{"photo_id":"1395663275","filename":"file1"},{"photo_id":"1395663271","filename":"file0"},{"photo_id":"1395663281","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663281":["hashtag1","hashtag2"]},{"1395663275":["hashtag1","hashtag2"]},{"1395663278":["hashtag1","hashtag2"]},{"1395663283":["hashtag1","hashtag2"]},{"1395663271":["hashtag1","hashtag2"]},{"1395663285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663281, 1395663275, 1395663278, 1395663283, 1395663271, 1395663285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63591027259827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:19:03.226845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_31_3538.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_34_2740.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_37_2736.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_41_3798.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_43_2607.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_46_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_31_3538.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_34_2740.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_37_2736.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_41_3798.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_43_2607.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_46_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663293","1395663295","1395663302","1395663286","1395663288","1395663299"],"photo_ids_order":["1395663286","1395663288","1395663293","1395663295","1395663299","1395663302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/154a396eed2270b15c55bdd9e9c4590a.jpg","text":"TemporaryFile(/tmp/multipartBody3153242848325605364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778004013,"filename":"image_22112025_03_17_37_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e22280bee806316e9ae5bcb60352c18.jpg","text":"TemporaryFile(/tmp/multipartBody7255233228513447733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778004013,"filename":"image_22112025_03_17_41_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dddd2bf974cccae0c256427615523425.jpg","text":"TemporaryFile(/tmp/multipartBody9104654673320647579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778004013,"filename":"image_22112025_03_17_46_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddd0bd0c1c3ac1575f8ae4b7b56c252d.jpg","text":"TemporaryFile(/tmp/multipartBody5296056004356181301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778004013,"filename":"image_22112025_03_17_31_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bac855f40f73dd34a028da12da55b6c4.jpg","text":"TemporaryFile(/tmp/multipartBody2894521498311454430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778004013,"filename":"image_22112025_03_17_34_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b899a78f4f31fd147f09c68dc33035c.jpg","text":"TemporaryFile(/tmp/multipartBody7718868437753226434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778004013,"filename":"image_22112025_03_17_43_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663293","file1":"1395663288","file0":"1395663286","file4":"1395663299","file5":"1395663302","file3":"1395663295"},"map_files_photo_id_array":[{"photo_id":"1395663302","filename":"file5"},{"photo_id":"1395663293","filename":"file2"},{"photo_id":"1395663299","filename":"file4"},{"photo_id":"1395663288","filename":"file1"},{"photo_id":"1395663286","filename":"file0"},{"photo_id":"1395663295","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663293":["hashtag1","hashtag2"]},{"1395663295":["hashtag1","hashtag2"]},{"1395663302":["hashtag1","hashtag2"]},{"1395663286":["hashtag1","hashtag2"]},{"1395663288":["hashtag1","hashtag2"]},{"1395663299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663293, 1395663295, 1395663302, 1395663286, 1395663288, 1395663299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.346787214279175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:19:42.025592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_49_3603.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_52_2650.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_55_2673.jpg', '/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_58_3630.jpg', '/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_07_3011.jpg', '/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_13_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_49_3603.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_52_2650.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_55_2673.jpg
/home/pi/Desktop/images/22112025/03/17/image_22112025_03_17_58_3630.jpg
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_07_3011.jpg
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_13_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663311","1395663313","1395663310","1395663307","1395663312","1395663309"],"photo_ids_order":["1395663307","1395663309","1395663310","1395663311","1395663312","1395663313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29102bbce5c565b425dc23ae13d8da92.jpg","text":"TemporaryFile(/tmp/multipartBody7752045441275357669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778042697,"filename":"image_22112025_03_17_58_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/908254a0f53c072bdd6047f9a61b8bd4.jpg","text":"TemporaryFile(/tmp/multipartBody6068799775399399279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778042697,"filename":"image_22112025_03_19_13_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4263a6254129ac4cffa83fab09512d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3678995566042915457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778042697,"filename":"image_22112025_03_17_55_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d314662c6c5964accdf25b8f8d523368.jpg","text":"TemporaryFile(/tmp/multipartBody6431471229224874439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778042697,"filename":"image_22112025_03_17_49_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/682f23de1ca7889e93debedf4d03ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody5255506212132227691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778042697,"filename":"image_22112025_03_19_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37aea91bde73070ea9c5e232752a2dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6627469323612179159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778042697,"filename":"image_22112025_03_17_52_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663310","file1":"1395663309","file0":"1395663307","file4":"1395663312","file5":"1395663313","file3":"1395663311"},"map_files_photo_id_array":[{"photo_id":"1395663313","filename":"file5"},{"photo_id":"1395663310","filename":"file2"},{"photo_id":"1395663312","filename":"file4"},{"photo_id":"1395663309","filename":"file1"},{"photo_id":"1395663307","filename":"file0"},{"photo_id":"1395663311","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663311":["hashtag1","hashtag2"]},{"1395663313":["hashtag1","hashtag2"]},{"1395663310":["hashtag1","hashtag2"]},{"1395663307":["hashtag1","hashtag2"]},{"1395663312":["hashtag1","hashtag2"]},{"1395663309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663311, 1395663313, 1395663310, 1395663307, 1395663312, 1395663309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60349416732788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:20:22.257384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_17_3604.jpg', '/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_19_2713.jpg', '/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_22_2697.jpg', '/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_26_3583.jpg', '/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_31_2643.jpg', '/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_35_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_17_3604.jpg
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_19_2713.jpg
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_22_2697.jpg
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_26_3583.jpg
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_31_2643.jpg
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_35_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663341","1395663338","1395663328","1395663324","1395663333","1395663321"],"photo_ids_order":["1395663321","1395663324","1395663328","1395663333","1395663338","1395663341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4c98dcfdd06b510c82b72d87f547b20.jpg","text":"TemporaryFile(/tmp/multipartBody5147923690123871491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778082919,"filename":"image_22112025_03_19_35_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/736b443ff58e749d335401099a18282b.jpg","text":"TemporaryFile(/tmp/multipartBody7226036332158089774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778082919,"filename":"image_22112025_03_19_31_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/189178a1dc97efe75436fb7e231c4897.jpg","text":"TemporaryFile(/tmp/multipartBody5086470005112956220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778082919,"filename":"image_22112025_03_19_22_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8833bb98fac291e575a6c366b48b339.jpg","text":"TemporaryFile(/tmp/multipartBody6503812517811460952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778082919,"filename":"image_22112025_03_19_19_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd0bad4efe2b579295ad00bb807b6e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5745412578924668591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778082919,"filename":"image_22112025_03_19_26_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/246f89610a698e6ff33ecb161fcbcbcc.jpg","text":"TemporaryFile(/tmp/multipartBody6682777817685716366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778082919,"filename":"image_22112025_03_19_17_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663328","file1":"1395663324","file0":"1395663321","file4":"1395663338","file5":"1395663341","file3":"1395663333"},"map_files_photo_id_array":[{"photo_id":"1395663341","filename":"file5"},{"photo_id":"1395663328","filename":"file2"},{"photo_id":"1395663338","filename":"file4"},{"photo_id":"1395663324","filename":"file1"},{"photo_id":"1395663321","filename":"file0"},{"photo_id":"1395663333","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663341":["hashtag1","hashtag2"]},{"1395663338":["hashtag1","hashtag2"]},{"1395663328":["hashtag1","hashtag2"]},{"1395663324":["hashtag1","hashtag2"]},{"1395663333":["hashtag1","hashtag2"]},{"1395663321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663341, 1395663338, 1395663328, 1395663324, 1395663333, 1395663321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89501929283142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:21:03.284842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_37_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_37_2575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663352"],"photo_id":"1395663352","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c60ed289cf221f061dc0b81f4b274fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5759595424788897153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778123822,"filename":"image_22112025_03_19_37_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395663352"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395663352"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.652008295059204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:21:22.633022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_40_2793.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_06_3011.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_10_3601.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_13_2621.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_16_3577.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_25_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/19/image_22112025_03_19_40_2793.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_06_3011.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_10_3601.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_13_2621.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_16_3577.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_25_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663365","1395663362","1395663358","1395663375","1395663369","1395663372"],"photo_ids_order":["1395663358","1395663362","1395663365","1395663369","1395663372","1395663375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa30dc908df315e8e8dcf0745c7d7d2b.jpg","text":"TemporaryFile(/tmp/multipartBody43416789278319303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778143337,"filename":"image_22112025_03_21_10_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ae63e3d2acb0033ae4717ca452dce11.jpg","text":"TemporaryFile(/tmp/multipartBody3631739987127576434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778143337,"filename":"image_22112025_03_21_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/daa2d4104da4e8bd72a48dfbb583b0d9.jpg","text":"TemporaryFile(/tmp/multipartBody5395682506577130050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778143337,"filename":"image_22112025_03_19_40_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1c0153e33f7f35abfbc6372a988d6b8.jpg","text":"TemporaryFile(/tmp/multipartBody7583279574199242177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778143337,"filename":"image_22112025_03_21_25_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8cf1c9bab76cd6e3dc27247e4cbd9fa.jpg","text":"TemporaryFile(/tmp/multipartBody376920182178108923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778143337,"filename":"image_22112025_03_21_13_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de40e158b26fe84c588e5225d6e98040.jpg","text":"TemporaryFile(/tmp/multipartBody3998265131144143645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778143337,"filename":"image_22112025_03_21_16_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663365","file1":"1395663362","file0":"1395663358","file4":"1395663372","file5":"1395663375","file3":"1395663369"},"map_files_photo_id_array":[{"photo_id":"1395663375","filename":"file5"},{"photo_id":"1395663365","filename":"file2"},{"photo_id":"1395663372","filename":"file4"},{"photo_id":"1395663362","filename":"file1"},{"photo_id":"1395663358","filename":"file0"},{"photo_id":"1395663369","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663365":["hashtag1","hashtag2"]},{"1395663362":["hashtag1","hashtag2"]},{"1395663358":["hashtag1","hashtag2"]},{"1395663375":["hashtag1","hashtag2"]},{"1395663369":["hashtag1","hashtag2"]},{"1395663372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663365, 1395663362, 1395663358, 1395663375, 1395663369, 1395663372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27780723571777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:22:03.312407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_28_2548.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_34_2538.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_36_2659.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_43_2649.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_46_2876.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_49_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_28_2548.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_34_2538.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_36_2659.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_43_2649.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_46_2876.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_49_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663386","1395663397","1395663385","1395663387","1395663474","1395663435"],"photo_ids_order":["1395663385","1395663386","1395663387","1395663397","1395663435","1395663474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c925c974a766a411c280251beb3b66e6.jpg","text":"TemporaryFile(/tmp/multipartBody41095457716327772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778184002,"filename":"image_22112025_03_21_34_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d7cda899251955112a4877761789394.jpg","text":"TemporaryFile(/tmp/multipartBody4449289916745740605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778184002,"filename":"image_22112025_03_21_43_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/193c84445fd6e645396ba76230cb285c.jpg","text":"TemporaryFile(/tmp/multipartBody3465610897066333130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778184002,"filename":"image_22112025_03_21_28_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e903adab5307b01f7c3c9483f5eb187.jpg","text":"TemporaryFile(/tmp/multipartBody2580766960013548206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778184002,"filename":"image_22112025_03_21_36_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dbe24e670e3e6e26f9464d545e2f7ef.jpg","text":"TemporaryFile(/tmp/multipartBody4331118002085078225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778184002,"filename":"image_22112025_03_21_49_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78faf05811bf75741c4057d1819f4700.jpg","text":"TemporaryFile(/tmp/multipartBody5015776374055027066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778184002,"filename":"image_22112025_03_21_46_2876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663387","file1":"1395663386","file0":"1395663385","file4":"1395663435","file5":"1395663474","file3":"1395663397"},"map_files_photo_id_array":[{"photo_id":"1395663474","filename":"file5"},{"photo_id":"1395663387","filename":"file2"},{"photo_id":"1395663435","filename":"file4"},{"photo_id":"1395663386","filename":"file1"},{"photo_id":"1395663385","filename":"file0"},{"photo_id":"1395663397","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663386":["hashtag1","hashtag2"]},{"1395663397":["hashtag1","hashtag2"]},{"1395663385":["hashtag1","hashtag2"]},{"1395663387":["hashtag1","hashtag2"]},{"1395663474":["hashtag1","hashtag2"]},{"1395663435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663386, 1395663397, 1395663385, 1395663387, 1395663474, 1395663435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.872870206832886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:22:42.797184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_52_2580.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_55_2654.jpg', '/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_58_3617.jpg', '/home/pi/Desktop/images/22112025/03/22/image_22112025_03_22_01_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_52_2580.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_55_2654.jpg
/home/pi/Desktop/images/22112025/03/21/image_22112025_03_21_58_3617.jpg
/home/pi/Desktop/images/22112025/03/22/image_22112025_03_22_01_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395663692","1395663659","1395663731","1395663623"],"photo_ids_order":["1395663623","1395663659","1395663692","1395663731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b521bc9d7630253872013ec5b09cfdbd.jpg","text":"TemporaryFile(/tmp/multipartBody7217818370534151429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778223398,"filename":"image_22112025_03_21_58_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/896a9228adfc5ddf9745ed1e36f24d53.jpg","text":"TemporaryFile(/tmp/multipartBody5790526221739394626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778223398,"filename":"image_22112025_03_21_55_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a7a2b5c80473493189081fda185e220.jpg","text":"TemporaryFile(/tmp/multipartBody703351154497238611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778223398,"filename":"image_22112025_03_22_01_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d25695f650db3400d5baf6fd3ad27946.jpg","text":"TemporaryFile(/tmp/multipartBody4190604132339009622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778223398,"filename":"image_22112025_03_21_52_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395663692","file1":"1395663659","file0":"1395663623","file3":"1395663731"},"map_files_photo_id_array":[{"photo_id":"1395663692","filename":"file2"},{"photo_id":"1395663659","filename":"file1"},{"photo_id":"1395663623","filename":"file0"},{"photo_id":"1395663731","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395663692":["hashtag1","hashtag2"]},{"1395663659":["hashtag1","hashtag2"]},{"1395663731":["hashtag1","hashtag2"]},{"1395663623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395663692, 1395663659, 1395663731, 1395663623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.435729265213013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:23:22.034872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/22/image_22112025_03_22_04_2792.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_07_3016.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_11_3691.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_13_2510.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_16_2848.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_20_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/22/image_22112025_03_22_04_2792.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_07_3016.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_11_3691.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_13_2510.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_16_2848.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_20_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664145","1395663938","1395663991","1395664108","1395664068","1395664032"],"photo_ids_order":["1395663938","1395663991","1395664032","1395664068","1395664108","1395664145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42bf23a315481794b136acc9ced1cc6c.jpg","text":"TemporaryFile(/tmp/multipartBody7449909343420222133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778262777,"filename":"image_22112025_03_23_20_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eaef347cf6a55eef4f51a8ccb52e76c6.jpg","text":"TemporaryFile(/tmp/multipartBody4661778755425746626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778262777,"filename":"image_22112025_03_22_04_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a84172817e2776f23b65dc4305a7183.jpg","text":"TemporaryFile(/tmp/multipartBody4742978871643836313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778262777,"filename":"image_22112025_03_23_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fb6f9884cae41bd1d264d8608110207.jpg","text":"TemporaryFile(/tmp/multipartBody457301832632572636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778262777,"filename":"image_22112025_03_23_16_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2376c7fb692c6d829d9ee98ce9c50744.jpg","text":"TemporaryFile(/tmp/multipartBody8847642251344878247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778262777,"filename":"image_22112025_03_23_13_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d74f71bfd114ee4cddd145e3b22f3ca5.jpg","text":"TemporaryFile(/tmp/multipartBody6943867491116015679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778262777,"filename":"image_22112025_03_23_11_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664032","file1":"1395663991","file0":"1395663938","file4":"1395664108","file5":"1395664145","file3":"1395664068"},"map_files_photo_id_array":[{"photo_id":"1395664145","filename":"file5"},{"photo_id":"1395664032","filename":"file2"},{"photo_id":"1395664108","filename":"file4"},{"photo_id":"1395663991","filename":"file1"},{"photo_id":"1395663938","filename":"file0"},{"photo_id":"1395664068","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664145":["hashtag1","hashtag2"]},{"1395663938":["hashtag1","hashtag2"]},{"1395663991":["hashtag1","hashtag2"]},{"1395664108":["hashtag1","hashtag2"]},{"1395664068":["hashtag1","hashtag2"]},{"1395664032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664145, 1395663938, 1395663991, 1395664108, 1395664068, 1395664032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38266849517822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:24:03.051580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_29_3736.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_32_2690.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_38_3554.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_40_2634.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_43_2762.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_47_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_29_3736.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_32_2690.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_38_3554.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_40_2634.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_43_2762.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_47_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664399","1395664310","1395664402","1395664347","1395664382","1395664274"],"photo_ids_order":["1395664274","1395664310","1395664347","1395664382","1395664399","1395664402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af681981f3873b3bef5f600715c9ebdc.jpg","text":"TemporaryFile(/tmp/multipartBody1183437694553780809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778303758,"filename":"image_22112025_03_23_43_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/921c574183f5b5252bca4cff2a8e56e8.jpg","text":"TemporaryFile(/tmp/multipartBody8911007428186545264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778303758,"filename":"image_22112025_03_23_32_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f58bfacfb73d223ba6b3967f4ada36d.jpg","text":"TemporaryFile(/tmp/multipartBody2782427118656799965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778303758,"filename":"image_22112025_03_23_47_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e041e4d0da8ff9502cf751c5d3683c35.jpg","text":"TemporaryFile(/tmp/multipartBody1420327959194052481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778303758,"filename":"image_22112025_03_23_38_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4aadd69866342d2777a4221a34c26e4.jpg","text":"TemporaryFile(/tmp/multipartBody7752348302966289923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778303758,"filename":"image_22112025_03_23_40_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49de3c1a63ea2df25eefbb3005b7e76c.jpg","text":"TemporaryFile(/tmp/multipartBody5082171638384272254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778303758,"filename":"image_22112025_03_23_29_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664347","file1":"1395664310","file0":"1395664274","file4":"1395664399","file5":"1395664402","file3":"1395664382"},"map_files_photo_id_array":[{"photo_id":"1395664402","filename":"file5"},{"photo_id":"1395664347","filename":"file2"},{"photo_id":"1395664399","filename":"file4"},{"photo_id":"1395664310","filename":"file1"},{"photo_id":"1395664274","filename":"file0"},{"photo_id":"1395664382","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664399":["hashtag1","hashtag2"]},{"1395664310":["hashtag1","hashtag2"]},{"1395664402":["hashtag1","hashtag2"]},{"1395664347":["hashtag1","hashtag2"]},{"1395664382":["hashtag1","hashtag2"]},{"1395664274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664399, 1395664310, 1395664402, 1395664347, 1395664382, 1395664274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36729907989502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:24:42.300292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_52_2592.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_59_3701.jpg', '/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_01_2640.jpg', '/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_04_2668.jpg', '/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_08_3720.jpg', '/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_10_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_52_2592.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_59_3701.jpg
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_01_2640.jpg
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_04_2668.jpg
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_08_3720.jpg
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_10_2646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5556416511535645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:25:03.165657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_52_2592.jpg', '/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_59_3701.jpg', '/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_01_2640.jpg', '/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_04_2668.jpg', '/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_08_3720.jpg', '/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_10_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_52_2592.jpg
/home/pi/Desktop/images/22112025/03/23/image_22112025_03_23_59_3701.jpg
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_01_2640.jpg
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_04_2668.jpg
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_08_3720.jpg
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_10_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664514","1395664633","1395664642","1395664647","1395664557","1395664598"],"photo_ids_order":["1395664514","1395664557","1395664598","1395664633","1395664642","1395664647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f1f1696caaaf2b68cdb893f8ec33d3d.jpg","text":"TemporaryFile(/tmp/multipartBody7133639461667334557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778363920,"filename":"image_22112025_03_23_52_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/703c17ceaac5a8a1eeb1934f40b2fb6f.jpg","text":"TemporaryFile(/tmp/multipartBody3182164932704515458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778363920,"filename":"image_22112025_03_24_04_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4314523ee1744d364925eec304a0f02.jpg","text":"TemporaryFile(/tmp/multipartBody8435345204897343786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778363920,"filename":"image_22112025_03_24_08_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2e393af17cd012f3c6c899c1db78b13.jpg","text":"TemporaryFile(/tmp/multipartBody3735498121277777403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778363920,"filename":"image_22112025_03_24_10_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c3bfa02213623cf1d8d06b2926ab51a.jpg","text":"TemporaryFile(/tmp/multipartBody5519126873785760825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778363920,"filename":"image_22112025_03_23_59_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a464ddf2e745ad850c4df3335068a54.jpg","text":"TemporaryFile(/tmp/multipartBody970107218386713468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778363920,"filename":"image_22112025_03_24_01_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664598","file1":"1395664557","file0":"1395664514","file4":"1395664642","file5":"1395664647","file3":"1395664633"},"map_files_photo_id_array":[{"photo_id":"1395664647","filename":"file5"},{"photo_id":"1395664598","filename":"file2"},{"photo_id":"1395664642","filename":"file4"},{"photo_id":"1395664557","filename":"file1"},{"photo_id":"1395664514","filename":"file0"},{"photo_id":"1395664633","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664514":["hashtag1","hashtag2"]},{"1395664633":["hashtag1","hashtag2"]},{"1395664642":["hashtag1","hashtag2"]},{"1395664647":["hashtag1","hashtag2"]},{"1395664557":["hashtag1","hashtag2"]},{"1395664598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664514, 1395664633, 1395664642, 1395664647, 1395664557, 1395664598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7031364440918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:25:42.546315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_13_2703.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_07_3016.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_11_3761.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_14_2710.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_16_2680.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_20_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/24/image_22112025_03_24_13_2703.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_07_3016.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_11_3761.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_14_2710.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_16_2680.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_20_3665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664750","1395664747","1395664702","1395664749","1395664740","1395664734"],"photo_ids_order":["1395664702","1395664734","1395664740","1395664747","1395664749","1395664750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/911e34bef73aa51cb8df8b5a2f60dece.jpg","text":"TemporaryFile(/tmp/multipartBody3950901195155529121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778403211,"filename":"image_22112025_03_25_20_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76701688a7e5d997b03b5d97fe80df54.jpg","text":"TemporaryFile(/tmp/multipartBody7313420259733160753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778403211,"filename":"image_22112025_03_25_14_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52b8954503e79fe18c8a25053dde0435.jpg","text":"TemporaryFile(/tmp/multipartBody301122850841412912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778403211,"filename":"image_22112025_03_24_13_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4b79c54fcfa47ace28794d88d47bde3.jpg","text":"TemporaryFile(/tmp/multipartBody7151567244860200068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778403211,"filename":"image_22112025_03_25_16_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20f82ef7cccc8966237b4c8074245e42.jpg","text":"TemporaryFile(/tmp/multipartBody4718584536380521232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778403211,"filename":"image_22112025_03_25_11_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f3ba701a02c008b53e8eb4bde140c87.jpg","text":"TemporaryFile(/tmp/multipartBody7018096166261262451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778403211,"filename":"image_22112025_03_25_07_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664740","file1":"1395664734","file0":"1395664702","file4":"1395664749","file5":"1395664750","file3":"1395664747"},"map_files_photo_id_array":[{"photo_id":"1395664750","filename":"file5"},{"photo_id":"1395664740","filename":"file2"},{"photo_id":"1395664749","filename":"file4"},{"photo_id":"1395664734","filename":"file1"},{"photo_id":"1395664702","filename":"file0"},{"photo_id":"1395664747","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664750":["hashtag1","hashtag2"]},{"1395664747":["hashtag1","hashtag2"]},{"1395664702":["hashtag1","hashtag2"]},{"1395664749":["hashtag1","hashtag2"]},{"1395664740":["hashtag1","hashtag2"]},{"1395664734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664750, 1395664747, 1395664702, 1395664749, 1395664740, 1395664734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59424376487732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:26:22.857151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_22_2577.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_25_2589.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_29_3535.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_31_2557.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_35_3658.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_44_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_22_2577.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_25_2589.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_29_3535.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_31_2557.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_35_3658.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_44_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664759","1395664774","1395664776","1395664770","1395664778","1395664763"],"photo_ids_order":["1395664759","1395664763","1395664770","1395664774","1395664776","1395664778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b3cea0a551064c152e18ba13d7155fd.jpg","text":"TemporaryFile(/tmp/multipartBody5913780993001685564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778443559,"filename":"image_22112025_03_25_22_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a82c2802f07efb9f2611e59b4b46e25a.jpg","text":"TemporaryFile(/tmp/multipartBody1823015036270731219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778443559,"filename":"image_22112025_03_25_31_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfd19b9c47b51100c5c0bf6068f76e2f.jpg","text":"TemporaryFile(/tmp/multipartBody1615627877843204310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778443559,"filename":"image_22112025_03_25_35_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69cb82475df41f08ba27795e9a9d0eba.jpg","text":"TemporaryFile(/tmp/multipartBody2918502112860226925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778443559,"filename":"image_22112025_03_25_29_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78e1c782ce98dbabc5789c34465d1ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1757739897234700420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778443559,"filename":"image_22112025_03_25_44_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e847d61d041263199ec1d1897b340ca.jpg","text":"TemporaryFile(/tmp/multipartBody3911236950870139806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778443559,"filename":"image_22112025_03_25_25_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664770","file1":"1395664763","file0":"1395664759","file4":"1395664776","file5":"1395664778","file3":"1395664774"},"map_files_photo_id_array":[{"photo_id":"1395664778","filename":"file5"},{"photo_id":"1395664770","filename":"file2"},{"photo_id":"1395664776","filename":"file4"},{"photo_id":"1395664763","filename":"file1"},{"photo_id":"1395664759","filename":"file0"},{"photo_id":"1395664774","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664759":["hashtag1","hashtag2"]},{"1395664774":["hashtag1","hashtag2"]},{"1395664776":["hashtag1","hashtag2"]},{"1395664770":["hashtag1","hashtag2"]},{"1395664778":["hashtag1","hashtag2"]},{"1395664763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664759, 1395664774, 1395664776, 1395664770, 1395664778, 1395664763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55469870567322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:27:02.761097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_47_2875.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_50_2865.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_52_2673.jpg', '/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_55_2829.jpg', '/home/pi/Desktop/images/22112025/03/26/image_22112025_03_26_02_2604.jpg', '/home/pi/Desktop/images/22112025/03/26/image_22112025_03_26_04_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_47_2875.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_50_2865.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_52_2673.jpg
/home/pi/Desktop/images/22112025/03/25/image_22112025_03_25_55_2829.jpg
/home/pi/Desktop/images/22112025/03/26/image_22112025_03_26_02_2604.jpg
/home/pi/Desktop/images/22112025/03/26/image_22112025_03_26_04_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664786","1395664788","1395664790","1395664784","1395664793","1395664796"],"photo_ids_order":["1395664784","1395664786","1395664788","1395664790","1395664793","1395664796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d14351434f0879c38595492fbd718fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8161552781086952807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778483535,"filename":"image_22112025_03_25_50_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbd87e854b43a2e07eb394c2d60bcc54.jpg","text":"TemporaryFile(/tmp/multipartBody2470839244545017664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778483535,"filename":"image_22112025_03_25_52_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb76feae3c831f0218df4b7bf726683c.jpg","text":"TemporaryFile(/tmp/multipartBody7434952798625581533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778483535,"filename":"image_22112025_03_25_55_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18a63c7f380cae58346bfb16e8d87c74.jpg","text":"TemporaryFile(/tmp/multipartBody7758735444631935605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778483535,"filename":"image_22112025_03_25_47_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf622caf5115bb528c14b627590eb0db.jpg","text":"TemporaryFile(/tmp/multipartBody4783106388431529540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778483535,"filename":"image_22112025_03_26_02_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cd67682dec774f9ad5ac294663c9342.jpg","text":"TemporaryFile(/tmp/multipartBody6994621792437062661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778483535,"filename":"image_22112025_03_26_04_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664788","file1":"1395664786","file0":"1395664784","file4":"1395664793","file5":"1395664796","file3":"1395664790"},"map_files_photo_id_array":[{"photo_id":"1395664796","filename":"file5"},{"photo_id":"1395664788","filename":"file2"},{"photo_id":"1395664793","filename":"file4"},{"photo_id":"1395664786","filename":"file1"},{"photo_id":"1395664784","filename":"file0"},{"photo_id":"1395664790","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664786":["hashtag1","hashtag2"]},{"1395664788":["hashtag1","hashtag2"]},{"1395664790":["hashtag1","hashtag2"]},{"1395664784":["hashtag1","hashtag2"]},{"1395664793":["hashtag1","hashtag2"]},{"1395664796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664786, 1395664788, 1395664790, 1395664784, 1395664793, 1395664796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.873738527297974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:27:42.007554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/26/image_22112025_03_26_08_3723.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_07_3016.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_11_3764.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_20_3583.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_23_2963.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_25_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/26/image_22112025_03_26_08_3723.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_07_3016.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_11_3764.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_20_3583.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_23_2963.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_25_2535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664814","1395664808","1395664804","1395664807","1395664806","1395664809"],"photo_ids_order":["1395664804","1395664806","1395664807","1395664808","1395664809","1395664814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0fc09859bbed65de71d7142cc96a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody8330090308377167308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778522711,"filename":"image_22112025_03_27_25_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b7e1b90110d820140400c95af78a70b.jpg","text":"TemporaryFile(/tmp/multipartBody3942005968704329127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778522711,"filename":"image_22112025_03_27_20_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d55526a0272e19ff5fd923bc742960b.jpg","text":"TemporaryFile(/tmp/multipartBody180478543428210128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778522711,"filename":"image_22112025_03_26_08_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65e69378f65490f282cdee282eea2336.jpg","text":"TemporaryFile(/tmp/multipartBody5961559767233141073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778522711,"filename":"image_22112025_03_27_11_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a8e7d53c94704609daa9c470470ef41.jpg","text":"TemporaryFile(/tmp/multipartBody6927039085866566333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778522711,"filename":"image_22112025_03_27_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11718bfea60cf564fa72549b389d2b62.jpg","text":"TemporaryFile(/tmp/multipartBody1166605205676520103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778522711,"filename":"image_22112025_03_27_23_2963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664807","file1":"1395664806","file0":"1395664804","file4":"1395664809","file5":"1395664814","file3":"1395664808"},"map_files_photo_id_array":[{"photo_id":"1395664814","filename":"file5"},{"photo_id":"1395664807","filename":"file2"},{"photo_id":"1395664809","filename":"file4"},{"photo_id":"1395664806","filename":"file1"},{"photo_id":"1395664804","filename":"file0"},{"photo_id":"1395664808","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664814":["hashtag1","hashtag2"]},{"1395664808":["hashtag1","hashtag2"]},{"1395664804":["hashtag1","hashtag2"]},{"1395664807":["hashtag1","hashtag2"]},{"1395664806":["hashtag1","hashtag2"]},{"1395664809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664814, 1395664808, 1395664804, 1395664807, 1395664806, 1395664809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33890390396118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:28:22.279040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_28_2851.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_32_3662.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_37_2635.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_40_2823.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_44_3781.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_46_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_28_2851.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_32_3662.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_37_2635.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_40_2823.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_44_3781.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_46_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664837","1395664842","1395664845","1395664839","1395664833","1395664847"],"photo_ids_order":["1395664833","1395664837","1395664839","1395664842","1395664845","1395664847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/237de2c6eaadb82fbe21c5626f316e5d.jpg","text":"TemporaryFile(/tmp/multipartBody270539646367523659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778562977,"filename":"image_22112025_03_27_32_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/269bde0736bc79e94f6ed6a3eef90ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4529328750134841751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778562977,"filename":"image_22112025_03_27_40_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59fc43697232b92827cf0e581b0058c6.jpg","text":"TemporaryFile(/tmp/multipartBody1454521871332980752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778562977,"filename":"image_22112025_03_27_44_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67b3c59c950ec55dd1ade41210cdda3d.jpg","text":"TemporaryFile(/tmp/multipartBody3800519479635256656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778562977,"filename":"image_22112025_03_27_37_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27f29592a5d25d1171201be135c33bf1.jpg","text":"TemporaryFile(/tmp/multipartBody279956042323847239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778562977,"filename":"image_22112025_03_27_28_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f07b62a60aaa3305d6cac5475ca3ad0.jpg","text":"TemporaryFile(/tmp/multipartBody6730435423325523220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778562977,"filename":"image_22112025_03_27_46_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664839","file1":"1395664837","file0":"1395664833","file4":"1395664845","file5":"1395664847","file3":"1395664842"},"map_files_photo_id_array":[{"photo_id":"1395664847","filename":"file5"},{"photo_id":"1395664839","filename":"file2"},{"photo_id":"1395664845","filename":"file4"},{"photo_id":"1395664837","filename":"file1"},{"photo_id":"1395664833","filename":"file0"},{"photo_id":"1395664842","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664837":["hashtag1","hashtag2"]},{"1395664842":["hashtag1","hashtag2"]},{"1395664845":["hashtag1","hashtag2"]},{"1395664839":["hashtag1","hashtag2"]},{"1395664833":["hashtag1","hashtag2"]},{"1395664847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664837, 1395664842, 1395664845, 1395664839, 1395664833, 1395664847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.451467990875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:29:03.469612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_49_2719.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_55_2606.jpg', '/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_58_2700.jpg', '/home/pi/Desktop/images/22112025/03/28/image_22112025_03_28_02_3654.jpg', '/home/pi/Desktop/images/22112025/03/28/image_22112025_03_28_04_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_49_2719.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_55_2606.jpg
/home/pi/Desktop/images/22112025/03/27/image_22112025_03_27_58_2700.jpg
/home/pi/Desktop/images/22112025/03/28/image_22112025_03_28_02_3654.jpg
/home/pi/Desktop/images/22112025/03/28/image_22112025_03_28_04_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664850","1395664858","1395664852","1395664855","1395664848"],"photo_ids_order":["1395664848","1395664850","1395664852","1395664855","1395664858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0f75ef1685c1792fa8bc9ed1dc51562.jpg","text":"TemporaryFile(/tmp/multipartBody3281268792493947104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778604271,"filename":"image_22112025_03_27_55_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de6b1e55cce81b41124e8e05ccc65f41.jpg","text":"TemporaryFile(/tmp/multipartBody4387472824055733025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778604271,"filename":"image_22112025_03_28_04_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4d4b91fed4e059d9160fd2f3413dbad.jpg","text":"TemporaryFile(/tmp/multipartBody4755965429513255306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778604271,"filename":"image_22112025_03_27_58_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/474408d9a81d8ed9b51d4ab5e9ccab45.jpg","text":"TemporaryFile(/tmp/multipartBody8901523767016585106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778604271,"filename":"image_22112025_03_28_02_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/996c42c5c49f18769bc5a228b141f09c.jpg","text":"TemporaryFile(/tmp/multipartBody8826360944145130728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778604271,"filename":"image_22112025_03_27_49_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664852","file1":"1395664850","file0":"1395664848","file4":"1395664858","file3":"1395664855"},"map_files_photo_id_array":[{"photo_id":"1395664852","filename":"file2"},{"photo_id":"1395664858","filename":"file4"},{"photo_id":"1395664850","filename":"file1"},{"photo_id":"1395664848","filename":"file0"},{"photo_id":"1395664855","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664850":["hashtag1","hashtag2"]},{"1395664858":["hashtag1","hashtag2"]},{"1395664852":["hashtag1","hashtag2"]},{"1395664855":["hashtag1","hashtag2"]},{"1395664848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664850, 1395664858, 1395664852, 1395664855, 1395664848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.311057806015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:29:42.527332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/28/image_22112025_03_28_07_2683.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_06_3017.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_10_3595.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_16_3584.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_19_2689.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_21_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/28/image_22112025_03_28_07_2683.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_06_3017.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_10_3595.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_16_3584.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_19_2689.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_21_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664873","1395664875","1395664878","1395664871","1395664874","1395664877"],"photo_ids_order":["1395664871","1395664873","1395664874","1395664875","1395664877","1395664878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3440911dc5844e160c26bd59f7d6c9de.jpg","text":"TemporaryFile(/tmp/multipartBody5248907019592866810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778643193,"filename":"image_22112025_03_29_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b5b79ef579bbc72150b806db2c2670c.jpg","text":"TemporaryFile(/tmp/multipartBody780561591567568030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778643193,"filename":"image_22112025_03_29_16_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25c78ae368c04e25a1814e33ca1725fb.jpg","text":"TemporaryFile(/tmp/multipartBody8352660642494580134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778643193,"filename":"image_22112025_03_29_21_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bece5f0e3e944f0f36ad2a30e288d6f1.jpg","text":"TemporaryFile(/tmp/multipartBody8874438466525669977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778643193,"filename":"image_22112025_03_28_07_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7621ee35a3620356540649946479c559.jpg","text":"TemporaryFile(/tmp/multipartBody621981246542766763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778643193,"filename":"image_22112025_03_29_10_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3da00705427a6c3a43a3fba29972aff0.jpg","text":"TemporaryFile(/tmp/multipartBody8650413343890730227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778643193,"filename":"image_22112025_03_29_19_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664874","file1":"1395664873","file0":"1395664871","file4":"1395664877","file5":"1395664878","file3":"1395664875"},"map_files_photo_id_array":[{"photo_id":"1395664878","filename":"file5"},{"photo_id":"1395664874","filename":"file2"},{"photo_id":"1395664877","filename":"file4"},{"photo_id":"1395664873","filename":"file1"},{"photo_id":"1395664871","filename":"file0"},{"photo_id":"1395664875","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664873":["hashtag1","hashtag2"]},{"1395664875":["hashtag1","hashtag2"]},{"1395664878":["hashtag1","hashtag2"]},{"1395664871":["hashtag1","hashtag2"]},{"1395664874":["hashtag1","hashtag2"]},{"1395664877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664873, 1395664875, 1395664878, 1395664871, 1395664874, 1395664877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20781087875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:30:22.794308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_28_2771.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_31_2611.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_34_3773.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_37_2897.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_40_2587.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_42_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_28_2771.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_31_2611.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_34_3773.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_37_2897.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_40_2587.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_42_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664901","1395664897","1395664885","1395664900","1395664893","1395664889"],"photo_ids_order":["1395664885","1395664889","1395664893","1395664897","1395664900","1395664901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9f3d6e388eeab32f44f756461a87253.jpg","text":"TemporaryFile(/tmp/multipartBody7063354970422877170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778683490,"filename":"image_22112025_03_29_42_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbeb083871ca8db5fbbe04d07f73f9ea.jpg","text":"TemporaryFile(/tmp/multipartBody8359704713653301359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778683490,"filename":"image_22112025_03_29_37_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c0362795f678b525dc915d0d79baede.jpg","text":"TemporaryFile(/tmp/multipartBody2394331622853754229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778683490,"filename":"image_22112025_03_29_28_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1cdf397c37dcebcd59da7c59e54a225.jpg","text":"TemporaryFile(/tmp/multipartBody4127081205831923339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778683490,"filename":"image_22112025_03_29_40_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c3080f3481c136e95133b284d64bf77.jpg","text":"TemporaryFile(/tmp/multipartBody8056528551253296926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778683490,"filename":"image_22112025_03_29_34_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1685c027ea537e44dfa61d738ee55f4.jpg","text":"TemporaryFile(/tmp/multipartBody2487243225294417169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778683490,"filename":"image_22112025_03_29_31_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664893","file1":"1395664889","file0":"1395664885","file4":"1395664900","file5":"1395664901","file3":"1395664897"},"map_files_photo_id_array":[{"photo_id":"1395664901","filename":"file5"},{"photo_id":"1395664893","filename":"file2"},{"photo_id":"1395664900","filename":"file4"},{"photo_id":"1395664889","filename":"file1"},{"photo_id":"1395664885","filename":"file0"},{"photo_id":"1395664897","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664901":["hashtag1","hashtag2"]},{"1395664897":["hashtag1","hashtag2"]},{"1395664885":["hashtag1","hashtag2"]},{"1395664900":["hashtag1","hashtag2"]},{"1395664893":["hashtag1","hashtag2"]},{"1395664889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664901, 1395664897, 1395664885, 1395664900, 1395664893, 1395664889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55369782447815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:31:02.595445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_46_3593.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_49_2631.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_55_2571.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_58_2776.jpg', '/home/pi/Desktop/images/22112025/03/29/image_22112025_03_30_01_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_46_3593.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_49_2631.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_55_2571.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_29_58_2776.jpg
/home/pi/Desktop/images/22112025/03/29/image_22112025_03_30_01_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664910","1395664904","1395664907","1395664906","1395664905"],"photo_ids_order":["1395664904","1395664905","1395664906","1395664907","1395664910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba6732e2e6e4d65c12aa4f7855643168.jpg","text":"TemporaryFile(/tmp/multipartBody8800235503764408022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778723388,"filename":"image_22112025_03_30_01_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0b9f1b9b36775b00b9354b1e1f3393d.jpg","text":"TemporaryFile(/tmp/multipartBody2819486231943489329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778723388,"filename":"image_22112025_03_29_46_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdbea11b0d2303939cb1ce8309ec62ab.jpg","text":"TemporaryFile(/tmp/multipartBody4004955917446582703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778723388,"filename":"image_22112025_03_29_58_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86c86e3986376750573060052cb9477b.jpg","text":"TemporaryFile(/tmp/multipartBody2517229808887816255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778723388,"filename":"image_22112025_03_29_55_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f25d945f5c7b68fb81310dbaf05b8fcb.jpg","text":"TemporaryFile(/tmp/multipartBody4327597709237771346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778723388,"filename":"image_22112025_03_29_49_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664906","file1":"1395664905","file0":"1395664904","file4":"1395664910","file3":"1395664907"},"map_files_photo_id_array":[{"photo_id":"1395664906","filename":"file2"},{"photo_id":"1395664910","filename":"file4"},{"photo_id":"1395664905","filename":"file1"},{"photo_id":"1395664904","filename":"file0"},{"photo_id":"1395664907","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664910":["hashtag1","hashtag2"]},{"1395664904":["hashtag1","hashtag2"]},{"1395664907":["hashtag1","hashtag2"]},{"1395664906":["hashtag1","hashtag2"]},{"1395664905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664910, 1395664904, 1395664907, 1395664906, 1395664905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.2104651927948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:31:41.856009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/30/image_22112025_03_30_07_2667.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_07_3018.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_13_2695.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_16_2710.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_20_3715.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_34_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/30/image_22112025_03_30_07_2667.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_07_3018.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_13_2695.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_16_2710.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_20_3715.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_34_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664925","1395664927","1395664936","1395664938","1395664934","1395664928"],"photo_ids_order":["1395664925","1395664927","1395664928","1395664934","1395664936","1395664938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ffdc69bc83fa1cc66f9bc3f88f6daf8.jpg","text":"TemporaryFile(/tmp/multipartBody6289182773245938303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778762574,"filename":"image_22112025_03_30_07_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73e2a041e3e6663b1f9d49cd3ab6de1f.jpg","text":"TemporaryFile(/tmp/multipartBody4342945397533426279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778762574,"filename":"image_22112025_03_31_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1acd2fd28c4a410c3abc9e8b1c9c9e78.jpg","text":"TemporaryFile(/tmp/multipartBody4015875555704963734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778762574,"filename":"image_22112025_03_31_20_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f20eb7cea695a6b44bfe43f7de590ca.jpg","text":"TemporaryFile(/tmp/multipartBody7513191255486767484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778762574,"filename":"image_22112025_03_31_34_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/149c8a69cc0a8af96df1e2c380c4227d.jpg","text":"TemporaryFile(/tmp/multipartBody5916151003852057352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778762574,"filename":"image_22112025_03_31_16_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94e9b755b04567c84efae0a6c3d41fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6133186553180309747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778762574,"filename":"image_22112025_03_31_13_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664928","file1":"1395664927","file0":"1395664925","file4":"1395664936","file5":"1395664938","file3":"1395664934"},"map_files_photo_id_array":[{"photo_id":"1395664938","filename":"file5"},{"photo_id":"1395664928","filename":"file2"},{"photo_id":"1395664936","filename":"file4"},{"photo_id":"1395664927","filename":"file1"},{"photo_id":"1395664925","filename":"file0"},{"photo_id":"1395664934","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664925":["hashtag1","hashtag2"]},{"1395664927":["hashtag1","hashtag2"]},{"1395664936":["hashtag1","hashtag2"]},{"1395664938":["hashtag1","hashtag2"]},{"1395664934":["hashtag1","hashtag2"]},{"1395664928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664925, 1395664927, 1395664936, 1395664938, 1395664934, 1395664928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27851462364197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:32:22.206623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_37_2680.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_41_3591.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_43_2651.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_47_3605.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_50_2721.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_52_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_37_2680.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_41_3591.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_43_2651.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_47_3605.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_50_2721.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_52_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664968","1395664956","1395664965","1395664944","1395664947","1395664952"],"photo_ids_order":["1395664944","1395664947","1395664952","1395664956","1395664965","1395664968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63b7f026c60813fbda9866c98287a742.jpg","text":"TemporaryFile(/tmp/multipartBody4987595836655502088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778802922,"filename":"image_22112025_03_31_52_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9135f95ea72d6cb465afe924706c6529.jpg","text":"TemporaryFile(/tmp/multipartBody5721059367657741048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778802922,"filename":"image_22112025_03_31_47_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7e8b55bbd355ea7568fd79b820e092f.jpg","text":"TemporaryFile(/tmp/multipartBody1841613095729041402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778802922,"filename":"image_22112025_03_31_50_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/138fa9a59a8740e1bb7829e67a95f5c5.jpg","text":"TemporaryFile(/tmp/multipartBody6224925489987280922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778802922,"filename":"image_22112025_03_31_37_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7031d4fb867c35f0accf1b10bf36350a.jpg","text":"TemporaryFile(/tmp/multipartBody2258750495227996926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778802922,"filename":"image_22112025_03_31_41_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7036d84325059f1b482d9df041523d92.jpg","text":"TemporaryFile(/tmp/multipartBody8666246736288576398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778802922,"filename":"image_22112025_03_31_43_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664952","file1":"1395664947","file0":"1395664944","file4":"1395664965","file5":"1395664968","file3":"1395664956"},"map_files_photo_id_array":[{"photo_id":"1395664968","filename":"file5"},{"photo_id":"1395664952","filename":"file2"},{"photo_id":"1395664965","filename":"file4"},{"photo_id":"1395664947","filename":"file1"},{"photo_id":"1395664944","filename":"file0"},{"photo_id":"1395664956","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664968":["hashtag1","hashtag2"]},{"1395664956":["hashtag1","hashtag2"]},{"1395664965":["hashtag1","hashtag2"]},{"1395664944":["hashtag1","hashtag2"]},{"1395664947":["hashtag1","hashtag2"]},{"1395664952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664968, 1395664956, 1395664965, 1395664944, 1395664947, 1395664952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89717078208923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:33:02.988247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_56_3657.jpg', '/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_58_2587.jpg', '/home/pi/Desktop/images/22112025/03/32/image_22112025_03_32_01_2633.jpg', '/home/pi/Desktop/images/22112025/03/32/image_22112025_03_32_05_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_56_3657.jpg
/home/pi/Desktop/images/22112025/03/31/image_22112025_03_31_58_2587.jpg
/home/pi/Desktop/images/22112025/03/32/image_22112025_03_32_01_2633.jpg
/home/pi/Desktop/images/22112025/03/32/image_22112025_03_32_05_3567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664975","1395664972","1395664974","1395664976"],"photo_ids_order":["1395664972","1395664974","1395664975","1395664976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/200a73e68b0dc298a60f2ad7487ab2be.jpg","text":"TemporaryFile(/tmp/multipartBody1982214422496426633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778843673,"filename":"image_22112025_03_32_01_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9710c643daec6f1fa0748c40f51d3aa6.jpg","text":"TemporaryFile(/tmp/multipartBody1975641411186190535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778843673,"filename":"image_22112025_03_31_56_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e80cdd38eb92b7e7904d3e89b4c5483a.jpg","text":"TemporaryFile(/tmp/multipartBody6372663080819922850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778843673,"filename":"image_22112025_03_31_58_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faaa6298549ed07199351ef7237860df.jpg","text":"TemporaryFile(/tmp/multipartBody2491805273421357462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778843673,"filename":"image_22112025_03_32_05_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664975","file1":"1395664974","file0":"1395664972","file3":"1395664976"},"map_files_photo_id_array":[{"photo_id":"1395664975","filename":"file2"},{"photo_id":"1395664974","filename":"file1"},{"photo_id":"1395664972","filename":"file0"},{"photo_id":"1395664976","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664975":["hashtag1","hashtag2"]},{"1395664972":["hashtag1","hashtag2"]},{"1395664974":["hashtag1","hashtag2"]},{"1395664976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664975, 1395664972, 1395664974, 1395664976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.285627365112305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:33:42.396488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/32/image_22112025_03_32_07_2638.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_06_3016.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_10_3663.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_13_2608.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_16_3652.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_22_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/32/image_22112025_03_32_07_2638.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_06_3016.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_10_3663.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_13_2608.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_16_3652.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_22_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395664993","1395664996","1395664998","1395664995","1395664991","1395664994"],"photo_ids_order":["1395664991","1395664993","1395664994","1395664995","1395664996","1395664998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d81b51a9b4b1e19b95437303aa2a3ae5.jpg","text":"TemporaryFile(/tmp/multipartBody980836778601654771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778883065,"filename":"image_22112025_03_33_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d754d21e7b2963614178ca4027b0d63c.jpg","text":"TemporaryFile(/tmp/multipartBody8340966038168028787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778883065,"filename":"image_22112025_03_33_16_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2a1a5c45cebc131a5034bdfd8622f5f.jpg","text":"TemporaryFile(/tmp/multipartBody366023494271535287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778883065,"filename":"image_22112025_03_33_22_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e886026fb6017db6926f53b4558ca58.jpg","text":"TemporaryFile(/tmp/multipartBody1034236857787100355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778883065,"filename":"image_22112025_03_33_13_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd28dca3d24c7e7c92d0da86daafc32a.jpg","text":"TemporaryFile(/tmp/multipartBody7320446858910312038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778883065,"filename":"image_22112025_03_32_07_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/860bf5b1d2614301560c24af4e71c536.jpg","text":"TemporaryFile(/tmp/multipartBody8222565043610861486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778883065,"filename":"image_22112025_03_33_10_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395664994","file1":"1395664993","file0":"1395664991","file4":"1395664996","file5":"1395664998","file3":"1395664995"},"map_files_photo_id_array":[{"photo_id":"1395664998","filename":"file5"},{"photo_id":"1395664994","filename":"file2"},{"photo_id":"1395664996","filename":"file4"},{"photo_id":"1395664993","filename":"file1"},{"photo_id":"1395664991","filename":"file0"},{"photo_id":"1395664995","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395664993":["hashtag1","hashtag2"]},{"1395664996":["hashtag1","hashtag2"]},{"1395664998":["hashtag1","hashtag2"]},{"1395664995":["hashtag1","hashtag2"]},{"1395664991":["hashtag1","hashtag2"]},{"1395664994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395664993, 1395664996, 1395664998, 1395664995, 1395664991, 1395664994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00603938102722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:34:22.699082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_25_3690.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_31_2777.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_34_3500.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_40_3559.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_43_2705.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_52_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_25_3690.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_31_2777.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_34_3500.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_40_3559.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_43_2705.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_52_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665012","1395665008","1395665023","1395665005","1395665019","1395665021"],"photo_ids_order":["1395665005","1395665008","1395665012","1395665019","1395665021","1395665023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d9e36edd6e44d0c2022de0577189dac.jpg","text":"TemporaryFile(/tmp/multipartBody1894641342871140528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778923408,"filename":"image_22112025_03_33_34_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abb7baacc9b539aebda87a4cf895f7d6.jpg","text":"TemporaryFile(/tmp/multipartBody6696186457995029373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778923408,"filename":"image_22112025_03_33_31_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79f18206516e398e4bde954410ffd169.jpg","text":"TemporaryFile(/tmp/multipartBody3633244994329190641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778923408,"filename":"image_22112025_03_33_52_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/004bb6f67eb2883b1967cd04900275d8.jpg","text":"TemporaryFile(/tmp/multipartBody3360862765668393292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778923408,"filename":"image_22112025_03_33_25_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/823ba72e354b3ee7bb7592e30368770d.jpg","text":"TemporaryFile(/tmp/multipartBody2063092855519942188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778923408,"filename":"image_22112025_03_33_40_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40931a80cc31e504341fa64605e1d60e.jpg","text":"TemporaryFile(/tmp/multipartBody1455875796805083908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778923408,"filename":"image_22112025_03_33_43_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665012","file1":"1395665008","file0":"1395665005","file4":"1395665021","file5":"1395665023","file3":"1395665019"},"map_files_photo_id_array":[{"photo_id":"1395665023","filename":"file5"},{"photo_id":"1395665012","filename":"file2"},{"photo_id":"1395665021","filename":"file4"},{"photo_id":"1395665008","filename":"file1"},{"photo_id":"1395665005","filename":"file0"},{"photo_id":"1395665019","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665012":["hashtag1","hashtag2"]},{"1395665008":["hashtag1","hashtag2"]},{"1395665023":["hashtag1","hashtag2"]},{"1395665005":["hashtag1","hashtag2"]},{"1395665019":["hashtag1","hashtag2"]},{"1395665021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665012, 1395665008, 1395665023, 1395665005, 1395665019, 1395665021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63466191291809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:35:02.409509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_55_2694.jpg', '/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_58_3662.jpg', '/home/pi/Desktop/images/22112025/03/34/image_22112025_03_34_01_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_55_2694.jpg
/home/pi/Desktop/images/22112025/03/33/image_22112025_03_33_58_3662.jpg
/home/pi/Desktop/images/22112025/03/34/image_22112025_03_34_01_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665029","1395665034","1395665031"],"photo_ids_order":["1395665029","1395665031","1395665034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec5ba3b6c41e9e8cb2078fe75845b3cc.jpg","text":"TemporaryFile(/tmp/multipartBody5279590040226491178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778963058,"filename":"image_22112025_03_33_55_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a398d1832b8a43ebd51277f0674c8c81.jpg","text":"TemporaryFile(/tmp/multipartBody2363242307269015300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778963058,"filename":"image_22112025_03_34_01_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c73014bb8c01e961b7adffc3e2dc92af.jpg","text":"TemporaryFile(/tmp/multipartBody8935135005104635138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763778963058,"filename":"image_22112025_03_33_58_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665034","file1":"1395665031","file0":"1395665029"},"map_files_photo_id_array":[{"photo_id":"1395665034","filename":"file2"},{"photo_id":"1395665031","filename":"file1"},{"photo_id":"1395665029","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665029":["hashtag1","hashtag2"]},{"1395665034":["hashtag1","hashtag2"]},{"1395665031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665029, 1395665034, 1395665031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.402946949005127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:35:41.778008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/34/image_22112025_03_34_09_2908.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_07_3018.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_17_3714.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_20_2707.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_25_2667.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_29_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/34/image_22112025_03_34_09_2908.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_07_3018.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_17_3714.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_20_2707.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_25_2667.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_29_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665047","1395665049","1395665051","1395665045","1395665054","1395665048"],"photo_ids_order":["1395665045","1395665047","1395665048","1395665049","1395665051","1395665054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/078359096234e201ffb38f991c1839b4.jpg","text":"TemporaryFile(/tmp/multipartBody5019929777186341551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779002445,"filename":"image_22112025_03_35_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00e0bc1eec401cc3db790b4ebd384736.jpg","text":"TemporaryFile(/tmp/multipartBody3078372135805149539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779002445,"filename":"image_22112025_03_35_20_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/688e12cc9fa31b57279f618b1e0fed72.jpg","text":"TemporaryFile(/tmp/multipartBody6242318321464205704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779002445,"filename":"image_22112025_03_35_25_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6faade381fcac094d1cc0488eb497d9.jpg","text":"TemporaryFile(/tmp/multipartBody9076197598702437746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779002445,"filename":"image_22112025_03_34_09_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2fa5ff50b6e73593a8bd80580f4df48.jpg","text":"TemporaryFile(/tmp/multipartBody2091868098411915160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779002445,"filename":"image_22112025_03_35_29_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee28fe4ccbf83edbc7ea4686ad9d3139.jpg","text":"TemporaryFile(/tmp/multipartBody8488743810911039621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779002445,"filename":"image_22112025_03_35_17_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665048","file1":"1395665047","file0":"1395665045","file4":"1395665051","file5":"1395665054","file3":"1395665049"},"map_files_photo_id_array":[{"photo_id":"1395665054","filename":"file5"},{"photo_id":"1395665048","filename":"file2"},{"photo_id":"1395665051","filename":"file4"},{"photo_id":"1395665047","filename":"file1"},{"photo_id":"1395665045","filename":"file0"},{"photo_id":"1395665049","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665047":["hashtag1","hashtag2"]},{"1395665049":["hashtag1","hashtag2"]},{"1395665051":["hashtag1","hashtag2"]},{"1395665045":["hashtag1","hashtag2"]},{"1395665054":["hashtag1","hashtag2"]},{"1395665048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665047, 1395665049, 1395665051, 1395665045, 1395665054, 1395665048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73294258117676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:36:22.070468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_32_2736.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_34_2682.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_38_3770.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_44_2747.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_49_2973.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_55_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_32_2736.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_34_2682.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_38_3770.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_44_2747.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_49_2973.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_55_2568.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5990610122680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:36:41.999472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_32_2736.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_34_2682.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_38_3770.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_44_2747.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_49_2973.jpg', '/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_55_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_32_2736.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_34_2682.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_38_3770.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_44_2747.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_49_2973.jpg
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_55_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665074","1395665077","1395665082","1395665076","1395665078","1395665092"],"photo_ids_order":["1395665074","1395665076","1395665077","1395665078","1395665082","1395665092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/994e0e2f242575679c4b0112335960a5.jpg","text":"TemporaryFile(/tmp/multipartBody2896408114290550564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779062663,"filename":"image_22112025_03_35_32_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdb4c7ec9330321b7d9cefafd756593b.jpg","text":"TemporaryFile(/tmp/multipartBody1725078585983667514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779062663,"filename":"image_22112025_03_35_38_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be2bf62b7becef757b5dfb8af2c6004d.jpg","text":"TemporaryFile(/tmp/multipartBody6139172028693593343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779062663,"filename":"image_22112025_03_35_49_2973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fccf591271bd15980c5007b7de7591ab.jpg","text":"TemporaryFile(/tmp/multipartBody279265101361705151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779062663,"filename":"image_22112025_03_35_34_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e91cea6e5ad96e2d4c23c3ab1570a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody4627873984393841074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779062663,"filename":"image_22112025_03_35_44_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0ecc69fab3aca7ca6f1e0ceaefd93c6.jpg","text":"TemporaryFile(/tmp/multipartBody2297963094188266623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779062663,"filename":"image_22112025_03_35_55_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665077","file1":"1395665076","file0":"1395665074","file4":"1395665082","file5":"1395665092","file3":"1395665078"},"map_files_photo_id_array":[{"photo_id":"1395665092","filename":"file5"},{"photo_id":"1395665077","filename":"file2"},{"photo_id":"1395665082","filename":"file4"},{"photo_id":"1395665076","filename":"file1"},{"photo_id":"1395665074","filename":"file0"},{"photo_id":"1395665078","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665074":["hashtag1","hashtag2"]},{"1395665077":["hashtag1","hashtag2"]},{"1395665082":["hashtag1","hashtag2"]},{"1395665076":["hashtag1","hashtag2"]},{"1395665078":["hashtag1","hashtag2"]},{"1395665092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665074, 1395665077, 1395665082, 1395665076, 1395665078, 1395665092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.032936096191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:37:22.369275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_58_2679.jpg', '/home/pi/Desktop/images/22112025/03/36/image_22112025_03_36_02_3803.jpg', '/home/pi/Desktop/images/22112025/03/36/image_22112025_03_36_10_2754.jpg', '/home/pi/Desktop/images/22112025/03/36/image_22112025_03_36_14_3672.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_06_3017.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_16_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/35/image_22112025_03_35_58_2679.jpg
/home/pi/Desktop/images/22112025/03/36/image_22112025_03_36_02_3803.jpg
/home/pi/Desktop/images/22112025/03/36/image_22112025_03_36_10_2754.jpg
/home/pi/Desktop/images/22112025/03/36/image_22112025_03_36_14_3672.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_06_3017.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_16_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665115","1395665103","1395665112","1395665106","1395665109","1395665117"],"photo_ids_order":["1395665103","1395665106","1395665109","1395665112","1395665115","1395665117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0858d70b36586cc61a44d01605652acf.jpg","text":"TemporaryFile(/tmp/multipartBody4910134481272174470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779103072,"filename":"image_22112025_03_37_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e556a3e2778b105392a1001470767723.jpg","text":"TemporaryFile(/tmp/multipartBody7378047468984620705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779103072,"filename":"image_22112025_03_35_58_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcb5c0c12e7027af206efd877bd26fbb.jpg","text":"TemporaryFile(/tmp/multipartBody2130215787760101681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779103072,"filename":"image_22112025_03_36_14_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c5bf365ba2ce36233b50211b8bd7ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4254802626563485874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779103072,"filename":"image_22112025_03_36_02_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83a80a2aeab2835484dededc7f24202d.jpg","text":"TemporaryFile(/tmp/multipartBody3550702791581117442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779103072,"filename":"image_22112025_03_36_10_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc9dd5f0a350def5c81050db987debbd.jpg","text":"TemporaryFile(/tmp/multipartBody9012451560235332508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779103072,"filename":"image_22112025_03_37_16_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665109","file1":"1395665106","file0":"1395665103","file4":"1395665115","file5":"1395665117","file3":"1395665112"},"map_files_photo_id_array":[{"photo_id":"1395665117","filename":"file5"},{"photo_id":"1395665109","filename":"file2"},{"photo_id":"1395665115","filename":"file4"},{"photo_id":"1395665106","filename":"file1"},{"photo_id":"1395665103","filename":"file0"},{"photo_id":"1395665112","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665115":["hashtag1","hashtag2"]},{"1395665103":["hashtag1","hashtag2"]},{"1395665112":["hashtag1","hashtag2"]},{"1395665106":["hashtag1","hashtag2"]},{"1395665109":["hashtag1","hashtag2"]},{"1395665117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665115, 1395665103, 1395665112, 1395665106, 1395665109, 1395665117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26063585281372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:38:03.065300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_21_2715.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_28_2713.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_30_2594.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_34_3650.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_37_2781.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_39_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_21_2715.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_28_2713.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_30_2594.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_34_3650.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_37_2781.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_39_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665155","1395665158","1395665143","1395665148","1395665163","1395665124"],"photo_ids_order":["1395665124","1395665143","1395665148","1395665155","1395665158","1395665163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90eae1e87891cfed3c3142f4b12caa10.jpg","text":"TemporaryFile(/tmp/multipartBody7644433207711939039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779143777,"filename":"image_22112025_03_37_34_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a740e86f78e062782e59cd410bd0e76.jpg","text":"TemporaryFile(/tmp/multipartBody8367823840080115860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779143777,"filename":"image_22112025_03_37_37_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87456b41bc56b0f17e04fc009e7082ca.jpg","text":"TemporaryFile(/tmp/multipartBody3708523201338638179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779143777,"filename":"image_22112025_03_37_28_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/563914b4e2c3d91a9f993b799f5b53cd.jpg","text":"TemporaryFile(/tmp/multipartBody5634254453228793745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779143777,"filename":"image_22112025_03_37_30_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcefff490b597ab78bf304d8dea11334.jpg","text":"TemporaryFile(/tmp/multipartBody2473549878827174394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779143777,"filename":"image_22112025_03_37_39_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b489caf9dcb0b071748cbc6c338c3d7.jpg","text":"TemporaryFile(/tmp/multipartBody3834416384884248429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779143777,"filename":"image_22112025_03_37_21_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665148","file1":"1395665143","file0":"1395665124","file4":"1395665158","file5":"1395665163","file3":"1395665155"},"map_files_photo_id_array":[{"photo_id":"1395665163","filename":"file5"},{"photo_id":"1395665148","filename":"file2"},{"photo_id":"1395665158","filename":"file4"},{"photo_id":"1395665143","filename":"file1"},{"photo_id":"1395665124","filename":"file0"},{"photo_id":"1395665155","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665155":["hashtag1","hashtag2"]},{"1395665158":["hashtag1","hashtag2"]},{"1395665143":["hashtag1","hashtag2"]},{"1395665148":["hashtag1","hashtag2"]},{"1395665163":["hashtag1","hashtag2"]},{"1395665124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665155, 1395665158, 1395665143, 1395665148, 1395665163, 1395665124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32775354385376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:38:42.530173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_43_3673.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_46_2817.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_51_2777.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_55_3721.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_58_2689.jpg', '/home/pi/Desktop/images/22112025/03/37/image_22112025_03_38_00_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_43_3673.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_46_2817.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_51_2777.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_55_3721.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_37_58_2689.jpg
/home/pi/Desktop/images/22112025/03/37/image_22112025_03_38_00_2517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665224","1395665218","1395665223","1395665234","1395665222","1395665216"],"photo_ids_order":["1395665216","1395665218","1395665222","1395665223","1395665224","1395665234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/682a7b01da5f93082702ff99389e68c7.jpg","text":"TemporaryFile(/tmp/multipartBody4055100710198440723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779183199,"filename":"image_22112025_03_37_58_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58a930d9605f56872f24a6612f8882b0.jpg","text":"TemporaryFile(/tmp/multipartBody8243392975781331187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779183199,"filename":"image_22112025_03_37_46_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/122234118c612d0ca0bbbea857780f42.jpg","text":"TemporaryFile(/tmp/multipartBody4850483103094072677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779183199,"filename":"image_22112025_03_37_55_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47145f52f50c5753cc337e5bba8274e6.jpg","text":"TemporaryFile(/tmp/multipartBody5331619972750966758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779183199,"filename":"image_22112025_03_38_00_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96560b57a9d97b1c82bf2fc4d1d87734.jpg","text":"TemporaryFile(/tmp/multipartBody3108756863742664281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779183199,"filename":"image_22112025_03_37_51_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f70d27e3a342d548255b0864dd0edd70.jpg","text":"TemporaryFile(/tmp/multipartBody6112077138701106615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779183199,"filename":"image_22112025_03_37_43_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665222","file1":"1395665218","file0":"1395665216","file4":"1395665224","file5":"1395665234","file3":"1395665223"},"map_files_photo_id_array":[{"photo_id":"1395665234","filename":"file5"},{"photo_id":"1395665222","filename":"file2"},{"photo_id":"1395665224","filename":"file4"},{"photo_id":"1395665218","filename":"file1"},{"photo_id":"1395665216","filename":"file0"},{"photo_id":"1395665223","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665224":["hashtag1","hashtag2"]},{"1395665218":["hashtag1","hashtag2"]},{"1395665223":["hashtag1","hashtag2"]},{"1395665234":["hashtag1","hashtag2"]},{"1395665222":["hashtag1","hashtag2"]},{"1395665216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665224, 1395665218, 1395665223, 1395665234, 1395665222, 1395665216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.879329442977905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:39:22.125590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/38/image_22112025_03_38_04_3768.jpg', '/home/pi/Desktop/images/22112025/03/38/image_22112025_03_38_07_2574.jpg', '/home/pi/Desktop/images/22112025/03/38/image_22112025_03_38_09_2661.jpg', '/home/pi/Desktop/images/22112025/03/38/image_22112025_03_38_13_3619.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_07_3017.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_11_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/38/image_22112025_03_38_04_3768.jpg
/home/pi/Desktop/images/22112025/03/38/image_22112025_03_38_07_2574.jpg
/home/pi/Desktop/images/22112025/03/38/image_22112025_03_38_09_2661.jpg
/home/pi/Desktop/images/22112025/03/38/image_22112025_03_38_13_3619.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_07_3017.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_11_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665389","1395665245","1395665391","1395665393","1395665240","1395665309"],"photo_ids_order":["1395665240","1395665245","1395665309","1395665389","1395665391","1395665393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b53c46b790cdc8bfa192e2e113e4128e.jpg","text":"TemporaryFile(/tmp/multipartBody8652832405008609358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779222841,"filename":"image_22112025_03_38_13_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e699f1e26868785d1ad1c95c3d8889cc.jpg","text":"TemporaryFile(/tmp/multipartBody3874060434466718884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779222841,"filename":"image_22112025_03_38_07_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39f3728b05ccfdad9dbadb7a88f371af.jpg","text":"TemporaryFile(/tmp/multipartBody2819129372986731319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779222841,"filename":"image_22112025_03_39_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d73ca1f282e6c0a6366d2e4e3ef1543.jpg","text":"TemporaryFile(/tmp/multipartBody7905237464951025953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779222841,"filename":"image_22112025_03_39_11_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e07f3e53a6c2cb69a61dd0e7c7f663d.jpg","text":"TemporaryFile(/tmp/multipartBody6455549891252116947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779222841,"filename":"image_22112025_03_38_04_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c6d8d76fd6222f45f008f6c605af1ca.jpg","text":"TemporaryFile(/tmp/multipartBody4977223491845700594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779222841,"filename":"image_22112025_03_38_09_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665309","file1":"1395665245","file0":"1395665240","file4":"1395665391","file5":"1395665393","file3":"1395665389"},"map_files_photo_id_array":[{"photo_id":"1395665393","filename":"file5"},{"photo_id":"1395665309","filename":"file2"},{"photo_id":"1395665391","filename":"file4"},{"photo_id":"1395665245","filename":"file1"},{"photo_id":"1395665240","filename":"file0"},{"photo_id":"1395665389","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665389":["hashtag1","hashtag2"]},{"1395665245":["hashtag1","hashtag2"]},{"1395665391":["hashtag1","hashtag2"]},{"1395665393":["hashtag1","hashtag2"]},{"1395665240":["hashtag1","hashtag2"]},{"1395665309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665389, 1395665245, 1395665391, 1395665393, 1395665240, 1395665309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.658751487731934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:40:02.800219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_13_2630.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_16_2794.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_23_2702.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_25_2585.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_37_2672.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_41_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_13_2630.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_16_2794.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_23_2702.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_25_2585.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_37_2672.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_41_3767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665402","1395665394","1395665400","1395665406","1395665396","1395665398"],"photo_ids_order":["1395665394","1395665396","1395665398","1395665400","1395665402","1395665406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91eda10df96de8ee9e353c1cdd6e5cad.jpg","text":"TemporaryFile(/tmp/multipartBody1217175527837510602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779263494,"filename":"image_22112025_03_39_37_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d827227c004b1722955d3fb7c2e86fa1.jpg","text":"TemporaryFile(/tmp/multipartBody396612400345854795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779263494,"filename":"image_22112025_03_39_13_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e7bdbc0fb8f23aa83e4c4282393a3b2.jpg","text":"TemporaryFile(/tmp/multipartBody2338414131265511351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779263494,"filename":"image_22112025_03_39_25_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee6007316adf3dfc13b1161ae2c5bd2f.jpg","text":"TemporaryFile(/tmp/multipartBody7946286432368032315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779263494,"filename":"image_22112025_03_39_41_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31e6888e2ad2ec98ff4637db1360e181.jpg","text":"TemporaryFile(/tmp/multipartBody2468626159701074615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779263494,"filename":"image_22112025_03_39_16_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49a9d2e71c48a82e2c424d2f43333f5a.jpg","text":"TemporaryFile(/tmp/multipartBody952910245808031996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779263494,"filename":"image_22112025_03_39_23_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665398","file1":"1395665396","file0":"1395665394","file4":"1395665402","file5":"1395665406","file3":"1395665400"},"map_files_photo_id_array":[{"photo_id":"1395665406","filename":"file5"},{"photo_id":"1395665398","filename":"file2"},{"photo_id":"1395665402","filename":"file4"},{"photo_id":"1395665396","filename":"file1"},{"photo_id":"1395665394","filename":"file0"},{"photo_id":"1395665400","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665402":["hashtag1","hashtag2"]},{"1395665394":["hashtag1","hashtag2"]},{"1395665400":["hashtag1","hashtag2"]},{"1395665406":["hashtag1","hashtag2"]},{"1395665396":["hashtag1","hashtag2"]},{"1395665398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665402, 1395665394, 1395665400, 1395665406, 1395665396, 1395665398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.768022537231445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:40:42.246946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_43_2582.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_46_2510.jpg', '/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_52_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_43_2582.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_46_2510.jpg
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_52_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665419","1395665424","1395665421"],"photo_ids_order":["1395665419","1395665421","1395665424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41cd8698a649b4f99da6b4c17facc6b8.jpg","text":"TemporaryFile(/tmp/multipartBody5100116029818841214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779302813,"filename":"image_22112025_03_39_43_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57767b8a48c533d839c4f7c6cad10f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6465866054006488942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779302813,"filename":"image_22112025_03_39_52_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e8a7f6b8fb820da6fba6a8ab89c61f2.jpg","text":"TemporaryFile(/tmp/multipartBody247345701199931851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779302813,"filename":"image_22112025_03_39_46_2510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665424","file1":"1395665421","file0":"1395665419"},"map_files_photo_id_array":[{"photo_id":"1395665424","filename":"file2"},{"photo_id":"1395665421","filename":"file1"},{"photo_id":"1395665419","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665419":["hashtag1","hashtag2"]},{"1395665424":["hashtag1","hashtag2"]},{"1395665421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665419, 1395665424, 1395665421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.6400146484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:41:22.551858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_55_2684.jpg', '/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_13_2524.jpg', '/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_16_3574.jpg', '/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_22_2622.jpg', '/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_25_3667.jpg', '/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_28_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/39/image_22112025_03_39_55_2684.jpg
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_13_2524.jpg
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_16_3574.jpg
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_22_2622.jpg
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_25_3667.jpg
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_28_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665442","1395665445","1395665439","1395665430","1395665435","1395665447"],"photo_ids_order":["1395665430","1395665435","1395665439","1395665442","1395665445","1395665447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/053e08b5957b8d49e8d7e81f6d5b022f.jpg","text":"TemporaryFile(/tmp/multipartBody9150187969740001081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779343252,"filename":"image_22112025_03_41_22_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3c4bb28008a77891ceeafdbe9681eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6382407678306379399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779343252,"filename":"image_22112025_03_41_25_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9656086aa26c8eab3b99139a79bfc8b0.jpg","text":"TemporaryFile(/tmp/multipartBody7654677682040732961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779343252,"filename":"image_22112025_03_41_16_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfd004a0927ea6f875e24ff722ba231c.jpg","text":"TemporaryFile(/tmp/multipartBody8873196786473727088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779343252,"filename":"image_22112025_03_39_55_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5548ffb1325f246e0a3b85e17f7ee65f.jpg","text":"TemporaryFile(/tmp/multipartBody5161122838043367776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779343252,"filename":"image_22112025_03_41_13_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4606058cf0fc874f841cff4931eac40.jpg","text":"TemporaryFile(/tmp/multipartBody4832799092920596444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779343252,"filename":"image_22112025_03_41_28_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665439","file1":"1395665435","file0":"1395665430","file4":"1395665445","file5":"1395665447","file3":"1395665442"},"map_files_photo_id_array":[{"photo_id":"1395665447","filename":"file5"},{"photo_id":"1395665439","filename":"file2"},{"photo_id":"1395665445","filename":"file4"},{"photo_id":"1395665435","filename":"file1"},{"photo_id":"1395665430","filename":"file0"},{"photo_id":"1395665442","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665442":["hashtag1","hashtag2"]},{"1395665445":["hashtag1","hashtag2"]},{"1395665439":["hashtag1","hashtag2"]},{"1395665430":["hashtag1","hashtag2"]},{"1395665435":["hashtag1","hashtag2"]},{"1395665447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665442, 1395665445, 1395665439, 1395665430, 1395665435, 1395665447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76689863204956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:42:03.134785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_37_2562.jpg', '/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_40_3633.jpg', '/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_49_3668.jpg', '/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_52_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_37_2562.jpg
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_40_3633.jpg
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_49_3668.jpg
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_52_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665461","1395665463","1395665465","1395665459"],"photo_ids_order":["1395665459","1395665461","1395665463","1395665465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8824ee78f100c479995d0a3de1fa252.jpg","text":"TemporaryFile(/tmp/multipartBody4286503917754462458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779383779,"filename":"image_22112025_03_41_40_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9bcb9b0b09e3d539ef63c259a0164b7.jpg","text":"TemporaryFile(/tmp/multipartBody2699984500776399097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779383779,"filename":"image_22112025_03_41_49_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/035a2c00c21e3c167bfb76964873d12f.jpg","text":"TemporaryFile(/tmp/multipartBody3031659492989831327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779383779,"filename":"image_22112025_03_41_52_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd40c2ded9331c0f7efdded57ce62f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8702054232286412958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779383779,"filename":"image_22112025_03_41_37_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665463","file1":"1395665461","file0":"1395665459","file3":"1395665465"},"map_files_photo_id_array":[{"photo_id":"1395665463","filename":"file2"},{"photo_id":"1395665461","filename":"file1"},{"photo_id":"1395665459","filename":"file0"},{"photo_id":"1395665465","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665461":["hashtag1","hashtag2"]},{"1395665463":["hashtag1","hashtag2"]},{"1395665465":["hashtag1","hashtag2"]},{"1395665459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665461, 1395665463, 1395665465, 1395665459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.23493480682373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:42:42.693054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_55_2538.jpg', '/home/pi/Desktop/images/22112025/03/42/image_22112025_03_42_01_2662.jpg', '/home/pi/Desktop/images/22112025/03/42/image_22112025_03_42_04_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/41/image_22112025_03_41_55_2538.jpg
/home/pi/Desktop/images/22112025/03/42/image_22112025_03_42_01_2662.jpg
/home/pi/Desktop/images/22112025/03/42/image_22112025_03_42_04_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665479","1395665480","1395665477"],"photo_ids_order":["1395665477","1395665479","1395665480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02d7db83f02ab6d4e9e305e06d1984a1.jpg","text":"TemporaryFile(/tmp/multipartBody9146687077555570693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779423260,"filename":"image_22112025_03_42_01_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b56f93548d1e7a34e3d104ac984d1ad1.jpg","text":"TemporaryFile(/tmp/multipartBody6881147447492747214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779423260,"filename":"image_22112025_03_42_04_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/771b20df011a532bacca38f72809dee6.jpg","text":"TemporaryFile(/tmp/multipartBody1590932483262330543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779423260,"filename":"image_22112025_03_41_55_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665480","file1":"1395665479","file0":"1395665477"},"map_files_photo_id_array":[{"photo_id":"1395665480","filename":"file2"},{"photo_id":"1395665479","filename":"file1"},{"photo_id":"1395665477","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665479":["hashtag1","hashtag2"]},{"1395665480":["hashtag1","hashtag2"]},{"1395665477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665479, 1395665480, 1395665477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.987209796905518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:43:22.015893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/42/image_22112025_03_42_10_2601.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_07_3017.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_11_3666.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_14_2755.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_16_2596.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_20_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/42/image_22112025_03_42_10_2601.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_07_3017.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_11_3666.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_14_2755.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_16_2596.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_20_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665501","1395665499","1395665492","1395665486","1395665495","1395665489"],"photo_ids_order":["1395665486","1395665489","1395665492","1395665495","1395665499","1395665501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82cec07044b5b5eb0c9ea5172ea6d846.jpg","text":"TemporaryFile(/tmp/multipartBody1147417801088701946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779462756,"filename":"image_22112025_03_43_20_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab1b70ef72b79f7bce1ad2eeb63fd508.jpg","text":"TemporaryFile(/tmp/multipartBody6342793013616762800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779462756,"filename":"image_22112025_03_43_16_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b20309a4d87c26a2193ae2cf404320c0.jpg","text":"TemporaryFile(/tmp/multipartBody868236391882745205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779462756,"filename":"image_22112025_03_43_11_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c1e9312b99e9021bae052c9691db9d7.jpg","text":"TemporaryFile(/tmp/multipartBody8102881771858144200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779462756,"filename":"image_22112025_03_42_10_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50d83e8ac96c90d537b971b0a5ca7cda.jpg","text":"TemporaryFile(/tmp/multipartBody8806482921649289146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779462756,"filename":"image_22112025_03_43_14_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9da3ac90065ad4cda7a11f0522821110.jpg","text":"TemporaryFile(/tmp/multipartBody7164959734581455540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779462756,"filename":"image_22112025_03_43_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665492","file1":"1395665489","file0":"1395665486","file4":"1395665499","file5":"1395665501","file3":"1395665495"},"map_files_photo_id_array":[{"photo_id":"1395665501","filename":"file5"},{"photo_id":"1395665492","filename":"file2"},{"photo_id":"1395665499","filename":"file4"},{"photo_id":"1395665489","filename":"file1"},{"photo_id":"1395665486","filename":"file0"},{"photo_id":"1395665495","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665501":["hashtag1","hashtag2"]},{"1395665499":["hashtag1","hashtag2"]},{"1395665492":["hashtag1","hashtag2"]},{"1395665486":["hashtag1","hashtag2"]},{"1395665495":["hashtag1","hashtag2"]},{"1395665489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665501, 1395665499, 1395665492, 1395665486, 1395665495, 1395665489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66248869895935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:44:02.874669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_23_2710.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_25_2785.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_29_3707.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_32_2647.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_34_2666.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_40_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_23_2710.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_25_2785.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_29_3707.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_32_2647.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_34_2666.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_40_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665509","1395665503","1395665505","1395665514","1395665502","1395665519"],"photo_ids_order":["1395665502","1395665503","1395665505","1395665509","1395665514","1395665519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/825d8050d753331cf34825fc2e0d67b6.jpg","text":"TemporaryFile(/tmp/multipartBody655272852843335173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779503642,"filename":"image_22112025_03_43_32_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/489249e4cd79c814e86cb453ef5ca5c2.jpg","text":"TemporaryFile(/tmp/multipartBody8619467131285427715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779503642,"filename":"image_22112025_03_43_25_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86652683253a453794724be2264c6f75.jpg","text":"TemporaryFile(/tmp/multipartBody7575029370339893189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779503642,"filename":"image_22112025_03_43_29_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9dfa86ebb5b2ca432755ac85d8799cf9.jpg","text":"TemporaryFile(/tmp/multipartBody186022111326157607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779503642,"filename":"image_22112025_03_43_34_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e359bc5827dacc183050c0660df71c25.jpg","text":"TemporaryFile(/tmp/multipartBody7057950697811158689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779503642,"filename":"image_22112025_03_43_23_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/992ae09f610424f62d570eefb0e7b251.jpg","text":"TemporaryFile(/tmp/multipartBody3029566294346430173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779503642,"filename":"image_22112025_03_43_40_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665505","file1":"1395665503","file0":"1395665502","file4":"1395665514","file5":"1395665519","file3":"1395665509"},"map_files_photo_id_array":[{"photo_id":"1395665519","filename":"file5"},{"photo_id":"1395665505","filename":"file2"},{"photo_id":"1395665514","filename":"file4"},{"photo_id":"1395665503","filename":"file1"},{"photo_id":"1395665502","filename":"file0"},{"photo_id":"1395665509","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665509":["hashtag1","hashtag2"]},{"1395665503":["hashtag1","hashtag2"]},{"1395665505":["hashtag1","hashtag2"]},{"1395665514":["hashtag1","hashtag2"]},{"1395665502":["hashtag1","hashtag2"]},{"1395665519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665509, 1395665503, 1395665505, 1395665514, 1395665502, 1395665519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76606798171997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:44:42.146359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_43_2727.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_47_3541.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_49_2742.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_53_3613.jpg', '/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_58_2570.jpg', '/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_02_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_43_2727.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_47_3541.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_49_2742.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_53_3613.jpg
/home/pi/Desktop/images/22112025/03/43/image_22112025_03_43_58_2570.jpg
/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_02_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665542","1395665530","1395665532","1395665549","1395665531","1395665528"],"photo_ids_order":["1395665528","1395665530","1395665531","1395665532","1395665542","1395665549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d852efd0ec491c2c0030e5ce40f9004.jpg","text":"TemporaryFile(/tmp/multipartBody6573767082494244467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779542840,"filename":"image_22112025_03_43_58_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6787cde56b9b61c9c0a9dbd75e1e724b.jpg","text":"TemporaryFile(/tmp/multipartBody3809754620937681597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779542840,"filename":"image_22112025_03_43_47_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48e8c84420748e2880e4da3e2dbdb3c9.jpg","text":"TemporaryFile(/tmp/multipartBody2673761083995083057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779542840,"filename":"image_22112025_03_43_53_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fe0f2c9bc2714c6ae0d885b55429af4.jpg","text":"TemporaryFile(/tmp/multipartBody5580932408756894985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779542840,"filename":"image_22112025_03_44_02_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9646d6a8483b4fd453d273ddbe997dc.jpg","text":"TemporaryFile(/tmp/multipartBody1020966285109365493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779542840,"filename":"image_22112025_03_43_49_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88b450740fba90716d435cdedc05edb7.jpg","text":"TemporaryFile(/tmp/multipartBody7633118039717742669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779542840,"filename":"image_22112025_03_43_43_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665531","file1":"1395665530","file0":"1395665528","file4":"1395665542","file5":"1395665549","file3":"1395665532"},"map_files_photo_id_array":[{"photo_id":"1395665549","filename":"file5"},{"photo_id":"1395665531","filename":"file2"},{"photo_id":"1395665542","filename":"file4"},{"photo_id":"1395665530","filename":"file1"},{"photo_id":"1395665528","filename":"file0"},{"photo_id":"1395665532","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665542":["hashtag1","hashtag2"]},{"1395665530":["hashtag1","hashtag2"]},{"1395665532":["hashtag1","hashtag2"]},{"1395665549":["hashtag1","hashtag2"]},{"1395665531":["hashtag1","hashtag2"]},{"1395665528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665542, 1395665530, 1395665532, 1395665549, 1395665531, 1395665528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.910423040390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:45:22.690424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_05_2737.jpg', '/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_10_2866.jpg', '/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_14_3701.jpg', '/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_17_2726.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_07_3019.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_11_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_05_2737.jpg
/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_10_2866.jpg
/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_14_3701.jpg
/home/pi/Desktop/images/22112025/03/44/image_22112025_03_44_17_2726.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_07_3019.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_11_3762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665580","1395665574","1395665568","1395665577","1395665571","1395665582"],"photo_ids_order":["1395665568","1395665571","1395665574","1395665577","1395665580","1395665582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/640e8b83e3917df8c9217bab449d3da5.jpg","text":"TemporaryFile(/tmp/multipartBody7653832730911530065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779583398,"filename":"image_22112025_03_45_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49dab1b7640e96d26b09c2f7ad6e9dc1.jpg","text":"TemporaryFile(/tmp/multipartBody1749576231367519866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779583398,"filename":"image_22112025_03_44_14_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88d376b0d108f134bea785cd79de4582.jpg","text":"TemporaryFile(/tmp/multipartBody2195335219949810174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779583398,"filename":"image_22112025_03_44_05_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f483a731aea3bc6acad2f28aecda6aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4347437481714036125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779583398,"filename":"image_22112025_03_44_17_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec5b5ddc3b9ee903d033efce2ce049a0.jpg","text":"TemporaryFile(/tmp/multipartBody5063304603407949366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779583398,"filename":"image_22112025_03_44_10_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09be7d7849edf27843d40fbe68b7695e.jpg","text":"TemporaryFile(/tmp/multipartBody6991737361969337499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779583398,"filename":"image_22112025_03_45_11_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665574","file1":"1395665571","file0":"1395665568","file4":"1395665580","file5":"1395665582","file3":"1395665577"},"map_files_photo_id_array":[{"photo_id":"1395665582","filename":"file5"},{"photo_id":"1395665574","filename":"file2"},{"photo_id":"1395665580","filename":"file4"},{"photo_id":"1395665571","filename":"file1"},{"photo_id":"1395665568","filename":"file0"},{"photo_id":"1395665577","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665580":["hashtag1","hashtag2"]},{"1395665574":["hashtag1","hashtag2"]},{"1395665568":["hashtag1","hashtag2"]},{"1395665577":["hashtag1","hashtag2"]},{"1395665571":["hashtag1","hashtag2"]},{"1395665582":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665580, 1395665574, 1395665568, 1395665577, 1395665571, 1395665582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46811771392822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:46:02.230291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_16_2722.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_22_2631.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_26_3601.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_28_2632.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_31_2611.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_35_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_16_2722.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_22_2631.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_26_3601.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_28_2632.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_31_2611.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_35_3742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665584","1395665592","1395665595","1395665589","1395665598","1395665583"],"photo_ids_order":["1395665583","1395665584","1395665589","1395665592","1395665595","1395665598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c9073c70a44c0edc7e9af532dcabded.jpg","text":"TemporaryFile(/tmp/multipartBody1878201033544839259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779622952,"filename":"image_22112025_03_45_22_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1b78717761404946669944175d88395.jpg","text":"TemporaryFile(/tmp/multipartBody5015740214323139151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779622952,"filename":"image_22112025_03_45_28_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1858b79e006fa1fe7fd34bb9c8fd0b41.jpg","text":"TemporaryFile(/tmp/multipartBody7091630458351091602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779622952,"filename":"image_22112025_03_45_31_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03eca145098a3714de306d603683d0a4.jpg","text":"TemporaryFile(/tmp/multipartBody6656246811738902268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779622952,"filename":"image_22112025_03_45_26_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e94ebf8f8995e4b1806b64ee259df44c.jpg","text":"TemporaryFile(/tmp/multipartBody6669201170033452192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779622952,"filename":"image_22112025_03_45_35_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a16fcb8cef40e4e292937b7f997d387.jpg","text":"TemporaryFile(/tmp/multipartBody4904224598144643413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779622952,"filename":"image_22112025_03_45_16_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665589","file1":"1395665584","file0":"1395665583","file4":"1395665595","file5":"1395665598","file3":"1395665592"},"map_files_photo_id_array":[{"photo_id":"1395665598","filename":"file5"},{"photo_id":"1395665589","filename":"file2"},{"photo_id":"1395665595","filename":"file4"},{"photo_id":"1395665584","filename":"file1"},{"photo_id":"1395665583","filename":"file0"},{"photo_id":"1395665592","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665584":["hashtag1","hashtag2"]},{"1395665592":["hashtag1","hashtag2"]},{"1395665595":["hashtag1","hashtag2"]},{"1395665589":["hashtag1","hashtag2"]},{"1395665598":["hashtag1","hashtag2"]},{"1395665583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665584, 1395665592, 1395665595, 1395665589, 1395665598, 1395665583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.023956298828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:46:41.833389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_40_2661.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_47_2935.jpg', '/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_49_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_40_2661.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_47_2935.jpg
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_49_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665610","1395665607","1395665612"],"photo_ids_order":["1395665607","1395665610","1395665612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f060b7c45490701f956cfec90b1a7a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8293485495934229158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779662477,"filename":"image_22112025_03_45_47_2935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8946b6aa9a26b1505608da49c782955f.jpg","text":"TemporaryFile(/tmp/multipartBody5181212477636735554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779662477,"filename":"image_22112025_03_45_40_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3af5ab0df69217adbacb57f7880ddba.jpg","text":"TemporaryFile(/tmp/multipartBody436453533565923647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779662477,"filename":"image_22112025_03_45_49_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665612","file1":"1395665610","file0":"1395665607"},"map_files_photo_id_array":[{"photo_id":"1395665612","filename":"file2"},{"photo_id":"1395665610","filename":"file1"},{"photo_id":"1395665607","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665610":["hashtag1","hashtag2"]},{"1395665607":["hashtag1","hashtag2"]},{"1395665612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665610, 1395665607, 1395665612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.336073875427246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:47:22.233198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_52_2950.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_06_3011.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_10_3609.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_13_2831.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_15_2573.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_19_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_52_2950.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_06_3011.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_10_3609.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_13_2831.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_15_2573.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_19_3710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6084802150726318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:47:42.056939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_52_2950.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_06_3011.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_10_3609.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_13_2831.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_15_2573.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_19_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/45/image_22112025_03_45_52_2950.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_06_3011.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_10_3609.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_13_2831.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_15_2573.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_19_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665650","1395665644","1395665641","1395665643","1395665642","1395665639"],"photo_ids_order":["1395665639","1395665641","1395665642","1395665643","1395665644","1395665650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc31b49a15a479f683a6330c58028f95.jpg","text":"TemporaryFile(/tmp/multipartBody3602207010987259037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779722726,"filename":"image_22112025_03_47_19_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/badbc02711637550814c40d53f61a3b3.jpg","text":"TemporaryFile(/tmp/multipartBody2445857826286162687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779722726,"filename":"image_22112025_03_47_15_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/692b22263a71cfa9f3b58846522234e7.jpg","text":"TemporaryFile(/tmp/multipartBody1336038607370434674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779722726,"filename":"image_22112025_03_47_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4329b23d70322ac0d15663135d8eacd1.jpg","text":"TemporaryFile(/tmp/multipartBody474141334903450007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779722726,"filename":"image_22112025_03_47_13_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3220bc31d8193a001f736a330efea503.jpg","text":"TemporaryFile(/tmp/multipartBody5568661535015013544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779722726,"filename":"image_22112025_03_47_10_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c960488472e542fc11233ab563042db6.jpg","text":"TemporaryFile(/tmp/multipartBody5466184600576545986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779722726,"filename":"image_22112025_03_45_52_2950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665642","file1":"1395665641","file0":"1395665639","file4":"1395665644","file5":"1395665650","file3":"1395665643"},"map_files_photo_id_array":[{"photo_id":"1395665650","filename":"file5"},{"photo_id":"1395665642","filename":"file2"},{"photo_id":"1395665644","filename":"file4"},{"photo_id":"1395665641","filename":"file1"},{"photo_id":"1395665639","filename":"file0"},{"photo_id":"1395665643","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665650":["hashtag1","hashtag2"]},{"1395665644":["hashtag1","hashtag2"]},{"1395665641":["hashtag1","hashtag2"]},{"1395665643":["hashtag1","hashtag2"]},{"1395665642":["hashtag1","hashtag2"]},{"1395665639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665650, 1395665644, 1395665641, 1395665643, 1395665642, 1395665639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01537489891052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:48:22.302798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_22_2810.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_28_3606.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_34_2692.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_37_3501.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_40_2694.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_42_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_22_2810.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_28_3606.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_34_2692.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_37_3501.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_40_2694.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_42_2527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665671","1395665659","1395665655","1395665666","1395665669","1395665663"],"photo_ids_order":["1395665655","1395665659","1395665663","1395665666","1395665669","1395665671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6d6dfa42250b46e4d76f5e4f40e4069.jpg","text":"TemporaryFile(/tmp/multipartBody2833293202493264150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779762988,"filename":"image_22112025_03_47_42_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7470fbb29e94d865eb38d5ce55d27eb8.jpg","text":"TemporaryFile(/tmp/multipartBody682657408024690149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779762988,"filename":"image_22112025_03_47_28_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50f161a8f272dbf9402b9cd34e44dbe4.jpg","text":"TemporaryFile(/tmp/multipartBody1539676622342175487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779762988,"filename":"image_22112025_03_47_22_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95c0ade64ec9f76737febb619ccb81d2.jpg","text":"TemporaryFile(/tmp/multipartBody5252187118450660056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779762988,"filename":"image_22112025_03_47_37_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c197c76e62bf2e821747111477e5c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7010467102134933992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779762988,"filename":"image_22112025_03_47_40_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14dd44c3ec2b387c732b6db207347325.jpg","text":"TemporaryFile(/tmp/multipartBody7991039936618921154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779762988,"filename":"image_22112025_03_47_34_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665663","file1":"1395665659","file0":"1395665655","file4":"1395665669","file5":"1395665671","file3":"1395665666"},"map_files_photo_id_array":[{"photo_id":"1395665671","filename":"file5"},{"photo_id":"1395665663","filename":"file2"},{"photo_id":"1395665669","filename":"file4"},{"photo_id":"1395665659","filename":"file1"},{"photo_id":"1395665655","filename":"file0"},{"photo_id":"1395665666","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665671":["hashtag1","hashtag2"]},{"1395665659":["hashtag1","hashtag2"]},{"1395665655":["hashtag1","hashtag2"]},{"1395665666":["hashtag1","hashtag2"]},{"1395665669":["hashtag1","hashtag2"]},{"1395665663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665671, 1395665659, 1395665655, 1395665666, 1395665669, 1395665663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99975633621216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:49:03.312397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_55_2510.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_57_2624.jpg', '/home/pi/Desktop/images/22112025/03/47/image_22112025_03_48_01_3599.jpg', '/home/pi/Desktop/images/22112025/03/48/image_22112025_03_48_04_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_55_2510.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_47_57_2624.jpg
/home/pi/Desktop/images/22112025/03/47/image_22112025_03_48_01_3599.jpg
/home/pi/Desktop/images/22112025/03/48/image_22112025_03_48_04_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665698","1395665686","1395665676","1395665700"],"photo_ids_order":["1395665676","1395665686","1395665698","1395665700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbe2454dc11621c00770b5bd4bad0f3f.jpg","text":"TemporaryFile(/tmp/multipartBody89014707906734754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779804118,"filename":"image_22112025_03_48_01_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09879a6c60cd560150709a0377205529.jpg","text":"TemporaryFile(/tmp/multipartBody6201654665164505694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779804118,"filename":"image_22112025_03_47_57_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a16bb61467b56a7a5bea9925efacaf4.jpg","text":"TemporaryFile(/tmp/multipartBody5573103443674536214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779804118,"filename":"image_22112025_03_47_55_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19bc5a885936fc07a747d394543f6385.jpg","text":"TemporaryFile(/tmp/multipartBody7402405917798059974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779804118,"filename":"image_22112025_03_48_04_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665698","file1":"1395665686","file0":"1395665676","file3":"1395665700"},"map_files_photo_id_array":[{"photo_id":"1395665698","filename":"file2"},{"photo_id":"1395665686","filename":"file1"},{"photo_id":"1395665676","filename":"file0"},{"photo_id":"1395665700","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665698":["hashtag1","hashtag2"]},{"1395665686":["hashtag1","hashtag2"]},{"1395665676":["hashtag1","hashtag2"]},{"1395665700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665698, 1395665686, 1395665676, 1395665700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.62407922744751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:49:42.579471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/48/image_22112025_03_48_06_2721.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_07_3257.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_16_3653.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_25_2689.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_28_2795.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_31_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/48/image_22112025_03_48_06_2721.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_07_3257.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_16_3653.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_25_2689.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_28_2795.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_31_3747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665719","1395665713","1395665716","1395665718","1395665715","1395665717"],"photo_ids_order":["1395665713","1395665715","1395665716","1395665717","1395665718","1395665719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c2c956ef2d94fc24ac8313461c37127.jpg","text":"TemporaryFile(/tmp/multipartBody809804153115784083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779843248,"filename":"image_22112025_03_49_31_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b9e1602f3fc7d0061b5d220ed441de6.jpg","text":"TemporaryFile(/tmp/multipartBody3935532197793408519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779843248,"filename":"image_22112025_03_48_06_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65b6c7fbaa82f3734de3db9786a7be37.jpg","text":"TemporaryFile(/tmp/multipartBody2965186182339361586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779843248,"filename":"image_22112025_03_49_16_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9ea5438c1ce433028a27b5c62128f33.jpg","text":"TemporaryFile(/tmp/multipartBody7490379849535380668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779843248,"filename":"image_22112025_03_49_28_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a70b2a36b6237c24fed50ff73f4999b3.jpg","text":"TemporaryFile(/tmp/multipartBody5480848063918965670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779843248,"filename":"image_22112025_03_49_07_3257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e47659100fc9bfae54293e9e76a3af9f.jpg","text":"TemporaryFile(/tmp/multipartBody6194432594553963111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779843248,"filename":"image_22112025_03_49_25_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665716","file1":"1395665715","file0":"1395665713","file4":"1395665718","file5":"1395665719","file3":"1395665717"},"map_files_photo_id_array":[{"photo_id":"1395665719","filename":"file5"},{"photo_id":"1395665716","filename":"file2"},{"photo_id":"1395665718","filename":"file4"},{"photo_id":"1395665715","filename":"file1"},{"photo_id":"1395665713","filename":"file0"},{"photo_id":"1395665717","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665719":["hashtag1","hashtag2"]},{"1395665713":["hashtag1","hashtag2"]},{"1395665716":["hashtag1","hashtag2"]},{"1395665718":["hashtag1","hashtag2"]},{"1395665715":["hashtag1","hashtag2"]},{"1395665717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665719, 1395665713, 1395665716, 1395665718, 1395665715, 1395665717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.467024087905884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:50:21.954420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_34_2561.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_40_3706.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_43_2864.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_46_2806.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_49_2789.jpg', '/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_52_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_34_2561.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_40_3706.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_43_2864.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_46_2806.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_49_2789.jpg
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_52_3622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665725","1395665740","1395665742","1395665736","1395665730","1395665733"],"photo_ids_order":["1395665725","1395665730","1395665733","1395665736","1395665740","1395665742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6af4663d1e78f3bb2b684064006dfed.jpg","text":"TemporaryFile(/tmp/multipartBody7465918715750863076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779882665,"filename":"image_22112025_03_49_34_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9ed333e7f6e29fe62dfc2629f9183cd.jpg","text":"TemporaryFile(/tmp/multipartBody6625808257500769361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779882665,"filename":"image_22112025_03_49_49_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1eb443e285962b3d72e497120d65c9f7.jpg","text":"TemporaryFile(/tmp/multipartBody8045553196622784852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779882665,"filename":"image_22112025_03_49_52_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/152f1db6e299073a1f9a2a79a7804699.jpg","text":"TemporaryFile(/tmp/multipartBody5752885554171757523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779882665,"filename":"image_22112025_03_49_46_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfc298190eae45aa439817c1c6679511.jpg","text":"TemporaryFile(/tmp/multipartBody4915124210443707600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779882665,"filename":"image_22112025_03_49_40_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35e5e6d532e5cecaa01720957dfe3c5b.jpg","text":"TemporaryFile(/tmp/multipartBody463279010571359084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779882665,"filename":"image_22112025_03_49_43_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665733","file1":"1395665730","file0":"1395665725","file4":"1395665740","file5":"1395665742","file3":"1395665736"},"map_files_photo_id_array":[{"photo_id":"1395665742","filename":"file5"},{"photo_id":"1395665733","filename":"file2"},{"photo_id":"1395665740","filename":"file4"},{"photo_id":"1395665730","filename":"file1"},{"photo_id":"1395665725","filename":"file0"},{"photo_id":"1395665736","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665725":["hashtag1","hashtag2"]},{"1395665740":["hashtag1","hashtag2"]},{"1395665742":["hashtag1","hashtag2"]},{"1395665736":["hashtag1","hashtag2"]},{"1395665730":["hashtag1","hashtag2"]},{"1395665733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665725, 1395665740, 1395665742, 1395665736, 1395665730, 1395665733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17581915855408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:51:22.210787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_55_2881.jpg', '/home/pi/Desktop/images/22112025/03/50/image_22112025_03_50_01_2566.jpg', '/home/pi/Desktop/images/22112025/03/50/image_22112025_03_50_07_2744.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_06_3018.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_10_3548.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_12_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/49/image_22112025_03_49_55_2881.jpg
/home/pi/Desktop/images/22112025/03/50/image_22112025_03_50_01_2566.jpg
/home/pi/Desktop/images/22112025/03/50/image_22112025_03_50_07_2744.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_06_3018.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_10_3548.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_12_2817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665785","1395665779","1395665787","1395665789","1395665792","1395665791"],"photo_ids_order":["1395665779","1395665785","1395665787","1395665789","1395665791","1395665792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b8e5f71856d3422b8e5599155527b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6701187437248880862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779948908,"filename":"image_22112025_03_50_01_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1487fc6bbb7f32a42d13014d180724be.jpg","text":"TemporaryFile(/tmp/multipartBody3971647797832644901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779948908,"filename":"image_22112025_03_49_55_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d8f13ed9f2f4f0765118d81fc6581f2.jpg","text":"TemporaryFile(/tmp/multipartBody7337618268124918305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779948908,"filename":"image_22112025_03_50_07_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2098a9951979f466e396071ee336a5eb.jpg","text":"TemporaryFile(/tmp/multipartBody520143422324521865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779948908,"filename":"image_22112025_03_51_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97cad5c2594a2c0848fcc3e9c2c20f62.jpg","text":"TemporaryFile(/tmp/multipartBody7954875645427829350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779948908,"filename":"image_22112025_03_51_12_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc3ec4010e43b1ad4d3b1fa8506d865f.jpg","text":"TemporaryFile(/tmp/multipartBody7609684496425083369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763779948908,"filename":"image_22112025_03_51_10_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665787","file1":"1395665785","file0":"1395665779","file4":"1395665791","file5":"1395665792","file3":"1395665789"},"map_files_photo_id_array":[{"photo_id":"1395665792","filename":"file5"},{"photo_id":"1395665787","filename":"file2"},{"photo_id":"1395665791","filename":"file4"},{"photo_id":"1395665785","filename":"file1"},{"photo_id":"1395665779","filename":"file0"},{"photo_id":"1395665789","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665785":["hashtag1","hashtag2"]},{"1395665779":["hashtag1","hashtag2"]},{"1395665787":["hashtag1","hashtag2"]},{"1395665789":["hashtag1","hashtag2"]},{"1395665792":["hashtag1","hashtag2"]},{"1395665791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665785, 1395665779, 1395665787, 1395665789, 1395665792, 1395665791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.861130714416504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:52:22.643028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_16_3524.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_18_2178.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_24_2538.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_28_3578.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_31_2697.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_33_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_16_3524.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_18_2178.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_24_2538.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_28_3578.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_31_2697.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_33_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665818","1395665806","1395665802","1395665811","1395665798","1395665816"],"photo_ids_order":["1395665798","1395665802","1395665806","1395665811","1395665816","1395665818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c2cdbf0b6d60673e8a18df655e9db33.jpg","text":"TemporaryFile(/tmp/multipartBody6139369547984282908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780003357,"filename":"image_22112025_03_51_33_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a54f48495205cd88f45b3511ca3a5b8.jpg","text":"TemporaryFile(/tmp/multipartBody1093872969431702459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780003357,"filename":"image_22112025_03_51_24_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48e4c3c1539f94aafa1955fa6a426a63.jpg","text":"TemporaryFile(/tmp/multipartBody1240218595358944428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780003357,"filename":"image_22112025_03_51_18_2178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a734b139bb22947835390a55893fbdd.jpg","text":"TemporaryFile(/tmp/multipartBody4848152248720554730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780003357,"filename":"image_22112025_03_51_28_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2aaf433e94f5586990b89248adcf258.jpg","text":"TemporaryFile(/tmp/multipartBody7836739766014729966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780003357,"filename":"image_22112025_03_51_16_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c86dbb88618deee29c46b497f463bb73.jpg","text":"TemporaryFile(/tmp/multipartBody8175397466998844705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780003357,"filename":"image_22112025_03_51_31_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665806","file1":"1395665802","file0":"1395665798","file4":"1395665816","file5":"1395665818","file3":"1395665811"},"map_files_photo_id_array":[{"photo_id":"1395665818","filename":"file5"},{"photo_id":"1395665806","filename":"file2"},{"photo_id":"1395665816","filename":"file4"},{"photo_id":"1395665802","filename":"file1"},{"photo_id":"1395665798","filename":"file0"},{"photo_id":"1395665811","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665818":["hashtag1","hashtag2"]},{"1395665806":["hashtag1","hashtag2"]},{"1395665802":["hashtag1","hashtag2"]},{"1395665811":["hashtag1","hashtag2"]},{"1395665798":["hashtag1","hashtag2"]},{"1395665816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665818, 1395665806, 1395665802, 1395665811, 1395665798, 1395665816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4684476852417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:53:03.431949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_37_3570.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_52_15445.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_54_1724.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_55_1561.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_57_1559.jpg', '/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_59_1511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_37_3570.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_52_15445.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_54_1724.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_55_1561.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_57_1559.jpg
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_51_59_1511.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665845","1395665824","1395665853","1395665831","1395665834","1395665828"],"photo_ids_order":["1395665824","1395665828","1395665831","1395665834","1395665845","1395665853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86eeec79dc3402475e6d26453ebb60b3.jpg","text":"TemporaryFile(/tmp/multipartBody2934293240158578056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780044174,"filename":"image_22112025_03_51_57_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a73e41cec16ca15057342a5c979e82f.jpg","text":"TemporaryFile(/tmp/multipartBody667315580336101458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780044174,"filename":"image_22112025_03_51_37_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aae3ff2936c55cfccb10eb5bb02f98aa.jpg","text":"TemporaryFile(/tmp/multipartBody8522387351142631009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780044174,"filename":"image_22112025_03_51_59_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aec3859d222ec54d25f1c911a4070271.jpg","text":"TemporaryFile(/tmp/multipartBody5229734998324690957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780044174,"filename":"image_22112025_03_51_54_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5f8968b1697c55ecd29c3d228f7dba2.jpg","text":"TemporaryFile(/tmp/multipartBody6468083436773140063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780044174,"filename":"image_22112025_03_51_55_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/200c3039c08e1ff9dea4efa1c53fc4ad.jpg","text":"TemporaryFile(/tmp/multipartBody8955900155243322996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780044174,"filename":"image_22112025_03_51_52_15445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665831","file1":"1395665828","file0":"1395665824","file4":"1395665845","file5":"1395665853","file3":"1395665834"},"map_files_photo_id_array":[{"photo_id":"1395665853","filename":"file5"},{"photo_id":"1395665831","filename":"file2"},{"photo_id":"1395665845","filename":"file4"},{"photo_id":"1395665828","filename":"file1"},{"photo_id":"1395665824","filename":"file0"},{"photo_id":"1395665834","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665845":["hashtag1","hashtag2"]},{"1395665824":["hashtag1","hashtag2"]},{"1395665853":["hashtag1","hashtag2"]},{"1395665831":["hashtag1","hashtag2"]},{"1395665834":["hashtag1","hashtag2"]},{"1395665828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665845, 1395665824, 1395665853, 1395665831, 1395665834, 1395665828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83754229545593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:53:42.627976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/51/image_22112025_03_52_00_1768.jpg', '/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_02_1552.jpg', '/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_03_1529.jpg', '/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_05_1644.jpg', '/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_07_1626.jpg', '/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_09_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/51/image_22112025_03_52_00_1768.jpg
/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_02_1552.jpg
/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_03_1529.jpg
/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_05_1644.jpg
/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_07_1626.jpg
/home/pi/Desktop/images/22112025/03/52/image_22112025_03_52_09_2522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665875","1395665868","1395665879","1395665864","1395665873","1395665872"],"photo_ids_order":["1395665864","1395665868","1395665872","1395665873","1395665875","1395665879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58321e150f4820075726133ca0d468b6.jpg","text":"TemporaryFile(/tmp/multipartBody6207784259452816040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780083298,"filename":"image_22112025_03_52_07_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88224f8f8c4ccda1e6e0bcff012e3b25.jpg","text":"TemporaryFile(/tmp/multipartBody5202088897066039782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780083298,"filename":"image_22112025_03_52_02_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa06bf9698cedf648effe35da24ef696.jpg","text":"TemporaryFile(/tmp/multipartBody8967851696968420441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780083298,"filename":"image_22112025_03_52_09_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ab9e3b3f4fc3050dbfdf0758edc09aa.jpg","text":"TemporaryFile(/tmp/multipartBody7658635500984482243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780083298,"filename":"image_22112025_03_52_00_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64880815435790ff9ab78063d4015391.jpg","text":"TemporaryFile(/tmp/multipartBody3460930253931991437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780083298,"filename":"image_22112025_03_52_05_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5541c03b988119b89b63e396407521c.jpg","text":"TemporaryFile(/tmp/multipartBody4052246678284655901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780083298,"filename":"image_22112025_03_52_03_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665872","file1":"1395665868","file0":"1395665864","file4":"1395665875","file5":"1395665879","file3":"1395665873"},"map_files_photo_id_array":[{"photo_id":"1395665879","filename":"file5"},{"photo_id":"1395665872","filename":"file2"},{"photo_id":"1395665875","filename":"file4"},{"photo_id":"1395665868","filename":"file1"},{"photo_id":"1395665864","filename":"file0"},{"photo_id":"1395665873","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665875":["hashtag1","hashtag2"]},{"1395665868":["hashtag1","hashtag2"]},{"1395665879":["hashtag1","hashtag2"]},{"1395665864":["hashtag1","hashtag2"]},{"1395665873":["hashtag1","hashtag2"]},{"1395665872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665875, 1395665868, 1395665879, 1395665864, 1395665873, 1395665872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15366244316101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:54:21.966627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_07_3018.jpg', '/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_10_3591.jpg', '/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_13_2576.jpg', '/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_17_3636.jpg', '/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_19_2700.jpg', '/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_22_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_07_3018.jpg
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_10_3591.jpg
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_13_2576.jpg
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_17_3636.jpg
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_19_2700.jpg
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_22_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665908","1395665898","1395665901","1395665904","1395665906","1395665893"],"photo_ids_order":["1395665893","1395665898","1395665901","1395665904","1395665906","1395665908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db2aaf103aedac978b20eb2c5bf44c6d.jpg","text":"TemporaryFile(/tmp/multipartBody9110156376758222676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780122626,"filename":"image_22112025_03_53_22_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d33a63eaa9c7e09b6d706eccf9c9b34c.jpg","text":"TemporaryFile(/tmp/multipartBody2317594124349091736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780122626,"filename":"image_22112025_03_53_10_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52bdfa788bf371bd59bbd40ebd7e343e.jpg","text":"TemporaryFile(/tmp/multipartBody9130101991828712084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780122626,"filename":"image_22112025_03_53_13_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45a03e1dc21f8cb6796ec1045b224094.jpg","text":"TemporaryFile(/tmp/multipartBody9057053758128338747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780122626,"filename":"image_22112025_03_53_17_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04a9d222f1d201350f518e33da9f7392.jpg","text":"TemporaryFile(/tmp/multipartBody7773822851352401668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780122626,"filename":"image_22112025_03_53_19_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93c8bd0c0e0fbd4e46c804a99ea3368c.jpg","text":"TemporaryFile(/tmp/multipartBody2582623301860709526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780122626,"filename":"image_22112025_03_53_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665901","file1":"1395665898","file0":"1395665893","file4":"1395665906","file5":"1395665908","file3":"1395665904"},"map_files_photo_id_array":[{"photo_id":"1395665908","filename":"file5"},{"photo_id":"1395665901","filename":"file2"},{"photo_id":"1395665906","filename":"file4"},{"photo_id":"1395665898","filename":"file1"},{"photo_id":"1395665893","filename":"file0"},{"photo_id":"1395665904","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665908":["hashtag1","hashtag2"]},{"1395665898":["hashtag1","hashtag2"]},{"1395665901":["hashtag1","hashtag2"]},{"1395665904":["hashtag1","hashtag2"]},{"1395665906":["hashtag1","hashtag2"]},{"1395665893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665908, 1395665898, 1395665901, 1395665904, 1395665906, 1395665893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18486022949219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:55:02.944325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_26_3744.jpg', '/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_40_2646.jpg', '/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_43_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_26_3744.jpg
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_40_2646.jpg
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_43_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665911","1395665914","1395665909"],"photo_ids_order":["1395665909","1395665911","1395665914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49fd1d0c37462213c6aad4562519f2e4.jpg","text":"TemporaryFile(/tmp/multipartBody855722527652029010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780166898,"filename":"image_22112025_03_53_40_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ac7e5ee531fed50f06e13e6104b69e9.jpg","text":"TemporaryFile(/tmp/multipartBody4061417041685795911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780166898,"filename":"image_22112025_03_53_43_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b1c9a41ad61dabb8c0cecdff6e38504.jpg","text":"TemporaryFile(/tmp/multipartBody3038101608006660899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780166898,"filename":"image_22112025_03_53_26_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665914","file1":"1395665911","file0":"1395665909"},"map_files_photo_id_array":[{"photo_id":"1395665914","filename":"file2"},{"photo_id":"1395665911","filename":"file1"},{"photo_id":"1395665909","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665911":["hashtag1","hashtag2"]},{"1395665914":["hashtag1","hashtag2"]},{"1395665909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665911, 1395665914, 1395665909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.013796091079712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:55:42.240961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_46_3823.jpg', '/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_06_3012.jpg', '/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_10_3677.jpg', '/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_13_2743.jpg', '/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_19_3641.jpg', '/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_24_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/53/image_22112025_03_53_46_3823.jpg
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_06_3012.jpg
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_10_3677.jpg
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_13_2743.jpg
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_19_3641.jpg
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_24_2532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395665932","1395665929","1395665931","1395665930","1395665933","1395665927"],"photo_ids_order":["1395665927","1395665929","1395665930","1395665931","1395665932","1395665933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b62aac1abb942f699131e72f340f2f12.jpg","text":"TemporaryFile(/tmp/multipartBody1529309596557783194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780202932,"filename":"image_22112025_03_55_19_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/353bbd085b9dc59254dd2ffffdd27636.jpg","text":"TemporaryFile(/tmp/multipartBody7864197721778783951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780202932,"filename":"image_22112025_03_55_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f571d215982bd7be5876443c69da9222.jpg","text":"TemporaryFile(/tmp/multipartBody5717806883989703659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780202932,"filename":"image_22112025_03_55_13_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8da589d37437af73d3884554a9997b19.jpg","text":"TemporaryFile(/tmp/multipartBody2946765633698159054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780202932,"filename":"image_22112025_03_55_10_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92fdc4aff8200635243d5a9f4235b339.jpg","text":"TemporaryFile(/tmp/multipartBody5123798133595800880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780202932,"filename":"image_22112025_03_55_24_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9d422425078d55e413ccdd324fd8dca.jpg","text":"TemporaryFile(/tmp/multipartBody896632132772260686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780202932,"filename":"image_22112025_03_53_46_3823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395665930","file1":"1395665929","file0":"1395665927","file4":"1395665932","file5":"1395665933","file3":"1395665931"},"map_files_photo_id_array":[{"photo_id":"1395665933","filename":"file5"},{"photo_id":"1395665930","filename":"file2"},{"photo_id":"1395665932","filename":"file4"},{"photo_id":"1395665929","filename":"file1"},{"photo_id":"1395665927","filename":"file0"},{"photo_id":"1395665931","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395665932":["hashtag1","hashtag2"]},{"1395665929":["hashtag1","hashtag2"]},{"1395665931":["hashtag1","hashtag2"]},{"1395665930":["hashtag1","hashtag2"]},{"1395665933":["hashtag1","hashtag2"]},{"1395665927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395665932, 1395665929, 1395665931, 1395665930, 1395665933, 1395665927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.871885538101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:56:22.509650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_28_3645.jpg', '/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_31_2706.jpg', '/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_43_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_28_3645.jpg
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_31_2706.jpg
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_43_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395666043","1395666083","1395666005"],"photo_ids_order":["1395666005","1395666043","1395666083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/140d4c1bdffe037750e4bc2182fb3e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8494041815727673380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780243088,"filename":"image_22112025_03_55_31_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a15f0bc2549eaa9e44d3cabfcfaa435.jpg","text":"TemporaryFile(/tmp/multipartBody7221558999837551363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780243088,"filename":"image_22112025_03_55_43_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59d63afb465c4eddf33abe6eb11483cb.jpg","text":"TemporaryFile(/tmp/multipartBody6831646994571937007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780243088,"filename":"image_22112025_03_55_28_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395666083","file1":"1395666043","file0":"1395666005"},"map_files_photo_id_array":[{"photo_id":"1395666083","filename":"file2"},{"photo_id":"1395666043","filename":"file1"},{"photo_id":"1395666005","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395666043":["hashtag1","hashtag2"]},{"1395666083":["hashtag1","hashtag2"]},{"1395666005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395666043, 1395666083, 1395666005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.787657976150513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:57:03.335133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_16_2860.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_22_3678.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_25_2667.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_34_2544.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_40_2605.jpg', '/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_43_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_16_2860.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_22_3678.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_25_2667.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_34_2544.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_40_2605.jpg
/home/pi/Desktop/images/19112025/23/53/image_19112025_23_53_43_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395666214","1395666217","1395666211","1395666222","1395666201","1395666197"],"photo_ids_order":["1395666197","1395666201","1395666211","1395666214","1395666217","1395666222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/477f856f485efd9a44f988a8bc9af9fb.jpg","text":"TemporaryFile(/tmp/multipartBody1469371553590204839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780285131,"filename":"image_19112025_23_53_34_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6497a8f2e5d82f3188270344f231fbcf.jpg","text":"TemporaryFile(/tmp/multipartBody14236494430163939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780285131,"filename":"image_19112025_23_53_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b75d8551a8600110609184f9e67ab4b6.jpg","text":"TemporaryFile(/tmp/multipartBody8582900293949610917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780285131,"filename":"image_19112025_23_53_25_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/923e5d8d3170bd8f7996d929e5602354.jpg","text":"TemporaryFile(/tmp/multipartBody1967229432177850746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780285131,"filename":"image_19112025_23_53_43_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f45be19c2a7300635f52249e014b53ac.jpg","text":"TemporaryFile(/tmp/multipartBody8179793638194510924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780285131,"filename":"image_19112025_23_53_22_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/758fffb540355f628fea0abc12f45674.jpg","text":"TemporaryFile(/tmp/multipartBody1033203865937647913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780285131,"filename":"image_19112025_23_53_16_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395666211","file1":"1395666201","file0":"1395666197","file4":"1395666217","file5":"1395666222","file3":"1395666214"},"map_files_photo_id_array":[{"photo_id":"1395666222","filename":"file5"},{"photo_id":"1395666211","filename":"file2"},{"photo_id":"1395666217","filename":"file4"},{"photo_id":"1395666201","filename":"file1"},{"photo_id":"1395666197","filename":"file0"},{"photo_id":"1395666214","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395666214":["hashtag1","hashtag2"]},{"1395666217":["hashtag1","hashtag2"]},{"1395666211":["hashtag1","hashtag2"]},{"1395666222":["hashtag1","hashtag2"]},{"1395666201":["hashtag1","hashtag2"]},{"1395666197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395666214, 1395666217, 1395666211, 1395666222, 1395666201, 1395666197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38822078704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:57:42.689551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_45_2757.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_10_3675.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_31_2614.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_34_3563.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_37_2879.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_40_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/55/image_22112025_03_55_45_2757.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_10_3675.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_31_2614.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_34_3563.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_37_2879.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_40_2667.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395666235","1395666237","1395666231","1395666234","1395666236","1395666233"],"photo_ids_order":["1395666231","1395666233","1395666234","1395666235","1395666236","1395666237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1abcad632183b4ccd11b7282f73c0ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4594296468395728476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780323356,"filename":"image_22112025_03_57_34_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7afd39d35cd647d7a3164a33a733313.jpg","text":"TemporaryFile(/tmp/multipartBody1322665503115943519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780323356,"filename":"image_22112025_03_57_40_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf551c0d442dac6b52824ebdb59d905f.jpg","text":"TemporaryFile(/tmp/multipartBody6203152223556604039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780323356,"filename":"image_22112025_03_55_45_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8a2678062ff2e255332999add15617d.jpg","text":"TemporaryFile(/tmp/multipartBody4969983021831903591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780323356,"filename":"image_22112025_03_57_31_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57d8f0dde9d1a3467399990129385561.jpg","text":"TemporaryFile(/tmp/multipartBody9040729285237913840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780323356,"filename":"image_22112025_03_57_37_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f5cbc8131ab194c32549f0d77a545ec.jpg","text":"TemporaryFile(/tmp/multipartBody6811761004124636219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780323356,"filename":"image_22112025_03_57_10_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395666234","file1":"1395666233","file0":"1395666231","file4":"1395666236","file5":"1395666237","file3":"1395666235"},"map_files_photo_id_array":[{"photo_id":"1395666237","filename":"file5"},{"photo_id":"1395666234","filename":"file2"},{"photo_id":"1395666236","filename":"file4"},{"photo_id":"1395666233","filename":"file1"},{"photo_id":"1395666231","filename":"file0"},{"photo_id":"1395666235","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395666235":["hashtag1","hashtag2"]},{"1395666237":["hashtag1","hashtag2"]},{"1395666231":["hashtag1","hashtag2"]},{"1395666234":["hashtag1","hashtag2"]},{"1395666236":["hashtag1","hashtag2"]},{"1395666233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395666235, 1395666237, 1395666231, 1395666234, 1395666236, 1395666233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.024970054626465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 03:59:03.026332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_46_2567.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_49_2601.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_52_3576.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_55_2747.jpg', '/home/pi/Desktop/images/22112025/03/57/image_22112025_03_58_01_3579.jpg', '/home/pi/Desktop/images/22112025/03/58/image_22112025_03_58_04_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_46_2567.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_49_2601.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_52_3576.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_57_55_2747.jpg
/home/pi/Desktop/images/22112025/03/57/image_22112025_03_58_01_3579.jpg
/home/pi/Desktop/images/22112025/03/58/image_22112025_03_58_04_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395666262","1395666256","1395666243","1395666252","1395666248","1395666259"],"photo_ids_order":["1395666243","1395666248","1395666252","1395666256","1395666259","1395666262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0414fdc6b7fbf11d025881f846a4ae9a.jpg","text":"TemporaryFile(/tmp/multipartBody4439925838047551871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780403879,"filename":"image_22112025_03_58_04_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eaa3db2994d5000e2a93b956dd86a985.jpg","text":"TemporaryFile(/tmp/multipartBody2121573371776672823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780403879,"filename":"image_22112025_03_57_55_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8533c9f6f7571c19e2513ed94bdeb02.jpg","text":"TemporaryFile(/tmp/multipartBody7038418739656582425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780403879,"filename":"image_22112025_03_57_46_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11b2103ad423d9b2aa5e9d30c1b6996e.jpg","text":"TemporaryFile(/tmp/multipartBody5498853343198855346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780403879,"filename":"image_22112025_03_57_52_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1500c9612700bf4d693bdb5fa827aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody19535403927629691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780403879,"filename":"image_22112025_03_57_49_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/326cc137bc1cce8aa050e2716992842f.jpg","text":"TemporaryFile(/tmp/multipartBody3712023117282848570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780403879,"filename":"image_22112025_03_58_01_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395666252","file1":"1395666248","file0":"1395666243","file4":"1395666259","file5":"1395666262","file3":"1395666256"},"map_files_photo_id_array":[{"photo_id":"1395666262","filename":"file5"},{"photo_id":"1395666252","filename":"file2"},{"photo_id":"1395666259","filename":"file4"},{"photo_id":"1395666248","filename":"file1"},{"photo_id":"1395666243","filename":"file0"},{"photo_id":"1395666256","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395666262":["hashtag1","hashtag2"]},{"1395666256":["hashtag1","hashtag2"]},{"1395666243":["hashtag1","hashtag2"]},{"1395666252":["hashtag1","hashtag2"]},{"1395666248":["hashtag1","hashtag2"]},{"1395666259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395666262, 1395666256, 1395666243, 1395666252, 1395666248, 1395666259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32262301445007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 03:59:42.151605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/58/image_22112025_03_58_07_2656.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_06_3018.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_10_3628.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_12_2585.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_25_3639.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_28_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/58/image_22112025_03_58_07_2656.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_06_3018.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_10_3628.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_12_2585.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_25_3639.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_28_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395666273","1395666276","1395666279","1395666270","1395666275","1395666283"],"photo_ids_order":["1395666270","1395666273","1395666275","1395666276","1395666279","1395666283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/655eac1724e89dd33cfe39ee1eb0103b.jpg","text":"TemporaryFile(/tmp/multipartBody8879826967414365329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780442887,"filename":"image_22112025_03_59_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd983d7e26eb32686e04e8f6a64c6f71.jpg","text":"TemporaryFile(/tmp/multipartBody4923718550970423073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780442887,"filename":"image_22112025_03_59_12_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4085950130e5fe78af59accb25c3b77.jpg","text":"TemporaryFile(/tmp/multipartBody1315492714028935459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780442887,"filename":"image_22112025_03_59_25_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16d44d1ab237e338c41b3cea2c967cce.jpg","text":"TemporaryFile(/tmp/multipartBody5045231301390846490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780442887,"filename":"image_22112025_03_58_07_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/491dd996e9c0eb19ae90dd7ca2a08ce0.jpg","text":"TemporaryFile(/tmp/multipartBody5940086342573014292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780442887,"filename":"image_22112025_03_59_10_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ce0b595724ec74a63ef7c11841b857c.jpg","text":"TemporaryFile(/tmp/multipartBody1700161456969276582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780442887,"filename":"image_22112025_03_59_28_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395666275","file1":"1395666273","file0":"1395666270","file4":"1395666279","file5":"1395666283","file3":"1395666276"},"map_files_photo_id_array":[{"photo_id":"1395666283","filename":"file5"},{"photo_id":"1395666275","filename":"file2"},{"photo_id":"1395666279","filename":"file4"},{"photo_id":"1395666273","filename":"file1"},{"photo_id":"1395666270","filename":"file0"},{"photo_id":"1395666276","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395666273":["hashtag1","hashtag2"]},{"1395666276":["hashtag1","hashtag2"]},{"1395666279":["hashtag1","hashtag2"]},{"1395666270":["hashtag1","hashtag2"]},{"1395666275":["hashtag1","hashtag2"]},{"1395666283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395666273, 1395666276, 1395666279, 1395666270, 1395666275, 1395666283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57475805282593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:00:21.964195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_34_3600.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_36_2510.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_39_2692.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_43_3678.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_52_3602.jpg', '/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_57_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_34_3600.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_36_2510.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_39_2692.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_43_3678.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_52_3602.jpg
/home/pi/Desktop/images/22112025/03/59/image_22112025_03_59_57_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395666579","1395666534","1395666458","1395666380","1395666500","1395666419"],"photo_ids_order":["1395666380","1395666419","1395666458","1395666500","1395666534","1395666579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4efd73c30136610d172ebb51eedd6c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3131638017861644387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780482665,"filename":"image_22112025_03_59_57_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/939475657637f8ed318339291dccf1c5.jpg","text":"TemporaryFile(/tmp/multipartBody7363888787470130540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780482665,"filename":"image_22112025_03_59_52_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b219495c46d478c95614201aa1b54f33.jpg","text":"TemporaryFile(/tmp/multipartBody6724918585317959213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780482665,"filename":"image_22112025_03_59_39_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86f1ba3937785d1cf09328bfa6887b64.jpg","text":"TemporaryFile(/tmp/multipartBody2928114328633691372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780482665,"filename":"image_22112025_03_59_34_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ced422ad7d7d0417eb227252acb0aed.jpg","text":"TemporaryFile(/tmp/multipartBody2488020201935747931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780482665,"filename":"image_22112025_03_59_43_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c94ad1ee544b9e2f17959b1dc433d27.jpg","text":"TemporaryFile(/tmp/multipartBody4436038681532275541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780482665,"filename":"image_22112025_03_59_36_2510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395666458","file1":"1395666419","file0":"1395666380","file4":"1395666534","file5":"1395666579","file3":"1395666500"},"map_files_photo_id_array":[{"photo_id":"1395666579","filename":"file5"},{"photo_id":"1395666458","filename":"file2"},{"photo_id":"1395666534","filename":"file4"},{"photo_id":"1395666419","filename":"file1"},{"photo_id":"1395666380","filename":"file0"},{"photo_id":"1395666500","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395666579":["hashtag1","hashtag2"]},{"1395666534":["hashtag1","hashtag2"]},{"1395666458":["hashtag1","hashtag2"]},{"1395666380":["hashtag1","hashtag2"]},{"1395666500":["hashtag1","hashtag2"]},{"1395666419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395666579, 1395666534, 1395666458, 1395666380, 1395666500, 1395666419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.650508642196655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:01:02.851814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/03/59/image_22112025_04_00_01_3658.jpg', '/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_13_2785.jpg', '/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_15_2690.jpg', '/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_18_2740.jpg', '/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_22_3654.jpg', '/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_31_3894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/03/59/image_22112025_04_00_01_3658.jpg
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_13_2785.jpg
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_15_2690.jpg
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_18_2740.jpg
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_22_3654.jpg
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_31_3894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395666798","1395666765","1395666834","1395666909","1395666869","1395666728"],"photo_ids_order":["1395666728","1395666765","1395666798","1395666834","1395666869","1395666909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41e8f618f2eb830f42c7eec10bf5cd13.jpg","text":"TemporaryFile(/tmp/multipartBody677079834787718145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780523608,"filename":"image_22112025_04_00_15_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5061685bd720947e33e1f5f4cd6f42e.jpg","text":"TemporaryFile(/tmp/multipartBody6115429631346495366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780523608,"filename":"image_22112025_04_00_13_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d008e03c7c5891106e0b06e2d10b36a3.jpg","text":"TemporaryFile(/tmp/multipartBody6868773689181666742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780523608,"filename":"image_22112025_04_00_18_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/401fb8ef65ce47a8338e2caede9fa248.jpg","text":"TemporaryFile(/tmp/multipartBody77608031025429433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780523608,"filename":"image_22112025_04_00_31_3894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3b20ae30f41f53677a2f76230390bf0.jpg","text":"TemporaryFile(/tmp/multipartBody1340915152297869600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780523608,"filename":"image_22112025_04_00_22_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/178b9d5b581fcbd0de494ef212aee3c2.jpg","text":"TemporaryFile(/tmp/multipartBody2387080561804228494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780523608,"filename":"image_22112025_04_00_01_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395666798","file1":"1395666765","file0":"1395666728","file4":"1395666869","file5":"1395666909","file3":"1395666834"},"map_files_photo_id_array":[{"photo_id":"1395666909","filename":"file5"},{"photo_id":"1395666798","filename":"file2"},{"photo_id":"1395666869","filename":"file4"},{"photo_id":"1395666765","filename":"file1"},{"photo_id":"1395666728","filename":"file0"},{"photo_id":"1395666834","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395666798":["hashtag1","hashtag2"]},{"1395666765":["hashtag1","hashtag2"]},{"1395666834":["hashtag1","hashtag2"]},{"1395666909":["hashtag1","hashtag2"]},{"1395666869":["hashtag1","hashtag2"]},{"1395666728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395666798, 1395666765, 1395666834, 1395666909, 1395666869, 1395666728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.825093269348145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:01:42.133978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_36_2741.jpg', '/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_39_2615.jpg', '/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_43_3688.jpg', '/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_48_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_36_2741.jpg
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_39_2615.jpg
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_43_3688.jpg
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_48_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395666990","1395666924","1395666952","1395666928"],"photo_ids_order":["1395666924","1395666928","1395666952","1395666990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e3817368fd7c335af8f9ca4102170c9.jpg","text":"TemporaryFile(/tmp/multipartBody6501219678962650219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780562737,"filename":"image_22112025_04_00_48_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e05cce97f829182d0b7d8b0c0e8b5e19.jpg","text":"TemporaryFile(/tmp/multipartBody5973836869062076945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780562737,"filename":"image_22112025_04_00_36_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/065d082195761f4fe445358a2be79b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5723332827441522255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780562737,"filename":"image_22112025_04_00_43_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1953c5c871ca5af8de8ed264c1c395d9.jpg","text":"TemporaryFile(/tmp/multipartBody7373658278912828787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780562737,"filename":"image_22112025_04_00_39_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395666952","file1":"1395666928","file0":"1395666924","file3":"1395666990"},"map_files_photo_id_array":[{"photo_id":"1395666952","filename":"file2"},{"photo_id":"1395666928","filename":"file1"},{"photo_id":"1395666924","filename":"file0"},{"photo_id":"1395666990","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395666990":["hashtag1","hashtag2"]},{"1395666924":["hashtag1","hashtag2"]},{"1395666952":["hashtag1","hashtag2"]},{"1395666928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395666990, 1395666924, 1395666952, 1395666928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.819077968597412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:02:22.341321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_52_3689.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_11_3858.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_13_2614.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_20_3640.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_23_2965.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_25_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/00/image_22112025_04_00_52_3689.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_11_3858.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_13_2614.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_20_3640.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_23_2965.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_25_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395667188","1395667068","1395667229","1395667142","1395667136","1395667106"],"photo_ids_order":["1395667068","1395667106","1395667136","1395667142","1395667188","1395667229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a146ab509ac9771bb3c94bedb489328e.jpg","text":"TemporaryFile(/tmp/multipartBody5950265521795137713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780603049,"filename":"image_22112025_04_02_23_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a85831c14ade280b5b93c46dc8be7fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5619569911193566693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780603049,"filename":"image_22112025_04_00_52_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d7be64c70421d850bfb4a42271c2c79.jpg","text":"TemporaryFile(/tmp/multipartBody2344892582661320402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780603049,"filename":"image_22112025_04_02_25_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31e86790cd85402478fef8cb823ed17e.jpg","text":"TemporaryFile(/tmp/multipartBody3064172737700747878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780603049,"filename":"image_22112025_04_02_20_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/714ad003f947ed3f1cc4887b1776f71c.jpg","text":"TemporaryFile(/tmp/multipartBody4950864319001702121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780603049,"filename":"image_22112025_04_02_13_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b20e8c6f4af91aef2750eb54a45586d.jpg","text":"TemporaryFile(/tmp/multipartBody4866982208557200553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780603049,"filename":"image_22112025_04_02_11_3858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395667136","file1":"1395667106","file0":"1395667068","file4":"1395667188","file5":"1395667229","file3":"1395667142"},"map_files_photo_id_array":[{"photo_id":"1395667229","filename":"file5"},{"photo_id":"1395667136","filename":"file2"},{"photo_id":"1395667188","filename":"file4"},{"photo_id":"1395667106","filename":"file1"},{"photo_id":"1395667068","filename":"file0"},{"photo_id":"1395667142","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395667188":["hashtag1","hashtag2"]},{"1395667068":["hashtag1","hashtag2"]},{"1395667229":["hashtag1","hashtag2"]},{"1395667142":["hashtag1","hashtag2"]},{"1395667136":["hashtag1","hashtag2"]},{"1395667106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395667188, 1395667068, 1395667229, 1395667142, 1395667136, 1395667106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47544741630554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:03:03.200031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:03:22.542656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_28_2686.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_31_2789.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_34_3556.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_37_2604.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_41_3744.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_46_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_28_2686.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_31_2789.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_34_3556.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_37_2604.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_41_3744.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_46_2814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395667566","1395667722","1395667685","1395667760","1395667604","1395667645"],"photo_ids_order":["1395667566","1395667604","1395667645","1395667685","1395667722","1395667760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/002956ced9ce03acba22fbf45f440a50.jpg","text":"TemporaryFile(/tmp/multipartBody4377090409056777667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780665265,"filename":"image_22112025_04_02_28_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3600dda3171e486d1765fccacae628db.jpg","text":"TemporaryFile(/tmp/multipartBody1505823621573556943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780665265,"filename":"image_22112025_04_02_41_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b0eef8fbfd8d0157b2b2e8485afad59.jpg","text":"TemporaryFile(/tmp/multipartBody3081779309440358512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780665265,"filename":"image_22112025_04_02_37_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efe208e463a60d2487c6ed62b7190b22.jpg","text":"TemporaryFile(/tmp/multipartBody4434179457423687606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780665265,"filename":"image_22112025_04_02_46_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3040959201ee8669637a57060ef15e8.jpg","text":"TemporaryFile(/tmp/multipartBody4487476367727212214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780665265,"filename":"image_22112025_04_02_31_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e51e2aa61792043beb3d34ae0241a43.jpg","text":"TemporaryFile(/tmp/multipartBody1317402527445638555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780665265,"filename":"image_22112025_04_02_34_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395667645","file1":"1395667604","file0":"1395667566","file4":"1395667722","file5":"1395667760","file3":"1395667685"},"map_files_photo_id_array":[{"photo_id":"1395667760","filename":"file5"},{"photo_id":"1395667645","filename":"file2"},{"photo_id":"1395667722","filename":"file4"},{"photo_id":"1395667604","filename":"file1"},{"photo_id":"1395667566","filename":"file0"},{"photo_id":"1395667685","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395667566":["hashtag1","hashtag2"]},{"1395667722":["hashtag1","hashtag2"]},{"1395667685":["hashtag1","hashtag2"]},{"1395667760":["hashtag1","hashtag2"]},{"1395667604":["hashtag1","hashtag2"]},{"1395667645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395667566, 1395667722, 1395667685, 1395667760, 1395667604, 1395667645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36617660522461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:04:02.735438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_50_3515.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_52_2581.jpg', '/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_59_3649.jpg', '/home/pi/Desktop/images/22112025/04/03/image_22112025_04_03_01_2609.jpg', '/home/pi/Desktop/images/22112025/04/03/image_22112025_04_03_04_2627.jpg', '/home/pi/Desktop/images/22112025/04/03/image_22112025_04_03_08_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_50_3515.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_52_2581.jpg
/home/pi/Desktop/images/22112025/04/02/image_22112025_04_02_59_3649.jpg
/home/pi/Desktop/images/22112025/04/03/image_22112025_04_03_01_2609.jpg
/home/pi/Desktop/images/22112025/04/03/image_22112025_04_03_04_2627.jpg
/home/pi/Desktop/images/22112025/04/03/image_22112025_04_03_08_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395667997","1395667886","1395667925","1395667963","1395668070","1395668034"],"photo_ids_order":["1395667886","1395667925","1395667963","1395667997","1395668034","1395668070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43236f31b84df2ff93656d0bbdb9b8af.jpg","text":"TemporaryFile(/tmp/multipartBody5234705160608635489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780703517,"filename":"image_22112025_04_03_01_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/962571bf6ca69925ae77c95a229479af.jpg","text":"TemporaryFile(/tmp/multipartBody7411394425507951105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780703517,"filename":"image_22112025_04_02_50_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ad27aec93499a71cd636c95282fd567.jpg","text":"TemporaryFile(/tmp/multipartBody5011974890119399345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780703517,"filename":"image_22112025_04_02_52_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57399efc1c5c44a78666d76ba88a210b.jpg","text":"TemporaryFile(/tmp/multipartBody2210574163625893914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780703517,"filename":"image_22112025_04_02_59_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d884121dca0cf5333eb206af5db1870d.jpg","text":"TemporaryFile(/tmp/multipartBody5206253365090374788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780703517,"filename":"image_22112025_04_03_08_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89f69bd963e64bd1f864fe182991afe3.jpg","text":"TemporaryFile(/tmp/multipartBody4781587339567668068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780703517,"filename":"image_22112025_04_03_04_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395667963","file1":"1395667925","file0":"1395667886","file4":"1395668034","file5":"1395668070","file3":"1395667997"},"map_files_photo_id_array":[{"photo_id":"1395668070","filename":"file5"},{"photo_id":"1395667963","filename":"file2"},{"photo_id":"1395668034","filename":"file4"},{"photo_id":"1395667925","filename":"file1"},{"photo_id":"1395667886","filename":"file0"},{"photo_id":"1395667997","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395667997":["hashtag1","hashtag2"]},{"1395667886":["hashtag1","hashtag2"]},{"1395667925":["hashtag1","hashtag2"]},{"1395667963":["hashtag1","hashtag2"]},{"1395668070":["hashtag1","hashtag2"]},{"1395668034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395667997, 1395667886, 1395667925, 1395667963, 1395668070, 1395668034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04355001449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:04:41.997949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/03/image_22112025_04_03_10_2776.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_12_7973.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_15_2998.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_22_7048.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_24_1762.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_26_1766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/03/image_22112025_04_03_10_2776.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_12_7973.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_15_2998.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_22_7048.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_24_1762.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_26_1766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668156","1395668159","1395668204","1395668167","1395668161","1395668163"],"photo_ids_order":["1395668156","1395668159","1395668161","1395668163","1395668167","1395668204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7b4572fcb9bf54363c9da5acd9df557.jpg","text":"TemporaryFile(/tmp/multipartBody4511503488214295433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780742680,"filename":"image_22112025_04_03_10_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f053272fbf7a29fbfa9d5bf71298374.jpg","text":"TemporaryFile(/tmp/multipartBody2565292683582824966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780742680,"filename":"image_22112025_04_04_12_7973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da059dbfd10d54f92cc5c023b5e9b92f.jpg","text":"TemporaryFile(/tmp/multipartBody6562535791906832785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780742680,"filename":"image_22112025_04_04_26_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66b18ad9291dc3c94c25dc9fb8f7d767.jpg","text":"TemporaryFile(/tmp/multipartBody6907913947011607882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780742680,"filename":"image_22112025_04_04_24_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea1c19a3e736931600d4cf01fee5de8b.jpg","text":"TemporaryFile(/tmp/multipartBody3406964477212244284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780742680,"filename":"image_22112025_04_04_15_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc6c1e817da2e7d813835a2ec6a62dd7.jpg","text":"TemporaryFile(/tmp/multipartBody633095218330956567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780742680,"filename":"image_22112025_04_04_22_7048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668161","file1":"1395668159","file0":"1395668156","file4":"1395668167","file5":"1395668204","file3":"1395668163"},"map_files_photo_id_array":[{"photo_id":"1395668204","filename":"file5"},{"photo_id":"1395668161","filename":"file2"},{"photo_id":"1395668167","filename":"file4"},{"photo_id":"1395668159","filename":"file1"},{"photo_id":"1395668156","filename":"file0"},{"photo_id":"1395668163","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668156":["hashtag1","hashtag2"]},{"1395668159":["hashtag1","hashtag2"]},{"1395668204":["hashtag1","hashtag2"]},{"1395668167":["hashtag1","hashtag2"]},{"1395668161":["hashtag1","hashtag2"]},{"1395668163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668156, 1395668159, 1395668204, 1395668167, 1395668161, 1395668163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19567632675171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:05:22.376333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_30_1601.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_32_1780.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_35_2590.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_46_10948.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_49_1653.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_51_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_30_1601.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_32_1780.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_35_2590.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_46_10948.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_49_1653.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_51_1739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668313","1395668310","1395668336","1395668382","1395668391","1395668373"],"photo_ids_order":["1395668310","1395668313","1395668336","1395668373","1395668382","1395668391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/030086895d79723aa3837a6675048536.jpg","text":"TemporaryFile(/tmp/multipartBody5245026355165288012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780783119,"filename":"image_22112025_04_04_32_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/475e4e5f98480526d169a604b3537998.jpg","text":"TemporaryFile(/tmp/multipartBody5234192093462202244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780783119,"filename":"image_22112025_04_04_30_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b6b02bc3950ccc56b59ce25bd0c3fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3670959230890240565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780783119,"filename":"image_22112025_04_04_35_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b79dd6365c887d72ef1c00ef1dd6b3c.jpg","text":"TemporaryFile(/tmp/multipartBody8384106009946665792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780783119,"filename":"image_22112025_04_04_49_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/513d8828bb25c4ed46cdcea9ab2ee550.jpg","text":"TemporaryFile(/tmp/multipartBody5930498202038048632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780783119,"filename":"image_22112025_04_04_51_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c8157a01459ba32e33ef5dfa0325fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4670796573574635133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780783119,"filename":"image_22112025_04_04_46_10948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668336","file1":"1395668313","file0":"1395668310","file4":"1395668382","file5":"1395668391","file3":"1395668373"},"map_files_photo_id_array":[{"photo_id":"1395668391","filename":"file5"},{"photo_id":"1395668336","filename":"file2"},{"photo_id":"1395668382","filename":"file4"},{"photo_id":"1395668313","filename":"file1"},{"photo_id":"1395668310","filename":"file0"},{"photo_id":"1395668373","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668313":["hashtag1","hashtag2"]},{"1395668310":["hashtag1","hashtag2"]},{"1395668336":["hashtag1","hashtag2"]},{"1395668382":["hashtag1","hashtag2"]},{"1395668391":["hashtag1","hashtag2"]},{"1395668373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668313, 1395668310, 1395668336, 1395668382, 1395668391, 1395668373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24076056480408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:06:03.033895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_53_1588.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_54_1587.jpg', '/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_56_1545.jpg', '/home/pi/Desktop/images/22112025/04/05/image_22112025_04_05_01_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_53_1588.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_54_1587.jpg
/home/pi/Desktop/images/22112025/04/04/image_22112025_04_04_56_1545.jpg
/home/pi/Desktop/images/22112025/04/05/image_22112025_04_05_01_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668453","1395668459","1395668461","1395668463"],"photo_ids_order":["1395668453","1395668459","1395668461","1395668463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/044ad82d7fa64751cf3abc6752ad508b.jpg","text":"TemporaryFile(/tmp/multipartBody3187641386891543969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780823643,"filename":"image_22112025_04_04_53_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85daa8937bdfcb84ec0d13b078dbd4e3.jpg","text":"TemporaryFile(/tmp/multipartBody4597830409172499938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780823643,"filename":"image_22112025_04_04_54_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84418bf728d88e056ad0f580903bca5f.jpg","text":"TemporaryFile(/tmp/multipartBody1427994150349705963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780823643,"filename":"image_22112025_04_04_56_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ed9c69c0eb612836d600eb80212cf60.jpg","text":"TemporaryFile(/tmp/multipartBody6152040813087330991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780823643,"filename":"image_22112025_04_05_01_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668461","file1":"1395668459","file0":"1395668453","file3":"1395668463"},"map_files_photo_id_array":[{"photo_id":"1395668461","filename":"file2"},{"photo_id":"1395668459","filename":"file1"},{"photo_id":"1395668453","filename":"file0"},{"photo_id":"1395668463","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668453":["hashtag1","hashtag2"]},{"1395668459":["hashtag1","hashtag2"]},{"1395668461":["hashtag1","hashtag2"]},{"1395668463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668453, 1395668459, 1395668461, 1395668463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.051349878311157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:06:42.502010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/05/image_22112025_04_05_05_3801.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_07_3255.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_13_2560.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_16_2620.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_22_2583.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_25_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/05/image_22112025_04_05_05_3801.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_07_3255.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_13_2560.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_16_2620.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_22_2583.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_25_2830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668486","1395668477","1395668482","1395668479","1395668488","1395668484"],"photo_ids_order":["1395668477","1395668479","1395668482","1395668484","1395668486","1395668488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c12b70d6d08f57121a48a0c4f93a97ca.jpg","text":"TemporaryFile(/tmp/multipartBody1050768682988602311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780863179,"filename":"image_22112025_04_06_22_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f0b0d9a8d26bb535980e3f5cd3a411e.jpg","text":"TemporaryFile(/tmp/multipartBody988754898623262929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780863179,"filename":"image_22112025_04_05_05_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32a1f6c2c5841af471e8bf666adb8af4.jpg","text":"TemporaryFile(/tmp/multipartBody1113786903764234034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780863179,"filename":"image_22112025_04_06_13_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75b3a4ae08436b6bfafee415296998a1.jpg","text":"TemporaryFile(/tmp/multipartBody5091389511530699493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780863179,"filename":"image_22112025_04_06_07_3255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/216cb6ecb62f000a324b10eb4ae53523.jpg","text":"TemporaryFile(/tmp/multipartBody6467479156861057059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780863179,"filename":"image_22112025_04_06_25_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/659edc85c92d0dcf6dae4d0f8769f361.jpg","text":"TemporaryFile(/tmp/multipartBody504678878266192133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780863179,"filename":"image_22112025_04_06_16_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668482","file1":"1395668479","file0":"1395668477","file4":"1395668486","file5":"1395668488","file3":"1395668484"},"map_files_photo_id_array":[{"photo_id":"1395668488","filename":"file5"},{"photo_id":"1395668482","filename":"file2"},{"photo_id":"1395668486","filename":"file4"},{"photo_id":"1395668479","filename":"file1"},{"photo_id":"1395668477","filename":"file0"},{"photo_id":"1395668484","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668486":["hashtag1","hashtag2"]},{"1395668477":["hashtag1","hashtag2"]},{"1395668482":["hashtag1","hashtag2"]},{"1395668479":["hashtag1","hashtag2"]},{"1395668488":["hashtag1","hashtag2"]},{"1395668484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668486, 1395668477, 1395668482, 1395668479, 1395668488, 1395668484)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.69908785820007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:07:42.750913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_28_3574.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_31_2619.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_34_2690.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_37_3608.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_43_3553.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_46_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_28_3574.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_31_2619.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_34_2690.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_37_3608.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_43_3553.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_46_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668553","1395668547","1395668555","1395668549","1395668551","1395668544"],"photo_ids_order":["1395668544","1395668547","1395668549","1395668551","1395668553","1395668555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f980f3f1db6d4075a59fedd4be1db13.jpg","text":"TemporaryFile(/tmp/multipartBody7210673566259583891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780923420,"filename":"image_22112025_04_06_43_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2275a49abcf2147aa7772f7b3d923fa.jpg","text":"TemporaryFile(/tmp/multipartBody3883049299065199948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780923420,"filename":"image_22112025_04_06_31_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f69e64d3f84a66642f8aaf72d65ecbf8.jpg","text":"TemporaryFile(/tmp/multipartBody3046191522916057491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780923420,"filename":"image_22112025_04_06_46_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d7474d303ceae4fd12a0dd5e9678c71.jpg","text":"TemporaryFile(/tmp/multipartBody1620663387677834033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780923420,"filename":"image_22112025_04_06_34_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7566d55892d9d01bf55c80fe66ac95b.jpg","text":"TemporaryFile(/tmp/multipartBody4752162560958931392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780923420,"filename":"image_22112025_04_06_37_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8db86ca7e397217f6494f3b8b2d3a6f.jpg","text":"TemporaryFile(/tmp/multipartBody3173480745294980114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780923420,"filename":"image_22112025_04_06_28_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668549","file1":"1395668547","file0":"1395668544","file4":"1395668553","file5":"1395668555","file3":"1395668551"},"map_files_photo_id_array":[{"photo_id":"1395668555","filename":"file5"},{"photo_id":"1395668549","filename":"file2"},{"photo_id":"1395668553","filename":"file4"},{"photo_id":"1395668547","filename":"file1"},{"photo_id":"1395668544","filename":"file0"},{"photo_id":"1395668551","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668553":["hashtag1","hashtag2"]},{"1395668547":["hashtag1","hashtag2"]},{"1395668555":["hashtag1","hashtag2"]},{"1395668549":["hashtag1","hashtag2"]},{"1395668551":["hashtag1","hashtag2"]},{"1395668544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668553, 1395668547, 1395668555, 1395668549, 1395668551, 1395668544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.577131271362305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:08:22.099235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_49_2664.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_52_2729.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_55_3501.jpg', '/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_58_2910.jpg', '/home/pi/Desktop/images/22112025/04/07/image_22112025_04_07_01_2647.jpg', '/home/pi/Desktop/images/22112025/04/07/image_22112025_04_07_04_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_49_2664.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_52_2729.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_55_3501.jpg
/home/pi/Desktop/images/22112025/04/06/image_22112025_04_06_58_2910.jpg
/home/pi/Desktop/images/22112025/04/07/image_22112025_04_07_01_2647.jpg
/home/pi/Desktop/images/22112025/04/07/image_22112025_04_07_04_3605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668570","1395668564","1395668573","1395668567","1395668561","1395668577"],"photo_ids_order":["1395668561","1395668564","1395668567","1395668570","1395668573","1395668577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1067f94f8aa46ae89a0d341b5aca9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5165990857354317048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780962806,"filename":"image_22112025_04_06_58_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be3b71d3c02a539a33178b02e1ea823b.jpg","text":"TemporaryFile(/tmp/multipartBody1533853024098250095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780962806,"filename":"image_22112025_04_06_52_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6673bdddf7d08bc86b689c5bc0d0a7ca.jpg","text":"TemporaryFile(/tmp/multipartBody4298372079436788205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780962806,"filename":"image_22112025_04_07_01_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5533393bd2642c08a9f89a3be4d24d6.jpg","text":"TemporaryFile(/tmp/multipartBody1562946117882503962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780962806,"filename":"image_22112025_04_06_55_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cba52946bfb4480eede7b02069b090c5.jpg","text":"TemporaryFile(/tmp/multipartBody2561444933336109938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780962806,"filename":"image_22112025_04_06_49_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0658f330e97575413aa31d6a7d85549e.jpg","text":"TemporaryFile(/tmp/multipartBody5097065200145479617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763780962806,"filename":"image_22112025_04_07_04_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668567","file1":"1395668564","file0":"1395668561","file4":"1395668573","file5":"1395668577","file3":"1395668570"},"map_files_photo_id_array":[{"photo_id":"1395668577","filename":"file5"},{"photo_id":"1395668567","filename":"file2"},{"photo_id":"1395668573","filename":"file4"},{"photo_id":"1395668564","filename":"file1"},{"photo_id":"1395668561","filename":"file0"},{"photo_id":"1395668570","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668570":["hashtag1","hashtag2"]},{"1395668564":["hashtag1","hashtag2"]},{"1395668573":["hashtag1","hashtag2"]},{"1395668567":["hashtag1","hashtag2"]},{"1395668561":["hashtag1","hashtag2"]},{"1395668577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668570, 1395668564, 1395668573, 1395668567, 1395668561, 1395668577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5627658367157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:09:03.226594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/07/image_22112025_04_07_07_2591.jpg', '/home/pi/Desktop/images/22112025/04/07/image_22112025_04_07_10_2964.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_08_3512.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_10_2607.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_14_3720.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_21_6860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/07/image_22112025_04_07_07_2591.jpg
/home/pi/Desktop/images/22112025/04/07/image_22112025_04_07_10_2964.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_08_3512.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_10_2607.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_14_3720.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_21_6860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668597","1395668585","1395668587","1395668592","1395668589","1395668583"],"photo_ids_order":["1395668583","1395668585","1395668587","1395668589","1395668592","1395668597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ca1ecfa03225cdda1e566d29badec96.jpg","text":"TemporaryFile(/tmp/multipartBody8978257834624218068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781003998,"filename":"image_22112025_04_08_21_6860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60a0354e91c4558543ba0f3f814d9664.jpg","text":"TemporaryFile(/tmp/multipartBody5747743610980774870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781003998,"filename":"image_22112025_04_07_10_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcfce287bddeebe545dd638ece78a2d3.jpg","text":"TemporaryFile(/tmp/multipartBody3784828255492044957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781003998,"filename":"image_22112025_04_08_08_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c39448bf712aeb7f4e47de69d3cef51d.jpg","text":"TemporaryFile(/tmp/multipartBody6588602645125268151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781003998,"filename":"image_22112025_04_08_14_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28b3e84bbaa9d44d0494c7d191bc9bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1378665954750157801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781003998,"filename":"image_22112025_04_08_10_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1f908e0a3f4ffe2f68815e604a92a77.jpg","text":"TemporaryFile(/tmp/multipartBody618365042521889723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781003998,"filename":"image_22112025_04_07_07_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668587","file1":"1395668585","file0":"1395668583","file4":"1395668592","file5":"1395668597","file3":"1395668589"},"map_files_photo_id_array":[{"photo_id":"1395668597","filename":"file5"},{"photo_id":"1395668587","filename":"file2"},{"photo_id":"1395668592","filename":"file4"},{"photo_id":"1395668585","filename":"file1"},{"photo_id":"1395668583","filename":"file0"},{"photo_id":"1395668589","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668597":["hashtag1","hashtag2"]},{"1395668585":["hashtag1","hashtag2"]},{"1395668587":["hashtag1","hashtag2"]},{"1395668592":["hashtag1","hashtag2"]},{"1395668589":["hashtag1","hashtag2"]},{"1395668583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668597, 1395668585, 1395668587, 1395668592, 1395668589, 1395668583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48410725593567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:09:42.317674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_22_1547.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_27_4361.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_28_1530.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_30_1763.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_32_1525.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_38_6159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_22_1547.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_27_4361.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_28_1530.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_30_1763.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_32_1525.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_38_6159.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668613","1395668615","1395668606","1395668611","1395668608","1395668617"],"photo_ids_order":["1395668606","1395668608","1395668611","1395668613","1395668615","1395668617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8b8d174d00607e6a92152891723995f.jpg","text":"TemporaryFile(/tmp/multipartBody7958531583111050409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781042991,"filename":"image_22112025_04_08_30_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95ca8b7a808af3b822bbb29f12ee40cf.jpg","text":"TemporaryFile(/tmp/multipartBody9107032665773517303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781042991,"filename":"image_22112025_04_08_32_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e06c1a678ce40d100af88176d04d435.jpg","text":"TemporaryFile(/tmp/multipartBody2203721225308478062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781042991,"filename":"image_22112025_04_08_22_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a68f390d71f57171f3792ebeac63104.jpg","text":"TemporaryFile(/tmp/multipartBody7456330024545827546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781042991,"filename":"image_22112025_04_08_28_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a54ebbdd3f063e3491bebc6237e1e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5990012629940260648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781042991,"filename":"image_22112025_04_08_27_4361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be154b19982bf470ef8515ca00ebf8a2.jpg","text":"TemporaryFile(/tmp/multipartBody6018833905164301346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781042991,"filename":"image_22112025_04_08_38_6159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668611","file1":"1395668608","file0":"1395668606","file4":"1395668615","file5":"1395668617","file3":"1395668613"},"map_files_photo_id_array":[{"photo_id":"1395668617","filename":"file5"},{"photo_id":"1395668611","filename":"file2"},{"photo_id":"1395668615","filename":"file4"},{"photo_id":"1395668608","filename":"file1"},{"photo_id":"1395668606","filename":"file0"},{"photo_id":"1395668613","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668613":["hashtag1","hashtag2"]},{"1395668615":["hashtag1","hashtag2"]},{"1395668606":["hashtag1","hashtag2"]},{"1395668611":["hashtag1","hashtag2"]},{"1395668608":["hashtag1","hashtag2"]},{"1395668617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668613, 1395668615, 1395668606, 1395668611, 1395668608, 1395668617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.953572511672974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:10:22.604542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_41_2844.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_42_1705.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_44_1597.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_47_2639.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_49_2666.jpg', '/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_53_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_41_2844.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_42_1705.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_44_1597.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_47_2639.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_49_2666.jpg
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_53_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668628","1395668624","1395668638","1395668632","1395668641","1395668635"],"photo_ids_order":["1395668624","1395668628","1395668632","1395668635","1395668638","1395668641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/557920fa142f1712223215b6186791ba.jpg","text":"TemporaryFile(/tmp/multipartBody5640217321283035350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781083268,"filename":"image_22112025_04_08_42_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcd7240f0c8a562a0b4b1f9b914d2913.jpg","text":"TemporaryFile(/tmp/multipartBody7755687005209732467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781083268,"filename":"image_22112025_04_08_41_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/543768d38b109ce28b3acde739836045.jpg","text":"TemporaryFile(/tmp/multipartBody2589979517221446679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781083268,"filename":"image_22112025_04_08_49_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9541fca8498e88997603d367fab54ec.jpg","text":"TemporaryFile(/tmp/multipartBody926050087303041319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781083268,"filename":"image_22112025_04_08_44_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c75af8aa01f2a1c4f58c442421e9fa79.jpg","text":"TemporaryFile(/tmp/multipartBody2988887051359392536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781083268,"filename":"image_22112025_04_08_53_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26d4fd1bd2983c1cfd43550aed9f464b.jpg","text":"TemporaryFile(/tmp/multipartBody8035170346878674784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781083268,"filename":"image_22112025_04_08_47_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668632","file1":"1395668628","file0":"1395668624","file4":"1395668638","file5":"1395668641","file3":"1395668635"},"map_files_photo_id_array":[{"photo_id":"1395668641","filename":"file5"},{"photo_id":"1395668632","filename":"file2"},{"photo_id":"1395668638","filename":"file4"},{"photo_id":"1395668628","filename":"file1"},{"photo_id":"1395668624","filename":"file0"},{"photo_id":"1395668635","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668628":["hashtag1","hashtag2"]},{"1395668624":["hashtag1","hashtag2"]},{"1395668638":["hashtag1","hashtag2"]},{"1395668632":["hashtag1","hashtag2"]},{"1395668641":["hashtag1","hashtag2"]},{"1395668635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668628, 1395668624, 1395668638, 1395668632, 1395668641, 1395668635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28803205490112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:11:02.581492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_58_2639.jpg', '/home/pi/Desktop/images/22112025/04/09/image_22112025_04_09_02_3573.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_11_3569.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_14_2871.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_16_2610.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_20_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/08/image_22112025_04_08_58_2639.jpg
/home/pi/Desktop/images/22112025/04/09/image_22112025_04_09_02_3573.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_11_3569.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_14_2871.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_16_2610.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_20_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668651","1395668656","1395668653","1395668647","1395668661","1395668649"],"photo_ids_order":["1395668647","1395668649","1395668651","1395668653","1395668656","1395668661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b18e2521a6845601472be294d8abaec.jpg","text":"TemporaryFile(/tmp/multipartBody3120394902059447102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781123299,"filename":"image_22112025_04_10_11_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5ccfc6e322c3c0b72b7bfc6252a4fd8.jpg","text":"TemporaryFile(/tmp/multipartBody4020002110265076101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781123299,"filename":"image_22112025_04_10_16_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed613969d76bfde71057deac4fe61ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1701747040921289505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781123299,"filename":"image_22112025_04_10_14_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2582ec9b6b63330811f0a4d2ddb4972a.jpg","text":"TemporaryFile(/tmp/multipartBody8938037405638022458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781123299,"filename":"image_22112025_04_08_58_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ab9b3e24681d719ea4e46a4973a9dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8883418173907749087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781123299,"filename":"image_22112025_04_10_20_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14c0e503d8d58d35425d0bc7363da0e3.jpg","text":"TemporaryFile(/tmp/multipartBody2349081328536995602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781123299,"filename":"image_22112025_04_09_02_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668651","file1":"1395668649","file0":"1395668647","file4":"1395668656","file5":"1395668661","file3":"1395668653"},"map_files_photo_id_array":[{"photo_id":"1395668661","filename":"file5"},{"photo_id":"1395668651","filename":"file2"},{"photo_id":"1395668656","filename":"file4"},{"photo_id":"1395668649","filename":"file1"},{"photo_id":"1395668647","filename":"file0"},{"photo_id":"1395668653","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668651":["hashtag1","hashtag2"]},{"1395668656":["hashtag1","hashtag2"]},{"1395668653":["hashtag1","hashtag2"]},{"1395668647":["hashtag1","hashtag2"]},{"1395668661":["hashtag1","hashtag2"]},{"1395668649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668651, 1395668656, 1395668653, 1395668647, 1395668661, 1395668649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26966309547424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:11:41.788098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_23_2746.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_25_2639.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_29_3678.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_32_2692.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_34_2699.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_38_3730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_23_2746.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_25_2639.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_29_3678.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_32_2692.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_34_2699.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_38_3730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668817","1395668776","1395668671","1395668740","1395668701","1395668856"],"photo_ids_order":["1395668671","1395668701","1395668740","1395668776","1395668817","1395668856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96af971170356ab33454deddb018a78e.jpg","text":"TemporaryFile(/tmp/multipartBody23398423666408453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781162475,"filename":"image_22112025_04_10_34_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9f7f5fed6926d7ff1652de416ed7543.jpg","text":"TemporaryFile(/tmp/multipartBody8510671863825047023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781162475,"filename":"image_22112025_04_10_32_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4df6c56e405277d2009b4def79f6e1e9.jpg","text":"TemporaryFile(/tmp/multipartBody4355800953654052166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781162475,"filename":"image_22112025_04_10_23_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e86283f283215f2851f25192cf1dace1.jpg","text":"TemporaryFile(/tmp/multipartBody3649897119736578704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781162475,"filename":"image_22112025_04_10_29_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/885ec6d951372e206008cd498b3b4aff.jpg","text":"TemporaryFile(/tmp/multipartBody7952669385377896272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781162475,"filename":"image_22112025_04_10_25_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bafecaeae20475c76cbb2d8356d01383.jpg","text":"TemporaryFile(/tmp/multipartBody7971950880298826899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781162475,"filename":"image_22112025_04_10_38_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395668740","file1":"1395668701","file0":"1395668671","file4":"1395668817","file5":"1395668856","file3":"1395668776"},"map_files_photo_id_array":[{"photo_id":"1395668856","filename":"file5"},{"photo_id":"1395668740","filename":"file2"},{"photo_id":"1395668817","filename":"file4"},{"photo_id":"1395668701","filename":"file1"},{"photo_id":"1395668671","filename":"file0"},{"photo_id":"1395668776","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668817":["hashtag1","hashtag2"]},{"1395668776":["hashtag1","hashtag2"]},{"1395668671":["hashtag1","hashtag2"]},{"1395668740":["hashtag1","hashtag2"]},{"1395668701":["hashtag1","hashtag2"]},{"1395668856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668817, 1395668776, 1395668671, 1395668740, 1395668701, 1395668856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18978214263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:12:21.930114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_41_2548.jpg', '/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_43_2510.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_07_3012.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_13_2669.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_16_3639.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_19_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_41_2548.jpg
/home/pi/Desktop/images/22112025/04/10/image_22112025_04_10_43_2510.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_07_3012.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_13_2669.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_16_3639.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_19_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395668999","1395669148","1395669076","1395669034","1395669186","1395669111"],"photo_ids_order":["1395668999","1395669034","1395669076","1395669111","1395669148","1395669186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8a40f35ee9e6c6b0b86fde58745486c.jpg","text":"TemporaryFile(/tmp/multipartBody1216057839385845789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781202617,"filename":"image_22112025_04_10_41_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/592532607dc7472d483f24db3837a883.jpg","text":"TemporaryFile(/tmp/multipartBody47780775595675077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781202617,"filename":"image_22112025_04_12_16_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/787528195ee574dd2fca72ffb1e977ec.jpg","text":"TemporaryFile(/tmp/multipartBody2808470593838995036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781202617,"filename":"image_22112025_04_12_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b5e2dbc2e853ca16990a3d1eaf70ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7788488251846992164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781202617,"filename":"image_22112025_04_10_43_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8d2c832338b87138a60753dae01a5b3.jpg","text":"TemporaryFile(/tmp/multipartBody7311466105875848424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781202617,"filename":"image_22112025_04_12_19_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09677c08795b4bbe12fab58dc7ce2977.jpg","text":"TemporaryFile(/tmp/multipartBody4138596509287415132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781202617,"filename":"image_22112025_04_12_13_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669076","file1":"1395669034","file0":"1395668999","file4":"1395669148","file5":"1395669186","file3":"1395669111"},"map_files_photo_id_array":[{"photo_id":"1395669186","filename":"file5"},{"photo_id":"1395669076","filename":"file2"},{"photo_id":"1395669148","filename":"file4"},{"photo_id":"1395669034","filename":"file1"},{"photo_id":"1395668999","filename":"file0"},{"photo_id":"1395669111","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395668999":["hashtag1","hashtag2"]},{"1395669148":["hashtag1","hashtag2"]},{"1395669076":["hashtag1","hashtag2"]},{"1395669034":["hashtag1","hashtag2"]},{"1395669186":["hashtag1","hashtag2"]},{"1395669111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395668999, 1395669148, 1395669076, 1395669034, 1395669186, 1395669111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.230913162231445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:13:02.899205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_22_2605.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_25_3670.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_28_2616.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_31_2645.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_34_3620.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_37_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_22_2605.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_25_3670.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_28_2616.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_31_2645.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_34_3620.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_37_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669379","1395669445","1395669415","1395669447","1395669450","1395669444"],"photo_ids_order":["1395669379","1395669415","1395669444","1395669445","1395669447","1395669450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4178503543a4e01c7b31fa6bea0811fc.jpg","text":"TemporaryFile(/tmp/multipartBody7365536303225886443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781243675,"filename":"image_22112025_04_12_22_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/484b8dcbb7f5c9c0f9944242f48de39f.jpg","text":"TemporaryFile(/tmp/multipartBody7034829121588989466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781243675,"filename":"image_22112025_04_12_31_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/836fce68aafed48665cca450bb82c358.jpg","text":"TemporaryFile(/tmp/multipartBody6443997263471839424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781243675,"filename":"image_22112025_04_12_25_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4b5660866aa0b6aaf789cf70c620a24.jpg","text":"TemporaryFile(/tmp/multipartBody815536348929624975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781243675,"filename":"image_22112025_04_12_34_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28471d603d5cbdca8e2d94939d69f609.jpg","text":"TemporaryFile(/tmp/multipartBody5715323997657942160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781243675,"filename":"image_22112025_04_12_37_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1357c09dcb9f00e3aee2aa8f0ad00e1.jpg","text":"TemporaryFile(/tmp/multipartBody3517350265680055994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781243675,"filename":"image_22112025_04_12_28_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669444","file1":"1395669415","file0":"1395669379","file4":"1395669447","file5":"1395669450","file3":"1395669445"},"map_files_photo_id_array":[{"photo_id":"1395669450","filename":"file5"},{"photo_id":"1395669444","filename":"file2"},{"photo_id":"1395669447","filename":"file4"},{"photo_id":"1395669415","filename":"file1"},{"photo_id":"1395669379","filename":"file0"},{"photo_id":"1395669445","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669379":["hashtag1","hashtag2"]},{"1395669445":["hashtag1","hashtag2"]},{"1395669415":["hashtag1","hashtag2"]},{"1395669447":["hashtag1","hashtag2"]},{"1395669450":["hashtag1","hashtag2"]},{"1395669444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669379, 1395669445, 1395669415, 1395669447, 1395669450, 1395669444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60431694984436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:13:42.094638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_40_2928.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_43_3647.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_46_2660.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_49_2819.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_52_3586.jpg', '/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_55_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_40_2928.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_43_3647.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_46_2660.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_49_2819.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_52_3586.jpg
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_55_2818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669467","1395669461","1395669469","1395669463","1395669457","1395669465"],"photo_ids_order":["1395669457","1395669461","1395669463","1395669465","1395669467","1395669469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/221cfbb52377c690382a5e6a28bba5fa.jpg","text":"TemporaryFile(/tmp/multipartBody3872865282950062498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781282754,"filename":"image_22112025_04_12_52_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba422a6a8afcc2d8020a9b4fe4e6ad76.jpg","text":"TemporaryFile(/tmp/multipartBody3729954618565795040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781282754,"filename":"image_22112025_04_12_43_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7efb58e1a43460c9a5b36e80806f489.jpg","text":"TemporaryFile(/tmp/multipartBody2459583370936278252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781282754,"filename":"image_22112025_04_12_55_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e5ac23654955f9b1948034eaea0a597.jpg","text":"TemporaryFile(/tmp/multipartBody1411094182577388056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781282754,"filename":"image_22112025_04_12_46_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d45c66230f6cddac147a3d0f456e49a.jpg","text":"TemporaryFile(/tmp/multipartBody1803507010254826421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781282754,"filename":"image_22112025_04_12_40_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee48f501fb9f1a8f9a1469a51b85898e.jpg","text":"TemporaryFile(/tmp/multipartBody1024920123971535130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781282754,"filename":"image_22112025_04_12_49_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669463","file1":"1395669461","file0":"1395669457","file4":"1395669467","file5":"1395669469","file3":"1395669465"},"map_files_photo_id_array":[{"photo_id":"1395669469","filename":"file5"},{"photo_id":"1395669463","filename":"file2"},{"photo_id":"1395669467","filename":"file4"},{"photo_id":"1395669461","filename":"file1"},{"photo_id":"1395669457","filename":"file0"},{"photo_id":"1395669465","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669467":["hashtag1","hashtag2"]},{"1395669461":["hashtag1","hashtag2"]},{"1395669469":["hashtag1","hashtag2"]},{"1395669463":["hashtag1","hashtag2"]},{"1395669457":["hashtag1","hashtag2"]},{"1395669465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669467, 1395669461, 1395669469, 1395669463, 1395669457, 1395669465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25917601585388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:14:22.477720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_58_2686.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_07_3011.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_10_3674.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_13_2610.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_16_2695.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_20_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/12/image_22112025_04_12_58_2686.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_07_3011.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_10_3674.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_13_2610.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_16_2695.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_20_3753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669490","1395669487","1395669481","1395669475","1395669484","1395669478"],"photo_ids_order":["1395669475","1395669478","1395669481","1395669484","1395669487","1395669490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/406e866b000cb49d764ee1bf63920926.jpg","text":"TemporaryFile(/tmp/multipartBody2422424821823162773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781323174,"filename":"image_22112025_04_14_20_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7aad31973aebb42f5a6e4c8fd97da01b.jpg","text":"TemporaryFile(/tmp/multipartBody5774793021782236104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781323174,"filename":"image_22112025_04_14_16_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ffdd0499e0d29f838a51c63dba744a0.jpg","text":"TemporaryFile(/tmp/multipartBody2972985008175342684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781323174,"filename":"image_22112025_04_14_10_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28eb76a469c08f5934cab0b56501cd86.jpg","text":"TemporaryFile(/tmp/multipartBody6782658002885422120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781323174,"filename":"image_22112025_04_12_58_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8afa34e5449618c9ea56371fffa7ad2a.jpg","text":"TemporaryFile(/tmp/multipartBody8393487809501583903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781323174,"filename":"image_22112025_04_14_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/493d4c73e9be28f3bf8b00c338798a64.jpg","text":"TemporaryFile(/tmp/multipartBody1195018876727233506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781323174,"filename":"image_22112025_04_14_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669481","file1":"1395669478","file0":"1395669475","file4":"1395669487","file5":"1395669490","file3":"1395669484"},"map_files_photo_id_array":[{"photo_id":"1395669490","filename":"file5"},{"photo_id":"1395669481","filename":"file2"},{"photo_id":"1395669487","filename":"file4"},{"photo_id":"1395669478","filename":"file1"},{"photo_id":"1395669475","filename":"file0"},{"photo_id":"1395669484","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669490":["hashtag1","hashtag2"]},{"1395669487":["hashtag1","hashtag2"]},{"1395669481":["hashtag1","hashtag2"]},{"1395669475":["hashtag1","hashtag2"]},{"1395669484":["hashtag1","hashtag2"]},{"1395669478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669490, 1395669487, 1395669481, 1395669475, 1395669484, 1395669478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25700235366821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:15:03.387930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_22_2685.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_25_2592.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_29_3734.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_31_2706.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_34_2636.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_38_3833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_22_2685.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_25_2592.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_29_3734.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_31_2706.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_34_2636.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_38_3833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669499","1395669496","1395669498","1395669501","1395669504","1395669497"],"photo_ids_order":["1395669496","1395669497","1395669498","1395669499","1395669501","1395669504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/257807694aed15864e477e41af9fe157.jpg","text":"TemporaryFile(/tmp/multipartBody9050552280028163891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781364091,"filename":"image_22112025_04_14_31_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd4982eb6330b5711c8b28d3fc7cbb82.jpg","text":"TemporaryFile(/tmp/multipartBody8918468912568649279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781364091,"filename":"image_22112025_04_14_22_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46264dbeadbe98da7cdccfe6677e479b.jpg","text":"TemporaryFile(/tmp/multipartBody489333914887578444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781364091,"filename":"image_22112025_04_14_29_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4dad319c78dbc437020d27aa829fea11.jpg","text":"TemporaryFile(/tmp/multipartBody124255930799098478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781364091,"filename":"image_22112025_04_14_34_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/487ca459bbe95a62728b92cd4b789191.jpg","text":"TemporaryFile(/tmp/multipartBody5197545621041575274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781364091,"filename":"image_22112025_04_14_38_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66ecdca35ee3f42e43fed53d6ff2caee.jpg","text":"TemporaryFile(/tmp/multipartBody1714015759988808954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781364091,"filename":"image_22112025_04_14_25_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669498","file1":"1395669497","file0":"1395669496","file4":"1395669501","file5":"1395669504","file3":"1395669499"},"map_files_photo_id_array":[{"photo_id":"1395669504","filename":"file5"},{"photo_id":"1395669498","filename":"file2"},{"photo_id":"1395669501","filename":"file4"},{"photo_id":"1395669497","filename":"file1"},{"photo_id":"1395669496","filename":"file0"},{"photo_id":"1395669499","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669499":["hashtag1","hashtag2"]},{"1395669496":["hashtag1","hashtag2"]},{"1395669498":["hashtag1","hashtag2"]},{"1395669501":["hashtag1","hashtag2"]},{"1395669504":["hashtag1","hashtag2"]},{"1395669497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669499, 1395669496, 1395669498, 1395669501, 1395669504, 1395669497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11866497993469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:15:42.566822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_40_2640.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_46_2733.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_50_3763.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_52_2653.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_55_2637.jpg', '/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_59_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_40_2640.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_46_2733.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_50_3763.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_52_2653.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_55_2637.jpg
/home/pi/Desktop/images/22112025/04/14/image_22112025_04_14_59_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669527","1395669517","1395669532","1395669529","1395669514","1395669519"],"photo_ids_order":["1395669514","1395669517","1395669519","1395669527","1395669529","1395669532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c5388bc20ee1d42fe2b255f22c67a30.jpg","text":"TemporaryFile(/tmp/multipartBody5378335974608593039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781403260,"filename":"image_22112025_04_14_52_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c03eee43ee5a62446d5966509897c0cb.jpg","text":"TemporaryFile(/tmp/multipartBody7540436335778021064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781403260,"filename":"image_22112025_04_14_46_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70c3382472391caaa6a406cfb1273481.jpg","text":"TemporaryFile(/tmp/multipartBody2548952700059019158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781403260,"filename":"image_22112025_04_14_59_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffe75aa20be1e1c55707e51f3372d057.jpg","text":"TemporaryFile(/tmp/multipartBody3773758012133280560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781403260,"filename":"image_22112025_04_14_55_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4cc4d311d543cfd23c5feff4578ddb2.jpg","text":"TemporaryFile(/tmp/multipartBody3324903361812621787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781403260,"filename":"image_22112025_04_14_40_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82babf85a26866ff95beb12002bac34b.jpg","text":"TemporaryFile(/tmp/multipartBody5892127200947071471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781403260,"filename":"image_22112025_04_14_50_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669519","file1":"1395669517","file0":"1395669514","file4":"1395669529","file5":"1395669532","file3":"1395669527"},"map_files_photo_id_array":[{"photo_id":"1395669532","filename":"file5"},{"photo_id":"1395669519","filename":"file2"},{"photo_id":"1395669529","filename":"file4"},{"photo_id":"1395669517","filename":"file1"},{"photo_id":"1395669514","filename":"file0"},{"photo_id":"1395669527","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669527":["hashtag1","hashtag2"]},{"1395669517":["hashtag1","hashtag2"]},{"1395669532":["hashtag1","hashtag2"]},{"1395669529":["hashtag1","hashtag2"]},{"1395669514":["hashtag1","hashtag2"]},{"1395669519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669527, 1395669517, 1395669532, 1395669529, 1395669514, 1395669519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80075740814209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:16:21.768227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/15/image_22112025_04_15_01_2738.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_07_3019.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_11_3651.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_14_2795.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_16_2638.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_20_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/15/image_22112025_04_15_01_2738.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_07_3019.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_11_3651.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_14_2795.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_16_2638.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_20_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669548","1395669542","1395669535","1395669544","1395669538","1395669549"],"photo_ids_order":["1395669535","1395669538","1395669542","1395669544","1395669548","1395669549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c653e0019a33e8c9f3827d75d7e2dad.jpg","text":"TemporaryFile(/tmp/multipartBody8603284486033440570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781442544,"filename":"image_22112025_04_16_16_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9780fa13a074a389a48c4d24d21c79f6.jpg","text":"TemporaryFile(/tmp/multipartBody7255909442830368919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781442544,"filename":"image_22112025_04_16_11_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8a0c868029b1c104f41169cefcd23de.jpg","text":"TemporaryFile(/tmp/multipartBody3325270502502911806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781442544,"filename":"image_22112025_04_15_01_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7c5267c74f6bb02b83cf225279f7aeb.jpg","text":"TemporaryFile(/tmp/multipartBody9071356938436537271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781442544,"filename":"image_22112025_04_16_14_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fd1d9826d477735c9f68b39c0b2790e.jpg","text":"TemporaryFile(/tmp/multipartBody8206669339535103461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781442544,"filename":"image_22112025_04_16_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2375dd01ac89b20b31e28d04a0c77594.jpg","text":"TemporaryFile(/tmp/multipartBody8888586438950433963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781442544,"filename":"image_22112025_04_16_20_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669542","file1":"1395669538","file0":"1395669535","file4":"1395669548","file5":"1395669549","file3":"1395669544"},"map_files_photo_id_array":[{"photo_id":"1395669549","filename":"file5"},{"photo_id":"1395669542","filename":"file2"},{"photo_id":"1395669548","filename":"file4"},{"photo_id":"1395669538","filename":"file1"},{"photo_id":"1395669535","filename":"file0"},{"photo_id":"1395669544","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669548":["hashtag1","hashtag2"]},{"1395669542":["hashtag1","hashtag2"]},{"1395669535":["hashtag1","hashtag2"]},{"1395669544":["hashtag1","hashtag2"]},{"1395669538":["hashtag1","hashtag2"]},{"1395669549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669548, 1395669542, 1395669535, 1395669544, 1395669538, 1395669549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90484809875488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:17:02.683749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_23_2623.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_25_2701.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_29_3704.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_32_2622.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_34_2723.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_38_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_23_2623.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_25_2701.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_29_3704.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_32_2622.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_34_2723.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_38_3631.jpg
 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":["1395669563","1395669566","1395669571","1395669561","1395669555","1395669558"],"photo_ids_order":["1395669555","1395669558","1395669561","1395669563","1395669566","1395669571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/baa9562f4644bcda71629857f28c8821.jpg","text":"TemporaryFile(/tmp/multipartBody5046409874229836571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781483432,"filename":"image_22112025_04_16_32_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb9234380a3a8faded6d2eeeb45fe0af.jpg","text":"TemporaryFile(/tmp/multipartBody6527037868715504180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781483432,"filename":"image_22112025_04_16_34_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63d82aa57507f2d286794c54a9e4b1f9.jpg","text":"TemporaryFile(/tmp/multipartBody3923446625226344131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781483432,"filename":"image_22112025_04_16_38_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6570ce393a0462f372e49954c1949536.jpg","text":"TemporaryFile(/tmp/multipartBody5740885737235702869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781483432,"filename":"image_22112025_04_16_29_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1617091bf7cf6d4b23e038728bc91c07.jpg","text":"TemporaryFile(/tmp/multipartBody8831707665482994207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781483432,"filename":"image_22112025_04_16_23_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f1e2f5ff99ef0571c2173c88fc36a20.jpg","text":"TemporaryFile(/tmp/multipartBody6531575280350896684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781483432,"filename":"image_22112025_04_16_25_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669561","file1":"1395669558","file0":"1395669555","file4":"1395669566","file5":"1395669571","file3":"1395669563"},"map_files_photo_id_array":[{"photo_id":"1395669571","filename":"file5"},{"photo_id":"1395669561","filename":"file2"},{"photo_id":"1395669566","filename":"file4"},{"photo_id":"1395669558","filename":"file1"},{"photo_id":"1395669555","filename":"file0"},{"photo_id":"1395669563","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669563":["hashtag1","hashtag2"]},{"1395669566":["hashtag1","hashtag2"]},{"1395669571":["hashtag1","hashtag2"]},{"1395669561":["hashtag1","hashtag2"]},{"1395669555":["hashtag1","hashtag2"]},{"1395669558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669563, 1395669566, 1395669571, 1395669561, 1395669555, 1395669558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3261661529541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:18:03.295166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_41_2667.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_43_2565.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_47_3705.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_52_2782.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_56_3596.jpg', '/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_59_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_41_2667.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_43_2565.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_47_3705.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_52_2782.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_56_3596.jpg
/home/pi/Desktop/images/22112025/04/16/image_22112025_04_16_59_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669595","1395669597","1395669601","1395669594","1395669593","1395669587"],"photo_ids_order":["1395669587","1395669593","1395669594","1395669595","1395669597","1395669601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8156bab1d1ce3a7c4294466aefa24607.jpg","text":"TemporaryFile(/tmp/multipartBody4313316694745628779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781543988,"filename":"image_22112025_04_16_52_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff20b019289a7048cfb22fdde9592130.jpg","text":"TemporaryFile(/tmp/multipartBody519838615190739517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781543988,"filename":"image_22112025_04_16_56_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f64a3db1d1849549b602db85a1c2ccb4.jpg","text":"TemporaryFile(/tmp/multipartBody7405402964005349041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781543988,"filename":"image_22112025_04_16_59_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/797cfa3e2481f0a7995c75b88d2da5de.jpg","text":"TemporaryFile(/tmp/multipartBody5912194467328651135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781543988,"filename":"image_22112025_04_16_47_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce031b14b3cd3543785141ca9360b01b.jpg","text":"TemporaryFile(/tmp/multipartBody2309312435435809583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781543988,"filename":"image_22112025_04_16_43_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9aae2f39e237d15e2cede6bed0ad3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3474572256242057309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781543988,"filename":"image_22112025_04_16_41_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669594","file1":"1395669593","file0":"1395669587","file4":"1395669597","file5":"1395669601","file3":"1395669595"},"map_files_photo_id_array":[{"photo_id":"1395669601","filename":"file5"},{"photo_id":"1395669594","filename":"file2"},{"photo_id":"1395669597","filename":"file4"},{"photo_id":"1395669593","filename":"file1"},{"photo_id":"1395669587","filename":"file0"},{"photo_id":"1395669595","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669595":["hashtag1","hashtag2"]},{"1395669597":["hashtag1","hashtag2"]},{"1395669601":["hashtag1","hashtag2"]},{"1395669594":["hashtag1","hashtag2"]},{"1395669593":["hashtag1","hashtag2"]},{"1395669587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669595, 1395669597, 1395669601, 1395669594, 1395669593, 1395669587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61165237426758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:18:42.815100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/17/image_22112025_04_17_01_2693.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_07_3019.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_11_3942.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_15_3947.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_18_3065.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_19_1552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/17/image_22112025_04_17_01_2693.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_07_3019.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_11_3942.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_15_3947.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_18_3065.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_19_1552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669620","1395669617","1395669610","1395669613","1395669621","1395669615"],"photo_ids_order":["1395669610","1395669613","1395669615","1395669617","1395669620","1395669621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad4dd3fd8a13e96ae56a44b9f086d2d9.jpg","text":"TemporaryFile(/tmp/multipartBody3208488910835381875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781583485,"filename":"image_22112025_04_18_18_3065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb26894f0973a81ea8caf2f4d405d377.jpg","text":"TemporaryFile(/tmp/multipartBody1791242975753247419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781583485,"filename":"image_22112025_04_18_15_3947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b99c91151b06d7ddcb6409b36f92e99a.jpg","text":"TemporaryFile(/tmp/multipartBody3209506093574138116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781583485,"filename":"image_22112025_04_17_01_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63c18f056e6396f2e059f3f07b61e2be.jpg","text":"TemporaryFile(/tmp/multipartBody1104637436573790967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781583485,"filename":"image_22112025_04_18_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5109e4e2013474bf0de5840a53ac3ed.jpg","text":"TemporaryFile(/tmp/multipartBody8376501995115901901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781583485,"filename":"image_22112025_04_18_19_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93b5d2926d2e2087fc71eca360ccebec.jpg","text":"TemporaryFile(/tmp/multipartBody7984165391263278071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781583485,"filename":"image_22112025_04_18_11_3942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669615","file1":"1395669613","file0":"1395669610","file4":"1395669620","file5":"1395669621","file3":"1395669617"},"map_files_photo_id_array":[{"photo_id":"1395669621","filename":"file5"},{"photo_id":"1395669615","filename":"file2"},{"photo_id":"1395669620","filename":"file4"},{"photo_id":"1395669613","filename":"file1"},{"photo_id":"1395669610","filename":"file0"},{"photo_id":"1395669617","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669620":["hashtag1","hashtag2"]},{"1395669617":["hashtag1","hashtag2"]},{"1395669610":["hashtag1","hashtag2"]},{"1395669613":["hashtag1","hashtag2"]},{"1395669621":["hashtag1","hashtag2"]},{"1395669615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669620, 1395669617, 1395669610, 1395669613, 1395669621, 1395669615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.162415504455566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:19:22.028181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_22_2621.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_26_3763.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_28_2783.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_31_2684.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_34_2747.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_43_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_22_2621.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_26_3763.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_28_2783.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_31_2684.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_34_2747.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_43_9624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669633","1395669627","1395669636","1395669639","1395669630","1395669624"],"photo_ids_order":["1395669624","1395669627","1395669630","1395669633","1395669636","1395669639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e39623b838ceeb8a98e09e191170eb15.jpg","text":"TemporaryFile(/tmp/multipartBody8126820047891365483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781622725,"filename":"image_22112025_04_18_31_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96b56ce2adb49eb192ca6dffd9c7d775.jpg","text":"TemporaryFile(/tmp/multipartBody3699433083542975309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781622725,"filename":"image_22112025_04_18_26_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e844d91f6041ccd9a179b9f1d029e112.jpg","text":"TemporaryFile(/tmp/multipartBody3444138050147638398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781622725,"filename":"image_22112025_04_18_34_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc94c7a69f0d94b9962b8c7e86bc7224.jpg","text":"TemporaryFile(/tmp/multipartBody4581691770443520682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781622725,"filename":"image_22112025_04_18_43_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07ff2b5bd580f0bd8842ca77bb212083.jpg","text":"TemporaryFile(/tmp/multipartBody212708681516797234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781622725,"filename":"image_22112025_04_18_28_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b1e509592ba136a6cdf603ca22420f0.jpg","text":"TemporaryFile(/tmp/multipartBody690024475943436667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781622725,"filename":"image_22112025_04_18_22_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669630","file1":"1395669627","file0":"1395669624","file4":"1395669636","file5":"1395669639","file3":"1395669633"},"map_files_photo_id_array":[{"photo_id":"1395669639","filename":"file5"},{"photo_id":"1395669630","filename":"file2"},{"photo_id":"1395669636","filename":"file4"},{"photo_id":"1395669627","filename":"file1"},{"photo_id":"1395669624","filename":"file0"},{"photo_id":"1395669633","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669633":["hashtag1","hashtag2"]},{"1395669627":["hashtag1","hashtag2"]},{"1395669636":["hashtag1","hashtag2"]},{"1395669639":["hashtag1","hashtag2"]},{"1395669630":["hashtag1","hashtag2"]},{"1395669624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669633, 1395669627, 1395669636, 1395669639, 1395669630, 1395669624)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.47880530357361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:20:22.006699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_45_1578.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_47_1839.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_49_1747.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_50_1590.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_52_1642.jpg', '/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_56_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_45_1578.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_47_1839.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_49_1747.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_50_1590.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_52_1642.jpg
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_56_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669662","1395669659","1395669651","1395669654","1395669648","1395669657"],"photo_ids_order":["1395669648","1395669651","1395669654","1395669657","1395669659","1395669662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01ba5afcc70ad7cd297e597c994dfccc.jpg","text":"TemporaryFile(/tmp/multipartBody9044786853891201234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781684171,"filename":"image_22112025_04_18_56_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5805ec90fb71961ce09721e22117438.jpg","text":"TemporaryFile(/tmp/multipartBody3192855822664203079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781684171,"filename":"image_22112025_04_18_52_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62b52b6c103f89339b84c50761ba14ae.jpg","text":"TemporaryFile(/tmp/multipartBody3391678591862075457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781684171,"filename":"image_22112025_04_18_47_1839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5201ce58766f674ebdc42524dab9b42.jpg","text":"TemporaryFile(/tmp/multipartBody7869567661761760560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781684171,"filename":"image_22112025_04_18_49_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dae340f58bf2ce94199ac235c8bf144.jpg","text":"TemporaryFile(/tmp/multipartBody3619731433307344209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781684171,"filename":"image_22112025_04_18_45_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be44245b8e7ba51099ab65c262fc1e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8384708927848463598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781684171,"filename":"image_22112025_04_18_50_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669654","file1":"1395669651","file0":"1395669648","file4":"1395669659","file5":"1395669662","file3":"1395669657"},"map_files_photo_id_array":[{"photo_id":"1395669662","filename":"file5"},{"photo_id":"1395669654","filename":"file2"},{"photo_id":"1395669659","filename":"file4"},{"photo_id":"1395669651","filename":"file1"},{"photo_id":"1395669648","filename":"file0"},{"photo_id":"1395669657","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669662":["hashtag1","hashtag2"]},{"1395669659":["hashtag1","hashtag2"]},{"1395669651":["hashtag1","hashtag2"]},{"1395669654":["hashtag1","hashtag2"]},{"1395669648":["hashtag1","hashtag2"]},{"1395669657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669662, 1395669659, 1395669651, 1395669654, 1395669648, 1395669657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24964451789856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:21:03.232440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_58_2535.jpg', '/home/pi/Desktop/images/22112025/04/19/image_22112025_04_19_01_2607.jpg', '/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_07_3011.jpg', '/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_11_3925.jpg', '/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_20_3769.jpg', '/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_23_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/18/image_22112025_04_18_58_2535.jpg
/home/pi/Desktop/images/22112025/04/19/image_22112025_04_19_01_2607.jpg
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_07_3011.jpg
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_11_3925.jpg
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_20_3769.jpg
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_23_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669671","1395669670","1395669673","1395669676","1395669669","1395669668"],"photo_ids_order":["1395669668","1395669669","1395669670","1395669671","1395669673","1395669676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7308ac2e94e97a1fe7a471a715611b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1112841062656448143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781724015,"filename":"image_22112025_04_20_11_3925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72fbcbab42cb670849378f10786879f2.jpg","text":"TemporaryFile(/tmp/multipartBody5157704208041747984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781724015,"filename":"image_22112025_04_20_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bec0ea2e0bfc36b6138b22a10a2107c8.jpg","text":"TemporaryFile(/tmp/multipartBody1144818826462028591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781724015,"filename":"image_22112025_04_20_20_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b07e9a31563a3e798c38d2d4bc854c0.jpg","text":"TemporaryFile(/tmp/multipartBody2284270622484325857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781724015,"filename":"image_22112025_04_20_23_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e63953422a91a2484156a43d43ad5727.jpg","text":"TemporaryFile(/tmp/multipartBody6662251623785450473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781724015,"filename":"image_22112025_04_19_01_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e359693cf2439e60560a6ac7bea546a.jpg","text":"TemporaryFile(/tmp/multipartBody3408946053523149633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781724015,"filename":"image_22112025_04_18_58_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669670","file1":"1395669669","file0":"1395669668","file4":"1395669673","file5":"1395669676","file3":"1395669671"},"map_files_photo_id_array":[{"photo_id":"1395669676","filename":"file5"},{"photo_id":"1395669670","filename":"file2"},{"photo_id":"1395669673","filename":"file4"},{"photo_id":"1395669669","filename":"file1"},{"photo_id":"1395669668","filename":"file0"},{"photo_id":"1395669671","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669671":["hashtag1","hashtag2"]},{"1395669670":["hashtag1","hashtag2"]},{"1395669673":["hashtag1","hashtag2"]},{"1395669676":["hashtag1","hashtag2"]},{"1395669669":["hashtag1","hashtag2"]},{"1395669668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669671, 1395669670, 1395669673, 1395669676, 1395669669, 1395669668)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.78582692146301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:22:03.113271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_25_2604.jpg', '/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_28_2748.jpg', '/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_32_3661.jpg', '/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_34_2605.jpg', '/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_37_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_25_2604.jpg
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_28_2748.jpg
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_32_3661.jpg
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_34_2605.jpg
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_37_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669698","1395669694","1395669696","1395669693","1395669695"],"photo_ids_order":["1395669693","1395669694","1395669695","1395669696","1395669698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbc7fce426f22ed100625fb6794acc52.jpg","text":"TemporaryFile(/tmp/multipartBody7030991096773758839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781783758,"filename":"image_22112025_04_20_37_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef42ff122edfacaaf9f88fcefc7885ad.jpg","text":"TemporaryFile(/tmp/multipartBody1916371438183049053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781783758,"filename":"image_22112025_04_20_28_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/195f8f384580b74b01de804469093b98.jpg","text":"TemporaryFile(/tmp/multipartBody8157753599495766150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781783758,"filename":"image_22112025_04_20_34_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6f77eaa414c2b6c86570258a6a106d1.jpg","text":"TemporaryFile(/tmp/multipartBody6344115332386198166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781783758,"filename":"image_22112025_04_20_25_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49a35ba3ee83ba6fa4c0a749378522e3.jpg","text":"TemporaryFile(/tmp/multipartBody7177661981012021060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781783758,"filename":"image_22112025_04_20_32_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669695","file1":"1395669694","file0":"1395669693","file4":"1395669698","file3":"1395669696"},"map_files_photo_id_array":[{"photo_id":"1395669695","filename":"file2"},{"photo_id":"1395669698","filename":"file4"},{"photo_id":"1395669694","filename":"file1"},{"photo_id":"1395669693","filename":"file0"},{"photo_id":"1395669696","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669698":["hashtag1","hashtag2"]},{"1395669694":["hashtag1","hashtag2"]},{"1395669696":["hashtag1","hashtag2"]},{"1395669693":["hashtag1","hashtag2"]},{"1395669695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669698, 1395669694, 1395669696, 1395669693, 1395669695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.319252014160156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:22:42.669334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_41_3840.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_07_3105.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_11_3707.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_14_2557.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_16_2685.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_20_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/20/image_22112025_04_20_41_3840.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_07_3105.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_11_3707.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_14_2557.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_16_2685.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_20_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669719","1395669710","1395669713","1395669721","1395669715","1395669717"],"photo_ids_order":["1395669710","1395669713","1395669715","1395669717","1395669719","1395669721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bca2d0aa62e76110f9376a0fd5579405.jpg","text":"TemporaryFile(/tmp/multipartBody4994799875298216513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781823358,"filename":"image_22112025_04_22_16_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1aaee8850c8dc43aa8b7407ccad64757.jpg","text":"TemporaryFile(/tmp/multipartBody2366970355009684153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781823358,"filename":"image_22112025_04_20_41_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/180b960fa33d61edbcf5d228207d04b4.jpg","text":"TemporaryFile(/tmp/multipartBody6541247691315989664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781823358,"filename":"image_22112025_04_22_07_3105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a33210407ad49524a144b944f095b549.jpg","text":"TemporaryFile(/tmp/multipartBody3588760102941792307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781823358,"filename":"image_22112025_04_22_20_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e7cebe18bcb70f8da29e67d94f5b367.jpg","text":"TemporaryFile(/tmp/multipartBody7522005326620745002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781823358,"filename":"image_22112025_04_22_11_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7aa4b3d3b6788bb2ab00524c3e668d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7683657944073701275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781823358,"filename":"image_22112025_04_22_14_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669715","file1":"1395669713","file0":"1395669710","file4":"1395669719","file5":"1395669721","file3":"1395669717"},"map_files_photo_id_array":[{"photo_id":"1395669721","filename":"file5"},{"photo_id":"1395669715","filename":"file2"},{"photo_id":"1395669719","filename":"file4"},{"photo_id":"1395669713","filename":"file1"},{"photo_id":"1395669710","filename":"file0"},{"photo_id":"1395669717","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669719":["hashtag1","hashtag2"]},{"1395669710":["hashtag1","hashtag2"]},{"1395669713":["hashtag1","hashtag2"]},{"1395669721":["hashtag1","hashtag2"]},{"1395669715":["hashtag1","hashtag2"]},{"1395669717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669719, 1395669710, 1395669713, 1395669721, 1395669715, 1395669717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.031288146972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:23:21.955673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_23_2745.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_25_2701.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_29_3677.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_32_2630.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_34_2653.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_38_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_23_2745.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_25_2701.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_29_3677.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_32_2630.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_34_2653.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_38_3755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669740","1395669737","1395669733","1395669730","1395669727","1395669723"],"photo_ids_order":["1395669723","1395669727","1395669730","1395669733","1395669737","1395669740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/530ccef0ed8dee30439d0e3132eea139.jpg","text":"TemporaryFile(/tmp/multipartBody6674317628435942473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781862695,"filename":"image_22112025_04_22_38_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/711f299506756245953c8d5d0e3aabaa.jpg","text":"TemporaryFile(/tmp/multipartBody1065394848484675474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781862695,"filename":"image_22112025_04_22_34_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/467e595c592e535809ffcf7555aced73.jpg","text":"TemporaryFile(/tmp/multipartBody278272624435490043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781862695,"filename":"image_22112025_04_22_32_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e279c7c2e83080d50968aba13516f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7844712264446853256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781862695,"filename":"image_22112025_04_22_29_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec6363a5778f88de8412bbe00fe265d7.jpg","text":"TemporaryFile(/tmp/multipartBody8046465890973967661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781862695,"filename":"image_22112025_04_22_25_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a886fe2678c9bc703a519361ab4a342e.jpg","text":"TemporaryFile(/tmp/multipartBody8286061275605899846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781862695,"filename":"image_22112025_04_22_23_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669730","file1":"1395669727","file0":"1395669723","file4":"1395669737","file5":"1395669740","file3":"1395669733"},"map_files_photo_id_array":[{"photo_id":"1395669740","filename":"file5"},{"photo_id":"1395669730","filename":"file2"},{"photo_id":"1395669737","filename":"file4"},{"photo_id":"1395669727","filename":"file1"},{"photo_id":"1395669723","filename":"file0"},{"photo_id":"1395669733","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669740":["hashtag1","hashtag2"]},{"1395669737":["hashtag1","hashtag2"]},{"1395669733":["hashtag1","hashtag2"]},{"1395669730":["hashtag1","hashtag2"]},{"1395669727":["hashtag1","hashtag2"]},{"1395669723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669740, 1395669737, 1395669733, 1395669730, 1395669727, 1395669723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.360920429229736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:24:02.943981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_41_2610.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_46_5622.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_48_1649.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_50_1677.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_52_2645.jpg', '/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_59_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_41_2610.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_46_5622.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_48_1649.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_50_1677.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_52_2645.jpg
/home/pi/Desktop/images/22112025/04/22/image_22112025_04_22_59_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669749","1395669752","1395669760","1395669754","1395669756","1395669753"],"photo_ids_order":["1395669749","1395669752","1395669753","1395669754","1395669756","1395669760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36b812ff545d0db338067ed99b4fb172.jpg","text":"TemporaryFile(/tmp/multipartBody8698005171248055389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781903682,"filename":"image_22112025_04_22_41_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8da405fa42aa10b0c9f74e1525720e87.jpg","text":"TemporaryFile(/tmp/multipartBody3918115121429507674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781903682,"filename":"image_22112025_04_22_46_5622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3270ee875ab13b48c03f222385b0df96.jpg","text":"TemporaryFile(/tmp/multipartBody7768703148068581177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781903682,"filename":"image_22112025_04_22_59_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/422c5dd018350b7cd0a547acf9eef341.jpg","text":"TemporaryFile(/tmp/multipartBody2361235557619356556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781903682,"filename":"image_22112025_04_22_50_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b0e1a2c7a9ed25aeccc902221297913.jpg","text":"TemporaryFile(/tmp/multipartBody5118994535518079650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781903682,"filename":"image_22112025_04_22_52_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9184918c6b5fd2fa4b3bb402da27a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1223287749266195817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781903682,"filename":"image_22112025_04_22_48_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669753","file1":"1395669752","file0":"1395669749","file4":"1395669756","file5":"1395669760","file3":"1395669754"},"map_files_photo_id_array":[{"photo_id":"1395669760","filename":"file5"},{"photo_id":"1395669753","filename":"file2"},{"photo_id":"1395669756","filename":"file4"},{"photo_id":"1395669752","filename":"file1"},{"photo_id":"1395669749","filename":"file0"},{"photo_id":"1395669754","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669749":["hashtag1","hashtag2"]},{"1395669752":["hashtag1","hashtag2"]},{"1395669760":["hashtag1","hashtag2"]},{"1395669754":["hashtag1","hashtag2"]},{"1395669756":["hashtag1","hashtag2"]},{"1395669753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669749, 1395669752, 1395669760, 1395669754, 1395669756, 1395669753)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.16813778877258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:25:07.783209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/23/image_22112025_04_23_05_3781.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_06_3018.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_10_3647.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_13_2784.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_15_2571.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_19_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/23/image_22112025_04_23_05_3781.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_06_3018.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_10_3647.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_13_2784.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_15_2571.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_19_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669782","1395669776","1395669779","1395669775","1395669777","1395669786"],"photo_ids_order":["1395669775","1395669776","1395669777","1395669779","1395669782","1395669786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfbccb63cdc067fc94132c47cbc51e98.jpg","text":"TemporaryFile(/tmp/multipartBody4064627090078643179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781968590,"filename":"image_22112025_04_24_15_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1443cc6f71319a15dc83b8c54f10ec46.jpg","text":"TemporaryFile(/tmp/multipartBody998145455551875945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781968590,"filename":"image_22112025_04_24_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6a24e8bec5ed5a8843a8482a98540dc.jpg","text":"TemporaryFile(/tmp/multipartBody7704640371760899603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781968590,"filename":"image_22112025_04_24_13_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6c66692fff39f2e7284fdc96d08bbbf.jpg","text":"TemporaryFile(/tmp/multipartBody2876426895358302417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781968590,"filename":"image_22112025_04_23_05_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bbb99ef94b37ba97ac389140510e008.jpg","text":"TemporaryFile(/tmp/multipartBody4656385896201277395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781968590,"filename":"image_22112025_04_24_10_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85c19b76399b996725c4cdb2e144e3b8.jpg","text":"TemporaryFile(/tmp/multipartBody8208874015332601132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763781968590,"filename":"image_22112025_04_24_19_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669777","file1":"1395669776","file0":"1395669775","file4":"1395669782","file5":"1395669786","file3":"1395669779"},"map_files_photo_id_array":[{"photo_id":"1395669786","filename":"file5"},{"photo_id":"1395669777","filename":"file2"},{"photo_id":"1395669782","filename":"file4"},{"photo_id":"1395669776","filename":"file1"},{"photo_id":"1395669775","filename":"file0"},{"photo_id":"1395669779","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669782":["hashtag1","hashtag2"]},{"1395669776":["hashtag1","hashtag2"]},{"1395669779":["hashtag1","hashtag2"]},{"1395669775":["hashtag1","hashtag2"]},{"1395669777":["hashtag1","hashtag2"]},{"1395669786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669782, 1395669776, 1395669779, 1395669775, 1395669777, 1395669786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.048064947128296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:25:47.186009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_22_2622.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_24_2718.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_28_3627.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_31_2621.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_34_3625.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_37_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_22_2622.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_24_2718.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_28_3627.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_31_2621.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_34_3625.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_37_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669812","1395669798","1395669813","1395669801","1395669810","1395669804"],"photo_ids_order":["1395669798","1395669801","1395669804","1395669810","1395669812","1395669813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98d6829ae21e0eeb48abe3ad6860ab1d.jpg","text":"TemporaryFile(/tmp/multipartBody7342509089647461802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782007847,"filename":"image_22112025_04_24_34_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e48dc327a58c03d4a60f4e247126e2d.jpg","text":"TemporaryFile(/tmp/multipartBody448853277820025463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782007847,"filename":"image_22112025_04_24_22_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afb13a00eb056a19d7dd8c224e7103ea.jpg","text":"TemporaryFile(/tmp/multipartBody9073293974956322736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782007847,"filename":"image_22112025_04_24_37_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa25909b74e44ea7ac612547a622d2fb.jpg","text":"TemporaryFile(/tmp/multipartBody1166744028284392965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782007847,"filename":"image_22112025_04_24_24_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13fcbbdcdc908825150c5f2666b3d6f6.jpg","text":"TemporaryFile(/tmp/multipartBody417515720902271724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782007847,"filename":"image_22112025_04_24_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cde1ca71c078730588bd7c1eaf6f5f0.jpg","text":"TemporaryFile(/tmp/multipartBody7160803264606351804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782007847,"filename":"image_22112025_04_24_28_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669804","file1":"1395669801","file0":"1395669798","file4":"1395669812","file5":"1395669813","file3":"1395669810"},"map_files_photo_id_array":[{"photo_id":"1395669813","filename":"file5"},{"photo_id":"1395669804","filename":"file2"},{"photo_id":"1395669812","filename":"file4"},{"photo_id":"1395669801","filename":"file1"},{"photo_id":"1395669798","filename":"file0"},{"photo_id":"1395669810","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669812":["hashtag1","hashtag2"]},{"1395669798":["hashtag1","hashtag2"]},{"1395669813":["hashtag1","hashtag2"]},{"1395669801":["hashtag1","hashtag2"]},{"1395669810":["hashtag1","hashtag2"]},{"1395669804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669812, 1395669798, 1395669813, 1395669801, 1395669810, 1395669804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45563268661499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:26:42.457022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_40_2605.jpg', '/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_43_3609.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_12_3011.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_28_16130.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_29_1524.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_31_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_40_2605.jpg
/home/pi/Desktop/images/22112025/04/24/image_22112025_04_24_43_3609.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_12_3011.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_28_16130.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_29_1524.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_31_1603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669863","1395669865","1395669853","1395669856","1395669861","1395669858"],"photo_ids_order":["1395669853","1395669856","1395669858","1395669861","1395669863","1395669865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5cfbaff2c9e6eabd64b536ed71bdfec.jpg","text":"TemporaryFile(/tmp/multipartBody1798551704946059483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782063124,"filename":"image_22112025_04_26_29_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc75bfe9e704ea01c9a3ed7d9493efbe.jpg","text":"TemporaryFile(/tmp/multipartBody8527132906200395808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782063124,"filename":"image_22112025_04_26_31_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a3e3017182b408ff71d891fd95550d9.jpg","text":"TemporaryFile(/tmp/multipartBody6234037909345737172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782063124,"filename":"image_22112025_04_24_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04d7c67390e678a6828ddc18324dec2f.jpg","text":"TemporaryFile(/tmp/multipartBody5698259215252084285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782063124,"filename":"image_22112025_04_24_43_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c49fef9e5681d500ac8d096678b0d8b7.jpg","text":"TemporaryFile(/tmp/multipartBody2573271933165670200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782063124,"filename":"image_22112025_04_26_28_16130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f58226ae84bc579481009212b6862e3.jpg","text":"TemporaryFile(/tmp/multipartBody7388074658849794564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782063124,"filename":"image_22112025_04_26_12_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669858","file1":"1395669856","file0":"1395669853","file4":"1395669863","file5":"1395669865","file3":"1395669861"},"map_files_photo_id_array":[{"photo_id":"1395669865","filename":"file5"},{"photo_id":"1395669858","filename":"file2"},{"photo_id":"1395669863","filename":"file4"},{"photo_id":"1395669856","filename":"file1"},{"photo_id":"1395669853","filename":"file0"},{"photo_id":"1395669861","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669863":["hashtag1","hashtag2"]},{"1395669865":["hashtag1","hashtag2"]},{"1395669853":["hashtag1","hashtag2"]},{"1395669856":["hashtag1","hashtag2"]},{"1395669861":["hashtag1","hashtag2"]},{"1395669858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669863, 1395669865, 1395669853, 1395669856, 1395669861, 1395669858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43264818191528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:27:22.670400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_33_1655.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_34_1568.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_36_1537.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_37_1542.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_39_1540.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_40_1536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_33_1655.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_34_1568.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_36_1537.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_37_1542.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_39_1540.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_40_1536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669883","1395669877","1395669871","1395669880","1395669874","1395669868"],"photo_ids_order":["1395669868","1395669871","1395669874","1395669877","1395669880","1395669883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/427b3e97170c158e20eb7a5f07d478f4.jpg","text":"TemporaryFile(/tmp/multipartBody2974757900598473185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782103343,"filename":"image_22112025_04_26_40_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49db4f0b0f6afcf859e564c2f4a1e027.jpg","text":"TemporaryFile(/tmp/multipartBody2107105639839538080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782103343,"filename":"image_22112025_04_26_37_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03889c1850ed26ee558dacb3187ec5d2.jpg","text":"TemporaryFile(/tmp/multipartBody2041996787110553647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782103343,"filename":"image_22112025_04_26_34_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3192799a803800ebb4e7a7947c248f5a.jpg","text":"TemporaryFile(/tmp/multipartBody6516795627971803440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782103343,"filename":"image_22112025_04_26_39_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b5c6c9239a6f83c07e073abb91494c9.jpg","text":"TemporaryFile(/tmp/multipartBody8341766695775426400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782103343,"filename":"image_22112025_04_26_36_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73bc3319973cc0250f0428b8f83a22ff.jpg","text":"TemporaryFile(/tmp/multipartBody61075425940488804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782103343,"filename":"image_22112025_04_26_33_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669874","file1":"1395669871","file0":"1395669868","file4":"1395669880","file5":"1395669883","file3":"1395669877"},"map_files_photo_id_array":[{"photo_id":"1395669883","filename":"file5"},{"photo_id":"1395669874","filename":"file2"},{"photo_id":"1395669880","filename":"file4"},{"photo_id":"1395669871","filename":"file1"},{"photo_id":"1395669868","filename":"file0"},{"photo_id":"1395669877","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669883":["hashtag1","hashtag2"]},{"1395669877":["hashtag1","hashtag2"]},{"1395669871":["hashtag1","hashtag2"]},{"1395669880":["hashtag1","hashtag2"]},{"1395669874":["hashtag1","hashtag2"]},{"1395669868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669883, 1395669877, 1395669871, 1395669880, 1395669874, 1395669868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23803782463074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:28:02.888894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_42_1625.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_45_2668.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_48_3579.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_51_2612.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_54_2890.jpg', '/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_58_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_42_1625.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_45_2668.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_48_3579.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_51_2612.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_54_2890.jpg
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_26_58_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669895","1395669892","1395669891","1395669899","1395669890","1395669893"],"photo_ids_order":["1395669890","1395669891","1395669892","1395669893","1395669895","1395669899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e52b2c39dede6879b5a87dbdf90a204.jpg","text":"TemporaryFile(/tmp/multipartBody5408626404645940081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782143604,"filename":"image_22112025_04_26_54_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5727d4fe5ea7f3ff8b2a5a1af4b8644.jpg","text":"TemporaryFile(/tmp/multipartBody3325614293997761518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782143604,"filename":"image_22112025_04_26_48_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d7cacbf358ec462f9f8277f2f5a5eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7430791225548823007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782143604,"filename":"image_22112025_04_26_45_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a10d15ea47704245befe7d7f4ea8e45.jpg","text":"TemporaryFile(/tmp/multipartBody1419130415900949774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782143604,"filename":"image_22112025_04_26_58_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba3e62454960b229f605599141d018f0.jpg","text":"TemporaryFile(/tmp/multipartBody7991560652741008591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782143604,"filename":"image_22112025_04_26_42_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/019749aed55fb2226136ab42b01188c2.jpg","text":"TemporaryFile(/tmp/multipartBody7607678064304340694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782143604,"filename":"image_22112025_04_26_51_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669892","file1":"1395669891","file0":"1395669890","file4":"1395669895","file5":"1395669899","file3":"1395669893"},"map_files_photo_id_array":[{"photo_id":"1395669899","filename":"file5"},{"photo_id":"1395669892","filename":"file2"},{"photo_id":"1395669895","filename":"file4"},{"photo_id":"1395669891","filename":"file1"},{"photo_id":"1395669890","filename":"file0"},{"photo_id":"1395669893","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669895":["hashtag1","hashtag2"]},{"1395669892":["hashtag1","hashtag2"]},{"1395669891":["hashtag1","hashtag2"]},{"1395669899":["hashtag1","hashtag2"]},{"1395669890":["hashtag1","hashtag2"]},{"1395669893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669895, 1395669892, 1395669891, 1395669899, 1395669890, 1395669893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42428135871887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:28:42.464509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/26/image_22112025_04_27_00_2623.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_07_3012.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_21_14277.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_23_1626.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_25_1631.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_41_16337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/26/image_22112025_04_27_00_2623.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_07_3012.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_21_14277.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_23_1626.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_25_1631.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_41_16337.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669917","1395669911","1395669913","1395669906","1395669915","1395669909"],"photo_ids_order":["1395669906","1395669909","1395669911","1395669913","1395669915","1395669917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44c095fb212b9bc271d84f0a25081352.jpg","text":"TemporaryFile(/tmp/multipartBody2098153297199990082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782183127,"filename":"image_22112025_04_28_41_16337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/569eb213cf3a92cb415b88f03d847bfc.jpg","text":"TemporaryFile(/tmp/multipartBody8120260625145419232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782183127,"filename":"image_22112025_04_28_21_14277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/666a61a680aa9edc6b7fe905c8ae7256.jpg","text":"TemporaryFile(/tmp/multipartBody2491624319974865991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782183127,"filename":"image_22112025_04_28_23_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f092a666c52b36d023a6eb12fdd1c7da.jpg","text":"TemporaryFile(/tmp/multipartBody905010387119257479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782183127,"filename":"image_22112025_04_27_00_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e82b844f80ff67b0f27f218fec28fba.jpg","text":"TemporaryFile(/tmp/multipartBody2990321883298896382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782183127,"filename":"image_22112025_04_28_25_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd8087ce37b53ee7a56b7eae4fd75246.jpg","text":"TemporaryFile(/tmp/multipartBody8212443293297736440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782183127,"filename":"image_22112025_04_28_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669911","file1":"1395669909","file0":"1395669906","file4":"1395669915","file5":"1395669917","file3":"1395669913"},"map_files_photo_id_array":[{"photo_id":"1395669917","filename":"file5"},{"photo_id":"1395669911","filename":"file2"},{"photo_id":"1395669915","filename":"file4"},{"photo_id":"1395669909","filename":"file1"},{"photo_id":"1395669906","filename":"file0"},{"photo_id":"1395669913","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669917":["hashtag1","hashtag2"]},{"1395669911":["hashtag1","hashtag2"]},{"1395669913":["hashtag1","hashtag2"]},{"1395669906":["hashtag1","hashtag2"]},{"1395669915":["hashtag1","hashtag2"]},{"1395669909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669917, 1395669911, 1395669913, 1395669906, 1395669915, 1395669909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46617770195007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:29:22.718786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_43_1725.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_44_1559.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_46_1673.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_48_1648.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_49_1507.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_51_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_43_1725.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_44_1559.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_46_1673.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_48_1648.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_49_1507.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_51_1679.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5656898021697998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:29:42.667605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_43_1725.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_44_1559.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_46_1673.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_48_1648.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_49_1507.jpg', '/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_51_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_43_1725.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_44_1559.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_46_1673.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_48_1648.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_49_1507.jpg
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_51_1679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669941","1395669935","1395669950","1395669943","1395669939","1395669948"],"photo_ids_order":["1395669935","1395669939","1395669941","1395669943","1395669948","1395669950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98e10815b59e143fd61583fc13c1c3f6.jpg","text":"TemporaryFile(/tmp/multipartBody109732077161231920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782243408,"filename":"image_22112025_04_28_46_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7f7be4fbba9c41ce22f99c327204a3b.jpg","text":"TemporaryFile(/tmp/multipartBody9220847152176469131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782243408,"filename":"image_22112025_04_28_43_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a12039b8c5ec7502051bb658b9a49b22.jpg","text":"TemporaryFile(/tmp/multipartBody6278355457277100449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782243408,"filename":"image_22112025_04_28_51_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9702cc95d97e379d48918c9766c695d.jpg","text":"TemporaryFile(/tmp/multipartBody7776701593087699117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782243408,"filename":"image_22112025_04_28_48_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db021bead29d4d07c41b0bf5628ea030.jpg","text":"TemporaryFile(/tmp/multipartBody4522643374700635053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782243408,"filename":"image_22112025_04_28_44_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b88d2b2d056e33c61dec30891f3f4f0.jpg","text":"TemporaryFile(/tmp/multipartBody3792885446975353960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782243408,"filename":"image_22112025_04_28_49_1507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669941","file1":"1395669939","file0":"1395669935","file4":"1395669948","file5":"1395669950","file3":"1395669943"},"map_files_photo_id_array":[{"photo_id":"1395669950","filename":"file5"},{"photo_id":"1395669941","filename":"file2"},{"photo_id":"1395669948","filename":"file4"},{"photo_id":"1395669939","filename":"file1"},{"photo_id":"1395669935","filename":"file0"},{"photo_id":"1395669943","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669941":["hashtag1","hashtag2"]},{"1395669935":["hashtag1","hashtag2"]},{"1395669950":["hashtag1","hashtag2"]},{"1395669943":["hashtag1","hashtag2"]},{"1395669939":["hashtag1","hashtag2"]},{"1395669948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669941, 1395669935, 1395669950, 1395669943, 1395669939, 1395669948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11139130592346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:30:21.904704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_52_1514.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_08_3011.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_11_3607.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_14_2582.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_17_3601.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_20_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/28/image_22112025_04_28_52_1514.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_08_3011.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_11_3607.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_14_2582.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_17_3601.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_20_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395669953","1395669962","1395669956","1395669959","1395669967","1395669965"],"photo_ids_order":["1395669953","1395669956","1395669959","1395669962","1395669965","1395669967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95e9d09a4c8910691aff5b7f92980fb7.jpg","text":"TemporaryFile(/tmp/multipartBody2931826046439690188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782282641,"filename":"image_22112025_04_28_52_1514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4f718c4b48212448b99a27066b4f97a.jpg","text":"TemporaryFile(/tmp/multipartBody3004896050014491422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782282641,"filename":"image_22112025_04_30_14_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/039435a67e2d0908b891366b9ac0b2f6.jpg","text":"TemporaryFile(/tmp/multipartBody522621049388320946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782282641,"filename":"image_22112025_04_30_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13eeb3007a5c8f890b4822ff67cb2fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3977269260306565896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782282641,"filename":"image_22112025_04_30_11_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/873560f3f10351b0bace5c2e28a94b57.jpg","text":"TemporaryFile(/tmp/multipartBody1144002383024186798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782282641,"filename":"image_22112025_04_30_20_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e155af9bcf2793c322f8139f2b645fc.jpg","text":"TemporaryFile(/tmp/multipartBody8012184218161706404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782282641,"filename":"image_22112025_04_30_17_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669959","file1":"1395669956","file0":"1395669953","file4":"1395669965","file5":"1395669967","file3":"1395669962"},"map_files_photo_id_array":[{"photo_id":"1395669967","filename":"file5"},{"photo_id":"1395669959","filename":"file2"},{"photo_id":"1395669965","filename":"file4"},{"photo_id":"1395669956","filename":"file1"},{"photo_id":"1395669953","filename":"file0"},{"photo_id":"1395669962","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669953":["hashtag1","hashtag2"]},{"1395669962":["hashtag1","hashtag2"]},{"1395669956":["hashtag1","hashtag2"]},{"1395669959":["hashtag1","hashtag2"]},{"1395669967":["hashtag1","hashtag2"]},{"1395669965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669953, 1395669962, 1395669956, 1395669959, 1395669967, 1395669965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.828425884246826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:31:02.633556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_23_2599.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_26_3644.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_29_2570.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_39_9815.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_40_1553.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_45_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_23_2599.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_26_3644.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_29_2570.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_39_9815.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_40_1553.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_45_1668.jpg
 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":["1395669976","1395669985","1395669979","1395669973","1395669990","1395669981"],"photo_ids_order":["1395669973","1395669976","1395669979","1395669981","1395669985","1395669990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e60ea349c272ed114b28f399511cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody2526878661164240561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782323417,"filename":"image_22112025_04_30_26_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b253ad557af30f307feb4109a7e6f210.jpg","text":"TemporaryFile(/tmp/multipartBody8154116122340017276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782323417,"filename":"image_22112025_04_30_40_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9129c8bb34a3a115b26bea624dc2262.jpg","text":"TemporaryFile(/tmp/multipartBody5149507088714369029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782323417,"filename":"image_22112025_04_30_29_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c27b5059aff30334aec8167c3fe607d0.jpg","text":"TemporaryFile(/tmp/multipartBody4299421006172679521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782323417,"filename":"image_22112025_04_30_23_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/962eb3cf071de0b94928b79e9bca35a7.jpg","text":"TemporaryFile(/tmp/multipartBody6251832586168448275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782323417,"filename":"image_22112025_04_30_45_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43d4b556578a9e57e7b8114f4c1d983a.jpg","text":"TemporaryFile(/tmp/multipartBody5598458965613482118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782323417,"filename":"image_22112025_04_30_39_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395669979","file1":"1395669976","file0":"1395669973","file4":"1395669985","file5":"1395669990","file3":"1395669981"},"map_files_photo_id_array":[{"photo_id":"1395669990","filename":"file5"},{"photo_id":"1395669979","filename":"file2"},{"photo_id":"1395669985","filename":"file4"},{"photo_id":"1395669976","filename":"file1"},{"photo_id":"1395669973","filename":"file0"},{"photo_id":"1395669981","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395669976":["hashtag1","hashtag2"]},{"1395669985":["hashtag1","hashtag2"]},{"1395669979":["hashtag1","hashtag2"]},{"1395669973":["hashtag1","hashtag2"]},{"1395669990":["hashtag1","hashtag2"]},{"1395669981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395669976, 1395669985, 1395669979, 1395669973, 1395669990, 1395669981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.651623487472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:32:03.095670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_50_4674.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_52_1603.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_54_2805.jpg', '/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_56_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_50_4674.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_52_1603.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_54_2805.jpg
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_56_1543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670005","1395670004","1395670007","1395670006"],"photo_ids_order":["1395670004","1395670005","1395670006","1395670007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7d9958f999809ccb342fb8b451482ef.jpg","text":"TemporaryFile(/tmp/multipartBody6108038351475433917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782383739,"filename":"image_22112025_04_30_52_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72960e839651f8f638559a0bd6fa7e50.jpg","text":"TemporaryFile(/tmp/multipartBody5978837347055896027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782383739,"filename":"image_22112025_04_30_50_4674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5a2e0b094709745e673fb5d6faf997b.jpg","text":"TemporaryFile(/tmp/multipartBody4796898754085649172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782383739,"filename":"image_22112025_04_30_56_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90d86cc56e3f2420ad470f577da9f2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7947807262841272027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782383739,"filename":"image_22112025_04_30_54_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670006","file1":"1395670005","file0":"1395670004","file3":"1395670007"},"map_files_photo_id_array":[{"photo_id":"1395670006","filename":"file2"},{"photo_id":"1395670005","filename":"file1"},{"photo_id":"1395670004","filename":"file0"},{"photo_id":"1395670007","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670005":["hashtag1","hashtag2"]},{"1395670004":["hashtag1","hashtag2"]},{"1395670007":["hashtag1","hashtag2"]},{"1395670006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670005, 1395670004, 1395670007, 1395670006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.154390573501587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:32:43.999748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_59_2655.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_07_3008.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_11_3975.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_19_7909.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_22_1694.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_24_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/30/image_22112025_04_30_59_2655.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_07_3008.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_11_3975.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_19_7909.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_22_1694.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_24_1644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670026","1395670022","1395670019","1395670028","1395670030","1395670024"],"photo_ids_order":["1395670019","1395670022","1395670024","1395670026","1395670028","1395670030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f603695d495500af8695068c9267820.jpg","text":"TemporaryFile(/tmp/multipartBody816534198086481324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782424659,"filename":"image_22112025_04_32_19_7909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70318cfd7bf3dc11ee0735f2e5f132ef.jpg","text":"TemporaryFile(/tmp/multipartBody1815110724243995607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782424659,"filename":"image_22112025_04_32_07_3008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1ff8af14c11c69a511df016fd6b2ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1414913317746604255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782424659,"filename":"image_22112025_04_30_59_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ff9d5334caad66fae8d42ca4ea6325b.jpg","text":"TemporaryFile(/tmp/multipartBody7662360485609598020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782424659,"filename":"image_22112025_04_32_22_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d340a0b370fb75f94e95832e9bcdf7b.jpg","text":"TemporaryFile(/tmp/multipartBody8295595583548926848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782424659,"filename":"image_22112025_04_32_24_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1dd744f3f3e9237229de93a186bf561d.jpg","text":"TemporaryFile(/tmp/multipartBody6128257654792899816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782424659,"filename":"image_22112025_04_32_11_3975.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670024","file1":"1395670022","file0":"1395670019","file4":"1395670028","file5":"1395670030","file3":"1395670026"},"map_files_photo_id_array":[{"photo_id":"1395670030","filename":"file5"},{"photo_id":"1395670024","filename":"file2"},{"photo_id":"1395670028","filename":"file4"},{"photo_id":"1395670022","filename":"file1"},{"photo_id":"1395670019","filename":"file0"},{"photo_id":"1395670026","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670026":["hashtag1","hashtag2"]},{"1395670022":["hashtag1","hashtag2"]},{"1395670019":["hashtag1","hashtag2"]},{"1395670028":["hashtag1","hashtag2"]},{"1395670030":["hashtag1","hashtag2"]},{"1395670024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670026, 1395670022, 1395670019, 1395670028, 1395670030, 1395670024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.969624757766724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:33:22.202351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_28_2544.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_31_3722.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_49_1717.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_51_1517.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_52_1630.jpg', '/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_58_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_28_2544.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_31_3722.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_49_1717.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_51_1517.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_52_1630.jpg
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_58_1682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670049","1395670040","1395670034","1395670037","1395670046","1395670042"],"photo_ids_order":["1395670034","1395670037","1395670040","1395670042","1395670046","1395670049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74fd531b2788b796093581fe6d01f6ad.jpg","text":"TemporaryFile(/tmp/multipartBody1241804687759725086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782464318,"filename":"image_22112025_04_32_58_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16059936229dce65314326c41a25a38e.jpg","text":"TemporaryFile(/tmp/multipartBody1465069413944099567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782464318,"filename":"image_22112025_04_32_49_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/185d460164b63a96c8a99306add7dad1.jpg","text":"TemporaryFile(/tmp/multipartBody2419036822468908946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782464318,"filename":"image_22112025_04_32_28_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c40c93097f21f96961e1e5ebbc41583.jpg","text":"TemporaryFile(/tmp/multipartBody3200421221117023793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782464318,"filename":"image_22112025_04_32_31_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11e136ecb7195738298e3e812554f072.jpg","text":"TemporaryFile(/tmp/multipartBody1068711628587893857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782464318,"filename":"image_22112025_04_32_52_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e3d9d23f06223785aafd3487c74447e.jpg","text":"TemporaryFile(/tmp/multipartBody9206311882434867985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782464318,"filename":"image_22112025_04_32_51_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670040","file1":"1395670037","file0":"1395670034","file4":"1395670046","file5":"1395670049","file3":"1395670042"},"map_files_photo_id_array":[{"photo_id":"1395670049","filename":"file5"},{"photo_id":"1395670040","filename":"file2"},{"photo_id":"1395670046","filename":"file4"},{"photo_id":"1395670037","filename":"file1"},{"photo_id":"1395670034","filename":"file0"},{"photo_id":"1395670042","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670049":["hashtag1","hashtag2"]},{"1395670040":["hashtag1","hashtag2"]},{"1395670034":["hashtag1","hashtag2"]},{"1395670037":["hashtag1","hashtag2"]},{"1395670046":["hashtag1","hashtag2"]},{"1395670042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670049, 1395670040, 1395670034, 1395670037, 1395670046, 1395670042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.299999952316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:34:03.119734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_59_1530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/32/image_22112025_04_32_59_1530.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670056"],"photo_id":"1395670056","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93f4480638496736f6cc0add68b8d8fa.jpg","text":"TemporaryFile(/tmp/multipartBody590637300604432771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782503661,"filename":"image_22112025_04_32_59_1530.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395670056"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395670056"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.454662084579468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:34:22.531675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/33/image_22112025_04_33_04_1694.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_07_3266.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_10_2870.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_13_2865.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_19_2837.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_22_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/33/image_22112025_04_33_04_1694.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_07_3266.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_10_2870.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_13_2865.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_19_2837.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_22_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670075","1395670072","1395670066","1395670069","1395670062","1395670059"],"photo_ids_order":["1395670059","1395670062","1395670066","1395670069","1395670072","1395670075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a845a8c22ce0defa3cf5c8e6f128bcdf.jpg","text":"TemporaryFile(/tmp/multipartBody7982192231850306654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782523270,"filename":"image_22112025_04_34_22_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53ef517835edbad53c13162aefbf7440.jpg","text":"TemporaryFile(/tmp/multipartBody8072200196677354851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782523270,"filename":"image_22112025_04_34_19_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/671fafccf62d9ec06054badd65fc00fc.jpg","text":"TemporaryFile(/tmp/multipartBody3319951917779783965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782523270,"filename":"image_22112025_04_34_10_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/849b1e7034770b3678637e5fbe02bc44.jpg","text":"TemporaryFile(/tmp/multipartBody7459058373874681054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782523270,"filename":"image_22112025_04_34_13_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1902f31a4dbd2d891b12f525e920b4c0.jpg","text":"TemporaryFile(/tmp/multipartBody7573077216565551377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782523270,"filename":"image_22112025_04_34_07_3266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16402176a98935e28ff7ebe75b52642d.jpg","text":"TemporaryFile(/tmp/multipartBody1587092727598271532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782523270,"filename":"image_22112025_04_33_04_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670066","file1":"1395670062","file0":"1395670059","file4":"1395670072","file5":"1395670075","file3":"1395670069"},"map_files_photo_id_array":[{"photo_id":"1395670075","filename":"file5"},{"photo_id":"1395670066","filename":"file2"},{"photo_id":"1395670072","filename":"file4"},{"photo_id":"1395670062","filename":"file1"},{"photo_id":"1395670059","filename":"file0"},{"photo_id":"1395670069","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670075":["hashtag1","hashtag2"]},{"1395670072":["hashtag1","hashtag2"]},{"1395670066":["hashtag1","hashtag2"]},{"1395670069":["hashtag1","hashtag2"]},{"1395670062":["hashtag1","hashtag2"]},{"1395670059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670075, 1395670072, 1395670066, 1395670069, 1395670062, 1395670059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53116846084595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:35:03.120811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_25_3580.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_28_2521.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_34_5671.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_39_3289.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_40_1633.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_43_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_25_3580.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_28_2521.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_34_5671.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_39_3289.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_40_1633.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_43_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670082","1395670081","1395670084","1395670086","1395670089","1395670083"],"photo_ids_order":["1395670081","1395670082","1395670083","1395670084","1395670086","1395670089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d0506631cece20437c8c15431f84bec.jpg","text":"TemporaryFile(/tmp/multipartBody1486880588227084081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782563897,"filename":"image_22112025_04_34_28_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c17a1cded59e35fe3de80512990b5f4d.jpg","text":"TemporaryFile(/tmp/multipartBody4193670806706760630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782563897,"filename":"image_22112025_04_34_25_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7a82b9ba0790f9c79f4043820509991.jpg","text":"TemporaryFile(/tmp/multipartBody7951554379501445079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782563897,"filename":"image_22112025_04_34_39_3289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ae146700013a612eaabbdb5127b1a48.jpg","text":"TemporaryFile(/tmp/multipartBody8503460185314876540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782563897,"filename":"image_22112025_04_34_40_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b6fc3c87fbac8d29d992b82cad9f4c9.jpg","text":"TemporaryFile(/tmp/multipartBody9024676079898439468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782563897,"filename":"image_22112025_04_34_43_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6059cafa66551e4be3fd208d608f531f.jpg","text":"TemporaryFile(/tmp/multipartBody1930968500910294369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782563897,"filename":"image_22112025_04_34_34_5671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670083","file1":"1395670082","file0":"1395670081","file4":"1395670086","file5":"1395670089","file3":"1395670084"},"map_files_photo_id_array":[{"photo_id":"1395670089","filename":"file5"},{"photo_id":"1395670083","filename":"file2"},{"photo_id":"1395670086","filename":"file4"},{"photo_id":"1395670082","filename":"file1"},{"photo_id":"1395670081","filename":"file0"},{"photo_id":"1395670084","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670082":["hashtag1","hashtag2"]},{"1395670081":["hashtag1","hashtag2"]},{"1395670084":["hashtag1","hashtag2"]},{"1395670086":["hashtag1","hashtag2"]},{"1395670089":["hashtag1","hashtag2"]},{"1395670083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670082, 1395670081, 1395670084, 1395670086, 1395670089, 1395670083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2052526473999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:35:42.619035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_46_2699.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_49_3685.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_52_2584.jpg', '/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_58_3780.jpg', '/home/pi/Desktop/images/22112025/04/35/image_22112025_04_35_04_2738.jpg', '/home/pi/Desktop/images/22112025/04/35/image_22112025_04_35_07_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_46_2699.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_49_3685.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_52_2584.jpg
/home/pi/Desktop/images/22112025/04/34/image_22112025_04_34_58_3780.jpg
/home/pi/Desktop/images/22112025/04/35/image_22112025_04_35_04_2738.jpg
/home/pi/Desktop/images/22112025/04/35/image_22112025_04_35_07_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670104","1395670097","1395670106","1395670100","1395670114","1395670102"],"photo_ids_order":["1395670097","1395670100","1395670102","1395670104","1395670106","1395670114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f908078dba4829d73fe6aa8090467aa.jpg","text":"TemporaryFile(/tmp/multipartBody98668781335127077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782603316,"filename":"image_22112025_04_34_58_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0239f67e917341371ed8d93f5e6d71f3.jpg","text":"TemporaryFile(/tmp/multipartBody840157351659553188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782603316,"filename":"image_22112025_04_34_46_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbf20bb1a800b3f32644b61c8907da51.jpg","text":"TemporaryFile(/tmp/multipartBody607505397746320375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782603316,"filename":"image_22112025_04_35_04_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f749f053a9f18df639e4b6d72fb3ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2727208336311474427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782603316,"filename":"image_22112025_04_34_49_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cad450bcb74537fa6890b509078a8d09.jpg","text":"TemporaryFile(/tmp/multipartBody6097955308513575215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782603316,"filename":"image_22112025_04_35_07_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/222dd86ae1f037ef3637156df9707e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2150173791228736675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782603316,"filename":"image_22112025_04_34_52_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670102","file1":"1395670100","file0":"1395670097","file4":"1395670106","file5":"1395670114","file3":"1395670104"},"map_files_photo_id_array":[{"photo_id":"1395670114","filename":"file5"},{"photo_id":"1395670102","filename":"file2"},{"photo_id":"1395670106","filename":"file4"},{"photo_id":"1395670100","filename":"file1"},{"photo_id":"1395670097","filename":"file0"},{"photo_id":"1395670104","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670104":["hashtag1","hashtag2"]},{"1395670097":["hashtag1","hashtag2"]},{"1395670106":["hashtag1","hashtag2"]},{"1395670100":["hashtag1","hashtag2"]},{"1395670114":["hashtag1","hashtag2"]},{"1395670102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670104, 1395670097, 1395670106, 1395670100, 1395670114, 1395670102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42672348022461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:36:22.394334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/35/image_22112025_04_35_10_2583.jpg', '/home/pi/Desktop/images/22112025/04/35/image_22112025_04_35_14_3614.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_11_3668.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_14_2602.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_17_3617.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_20_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/35/image_22112025_04_35_10_2583.jpg
/home/pi/Desktop/images/22112025/04/35/image_22112025_04_35_14_3614.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_11_3668.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_14_2602.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_17_3617.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_20_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670119","1395670157","1395670150","1395670138","1395670153","1395670126"],"photo_ids_order":["1395670119","1395670126","1395670138","1395670150","1395670153","1395670157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f23f3a503f6f0e14ad5e3c07e4ca5fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4484335548434052346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782643085,"filename":"image_22112025_04_35_10_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/545d72cf9bec0b5e4508c508a903fc30.jpg","text":"TemporaryFile(/tmp/multipartBody960420639860860441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782643085,"filename":"image_22112025_04_36_20_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50b4e426ff2360596712f89c1b9c0074.jpg","text":"TemporaryFile(/tmp/multipartBody76440594253778868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782643085,"filename":"image_22112025_04_36_14_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a7dfb7c48522ab587a049cad91a4016.jpg","text":"TemporaryFile(/tmp/multipartBody2226116999700854246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782643085,"filename":"image_22112025_04_36_11_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b56132068cf2ba4437916ebfe082fb04.jpg","text":"TemporaryFile(/tmp/multipartBody4955535696478786376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782643085,"filename":"image_22112025_04_36_17_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8984df44876758c381d77fec071693b8.jpg","text":"TemporaryFile(/tmp/multipartBody5249962819697880065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782643085,"filename":"image_22112025_04_35_14_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670138","file1":"1395670126","file0":"1395670119","file4":"1395670153","file5":"1395670157","file3":"1395670150"},"map_files_photo_id_array":[{"photo_id":"1395670157","filename":"file5"},{"photo_id":"1395670138","filename":"file2"},{"photo_id":"1395670153","filename":"file4"},{"photo_id":"1395670126","filename":"file1"},{"photo_id":"1395670119","filename":"file0"},{"photo_id":"1395670150","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670119":["hashtag1","hashtag2"]},{"1395670157":["hashtag1","hashtag2"]},{"1395670150":["hashtag1","hashtag2"]},{"1395670138":["hashtag1","hashtag2"]},{"1395670153":["hashtag1","hashtag2"]},{"1395670126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670119, 1395670157, 1395670150, 1395670138, 1395670153, 1395670126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01718187332153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:37:03.223714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_23_2625.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_29_2639.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_32_2651.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_35_3536.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_38_2634.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_40_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_23_2625.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_29_2639.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_32_2651.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_35_3536.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_38_2634.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_40_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670166","1395670163","1395670171","1395670165","1395670168","1395670164"],"photo_ids_order":["1395670163","1395670164","1395670165","1395670166","1395670168","1395670171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4450aa4b02536ac451431c20d996fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7616377105121966097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782684004,"filename":"image_22112025_04_36_35_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4ea1e65a152f1026870ad512f5bd92a.jpg","text":"TemporaryFile(/tmp/multipartBody1639639120043761243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782684004,"filename":"image_22112025_04_36_23_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9f72d297eef440a8bdec78521478a87.jpg","text":"TemporaryFile(/tmp/multipartBody2590419575110599808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782684004,"filename":"image_22112025_04_36_40_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/855211c514f0123f8034cfead33c18c7.jpg","text":"TemporaryFile(/tmp/multipartBody3728501223322974134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782684004,"filename":"image_22112025_04_36_32_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acd0e20766b6cf73616253d6693d195a.jpg","text":"TemporaryFile(/tmp/multipartBody4951601640806648459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782684004,"filename":"image_22112025_04_36_38_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db3837cff49e5013dac49f99e0df5035.jpg","text":"TemporaryFile(/tmp/multipartBody634746674560198762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782684004,"filename":"image_22112025_04_36_29_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670165","file1":"1395670164","file0":"1395670163","file4":"1395670168","file5":"1395670171","file3":"1395670166"},"map_files_photo_id_array":[{"photo_id":"1395670171","filename":"file5"},{"photo_id":"1395670165","filename":"file2"},{"photo_id":"1395670168","filename":"file4"},{"photo_id":"1395670164","filename":"file1"},{"photo_id":"1395670163","filename":"file0"},{"photo_id":"1395670166","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670166":["hashtag1","hashtag2"]},{"1395670163":["hashtag1","hashtag2"]},{"1395670171":["hashtag1","hashtag2"]},{"1395670165":["hashtag1","hashtag2"]},{"1395670168":["hashtag1","hashtag2"]},{"1395670164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670166, 1395670163, 1395670171, 1395670165, 1395670168, 1395670164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54330396652222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:37:42.599202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_44_3641.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_47_2622.jpg', '/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_50_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_44_3641.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_47_2622.jpg
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_50_3567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670183","1395670185","1395670179"],"photo_ids_order":["1395670179","1395670183","1395670185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bb7604d70be33ef48f0f6928d0730a2.jpg","text":"TemporaryFile(/tmp/multipartBody5648281206526608036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782723171,"filename":"image_22112025_04_36_47_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/648b8f69ec96708dc752bbf1718ebdce.jpg","text":"TemporaryFile(/tmp/multipartBody3792199769815299492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782723171,"filename":"image_22112025_04_36_50_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/217794606e951a19ac989a91281407f5.jpg","text":"TemporaryFile(/tmp/multipartBody4012677665747091669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782723171,"filename":"image_22112025_04_36_44_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670185","file1":"1395670183","file0":"1395670179"},"map_files_photo_id_array":[{"photo_id":"1395670185","filename":"file2"},{"photo_id":"1395670183","filename":"file1"},{"photo_id":"1395670179","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670183":["hashtag1","hashtag2"]},{"1395670185":["hashtag1","hashtag2"]},{"1395670179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670183, 1395670185, 1395670179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.69076108932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:38:21.832389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_53_2624.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_07_3012.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_11_3690.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_14_2606.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_26_8353.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_27_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/36/image_22112025_04_36_53_2624.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_07_3012.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_11_3690.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_14_2606.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_26_8353.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_27_1616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670203","1395670206","1395670195","1395670201","1395670191","1395670197"],"photo_ids_order":["1395670191","1395670195","1395670197","1395670201","1395670203","1395670206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0b73bc1c16b87341cdd70ecb5a1725d.jpg","text":"TemporaryFile(/tmp/multipartBody2289830671835997233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782762527,"filename":"image_22112025_04_38_26_8353.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d04a9f0c1df8e6f4f31af5f5e7db0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2509042130563787468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782762527,"filename":"image_22112025_04_38_27_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/083f477eb51feb09343f273895143d2b.jpg","text":"TemporaryFile(/tmp/multipartBody1547805800152721399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782762527,"filename":"image_22112025_04_38_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/648134fc9c62f813a1b38f50567bc96b.jpg","text":"TemporaryFile(/tmp/multipartBody1742074071069626659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782762527,"filename":"image_22112025_04_38_14_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0633100794e4bed8639248522f58d86d.jpg","text":"TemporaryFile(/tmp/multipartBody8654933395692164129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782762527,"filename":"image_22112025_04_36_53_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f532cbdf0946dbb32f558c306cc7179a.jpg","text":"TemporaryFile(/tmp/multipartBody5670509277846836709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782762527,"filename":"image_22112025_04_38_11_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670197","file1":"1395670195","file0":"1395670191","file4":"1395670203","file5":"1395670206","file3":"1395670201"},"map_files_photo_id_array":[{"photo_id":"1395670206","filename":"file5"},{"photo_id":"1395670197","filename":"file2"},{"photo_id":"1395670203","filename":"file4"},{"photo_id":"1395670195","filename":"file1"},{"photo_id":"1395670191","filename":"file0"},{"photo_id":"1395670201","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670203":["hashtag1","hashtag2"]},{"1395670206":["hashtag1","hashtag2"]},{"1395670195":["hashtag1","hashtag2"]},{"1395670201":["hashtag1","hashtag2"]},{"1395670191":["hashtag1","hashtag2"]},{"1395670197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670203, 1395670206, 1395670195, 1395670201, 1395670191, 1395670197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.570090532302856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:39:02.910702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_29_1819.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_31_1622.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_34_1965.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_38_3643.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_41_2679.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_44_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_29_1819.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_31_1622.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_34_1965.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_38_3643.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_41_2679.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_44_3544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670218","1395670215","1395670214","1395670213","1395670216","1395670221"],"photo_ids_order":["1395670213","1395670214","1395670215","1395670216","1395670218","1395670221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5233c0a5f8f73954fe1399b2cf424905.jpg","text":"TemporaryFile(/tmp/multipartBody2078448542377147009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782803813,"filename":"image_22112025_04_38_41_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71d149acabc78ba2e728404a8f7da210.jpg","text":"TemporaryFile(/tmp/multipartBody2390505327310083793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782803813,"filename":"image_22112025_04_38_34_1965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f935ba80495088ffa0658609a4bb8a7.jpg","text":"TemporaryFile(/tmp/multipartBody4099972465791241697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782803813,"filename":"image_22112025_04_38_31_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5729ba90820c9a9bc84d3a39134e9a6.jpg","text":"TemporaryFile(/tmp/multipartBody4201438947794121262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782803813,"filename":"image_22112025_04_38_29_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6451f59ecd91170e94fc074633b8dd11.jpg","text":"TemporaryFile(/tmp/multipartBody3233779488024589354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782803813,"filename":"image_22112025_04_38_38_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edb9456b81f9691d1721d88ed9a959a5.jpg","text":"TemporaryFile(/tmp/multipartBody319375254221004455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782803813,"filename":"image_22112025_04_38_44_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670215","file1":"1395670214","file0":"1395670213","file4":"1395670218","file5":"1395670221","file3":"1395670216"},"map_files_photo_id_array":[{"photo_id":"1395670221","filename":"file5"},{"photo_id":"1395670215","filename":"file2"},{"photo_id":"1395670218","filename":"file4"},{"photo_id":"1395670214","filename":"file1"},{"photo_id":"1395670213","filename":"file0"},{"photo_id":"1395670216","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670218":["hashtag1","hashtag2"]},{"1395670215":["hashtag1","hashtag2"]},{"1395670214":["hashtag1","hashtag2"]},{"1395670213":["hashtag1","hashtag2"]},{"1395670216":["hashtag1","hashtag2"]},{"1395670221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670218, 1395670215, 1395670214, 1395670213, 1395670216, 1395670221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40819787979126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:39:41.920712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_47_2662.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_50_2603.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_53_3610.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_56_2716.jpg', '/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_59_2765.jpg', '/home/pi/Desktop/images/22112025/04/39/image_22112025_04_39_02_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_47_2662.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_50_2603.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_53_3610.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_56_2716.jpg
/home/pi/Desktop/images/22112025/04/38/image_22112025_04_38_59_2765.jpg
/home/pi/Desktop/images/22112025/04/39/image_22112025_04_39_02_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670239","1395670241","1395670229","1395670231","1395670234","1395670236"],"photo_ids_order":["1395670229","1395670231","1395670234","1395670236","1395670239","1395670241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01180ba543a664dcb759422fc452f618.jpg","text":"TemporaryFile(/tmp/multipartBody981574877840639314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782842592,"filename":"image_22112025_04_38_59_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05a98b7aa90ce7c519ead8fb900940b5.jpg","text":"TemporaryFile(/tmp/multipartBody5925264009616184297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782842592,"filename":"image_22112025_04_39_02_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a52a828884b8eb71561c56888a5440ce.jpg","text":"TemporaryFile(/tmp/multipartBody4649357687118467982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782842592,"filename":"image_22112025_04_38_47_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/805b1cb471c02f09fc6494714bb5bcb9.jpg","text":"TemporaryFile(/tmp/multipartBody118388762177621987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782842592,"filename":"image_22112025_04_38_50_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9a1fa17d234beacd54b0a0229270752.jpg","text":"TemporaryFile(/tmp/multipartBody852030765015082629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782842592,"filename":"image_22112025_04_38_53_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad7e9958413c337dafd7fa1a28ce8157.jpg","text":"TemporaryFile(/tmp/multipartBody4479860266769649143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782842592,"filename":"image_22112025_04_38_56_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670234","file1":"1395670231","file0":"1395670229","file4":"1395670239","file5":"1395670241","file3":"1395670236"},"map_files_photo_id_array":[{"photo_id":"1395670241","filename":"file5"},{"photo_id":"1395670234","filename":"file2"},{"photo_id":"1395670239","filename":"file4"},{"photo_id":"1395670231","filename":"file1"},{"photo_id":"1395670229","filename":"file0"},{"photo_id":"1395670236","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670239":["hashtag1","hashtag2"]},{"1395670241":["hashtag1","hashtag2"]},{"1395670229":["hashtag1","hashtag2"]},{"1395670231":["hashtag1","hashtag2"]},{"1395670234":["hashtag1","hashtag2"]},{"1395670236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670239, 1395670241, 1395670229, 1395670231, 1395670234, 1395670236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12862467765808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:40:21.504069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/39/image_22112025_04_39_05_2579.jpg', '/home/pi/Desktop/images/22112025/04/39/image_22112025_04_39_08_2669.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_10_3119.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_14_3576.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_26_1720.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_28_1560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/39/image_22112025_04_39_05_2579.jpg
/home/pi/Desktop/images/22112025/04/39/image_22112025_04_39_08_2669.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_10_3119.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_14_3576.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_26_1720.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_28_1560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670251","1395670247","1395670243","1395670260","1395670254","1395670257"],"photo_ids_order":["1395670243","1395670247","1395670251","1395670254","1395670257","1395670260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e2d17d5952df0304e478eaf056bc5fc.jpg","text":"TemporaryFile(/tmp/multipartBody953466248491790022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782882233,"filename":"image_22112025_04_40_10_3119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/086d585479ae8a7bdc15f3b542b6222a.jpg","text":"TemporaryFile(/tmp/multipartBody3006283292504074489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782882233,"filename":"image_22112025_04_39_08_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f098f82973a4a628fb82d95eead34958.jpg","text":"TemporaryFile(/tmp/multipartBody2702783243544398998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782882233,"filename":"image_22112025_04_39_05_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e3435a533978ef327ebfe5336a9a1c1.jpg","text":"TemporaryFile(/tmp/multipartBody2166015028822270128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782882233,"filename":"image_22112025_04_40_28_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22f191efbd388619d9d2fadf866f9cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4421912643989334371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782882233,"filename":"image_22112025_04_40_14_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ecc61a8715d7fde541254d80cd85f8f.jpg","text":"TemporaryFile(/tmp/multipartBody4915996562574593330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782882233,"filename":"image_22112025_04_40_26_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670251","file1":"1395670247","file0":"1395670243","file4":"1395670257","file5":"1395670260","file3":"1395670254"},"map_files_photo_id_array":[{"photo_id":"1395670260","filename":"file5"},{"photo_id":"1395670251","filename":"file2"},{"photo_id":"1395670257","filename":"file4"},{"photo_id":"1395670247","filename":"file1"},{"photo_id":"1395670243","filename":"file0"},{"photo_id":"1395670254","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670251":["hashtag1","hashtag2"]},{"1395670247":["hashtag1","hashtag2"]},{"1395670243":["hashtag1","hashtag2"]},{"1395670260":["hashtag1","hashtag2"]},{"1395670254":["hashtag1","hashtag2"]},{"1395670257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670251, 1395670247, 1395670243, 1395670260, 1395670254, 1395670257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98236322402954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:41:03.391285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_29_1621.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_34_1681.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_36_1547.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_37_1743.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_41_3563.jpg', '/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_43_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_29_1621.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_34_1681.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_36_1547.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_37_1743.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_41_3563.jpg
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_43_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670277","1395670268","1395670288","1395670290","1395670293","1395670287"],"photo_ids_order":["1395670268","1395670277","1395670287","1395670288","1395670290","1395670293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5adec1c4cd92c00ce06e2c113a868be.jpg","text":"TemporaryFile(/tmp/multipartBody8314582315419297332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782924141,"filename":"image_22112025_04_40_34_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec4c8ebe7c300ed0e2ba769a1c7519c0.jpg","text":"TemporaryFile(/tmp/multipartBody1434596754543420924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782924141,"filename":"image_22112025_04_40_29_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13c8bea7052f6567baff0dfe2271b05b.jpg","text":"TemporaryFile(/tmp/multipartBody5535013373846860883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782924141,"filename":"image_22112025_04_40_37_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d157fef6a20c8576dd346156602f8e6.jpg","text":"TemporaryFile(/tmp/multipartBody7328836785402632501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782924141,"filename":"image_22112025_04_40_41_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01215c4c72b6c5def87f7eb9daa10007.jpg","text":"TemporaryFile(/tmp/multipartBody2923435688404733440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782924141,"filename":"image_22112025_04_40_43_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f9e6482ed92c8b333a16cab5c70ce0f.jpg","text":"TemporaryFile(/tmp/multipartBody7339001273272626582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782924141,"filename":"image_22112025_04_40_36_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670287","file1":"1395670277","file0":"1395670268","file4":"1395670290","file5":"1395670293","file3":"1395670288"},"map_files_photo_id_array":[{"photo_id":"1395670293","filename":"file5"},{"photo_id":"1395670287","filename":"file2"},{"photo_id":"1395670290","filename":"file4"},{"photo_id":"1395670277","filename":"file1"},{"photo_id":"1395670268","filename":"file0"},{"photo_id":"1395670288","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670277":["hashtag1","hashtag2"]},{"1395670268":["hashtag1","hashtag2"]},{"1395670288":["hashtag1","hashtag2"]},{"1395670290":["hashtag1","hashtag2"]},{"1395670293":["hashtag1","hashtag2"]},{"1395670287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670277, 1395670268, 1395670288, 1395670290, 1395670293, 1395670287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7011182308197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:41:42.684510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_46_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_46_2548.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670303"],"photo_id":"1395670303","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b52aeeba4df18003065fd34c49d8b90.jpg","text":"TemporaryFile(/tmp/multipartBody8775273101344899444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782963198,"filename":"image_22112025_04_40_46_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395670303"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395670303"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.758403539657593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:42:02.392713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_07_3016.jpg', '/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_11_3641.jpg', '/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_20_2718.jpg', '/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_26_3689.jpg', '/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_31_2733.jpg', '/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_38_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_07_3016.jpg
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_11_3641.jpg
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_20_2718.jpg
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_26_3689.jpg
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_31_2733.jpg
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_38_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670317","1395670314","1395670313","1395670312","1395670315","1395670320"],"photo_ids_order":["1395670312","1395670313","1395670314","1395670315","1395670317","1395670320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3bd0ad96c12f97785fe71ca7a455895.jpg","text":"TemporaryFile(/tmp/multipartBody5582232755664814004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782984140,"filename":"image_19112025_23_55_31_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72011d96380282d942b7c774b016e1e2.jpg","text":"TemporaryFile(/tmp/multipartBody7910333378417707904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782984140,"filename":"image_19112025_23_55_20_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d75ccef1f2f65a57dfb28af9b6ecebc2.jpg","text":"TemporaryFile(/tmp/multipartBody5799576660095583183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782984140,"filename":"image_19112025_23_55_11_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a43cfac40788cb568047ac6fc4a1044c.jpg","text":"TemporaryFile(/tmp/multipartBody4604628588823489580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782984140,"filename":"image_19112025_23_55_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1917f4c8d569962b51b6ac87e65ea421.jpg","text":"TemporaryFile(/tmp/multipartBody2224961669740682804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782984140,"filename":"image_19112025_23_55_26_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9213285d6ced957043a072892e551bc5.jpg","text":"TemporaryFile(/tmp/multipartBody59191993635126920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763782984140,"filename":"image_19112025_23_55_38_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670314","file1":"1395670313","file0":"1395670312","file4":"1395670317","file5":"1395670320","file3":"1395670315"},"map_files_photo_id_array":[{"photo_id":"1395670320","filename":"file5"},{"photo_id":"1395670314","filename":"file2"},{"photo_id":"1395670317","filename":"file4"},{"photo_id":"1395670313","filename":"file1"},{"photo_id":"1395670312","filename":"file0"},{"photo_id":"1395670315","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395670317":["hashtag1","hashtag2"]},{"1395670314":["hashtag1","hashtag2"]},{"1395670313":["hashtag1","hashtag2"]},{"1395670312":["hashtag1","hashtag2"]},{"1395670315":["hashtag1","hashtag2"]},{"1395670320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395670317, 1395670314, 1395670313, 1395670312, 1395670315, 1395670320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.631553173065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:42:41.848267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_58_8829.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_07_3012.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_14_2641.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_17_3688.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_25_1589.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_27_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/40/image_22112025_04_40_58_8829.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_07_3012.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_14_2641.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_17_3688.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_25_1589.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_27_1634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670343","1395670346","1395670325","1395670340","1395670348","1395670329"],"photo_ids_order":["1395670325","1395670329","1395670340","1395670343","1395670346","1395670348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b435b0b17eedac23b1c181ec00cc681c.jpg","text":"TemporaryFile(/tmp/multipartBody7274348026305809902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783022518,"filename":"image_22112025_04_42_17_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c57331d44a173dbaf573b25c2a74b9e8.jpg","text":"TemporaryFile(/tmp/multipartBody5277280895799236616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783022518,"filename":"image_22112025_04_42_25_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/182b9107cc7e9e83c399be1b38b87665.jpg","text":"TemporaryFile(/tmp/multipartBody3782609070290638543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783022518,"filename":"image_22112025_04_40_58_8829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/775b5871307c88cb8fe22b4f065ab171.jpg","text":"TemporaryFile(/tmp/multipartBody2578386749245204138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783022518,"filename":"image_22112025_04_42_14_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c347038fa5636e76b87fa14298d3c15.jpg","text":"TemporaryFile(/tmp/multipartBody8862624548642758084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783022518,"filename":"image_22112025_04_42_27_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85e9b869a2a9d2d70de401400995ca60.jpg","text":"TemporaryFile(/tmp/multipartBody8336723798544528183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783022518,"filename":"image_22112025_04_42_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670340","file1":"1395670329","file0":"1395670325","file4":"1395670346","file5":"1395670348","file3":"1395670343"},"map_files_photo_id_array":[{"photo_id":"1395670348","filename":"file5"},{"photo_id":"1395670340","filename":"file2"},{"photo_id":"1395670346","filename":"file4"},{"photo_id":"1395670329","filename":"file1"},{"photo_id":"1395670325","filename":"file0"},{"photo_id":"1395670343","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670343":["hashtag1","hashtag2"]},{"1395670346":["hashtag1","hashtag2"]},{"1395670325":["hashtag1","hashtag2"]},{"1395670340":["hashtag1","hashtag2"]},{"1395670348":["hashtag1","hashtag2"]},{"1395670329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670343, 1395670346, 1395670325, 1395670340, 1395670348, 1395670329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.233784198760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:43:22.149080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_38_3545.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_41_2821.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_44_2523.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_47_3423.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_50_2596.jpg', '/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_56_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_38_3545.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_41_2821.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_44_2523.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_47_3423.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_50_2596.jpg
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_56_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670478","1395670403","1395670507","1395670368","1395670353","1395670440"],"photo_ids_order":["1395670353","1395670368","1395670403","1395670440","1395670478","1395670507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42b695a9d9935f558ce5acc62622f1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3899965524164320496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783062847,"filename":"image_22112025_04_42_50_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df18d86f143a84e0cd49a6393b1f652e.jpg","text":"TemporaryFile(/tmp/multipartBody216578231606982533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783062847,"filename":"image_22112025_04_42_44_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67388f4813b0656182a6cb8911a77957.jpg","text":"TemporaryFile(/tmp/multipartBody805472994880710654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783062847,"filename":"image_22112025_04_42_56_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1017772f4a6bd0ac2885b0f6da86367f.jpg","text":"TemporaryFile(/tmp/multipartBody8697649249355774853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783062847,"filename":"image_22112025_04_42_41_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ba1372329e0d293fff01385642581b4.jpg","text":"TemporaryFile(/tmp/multipartBody7162565929817355721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783062847,"filename":"image_22112025_04_42_38_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f10aa6271ae1abbf5f63570a903caac.jpg","text":"TemporaryFile(/tmp/multipartBody7596024673022502181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783062847,"filename":"image_22112025_04_42_47_3423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670403","file1":"1395670368","file0":"1395670353","file4":"1395670478","file5":"1395670507","file3":"1395670440"},"map_files_photo_id_array":[{"photo_id":"1395670507","filename":"file5"},{"photo_id":"1395670403","filename":"file2"},{"photo_id":"1395670478","filename":"file4"},{"photo_id":"1395670368","filename":"file1"},{"photo_id":"1395670353","filename":"file0"},{"photo_id":"1395670440","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670478":["hashtag1","hashtag2"]},{"1395670403":["hashtag1","hashtag2"]},{"1395670507":["hashtag1","hashtag2"]},{"1395670368":["hashtag1","hashtag2"]},{"1395670353":["hashtag1","hashtag2"]},{"1395670440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670478, 1395670403, 1395670507, 1395670368, 1395670353, 1395670440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83288311958313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:44:22.414051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_59_2751.jpg', '/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_01_2563.jpg', '/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_05_3618.jpg', '/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_08_2734.jpg', '/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_10_2638.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_59_2751.jpg
/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_01_2563.jpg
/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_05_3618.jpg
/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_08_2734.jpg
/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_10_2638.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_07_3018.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6145544052124023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:44:42.510133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_59_2751.jpg', '/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_01_2563.jpg', '/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_05_3618.jpg', '/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_08_2734.jpg', '/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_10_2638.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/42/image_22112025_04_42_59_2751.jpg
/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_01_2563.jpg
/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_05_3618.jpg
/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_08_2734.jpg
/home/pi/Desktop/images/22112025/04/43/image_22112025_04_43_10_2638.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_07_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670617","1395670619","1395670613","1395670621","1395670615","1395670611"],"photo_ids_order":["1395670611","1395670613","1395670615","1395670617","1395670619","1395670621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94135dda92b7c33203fd28bd378042ef.jpg","text":"TemporaryFile(/tmp/multipartBody4177264441990131380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783143175,"filename":"image_22112025_04_43_08_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cc1f7ee997791b46d751a466b6be101.jpg","text":"TemporaryFile(/tmp/multipartBody6506135676763363526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783143175,"filename":"image_22112025_04_43_10_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b470b2489758fae8bde502effcdfc892.jpg","text":"TemporaryFile(/tmp/multipartBody8185868791310874001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783143175,"filename":"image_22112025_04_43_01_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f41ec6b5b296c145011b40b012897a6.jpg","text":"TemporaryFile(/tmp/multipartBody465558919148201348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783143175,"filename":"image_22112025_04_44_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b942d6641e1d3403870fb480ea604f0.jpg","text":"TemporaryFile(/tmp/multipartBody2467231508283523931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783143175,"filename":"image_22112025_04_43_05_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43ad654e82bb68d3f99a6c635c650e4a.jpg","text":"TemporaryFile(/tmp/multipartBody5224979164383748303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783143175,"filename":"image_22112025_04_42_59_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670615","file1":"1395670613","file0":"1395670611","file4":"1395670619","file5":"1395670621","file3":"1395670617"},"map_files_photo_id_array":[{"photo_id":"1395670621","filename":"file5"},{"photo_id":"1395670615","filename":"file2"},{"photo_id":"1395670619","filename":"file4"},{"photo_id":"1395670613","filename":"file1"},{"photo_id":"1395670611","filename":"file0"},{"photo_id":"1395670617","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670617":["hashtag1","hashtag2"]},{"1395670619":["hashtag1","hashtag2"]},{"1395670613":["hashtag1","hashtag2"]},{"1395670621":["hashtag1","hashtag2"]},{"1395670615":["hashtag1","hashtag2"]},{"1395670611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670617, 1395670619, 1395670613, 1395670621, 1395670615, 1395670611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46121382713318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:45:22.732153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_10_3559.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_18_7367.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_19_1588.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_22_1758.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_25_2616.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_28_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_10_3559.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_18_7367.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_19_1588.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_22_1758.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_25_2616.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_28_2650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5998635292053223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:45:42.723186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_10_3559.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_18_7367.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_19_1588.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_22_1758.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_25_2616.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_28_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_10_3559.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_18_7367.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_19_1588.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_22_1758.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_25_2616.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_28_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670641","1395670649","1395670643","1395670645","1395670638","1395670647"],"photo_ids_order":["1395670638","1395670641","1395670643","1395670645","1395670647","1395670649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d835a467ae3e393cb56f2d0f70fe0f0.jpg","text":"TemporaryFile(/tmp/multipartBody8853497309385985409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783203422,"filename":"image_22112025_04_44_18_7367.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8df75c8961fa1c95cdb61f4d0cb1b33f.jpg","text":"TemporaryFile(/tmp/multipartBody8470676612484348212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783203422,"filename":"image_22112025_04_44_28_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afa1d1f5b9e01657d9c27ff368b3ff98.jpg","text":"TemporaryFile(/tmp/multipartBody2387232424720337493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783203422,"filename":"image_22112025_04_44_19_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c5aefa4d04722b756ef4556a90fa901.jpg","text":"TemporaryFile(/tmp/multipartBody2175419542524088088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783203422,"filename":"image_22112025_04_44_22_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2210d94a19b9193b1cbb08cdbf60ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2433296503244397349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783203422,"filename":"image_22112025_04_44_10_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e926fef609678da11b276de530a6a06.jpg","text":"TemporaryFile(/tmp/multipartBody8582633013378360838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783203422,"filename":"image_22112025_04_44_25_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670643","file1":"1395670641","file0":"1395670638","file4":"1395670647","file5":"1395670649","file3":"1395670645"},"map_files_photo_id_array":[{"photo_id":"1395670649","filename":"file5"},{"photo_id":"1395670643","filename":"file2"},{"photo_id":"1395670647","filename":"file4"},{"photo_id":"1395670641","filename":"file1"},{"photo_id":"1395670638","filename":"file0"},{"photo_id":"1395670645","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670641":["hashtag1","hashtag2"]},{"1395670649":["hashtag1","hashtag2"]},{"1395670643":["hashtag1","hashtag2"]},{"1395670645":["hashtag1","hashtag2"]},{"1395670638":["hashtag1","hashtag2"]},{"1395670647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670641, 1395670649, 1395670643, 1395670645, 1395670638, 1395670647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.681474685668945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:46:22.674437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_39_10955.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_40_1597.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_42_1569.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_43_1634.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_45_1719.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_47_1570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_39_10955.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_40_1597.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_42_1569.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_43_1634.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_45_1719.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_47_1570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670679","1395670661","1395670655","1395670670","1395670658","1395670652"],"photo_ids_order":["1395670652","1395670655","1395670658","1395670661","1395670670","1395670679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b07b2a865ede98204d70425a5c942c7.jpg","text":"TemporaryFile(/tmp/multipartBody8221981804126158534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783243403,"filename":"image_22112025_04_44_47_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42ff032773c0655b10bcfa8d7ea66d37.jpg","text":"TemporaryFile(/tmp/multipartBody8879919764182793912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783243403,"filename":"image_22112025_04_44_43_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34d426bd0c7cba80e779839a2e8b3cba.jpg","text":"TemporaryFile(/tmp/multipartBody3532786383798797562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783243403,"filename":"image_22112025_04_44_40_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b4bcc2cbd5d47d9209bb8ced4c1b7aa.jpg","text":"TemporaryFile(/tmp/multipartBody128976527862119054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783243403,"filename":"image_22112025_04_44_45_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6d69110259d548cc6444e2168857062.jpg","text":"TemporaryFile(/tmp/multipartBody1341423373616571339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783243403,"filename":"image_22112025_04_44_42_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61b93337cf273812c695b78579fa966a.jpg","text":"TemporaryFile(/tmp/multipartBody7028813517693396237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783243403,"filename":"image_22112025_04_44_39_10955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670658","file1":"1395670655","file0":"1395670652","file4":"1395670670","file5":"1395670679","file3":"1395670661"},"map_files_photo_id_array":[{"photo_id":"1395670679","filename":"file5"},{"photo_id":"1395670658","filename":"file2"},{"photo_id":"1395670670","filename":"file4"},{"photo_id":"1395670655","filename":"file1"},{"photo_id":"1395670652","filename":"file0"},{"photo_id":"1395670661","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670679":["hashtag1","hashtag2"]},{"1395670661":["hashtag1","hashtag2"]},{"1395670655":["hashtag1","hashtag2"]},{"1395670670":["hashtag1","hashtag2"]},{"1395670658":["hashtag1","hashtag2"]},{"1395670652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670679, 1395670661, 1395670655, 1395670670, 1395670658, 1395670652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20591855049133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:47:02.705988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_49_1861.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_52_3780.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_55_2538.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_58_2575.jpg', '/home/pi/Desktop/images/22112025/04/44/image_22112025_04_45_01_3710.jpg', '/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_49_1861.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_52_3780.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_55_2538.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_44_58_2575.jpg
/home/pi/Desktop/images/22112025/04/44/image_22112025_04_45_01_3710.jpg
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670691","1395670694","1395670688","1395670687","1395670689","1395670686"],"photo_ids_order":["1395670686","1395670687","1395670688","1395670689","1395670691","1395670694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75c98de0a8270b5c37093813d91575fa.jpg","text":"TemporaryFile(/tmp/multipartBody1629913469763413041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783283448,"filename":"image_22112025_04_45_01_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7c65a6fe234b45124107c98f8fb1d0c.jpg","text":"TemporaryFile(/tmp/multipartBody2737398257867181143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783283448,"filename":"image_22112025_04_46_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10c82c57f0a9ac7c81970a24a5ace76c.jpg","text":"TemporaryFile(/tmp/multipartBody3908177817915072435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783283448,"filename":"image_22112025_04_44_55_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7d16552a29cc8b7fb5dfc273cd57817.jpg","text":"TemporaryFile(/tmp/multipartBody6629444394166299721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783283448,"filename":"image_22112025_04_44_52_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9307de74ab7c5b2dc0a91e58c75b0f41.jpg","text":"TemporaryFile(/tmp/multipartBody1933229580200730132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783283448,"filename":"image_22112025_04_44_58_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79d28f5ab734a6be2b18f701d2371f6b.jpg","text":"TemporaryFile(/tmp/multipartBody97230673820232344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783283448,"filename":"image_22112025_04_44_49_1861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670688","file1":"1395670687","file0":"1395670686","file4":"1395670691","file5":"1395670694","file3":"1395670689"},"map_files_photo_id_array":[{"photo_id":"1395670694","filename":"file5"},{"photo_id":"1395670688","filename":"file2"},{"photo_id":"1395670691","filename":"file4"},{"photo_id":"1395670687","filename":"file1"},{"photo_id":"1395670686","filename":"file0"},{"photo_id":"1395670689","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670691":["hashtag1","hashtag2"]},{"1395670694":["hashtag1","hashtag2"]},{"1395670688":["hashtag1","hashtag2"]},{"1395670687":["hashtag1","hashtag2"]},{"1395670689":["hashtag1","hashtag2"]},{"1395670686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670691, 1395670694, 1395670688, 1395670687, 1395670689, 1395670686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.915709257125854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:47:42.002793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_11_3595.jpg', '/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_14_2604.jpg', '/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_17_3671.jpg', '/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_20_2748.jpg', '/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_22_2553.jpg', '/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_36_10026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_11_3595.jpg
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_14_2604.jpg
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_17_3671.jpg
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_20_2748.jpg
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_22_2553.jpg
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_36_10026.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670716","1395670703","1395670712","1395670706","1395670708","1395670710"],"photo_ids_order":["1395670703","1395670706","1395670708","1395670710","1395670712","1395670716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15c2bc7cecc18c612d11c648c4bc2005.jpg","text":"TemporaryFile(/tmp/multipartBody7502629638863602949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783322667,"filename":"image_22112025_04_46_36_10026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9cbed5a5033c1905afbdd0c4ec2155ad.jpg","text":"TemporaryFile(/tmp/multipartBody8470912088064437136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783322667,"filename":"image_22112025_04_46_11_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1f1ba04f365b39cc363ff7a861493c5.jpg","text":"TemporaryFile(/tmp/multipartBody7001375338181146383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783322667,"filename":"image_22112025_04_46_22_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b40eab9aeeba50e7db3398415dbd1f2.jpg","text":"TemporaryFile(/tmp/multipartBody4388652934834913386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783322667,"filename":"image_22112025_04_46_14_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2bb6ee1e8c48e7e9fb82e742d398c67.jpg","text":"TemporaryFile(/tmp/multipartBody3367890560793272188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783322667,"filename":"image_22112025_04_46_17_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7adc2658143e676fc64d3c395ecb3bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2929950354620430418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783322667,"filename":"image_22112025_04_46_20_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670708","file1":"1395670706","file0":"1395670703","file4":"1395670712","file5":"1395670716","file3":"1395670710"},"map_files_photo_id_array":[{"photo_id":"1395670716","filename":"file5"},{"photo_id":"1395670708","filename":"file2"},{"photo_id":"1395670712","filename":"file4"},{"photo_id":"1395670706","filename":"file1"},{"photo_id":"1395670703","filename":"file0"},{"photo_id":"1395670710","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670716":["hashtag1","hashtag2"]},{"1395670703":["hashtag1","hashtag2"]},{"1395670712":["hashtag1","hashtag2"]},{"1395670706":["hashtag1","hashtag2"]},{"1395670708":["hashtag1","hashtag2"]},{"1395670710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670716, 1395670703, 1395670712, 1395670706, 1395670708, 1395670710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33586764335632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:48:22.261807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_38_1664.jpg', '/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_40_1685.jpg', '/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_41_1609.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_07_3011.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_10_3521.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_15_4594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_38_1664.jpg
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_40_1685.jpg
/home/pi/Desktop/images/22112025/04/46/image_22112025_04_46_41_1609.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_07_3011.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_10_3521.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_15_4594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670740","1395670721","1395670745","1395670724","1395670727","1395670731"],"photo_ids_order":["1395670721","1395670724","1395670727","1395670731","1395670740","1395670745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/680b1183df6476e735c17e6192c67fdc.jpg","text":"TemporaryFile(/tmp/multipartBody3784564683934738632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783362992,"filename":"image_22112025_04_48_10_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/690cc64b4d7b35ad6371815a5401174d.jpg","text":"TemporaryFile(/tmp/multipartBody8269210330802843136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783362992,"filename":"image_22112025_04_46_38_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2de2dada85cdcdd6f5b9372614636562.jpg","text":"TemporaryFile(/tmp/multipartBody1312685820091959291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783362992,"filename":"image_22112025_04_48_15_4594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc1a6a05931bd48d5a5b5a6edaf4479c.jpg","text":"TemporaryFile(/tmp/multipartBody5074278728854515374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783362992,"filename":"image_22112025_04_46_40_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eeb37b55c3422f0695f518cff6c758a9.jpg","text":"TemporaryFile(/tmp/multipartBody1681290238071068294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783362992,"filename":"image_22112025_04_46_41_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c2dfc97a68683e14242f1bc72593e5c.jpg","text":"TemporaryFile(/tmp/multipartBody771300128045901545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783362992,"filename":"image_22112025_04_48_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670727","file1":"1395670724","file0":"1395670721","file4":"1395670740","file5":"1395670745","file3":"1395670731"},"map_files_photo_id_array":[{"photo_id":"1395670745","filename":"file5"},{"photo_id":"1395670727","filename":"file2"},{"photo_id":"1395670740","filename":"file4"},{"photo_id":"1395670724","filename":"file1"},{"photo_id":"1395670721","filename":"file0"},{"photo_id":"1395670731","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670740":["hashtag1","hashtag2"]},{"1395670721":["hashtag1","hashtag2"]},{"1395670745":["hashtag1","hashtag2"]},{"1395670724":["hashtag1","hashtag2"]},{"1395670727":["hashtag1","hashtag2"]},{"1395670731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670740, 1395670721, 1395670745, 1395670724, 1395670727, 1395670731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02918457984924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:49:03.336891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_21_5732.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_22_1665.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_24_1617.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_25_1600.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_28_2623.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_32_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_21_5732.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_22_1665.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_24_1617.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_25_1600.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_28_2623.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_32_3551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670754","1395670765","1395670750","1395670756","1395670761","1395670758"],"photo_ids_order":["1395670750","1395670754","1395670756","1395670758","1395670761","1395670765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0fe52532f597543909d83491e8f58b0.jpg","text":"TemporaryFile(/tmp/multipartBody3379614781032614644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783404240,"filename":"image_22112025_04_48_22_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92e1530ab7c5b92493036622aa205862.jpg","text":"TemporaryFile(/tmp/multipartBody5736901485489438546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783404240,"filename":"image_22112025_04_48_32_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5eb96b6181e9f5e9ef2ead6ec9737ab7.jpg","text":"TemporaryFile(/tmp/multipartBody3817020322273332386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783404240,"filename":"image_22112025_04_48_21_5732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/852bfee22ce23ae0f12f468215b30b09.jpg","text":"TemporaryFile(/tmp/multipartBody3679408596938298948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783404240,"filename":"image_22112025_04_48_24_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d175e77e794822e26c920943177d7450.jpg","text":"TemporaryFile(/tmp/multipartBody9215243017646255201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783404240,"filename":"image_22112025_04_48_28_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72bee05eb943b11055f84b2484740156.jpg","text":"TemporaryFile(/tmp/multipartBody5433215295136928864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783404240,"filename":"image_22112025_04_48_25_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670756","file1":"1395670754","file0":"1395670750","file4":"1395670761","file5":"1395670765","file3":"1395670758"},"map_files_photo_id_array":[{"photo_id":"1395670765","filename":"file5"},{"photo_id":"1395670756","filename":"file2"},{"photo_id":"1395670761","filename":"file4"},{"photo_id":"1395670754","filename":"file1"},{"photo_id":"1395670750","filename":"file0"},{"photo_id":"1395670758","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670754":["hashtag1","hashtag2"]},{"1395670765":["hashtag1","hashtag2"]},{"1395670750":["hashtag1","hashtag2"]},{"1395670756":["hashtag1","hashtag2"]},{"1395670761":["hashtag1","hashtag2"]},{"1395670758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670754, 1395670765, 1395670750, 1395670756, 1395670761, 1395670758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16403651237488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:49:42.477884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_37_2625.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_41_3698.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_43_2630.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_46_2672.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_50_3675.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_52_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_37_2625.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_41_3698.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_43_2630.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_46_2672.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_50_3675.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_52_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670784","1395670778","1395670775","1395670780","1395670786","1395670782"],"photo_ids_order":["1395670775","1395670778","1395670780","1395670782","1395670784","1395670786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/059ca72bbe9ab55c288dc2acc8a9f82e.jpg","text":"TemporaryFile(/tmp/multipartBody8304135378004292907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783443140,"filename":"image_22112025_04_48_50_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/562a7b57525307b3c4ed5900d7a9d706.jpg","text":"TemporaryFile(/tmp/multipartBody7201827351997855945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783443140,"filename":"image_22112025_04_48_41_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9cd4e4bcb7aa7032a17801bbc10ae78.jpg","text":"TemporaryFile(/tmp/multipartBody8406826021851928996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783443140,"filename":"image_22112025_04_48_37_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20cf49e3a9b0f74a7ec23ce6342a8d87.jpg","text":"TemporaryFile(/tmp/multipartBody3891302951548765046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783443140,"filename":"image_22112025_04_48_43_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc44e9c998397ddea695a127a011988c.jpg","text":"TemporaryFile(/tmp/multipartBody8705746210508780423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783443140,"filename":"image_22112025_04_48_52_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/514eec414992250eae7f8f4df6385092.jpg","text":"TemporaryFile(/tmp/multipartBody5637162763191693223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783443140,"filename":"image_22112025_04_48_46_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670780","file1":"1395670778","file0":"1395670775","file4":"1395670784","file5":"1395670786","file3":"1395670782"},"map_files_photo_id_array":[{"photo_id":"1395670786","filename":"file5"},{"photo_id":"1395670780","filename":"file2"},{"photo_id":"1395670784","filename":"file4"},{"photo_id":"1395670778","filename":"file1"},{"photo_id":"1395670775","filename":"file0"},{"photo_id":"1395670782","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670784":["hashtag1","hashtag2"]},{"1395670778":["hashtag1","hashtag2"]},{"1395670775":["hashtag1","hashtag2"]},{"1395670780":["hashtag1","hashtag2"]},{"1395670786":["hashtag1","hashtag2"]},{"1395670782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670784, 1395670778, 1395670775, 1395670780, 1395670786, 1395670782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55156350135803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:50:22.759915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_55_2570.jpg', '/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_58_3659.jpg', '/home/pi/Desktop/images/22112025/04/49/image_22112025_04_49_01_2795.jpg', '/home/pi/Desktop/images/22112025/04/49/image_22112025_04_49_04_2601.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_08_3017.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_11_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_55_2570.jpg
/home/pi/Desktop/images/22112025/04/48/image_22112025_04_48_58_3659.jpg
/home/pi/Desktop/images/22112025/04/49/image_22112025_04_49_01_2795.jpg
/home/pi/Desktop/images/22112025/04/49/image_22112025_04_49_04_2601.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_08_3017.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_11_3745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670806","1395670800","1395670790","1395670793","1395670802","1395670797"],"photo_ids_order":["1395670790","1395670793","1395670797","1395670800","1395670802","1395670806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/daf660cf7c1ce8234dd473d752a50843.jpg","text":"TemporaryFile(/tmp/multipartBody1925668310491583418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783483502,"filename":"image_22112025_04_50_11_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5459f29202605828a434c4e5b7bc2903.jpg","text":"TemporaryFile(/tmp/multipartBody3592423399914199605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783483502,"filename":"image_22112025_04_49_04_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f41464262c797f8c1859e6f9c4d5207d.jpg","text":"TemporaryFile(/tmp/multipartBody4132550623492651219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783483502,"filename":"image_22112025_04_48_55_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/840a9761462999182e76b349a0676303.jpg","text":"TemporaryFile(/tmp/multipartBody4031112723371757801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783483502,"filename":"image_22112025_04_48_58_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be1a829875b4157b47bf1ebab08701b6.jpg","text":"TemporaryFile(/tmp/multipartBody5391165929926219860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783483502,"filename":"image_22112025_04_50_08_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c842b84cdfc5e12b000cdde0650a452.jpg","text":"TemporaryFile(/tmp/multipartBody2900368203624068004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783483502,"filename":"image_22112025_04_49_01_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670797","file1":"1395670793","file0":"1395670790","file4":"1395670802","file5":"1395670806","file3":"1395670800"},"map_files_photo_id_array":[{"photo_id":"1395670806","filename":"file5"},{"photo_id":"1395670797","filename":"file2"},{"photo_id":"1395670802","filename":"file4"},{"photo_id":"1395670793","filename":"file1"},{"photo_id":"1395670790","filename":"file0"},{"photo_id":"1395670800","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670806":["hashtag1","hashtag2"]},{"1395670800":["hashtag1","hashtag2"]},{"1395670790":["hashtag1","hashtag2"]},{"1395670793":["hashtag1","hashtag2"]},{"1395670802":["hashtag1","hashtag2"]},{"1395670797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670806, 1395670800, 1395670790, 1395670793, 1395670802, 1395670797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70116639137268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:51:02.577171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_21_10142.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_23_1739.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_27_1585.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_30_1743.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_32_2607.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_35_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_21_10142.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_23_1739.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_27_1585.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_30_1743.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_32_2607.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_35_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670812","1395670820","1395670840","1395670834","1395670837","1395670819"],"photo_ids_order":["1395670812","1395670819","1395670820","1395670834","1395670837","1395670840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9316b9341d369f91e0b3b666622487b.jpg","text":"TemporaryFile(/tmp/multipartBody502738592520530505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783523346,"filename":"image_22112025_04_50_21_10142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f8cb85c6108992edd3ab182b191aa8e.jpg","text":"TemporaryFile(/tmp/multipartBody8928143210604000983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783523346,"filename":"image_22112025_04_50_27_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e86fb6d80b2e1b6a60119d3db05ceab5.jpg","text":"TemporaryFile(/tmp/multipartBody3938559223004174858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783523346,"filename":"image_22112025_04_50_35_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e24d492b115ef2028797b128a67310b.jpg","text":"TemporaryFile(/tmp/multipartBody4997772813299560626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783523346,"filename":"image_22112025_04_50_30_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faaf8d8512ed3d549a739edd566e5ff3.jpg","text":"TemporaryFile(/tmp/multipartBody7944793915601566268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783523346,"filename":"image_22112025_04_50_32_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b1e53b6adaa30915f6310693cb4808a.jpg","text":"TemporaryFile(/tmp/multipartBody7319985548738358109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783523346,"filename":"image_22112025_04_50_23_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670820","file1":"1395670819","file0":"1395670812","file4":"1395670837","file5":"1395670840","file3":"1395670834"},"map_files_photo_id_array":[{"photo_id":"1395670840","filename":"file5"},{"photo_id":"1395670820","filename":"file2"},{"photo_id":"1395670837","filename":"file4"},{"photo_id":"1395670819","filename":"file1"},{"photo_id":"1395670812","filename":"file0"},{"photo_id":"1395670834","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670812":["hashtag1","hashtag2"]},{"1395670820":["hashtag1","hashtag2"]},{"1395670840":["hashtag1","hashtag2"]},{"1395670834":["hashtag1","hashtag2"]},{"1395670837":["hashtag1","hashtag2"]},{"1395670819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670812, 1395670820, 1395670840, 1395670834, 1395670837, 1395670819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.379721879959106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:51:42.009314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_38_2713.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_41_2826.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_44_3701.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_47_2712.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_50_2779.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_53_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_38_2713.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_41_2826.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_44_3701.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_47_2712.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_50_2779.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_53_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395670859","1395670853","1395670847","1395670855","1395670857","1395670851"],"photo_ids_order":["1395670847","1395670851","1395670853","1395670855","1395670857","1395670859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3779ef8bd99beda90a9eefe1d2451a72.jpg","text":"TemporaryFile(/tmp/multipartBody7293359911746411794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783562681,"filename":"image_22112025_04_50_53_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec946025693ca4d68d39ef9cee905092.jpg","text":"TemporaryFile(/tmp/multipartBody1365911614642516290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783562681,"filename":"image_22112025_04_50_44_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d416573132c0616e7f59281d015f5ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4901003275418142292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783562681,"filename":"image_22112025_04_50_38_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e72dfca429c460a54cbf71796472b51.jpg","text":"TemporaryFile(/tmp/multipartBody1102412164768760183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783562681,"filename":"image_22112025_04_50_47_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e4db06080c157512bec45003a86e771.jpg","text":"TemporaryFile(/tmp/multipartBody5146946831125990801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783562681,"filename":"image_22112025_04_50_50_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec16ef645bd730f82f54cb796e1d492c.jpg","text":"TemporaryFile(/tmp/multipartBody633098854123448561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783562681,"filename":"image_22112025_04_50_41_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395670853","file1":"1395670851","file0":"1395670847","file4":"1395670857","file5":"1395670859","file3":"1395670855"},"map_files_photo_id_array":[{"photo_id":"1395670859","filename":"file5"},{"photo_id":"1395670853","filename":"file2"},{"photo_id":"1395670857","filename":"file4"},{"photo_id":"1395670851","filename":"file1"},{"photo_id":"1395670847","filename":"file0"},{"photo_id":"1395670855","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395670859":["hashtag1","hashtag2"]},{"1395670853":["hashtag1","hashtag2"]},{"1395670847":["hashtag1","hashtag2"]},{"1395670855":["hashtag1","hashtag2"]},{"1395670857":["hashtag1","hashtag2"]},{"1395670851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395670859, 1395670853, 1395670847, 1395670855, 1395670857, 1395670851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45308828353882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:52:22.217772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_56_3629.jpg', '/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_59_2542.jpg', '/home/pi/Desktop/images/22112025/04/51/image_22112025_04_51_02_3527.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_07_3017.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_10_3641.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_14_3384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_56_3629.jpg
/home/pi/Desktop/images/22112025/04/50/image_22112025_04_50_59_2542.jpg
/home/pi/Desktop/images/22112025/04/51/image_22112025_04_51_02_3527.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_07_3017.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_10_3641.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_14_3384.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671001","1395671045","1395671052","1395671055","1395671040","1395671037"],"photo_ids_order":["1395671001","1395671037","1395671040","1395671045","1395671052","1395671055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc73f07f01401c4a3fbe3d77c3729f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1515277764207812436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783602892,"filename":"image_22112025_04_50_56_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea7e9cefb871bb43dbd3bc023aaf234e.jpg","text":"TemporaryFile(/tmp/multipartBody861426139098301522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783602892,"filename":"image_22112025_04_52_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5949214801d776863a435efc41fce56c.jpg","text":"TemporaryFile(/tmp/multipartBody8429587910188472379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783602892,"filename":"image_22112025_04_52_10_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf30a9d0aa54bb09ded53d88adc707c8.jpg","text":"TemporaryFile(/tmp/multipartBody92696186411838274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783602892,"filename":"image_22112025_04_52_14_3384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e8cf64bf9aa0cd386b3ebafd8970f79.jpg","text":"TemporaryFile(/tmp/multipartBody5899227830797330937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783602892,"filename":"image_22112025_04_51_02_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a1bfcadbfe882831c2e6164e9d9d333.jpg","text":"TemporaryFile(/tmp/multipartBody3346523591763727615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783602892,"filename":"image_22112025_04_50_59_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671040","file1":"1395671037","file0":"1395671001","file4":"1395671052","file5":"1395671055","file3":"1395671045"},"map_files_photo_id_array":[{"photo_id":"1395671055","filename":"file5"},{"photo_id":"1395671040","filename":"file2"},{"photo_id":"1395671052","filename":"file4"},{"photo_id":"1395671037","filename":"file1"},{"photo_id":"1395671001","filename":"file0"},{"photo_id":"1395671045","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671001":["hashtag1","hashtag2"]},{"1395671045":["hashtag1","hashtag2"]},{"1395671052":["hashtag1","hashtag2"]},{"1395671055":["hashtag1","hashtag2"]},{"1395671040":["hashtag1","hashtag2"]},{"1395671037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671001, 1395671045, 1395671052, 1395671055, 1395671040, 1395671037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76743149757385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:53:06.687743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:53:23.771245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_22_6044.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_24_1839.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_26_1548.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_28_1947.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_31_3633.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_34_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_22_6044.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_24_1839.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_26_1548.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_28_1947.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_31_3633.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_34_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671183","1395671177","1395671246","1395671206","1395671172","1395671180"],"photo_ids_order":["1395671172","1395671177","1395671180","1395671183","1395671206","1395671246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac1339e70e9265ff3eefd3d79d448bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8983193217246641286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783664429,"filename":"image_22112025_04_52_28_1947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62f84c8ef76778e2d66522f982c809f5.jpg","text":"TemporaryFile(/tmp/multipartBody7441969129712645414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783664429,"filename":"image_22112025_04_52_24_1839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f700dd232087a5b113c1981705d437d4.jpg","text":"TemporaryFile(/tmp/multipartBody7640080651985581651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783664429,"filename":"image_22112025_04_52_34_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70b19cb11679b27fd1c4f20c53d00150.jpg","text":"TemporaryFile(/tmp/multipartBody3975639794084510239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783664429,"filename":"image_22112025_04_52_31_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6eaaaab45f927197665a3b1991da7ef.jpg","text":"TemporaryFile(/tmp/multipartBody1925592226883705539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783664429,"filename":"image_22112025_04_52_22_6044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcdef8c2999da98cce76b5f57a53d75a.jpg","text":"TemporaryFile(/tmp/multipartBody776193576294416344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783664429,"filename":"image_22112025_04_52_26_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671180","file1":"1395671177","file0":"1395671172","file4":"1395671206","file5":"1395671246","file3":"1395671183"},"map_files_photo_id_array":[{"photo_id":"1395671246","filename":"file5"},{"photo_id":"1395671180","filename":"file2"},{"photo_id":"1395671206","filename":"file4"},{"photo_id":"1395671177","filename":"file1"},{"photo_id":"1395671172","filename":"file0"},{"photo_id":"1395671183","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671183":["hashtag1","hashtag2"]},{"1395671177":["hashtag1","hashtag2"]},{"1395671246":["hashtag1","hashtag2"]},{"1395671206":["hashtag1","hashtag2"]},{"1395671172":["hashtag1","hashtag2"]},{"1395671180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671183, 1395671177, 1395671246, 1395671206, 1395671172, 1395671180)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.9225127696991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:54:21.945232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_37_2769.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_43_2616.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_46_2787.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_50_3644.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_55_2661.jpg', '/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_58_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_37_2769.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_43_2616.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_46_2787.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_50_3644.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_55_2661.jpg
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_52_58_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671261","1395671255","1395671264","1395671258","1395671283","1395671268"],"photo_ids_order":["1395671255","1395671258","1395671261","1395671264","1395671268","1395671283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ade1f7b8a7c734257c93707e721a4887.jpg","text":"TemporaryFile(/tmp/multipartBody3418945889755720140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783722606,"filename":"image_22112025_04_52_46_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60bc5cbf18a25cf27af3be83f86611fb.jpg","text":"TemporaryFile(/tmp/multipartBody6537456515819351195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783722606,"filename":"image_22112025_04_52_37_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dccb20220b85548a3ac9a16369261ac3.jpg","text":"TemporaryFile(/tmp/multipartBody5690745644039192243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783722606,"filename":"image_22112025_04_52_50_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a711a42004783be76e3f25c1e77e232.jpg","text":"TemporaryFile(/tmp/multipartBody9201570569047458516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783722606,"filename":"image_22112025_04_52_43_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/377dc2f4674bb464674bb64f270f1376.jpg","text":"TemporaryFile(/tmp/multipartBody3338702239881541985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783722606,"filename":"image_22112025_04_52_58_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/736c3c7ceb6e6de55a3fdc6cf2a549fd.jpg","text":"TemporaryFile(/tmp/multipartBody1344958656750958320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783722606,"filename":"image_22112025_04_52_55_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671261","file1":"1395671258","file0":"1395671255","file4":"1395671268","file5":"1395671283","file3":"1395671264"},"map_files_photo_id_array":[{"photo_id":"1395671283","filename":"file5"},{"photo_id":"1395671261","filename":"file2"},{"photo_id":"1395671268","filename":"file4"},{"photo_id":"1395671258","filename":"file1"},{"photo_id":"1395671255","filename":"file0"},{"photo_id":"1395671264","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671261":["hashtag1","hashtag2"]},{"1395671255":["hashtag1","hashtag2"]},{"1395671264":["hashtag1","hashtag2"]},{"1395671258":["hashtag1","hashtag2"]},{"1395671283":["hashtag1","hashtag2"]},{"1395671268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671261, 1395671255, 1395671264, 1395671258, 1395671283, 1395671268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27682566642761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:55:03.211632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/52/image_22112025_04_53_01_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/52/image_22112025_04_53_01_3589.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671295"],"photo_id":"1395671295","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/682de081db409cb0ac998f6398323928.jpg","text":"TemporaryFile(/tmp/multipartBody4755301896791598407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783764017,"filename":"image_22112025_04_53_01_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395671295"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395671295"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.504755020141602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:55:22.492599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_59_2792.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_02_2782.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_05_2711.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_08_3561.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_11_2776.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_14_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/00/image_30102025_18_00_59_2792.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_02_2782.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_05_2711.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_08_3561.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_11_2776.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_14_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671299","1395671314","1395671302","1395671311","1395671305","1395671308"],"photo_ids_order":["1395671299","1395671302","1395671305","1395671308","1395671311","1395671314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cb2f36818ef85ddd2a457b8744955ef.jpg","text":"TemporaryFile(/tmp/multipartBody8860168885684750333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783785365,"filename":"image_30102025_18_00_59_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dabd9eac9187c3ab61128b7733e0ef0.jpg","text":"TemporaryFile(/tmp/multipartBody7879479348068470585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783785365,"filename":"image_30102025_18_01_14_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd1c87da206d6a48aa5b8be580b7d389.jpg","text":"TemporaryFile(/tmp/multipartBody2255671544946249471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783785365,"filename":"image_30102025_18_01_02_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27068a4f83e86af09d52774e8427eaca.jpg","text":"TemporaryFile(/tmp/multipartBody2643111046284214606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783785365,"filename":"image_30102025_18_01_11_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64199aff7ffc82fff25b2eee3bf18882.jpg","text":"TemporaryFile(/tmp/multipartBody7162634191315251146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783785365,"filename":"image_30102025_18_01_05_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/683cf094a35914f885d960a1fbea70b7.jpg","text":"TemporaryFile(/tmp/multipartBody6027260203075616619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783785365,"filename":"image_30102025_18_01_08_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671305","file1":"1395671302","file0":"1395671299","file4":"1395671311","file5":"1395671314","file3":"1395671308"},"map_files_photo_id_array":[{"photo_id":"1395671314","filename":"file5"},{"photo_id":"1395671305","filename":"file2"},{"photo_id":"1395671311","filename":"file4"},{"photo_id":"1395671302","filename":"file1"},{"photo_id":"1395671299","filename":"file0"},{"photo_id":"1395671308","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395671299":["hashtag1","hashtag2"]},{"1395671314":["hashtag1","hashtag2"]},{"1395671302":["hashtag1","hashtag2"]},{"1395671311":["hashtag1","hashtag2"]},{"1395671305":["hashtag1","hashtag2"]},{"1395671308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395671299, 1395671314, 1395671302, 1395671311, 1395671305, 1395671308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28084659576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:56:03.033774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_40_2566.jpg', '/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_44_3502.jpg', '/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_50_3696.jpg', '/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_59_3813.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_02_2780.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_04_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_40_2566.jpg
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_44_3502.jpg
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_50_3696.jpg
/home/pi/Desktop/images/19112025/23/55/image_19112025_23_55_59_3813.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_02_2780.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_04_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671324","1395671327","1395671321","1395671320","1395671322","1395671319"],"photo_ids_order":["1395671319","1395671320","1395671321","1395671322","1395671324","1395671327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1cbea07f5dde17fba91b56115c2e2ed.jpg","text":"TemporaryFile(/tmp/multipartBody4001259086000676215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783824827,"filename":"image_19112025_23_56_02_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c72446e6bf2d16c9feaba6c396cb5357.jpg","text":"TemporaryFile(/tmp/multipartBody1777937817986627066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783824827,"filename":"image_19112025_23_56_04_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ec1696fd6a6e63aa8bd235708befcff.jpg","text":"TemporaryFile(/tmp/multipartBody1470037805732197151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783824827,"filename":"image_19112025_23_55_50_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed49cc74f3482b8948b7e4f1a8e72f49.jpg","text":"TemporaryFile(/tmp/multipartBody3695919870813532650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783824827,"filename":"image_19112025_23_55_44_3502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0aa74fb2bc3cf5a121619ed72cf3f612.jpg","text":"TemporaryFile(/tmp/multipartBody70839954227169622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783824827,"filename":"image_19112025_23_55_59_3813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d9f0d8508e719793371a949ba9db130.jpg","text":"TemporaryFile(/tmp/multipartBody1489369240960298671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783824827,"filename":"image_19112025_23_55_40_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671321","file1":"1395671320","file0":"1395671319","file4":"1395671324","file5":"1395671327","file3":"1395671322"},"map_files_photo_id_array":[{"photo_id":"1395671327","filename":"file5"},{"photo_id":"1395671321","filename":"file2"},{"photo_id":"1395671324","filename":"file4"},{"photo_id":"1395671320","filename":"file1"},{"photo_id":"1395671319","filename":"file0"},{"photo_id":"1395671322","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395671324":["hashtag1","hashtag2"]},{"1395671327":["hashtag1","hashtag2"]},{"1395671321":["hashtag1","hashtag2"]},{"1395671320":["hashtag1","hashtag2"]},{"1395671322":["hashtag1","hashtag2"]},{"1395671319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395671324, 1395671327, 1395671321, 1395671320, 1395671322, 1395671319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85442662239075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:56:42.646797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/53/image_22112025_04_53_04_2727.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_09_2961.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_13_3551.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_16_3243.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_19_2660.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_22_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/53/image_22112025_04_53_04_2727.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_09_2961.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_13_3551.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_16_3243.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_19_2660.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_22_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671354","1395671342","1395671356","1395671352","1395671346","1395671349"],"photo_ids_order":["1395671342","1395671346","1395671349","1395671352","1395671354","1395671356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6f4ccc55b120aa9c99bd2cec770590e.jpg","text":"TemporaryFile(/tmp/multipartBody5303825012037491639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783863370,"filename":"image_22112025_04_54_19_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20ee536e5906097797e2cb2baeef01a4.jpg","text":"TemporaryFile(/tmp/multipartBody6490857489619035191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783863370,"filename":"image_22112025_04_53_04_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc355f9eaf9f93e80a125a549fb050ae.jpg","text":"TemporaryFile(/tmp/multipartBody6764470724815572009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783863370,"filename":"image_22112025_04_54_22_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ba451063c8f0859b4a23bea5a0fafdd.jpg","text":"TemporaryFile(/tmp/multipartBody3553215560154808172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783863370,"filename":"image_22112025_04_54_16_3243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed139c2d824ac95a85a11fc161a5b1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6068969569276420588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783863370,"filename":"image_22112025_04_54_09_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/747fafa481c17014169d0a1cdc6d7ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2787593729263628047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783863370,"filename":"image_22112025_04_54_13_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671349","file1":"1395671346","file0":"1395671342","file4":"1395671354","file5":"1395671356","file3":"1395671352"},"map_files_photo_id_array":[{"photo_id":"1395671356","filename":"file5"},{"photo_id":"1395671349","filename":"file2"},{"photo_id":"1395671354","filename":"file4"},{"photo_id":"1395671346","filename":"file1"},{"photo_id":"1395671342","filename":"file0"},{"photo_id":"1395671352","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671354":["hashtag1","hashtag2"]},{"1395671342":["hashtag1","hashtag2"]},{"1395671356":["hashtag1","hashtag2"]},{"1395671352":["hashtag1","hashtag2"]},{"1395671346":["hashtag1","hashtag2"]},{"1395671349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671354, 1395671342, 1395671356, 1395671352, 1395671346, 1395671349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2869975566864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:57:21.862208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_25_3714.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_41_15746.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_43_1697.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_44_1593.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_46_1635.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_48_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_25_3714.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_41_15746.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_43_1697.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_44_1593.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_46_1635.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_48_1700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671371","1395671359","1395671374","1395671368","1395671361","1395671364"],"photo_ids_order":["1395671359","1395671361","1395671364","1395671368","1395671371","1395671374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58e1592a1a690cc3448f29e98343d178.jpg","text":"TemporaryFile(/tmp/multipartBody7995753782923767130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783902579,"filename":"image_22112025_04_54_46_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04e7df5af96a422c4ad5dd64b5331755.jpg","text":"TemporaryFile(/tmp/multipartBody6916024466001792020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783902579,"filename":"image_22112025_04_54_25_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ede5fcfb31a93505d860d1520e94c09.jpg","text":"TemporaryFile(/tmp/multipartBody1808122742212726248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783902579,"filename":"image_22112025_04_54_48_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8493879752499efcefa633e3b1606826.jpg","text":"TemporaryFile(/tmp/multipartBody2779608130737950272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783902579,"filename":"image_22112025_04_54_44_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96b3f3f5eea2669d733ffe53c7483b90.jpg","text":"TemporaryFile(/tmp/multipartBody1976373486899939086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783902579,"filename":"image_22112025_04_54_41_15746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e226fabb65dc2d6fd85ebf6b29645b4c.jpg","text":"TemporaryFile(/tmp/multipartBody531705169580621028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763783902579,"filename":"image_22112025_04_54_43_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671364","file1":"1395671361","file0":"1395671359","file4":"1395671371","file5":"1395671374","file3":"1395671368"},"map_files_photo_id_array":[{"photo_id":"1395671374","filename":"file5"},{"photo_id":"1395671364","filename":"file2"},{"photo_id":"1395671371","filename":"file4"},{"photo_id":"1395671361","filename":"file1"},{"photo_id":"1395671359","filename":"file0"},{"photo_id":"1395671368","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671371":["hashtag1","hashtag2"]},{"1395671359":["hashtag1","hashtag2"]},{"1395671374":["hashtag1","hashtag2"]},{"1395671368":["hashtag1","hashtag2"]},{"1395671361":["hashtag1","hashtag2"]},{"1395671364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671371, 1395671359, 1395671374, 1395671368, 1395671361, 1395671364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95572113990784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 04:59:03.295260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_49_1556.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_51_1710.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_53_1664.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_54_1736.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_56_1631.jpg', '/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_58_1770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_49_1556.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_51_1710.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_53_1664.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_54_1736.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_56_1631.jpg
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_54_58_1770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671687","1395671489","1395671648","1395671530","1395671610","1395671570"],"photo_ids_order":["1395671489","1395671530","1395671570","1395671610","1395671648","1395671687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8be0931285a6c12963fd8d620a298506.jpg","text":"TemporaryFile(/tmp/multipartBody3144294901459244005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784004185,"filename":"image_22112025_04_54_58_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80c78a055f25117ba88e16f618590b5c.jpg","text":"TemporaryFile(/tmp/multipartBody4820071826068968789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784004185,"filename":"image_22112025_04_54_49_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e494845bfb5130aeb56e27815f60d06e.jpg","text":"TemporaryFile(/tmp/multipartBody2004639117806964792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784004185,"filename":"image_22112025_04_54_56_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d76158f9fa5945aa314178a9363ecb4.jpg","text":"TemporaryFile(/tmp/multipartBody6095340765300431579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784004185,"filename":"image_22112025_04_54_51_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10511395193d3e17e4c41f3eedbb4206.jpg","text":"TemporaryFile(/tmp/multipartBody8457515679327682199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784004185,"filename":"image_22112025_04_54_54_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0129ce048e0fafdcfbd1b7ffb760a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5320231449111001329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784004185,"filename":"image_22112025_04_54_53_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671570","file1":"1395671530","file0":"1395671489","file4":"1395671648","file5":"1395671687","file3":"1395671610"},"map_files_photo_id_array":[{"photo_id":"1395671687","filename":"file5"},{"photo_id":"1395671570","filename":"file2"},{"photo_id":"1395671648","filename":"file4"},{"photo_id":"1395671530","filename":"file1"},{"photo_id":"1395671489","filename":"file0"},{"photo_id":"1395671610","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671687":["hashtag1","hashtag2"]},{"1395671489":["hashtag1","hashtag2"]},{"1395671648":["hashtag1","hashtag2"]},{"1395671530":["hashtag1","hashtag2"]},{"1395671610":["hashtag1","hashtag2"]},{"1395671570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671687, 1395671489, 1395671648, 1395671530, 1395671610, 1395671570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2643768787384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 04:59:42.262826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/54/image_22112025_04_55_00_2666.jpg', '/home/pi/Desktop/images/22112025/04/55/image_22112025_04_55_04_3754.jpg', '/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_07_3018.jpg', '/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_11_3655.jpg', '/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_13_2386.jpg', '/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_19_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/54/image_22112025_04_55_00_2666.jpg
/home/pi/Desktop/images/22112025/04/55/image_22112025_04_55_04_3754.jpg
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_07_3018.jpg
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_11_3655.jpg
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_13_2386.jpg
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_19_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671740","1395671728","1395671809","1395671775","1395671835","1395671724"],"photo_ids_order":["1395671724","1395671728","1395671740","1395671775","1395671809","1395671835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71dc16c0f6991be4efab4356c597fe22.jpg","text":"TemporaryFile(/tmp/multipartBody7371805972490588494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784042929,"filename":"image_22112025_04_56_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62a13535d2dc4529794e090e2436f8b6.jpg","text":"TemporaryFile(/tmp/multipartBody3238741418905387636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784042929,"filename":"image_22112025_04_55_04_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a4d1366eecf98aadef855d8cd479eb8.jpg","text":"TemporaryFile(/tmp/multipartBody491415099015148060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784042929,"filename":"image_22112025_04_56_13_2386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f09d66e2c02bf05998cc6760a5b28331.jpg","text":"TemporaryFile(/tmp/multipartBody7583628827164874105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784042929,"filename":"image_22112025_04_56_11_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9380e051a43f3b620b4bb75c1cd3ce17.jpg","text":"TemporaryFile(/tmp/multipartBody5664674426771897119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784042929,"filename":"image_22112025_04_56_19_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3f7f601cdc9a7a4f793b4e0676aa1cf.jpg","text":"TemporaryFile(/tmp/multipartBody3222068950382105530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784042929,"filename":"image_22112025_04_55_00_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671740","file1":"1395671728","file0":"1395671724","file4":"1395671809","file5":"1395671835","file3":"1395671775"},"map_files_photo_id_array":[{"photo_id":"1395671835","filename":"file5"},{"photo_id":"1395671740","filename":"file2"},{"photo_id":"1395671809","filename":"file4"},{"photo_id":"1395671728","filename":"file1"},{"photo_id":"1395671724","filename":"file0"},{"photo_id":"1395671775","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671740":["hashtag1","hashtag2"]},{"1395671728":["hashtag1","hashtag2"]},{"1395671809":["hashtag1","hashtag2"]},{"1395671775":["hashtag1","hashtag2"]},{"1395671835":["hashtag1","hashtag2"]},{"1395671724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671740, 1395671728, 1395671809, 1395671775, 1395671835, 1395671724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16280150413513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:00:22.906195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_22_2705.jpg', '/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_29_3606.jpg', '/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_34_2836.jpg', '/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_37_2706.jpg', '/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_41_3513.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_22_2705.jpg
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_29_3606.jpg
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_34_2836.jpg
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_37_2706.jpg
/home/pi/Desktop/images/22112025/04/56/image_22112025_04_56_41_3513.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671900","1395671899","1395671903","1395671887","1395671895","1395671897"],"photo_ids_order":["1395671887","1395671895","1395671897","1395671899","1395671900","1395671903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6a4bc66a15ee2a2776e21f2e509a2b5.jpg","text":"TemporaryFile(/tmp/multipartBody7576775398436337398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784083608,"filename":"image_22112025_04_56_41_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95806db86b38651185fc761c7c6b077c.jpg","text":"TemporaryFile(/tmp/multipartBody4285584746516266754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784083608,"filename":"image_22112025_04_56_37_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a34f74cdc1842c542b24c2a8798cc159.jpg","text":"TemporaryFile(/tmp/multipartBody5818789945746492465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784083608,"filename":"image_22112025_04_58_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff449f17e1ca0e3a32fa3ae70cb6db02.jpg","text":"TemporaryFile(/tmp/multipartBody2822315299244348673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784083608,"filename":"image_22112025_04_56_22_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd870a774ba7399fa7bf71b887ed8280.jpg","text":"TemporaryFile(/tmp/multipartBody780517623283454570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784083608,"filename":"image_22112025_04_56_29_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53bf926678bd13bc2e570ca4e1f49dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3399288639824907550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784083608,"filename":"image_22112025_04_56_34_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671897","file1":"1395671895","file0":"1395671887","file4":"1395671900","file5":"1395671903","file3":"1395671899"},"map_files_photo_id_array":[{"photo_id":"1395671903","filename":"file5"},{"photo_id":"1395671897","filename":"file2"},{"photo_id":"1395671900","filename":"file4"},{"photo_id":"1395671895","filename":"file1"},{"photo_id":"1395671887","filename":"file0"},{"photo_id":"1395671899","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671900":["hashtag1","hashtag2"]},{"1395671899":["hashtag1","hashtag2"]},{"1395671903":["hashtag1","hashtag2"]},{"1395671887":["hashtag1","hashtag2"]},{"1395671895":["hashtag1","hashtag2"]},{"1395671897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671900, 1395671899, 1395671903, 1395671887, 1395671895, 1395671897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.564473390579224 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:01:23.466305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_12_5740.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_14_1778.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_16_1654.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_19_3600.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_22_2782.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_25_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_12_5740.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_14_1778.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_16_1654.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_19_3600.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_22_2782.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_25_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671920","1395671944","1395671923","1395671917","1395671949","1395671934"],"photo_ids_order":["1395671917","1395671920","1395671923","1395671934","1395671944","1395671949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f97dde2a01f36228fb13717f0bb17dd.jpg","text":"TemporaryFile(/tmp/multipartBody8848769757726027308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784144131,"filename":"image_22112025_04_58_14_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e83d0a98f949f5541994587bb27dd7e.jpg","text":"TemporaryFile(/tmp/multipartBody4647120445675640111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784144131,"filename":"image_22112025_04_58_22_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d30270f577890b6046249025265c2e51.jpg","text":"TemporaryFile(/tmp/multipartBody5216702628898594730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784144131,"filename":"image_22112025_04_58_16_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a3495f0c8349c0a58e62e3244546dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7934401263340010629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784144131,"filename":"image_22112025_04_58_12_5740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59048716e27d59d5ca94160d245a0a30.jpg","text":"TemporaryFile(/tmp/multipartBody3119024860650246434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784144131,"filename":"image_22112025_04_58_25_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6419871a9709d963c08f917d5e25254.jpg","text":"TemporaryFile(/tmp/multipartBody8147330732149085560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784144131,"filename":"image_22112025_04_58_19_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671923","file1":"1395671920","file0":"1395671917","file4":"1395671944","file5":"1395671949","file3":"1395671934"},"map_files_photo_id_array":[{"photo_id":"1395671949","filename":"file5"},{"photo_id":"1395671923","filename":"file2"},{"photo_id":"1395671944","filename":"file4"},{"photo_id":"1395671920","filename":"file1"},{"photo_id":"1395671917","filename":"file0"},{"photo_id":"1395671934","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671920":["hashtag1","hashtag2"]},{"1395671944":["hashtag1","hashtag2"]},{"1395671923":["hashtag1","hashtag2"]},{"1395671917":["hashtag1","hashtag2"]},{"1395671949":["hashtag1","hashtag2"]},{"1395671934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671920, 1395671944, 1395671923, 1395671917, 1395671949, 1395671934)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.173861026763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:02:42.242781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_28_3566.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_31_2606.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_34_2618.jpg', '/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_37_3657.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_08_3010.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_11_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_28_3566.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_31_2606.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_34_2618.jpg
/home/pi/Desktop/images/22112025/04/58/image_22112025_04_58_37_3657.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_08_3010.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_11_3587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395671998","1395671995","1395671994","1395671997","1395671999","1395671996"],"photo_ids_order":["1395671994","1395671995","1395671996","1395671997","1395671998","1395671999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/285553338c471f9296bc6c78c2068ed6.jpg","text":"TemporaryFile(/tmp/multipartBody5281024937298243832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784225615,"filename":"image_22112025_05_00_08_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffc39dae1b14110a3a7870bac360c330.jpg","text":"TemporaryFile(/tmp/multipartBody414481063836826202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784225615,"filename":"image_22112025_04_58_31_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba7d0b8057ae60403c12b31071b2e659.jpg","text":"TemporaryFile(/tmp/multipartBody2104379675452313324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784225615,"filename":"image_22112025_04_58_28_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68327e178d8801b782785e6ed9a89077.jpg","text":"TemporaryFile(/tmp/multipartBody5526408923955483571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784225615,"filename":"image_22112025_04_58_37_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d49bb477c37a0d134399fdebb327f52.jpg","text":"TemporaryFile(/tmp/multipartBody5033076297280909988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784225615,"filename":"image_22112025_05_00_11_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6ed03b0daf87e0e17895eb62a251ef1.jpg","text":"TemporaryFile(/tmp/multipartBody4027959952984261961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784225615,"filename":"image_22112025_04_58_34_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395671996","file1":"1395671995","file0":"1395671994","file4":"1395671998","file5":"1395671999","file3":"1395671997"},"map_files_photo_id_array":[{"photo_id":"1395671999","filename":"file5"},{"photo_id":"1395671996","filename":"file2"},{"photo_id":"1395671998","filename":"file4"},{"photo_id":"1395671995","filename":"file1"},{"photo_id":"1395671994","filename":"file0"},{"photo_id":"1395671997","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395671998":["hashtag1","hashtag2"]},{"1395671995":["hashtag1","hashtag2"]},{"1395671994":["hashtag1","hashtag2"]},{"1395671997":["hashtag1","hashtag2"]},{"1395671999":["hashtag1","hashtag2"]},{"1395671996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395671998, 1395671995, 1395671994, 1395671997, 1395671999, 1395671996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06925868988037 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:03:41.991562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_16_4409.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_17_1629.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_20_2720.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_23_2750.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_26_3714.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_29_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_16_4409.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_17_1629.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_20_2720.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_23_2750.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_26_3714.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_29_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395672053","1395672127","1395672198","1395672237","1395672092","1395672164"],"photo_ids_order":["1395672053","1395672092","1395672127","1395672164","1395672198","1395672237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5efbef908725f6f7a8dc96922a3e466d.jpg","text":"TemporaryFile(/tmp/multipartBody8989826532868493411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784282694,"filename":"image_22112025_05_00_16_4409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93ca917ed9c3037d9e7971575ab0eac9.jpg","text":"TemporaryFile(/tmp/multipartBody4072543423650087383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784282694,"filename":"image_22112025_05_00_20_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/814593452d1384e7db40521cad7f11e2.jpg","text":"TemporaryFile(/tmp/multipartBody2788727109080858355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784282694,"filename":"image_22112025_05_00_26_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a18e97df606bc49ac7b6f68bb4abbcf3.jpg","text":"TemporaryFile(/tmp/multipartBody6419778524676936596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784282694,"filename":"image_22112025_05_00_29_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1102736367fd7d3af48c2cedba961d87.jpg","text":"TemporaryFile(/tmp/multipartBody7436108361287645205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784282694,"filename":"image_22112025_05_00_17_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fd7225ba0cd41645b4dee83f0a835f4.jpg","text":"TemporaryFile(/tmp/multipartBody3097401789234608598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784282694,"filename":"image_22112025_05_00_23_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395672127","file1":"1395672092","file0":"1395672053","file4":"1395672198","file5":"1395672237","file3":"1395672164"},"map_files_photo_id_array":[{"photo_id":"1395672237","filename":"file5"},{"photo_id":"1395672127","filename":"file2"},{"photo_id":"1395672198","filename":"file4"},{"photo_id":"1395672092","filename":"file1"},{"photo_id":"1395672053","filename":"file0"},{"photo_id":"1395672164","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395672053":["hashtag1","hashtag2"]},{"1395672127":["hashtag1","hashtag2"]},{"1395672198":["hashtag1","hashtag2"]},{"1395672237":["hashtag1","hashtag2"]},{"1395672092":["hashtag1","hashtag2"]},{"1395672164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395672053, 1395672127, 1395672198, 1395672237, 1395672092, 1395672164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08126378059387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:04:22.180876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_32_2692.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_34_2807.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_38_3596.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_41_2697.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_06_3017.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_10_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_32_2692.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_34_2807.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_38_3596.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_41_2697.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_06_3017.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_10_3717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5602805614471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:04:42.160109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_32_2692.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_34_2807.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_38_3596.jpg', '/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_41_2697.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_06_3017.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_10_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_32_2692.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_34_2807.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_38_3596.jpg
/home/pi/Desktop/images/22112025/05/00/image_22112025_05_00_41_2697.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_06_3017.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_10_3717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395672617","1395672619","1395672561","1395672642","1395672624","1395672599"],"photo_ids_order":["1395672561","1395672599","1395672617","1395672619","1395672624","1395672642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/223610beb5e24095a078b211b06081b1.jpg","text":"TemporaryFile(/tmp/multipartBody4556046267894768193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784342852,"filename":"image_22112025_05_00_38_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26c588511e2fee3063a6311a9be8bfdb.jpg","text":"TemporaryFile(/tmp/multipartBody7775622872771216772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784342852,"filename":"image_22112025_05_00_41_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e110a242886c1c0f88d92992f85ac771.jpg","text":"TemporaryFile(/tmp/multipartBody7652467901912370300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784342852,"filename":"image_22112025_05_00_32_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e84a31e588e8e5be7223c183ca46c06.jpg","text":"TemporaryFile(/tmp/multipartBody8999669330257120730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784342852,"filename":"image_22112025_05_02_10_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8995b5323b18200538556827810934eb.jpg","text":"TemporaryFile(/tmp/multipartBody1255961459917048318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784342852,"filename":"image_22112025_05_02_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/350dd60e886f8c8ee96d57af97343d78.jpg","text":"TemporaryFile(/tmp/multipartBody4754750205665980886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784342852,"filename":"image_22112025_05_00_34_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395672617","file1":"1395672599","file0":"1395672561","file4":"1395672624","file5":"1395672642","file3":"1395672619"},"map_files_photo_id_array":[{"photo_id":"1395672642","filename":"file5"},{"photo_id":"1395672617","filename":"file2"},{"photo_id":"1395672624","filename":"file4"},{"photo_id":"1395672599","filename":"file1"},{"photo_id":"1395672561","filename":"file0"},{"photo_id":"1395672619","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395672617":["hashtag1","hashtag2"]},{"1395672619":["hashtag1","hashtag2"]},{"1395672561":["hashtag1","hashtag2"]},{"1395672642":["hashtag1","hashtag2"]},{"1395672624":["hashtag1","hashtag2"]},{"1395672599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395672617, 1395672619, 1395672561, 1395672642, 1395672624, 1395672599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65053415298462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:05:22.031029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_13_2599.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_25_1573.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_28_2687.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_31_3580.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_34_2639.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_37_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_13_2599.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_25_1573.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_28_2687.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_31_3580.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_34_2639.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_37_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395672806","1395672789","1395672771","1395672765","1395672774","1395672725"],"photo_ids_order":["1395672725","1395672765","1395672771","1395672774","1395672789","1395672806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f544d87af216e855fe4745f1f8350b6.jpg","text":"TemporaryFile(/tmp/multipartBody7387935782782982600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784382734,"filename":"image_22112025_05_02_37_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/207e8c1d6c049072b5ec0ad107d0a8b9.jpg","text":"TemporaryFile(/tmp/multipartBody8385803963609158384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784382734,"filename":"image_22112025_05_02_34_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d98894934b4cac99f89cb9fc8e5cba74.jpg","text":"TemporaryFile(/tmp/multipartBody7919785272933688809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784382734,"filename":"image_22112025_05_02_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea9086a638127c835a2c3b15b56d746f.jpg","text":"TemporaryFile(/tmp/multipartBody718861686959217668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784382734,"filename":"image_22112025_05_02_25_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f1bb8f300436f740a6300af6799449c.jpg","text":"TemporaryFile(/tmp/multipartBody7624169619795779363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784382734,"filename":"image_22112025_05_02_31_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9b2b71eb39f35daf8fb2bbbe390bf50.jpg","text":"TemporaryFile(/tmp/multipartBody8952047309525760079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784382734,"filename":"image_22112025_05_02_13_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395672771","file1":"1395672765","file0":"1395672725","file4":"1395672789","file5":"1395672806","file3":"1395672774"},"map_files_photo_id_array":[{"photo_id":"1395672806","filename":"file5"},{"photo_id":"1395672771","filename":"file2"},{"photo_id":"1395672789","filename":"file4"},{"photo_id":"1395672765","filename":"file1"},{"photo_id":"1395672725","filename":"file0"},{"photo_id":"1395672774","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395672806":["hashtag1","hashtag2"]},{"1395672789":["hashtag1","hashtag2"]},{"1395672771":["hashtag1","hashtag2"]},{"1395672765":["hashtag1","hashtag2"]},{"1395672774":["hashtag1","hashtag2"]},{"1395672725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395672806, 1395672789, 1395672771, 1395672765, 1395672774, 1395672725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97974729537964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:06:02.729644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_40_3599.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_43_2768.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_48_2704.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_52_3781.jpg', '/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_55_2667.jpg', '/home/pi/Desktop/images/22112025/05/03/image_22112025_05_03_01_6216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_40_3599.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_43_2768.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_48_2704.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_52_3781.jpg
/home/pi/Desktop/images/22112025/05/02/image_22112025_05_02_55_2667.jpg
/home/pi/Desktop/images/22112025/05/03/image_22112025_05_03_01_6216.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395673159","1395673257","1395673119","1395673040","1395673195","1395673081"],"photo_ids_order":["1395673040","1395673081","1395673119","1395673159","1395673195","1395673257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ad04fc95bac1fbb6d732b37c8107bfa.jpg","text":"TemporaryFile(/tmp/multipartBody5659858726880729326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784423490,"filename":"image_22112025_05_02_52_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2300c2795fffc4c270dded3e5e91bdfc.jpg","text":"TemporaryFile(/tmp/multipartBody3154302701758476042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784423490,"filename":"image_22112025_05_03_01_6216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54e72209e7ecd5387e8b85554f2d94c9.jpg","text":"TemporaryFile(/tmp/multipartBody1080018131157413752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784423490,"filename":"image_22112025_05_02_48_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/879fd28ba97af6e972698ccc8034e89c.jpg","text":"TemporaryFile(/tmp/multipartBody6566285463823528280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784423490,"filename":"image_22112025_05_02_40_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b7e57cbaa4dc55ef9a7bce16e8bc4de.jpg","text":"TemporaryFile(/tmp/multipartBody259643106693720381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784423490,"filename":"image_22112025_05_02_55_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09f09a8bc394eb2dd5005bc3df7f8bb1.jpg","text":"TemporaryFile(/tmp/multipartBody8176871988272796428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784423490,"filename":"image_22112025_05_02_43_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395673119","file1":"1395673081","file0":"1395673040","file4":"1395673195","file5":"1395673257","file3":"1395673159"},"map_files_photo_id_array":[{"photo_id":"1395673257","filename":"file5"},{"photo_id":"1395673119","filename":"file2"},{"photo_id":"1395673195","filename":"file4"},{"photo_id":"1395673081","filename":"file1"},{"photo_id":"1395673040","filename":"file0"},{"photo_id":"1395673159","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395673159":["hashtag1","hashtag2"]},{"1395673257":["hashtag1","hashtag2"]},{"1395673119":["hashtag1","hashtag2"]},{"1395673040":["hashtag1","hashtag2"]},{"1395673195":["hashtag1","hashtag2"]},{"1395673081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395673159, 1395673257, 1395673119, 1395673040, 1395673195, 1395673081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66383624076843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:06:42.244863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_07_3011.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_11_4267.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_16_4562.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_17_1582.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_21_3448.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_22_1734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_07_3011.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_11_4267.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_16_4562.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_17_1582.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_21_3448.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_22_1734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395673666","1395673525","1395673683","1395673599","1395673563","1395673667"],"photo_ids_order":["1395673525","1395673563","1395673599","1395673666","1395673667","1395673683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/702e25d50eed48c896c886c84a51115a.jpg","text":"TemporaryFile(/tmp/multipartBody8481653067342452336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784462908,"filename":"image_22112025_05_05_17_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b711827c0a02ecd4da02a80d60dbe6f.jpg","text":"TemporaryFile(/tmp/multipartBody3196260770767089403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784462908,"filename":"image_22112025_05_05_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a1cbd097868b7344d61f31a0fec362d.jpg","text":"TemporaryFile(/tmp/multipartBody4599820575422876995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784462908,"filename":"image_22112025_05_05_22_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0058c07f357eac5ccc227819da806d46.jpg","text":"TemporaryFile(/tmp/multipartBody5999679570823342788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784462908,"filename":"image_22112025_05_05_16_4562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/521529031c112a479c863e688cb93998.jpg","text":"TemporaryFile(/tmp/multipartBody3709880870164184901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784462908,"filename":"image_22112025_05_05_11_4267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a407e288340df44c8bce395c7c3913c9.jpg","text":"TemporaryFile(/tmp/multipartBody7866539948446993107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784462908,"filename":"image_22112025_05_05_21_3448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395673599","file1":"1395673563","file0":"1395673525","file4":"1395673667","file5":"1395673683","file3":"1395673666"},"map_files_photo_id_array":[{"photo_id":"1395673683","filename":"file5"},{"photo_id":"1395673599","filename":"file2"},{"photo_id":"1395673667","filename":"file4"},{"photo_id":"1395673563","filename":"file1"},{"photo_id":"1395673525","filename":"file0"},{"photo_id":"1395673666","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395673666":["hashtag1","hashtag2"]},{"1395673525":["hashtag1","hashtag2"]},{"1395673683":["hashtag1","hashtag2"]},{"1395673599":["hashtag1","hashtag2"]},{"1395673563":["hashtag1","hashtag2"]},{"1395673667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395673666, 1395673525, 1395673683, 1395673599, 1395673563, 1395673667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.283682346343994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:07:22.608674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_40_2774.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_43_2577.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_47_3643.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_56_9074.jpg', '/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_57_1526.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_40_2774.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_43_2577.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_47_3643.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_56_9074.jpg
/home/pi/Desktop/images/22112025/05/05/image_22112025_05_05_57_1526.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395673858","1395673837","1395673854","1395673760","1395673891","1395673894"],"photo_ids_order":["1395673760","1395673837","1395673854","1395673858","1395673891","1395673894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81dcc1fa0c85e9a904c743a9ab3a0ec6.jpg","text":"TemporaryFile(/tmp/multipartBody7902911690236589304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784503308,"filename":"image_22112025_05_05_56_9074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b144e7806f6d233d5ca181fdc4d8705.jpg","text":"TemporaryFile(/tmp/multipartBody597259984222551279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784503308,"filename":"image_22112025_05_05_43_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f9e99a8bfa434dcd3b600dfe08e404e.jpg","text":"TemporaryFile(/tmp/multipartBody2796293304915032500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784503308,"filename":"image_22112025_05_05_47_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a6eb3ab135c63ae030b762887c86ca6.jpg","text":"TemporaryFile(/tmp/multipartBody2348283679827077779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784503308,"filename":"image_22112025_05_05_40_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bce8fb1c18884813deb227f24025e838.jpg","text":"TemporaryFile(/tmp/multipartBody7702954880587945735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784503308,"filename":"image_22112025_05_05_57_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b0d2bd04f8196bb8e52ccf36c8b4136.jpg","text":"TemporaryFile(/tmp/multipartBody4881882342326004262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784503308,"filename":"image_22112025_05_07_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395673854","file1":"1395673837","file0":"1395673760","file4":"1395673891","file5":"1395673894","file3":"1395673858"},"map_files_photo_id_array":[{"photo_id":"1395673894","filename":"file5"},{"photo_id":"1395673854","filename":"file2"},{"photo_id":"1395673891","filename":"file4"},{"photo_id":"1395673837","filename":"file1"},{"photo_id":"1395673760","filename":"file0"},{"photo_id":"1395673858","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395673858":["hashtag1","hashtag2"]},{"1395673837":["hashtag1","hashtag2"]},{"1395673854":["hashtag1","hashtag2"]},{"1395673760":["hashtag1","hashtag2"]},{"1395673891":["hashtag1","hashtag2"]},{"1395673894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395673858, 1395673837, 1395673854, 1395673760, 1395673891, 1395673894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11678671836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:08:03.307099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_10_3587.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_13_2523.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_17_3756.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_19_2809.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_22_2631.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_26_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_10_3587.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_13_2523.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_17_3756.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_19_2809.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_22_2631.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_26_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395673942","1395673936","1395673939","1395673935","1395673934","1395673937"],"photo_ids_order":["1395673934","1395673935","1395673936","1395673937","1395673939","1395673942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cec23297f8c326ddbc7d90ad29d66fa.jpg","text":"TemporaryFile(/tmp/multipartBody5943637218632121032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784544005,"filename":"image_22112025_05_07_26_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0129367f9dfc02f85daa6bef7a230040.jpg","text":"TemporaryFile(/tmp/multipartBody273207564592974226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784544005,"filename":"image_22112025_05_07_17_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c092427d231e14f778199d08f02e92c0.jpg","text":"TemporaryFile(/tmp/multipartBody100466682072033875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784544005,"filename":"image_22112025_05_07_22_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/920a14502a98bf9aa77b58b1a032cb7c.jpg","text":"TemporaryFile(/tmp/multipartBody4594824214075902404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784544005,"filename":"image_22112025_05_07_13_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aace3002d0850b7c79f745d2762e015f.jpg","text":"TemporaryFile(/tmp/multipartBody8534119639632057996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784544005,"filename":"image_22112025_05_07_10_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99598963fd4ebda7d90a1bd9e4d2adec.jpg","text":"TemporaryFile(/tmp/multipartBody9151629755199341740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784544005,"filename":"image_22112025_05_07_19_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395673936","file1":"1395673935","file0":"1395673934","file4":"1395673939","file5":"1395673942","file3":"1395673937"},"map_files_photo_id_array":[{"photo_id":"1395673942","filename":"file5"},{"photo_id":"1395673936","filename":"file2"},{"photo_id":"1395673939","filename":"file4"},{"photo_id":"1395673935","filename":"file1"},{"photo_id":"1395673934","filename":"file0"},{"photo_id":"1395673937","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395673942":["hashtag1","hashtag2"]},{"1395673936":["hashtag1","hashtag2"]},{"1395673939":["hashtag1","hashtag2"]},{"1395673935":["hashtag1","hashtag2"]},{"1395673934":["hashtag1","hashtag2"]},{"1395673937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395673942, 1395673936, 1395673939, 1395673935, 1395673934, 1395673937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64450526237488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:08:42.788585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_31_2712.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_37_2693.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_40_2599.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_43_3635.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_46_2674.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_52_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_31_2712.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_37_2693.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_40_2599.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_43_3635.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_46_2674.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_52_3594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395673957","1395673966","1395673965","1395673953","1395673950","1395673952"],"photo_ids_order":["1395673950","1395673952","1395673953","1395673957","1395673965","1395673966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc9fcce8825c8600f38b502d7943a806.jpg","text":"TemporaryFile(/tmp/multipartBody646389460577585261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784583505,"filename":"image_22112025_05_07_43_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf4428f72262ade46f6e4a0badfeabfe.jpg","text":"TemporaryFile(/tmp/multipartBody1210986041132523145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784583505,"filename":"image_22112025_05_07_52_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/484a902a47ea7aa47f10a97ba5f3c421.jpg","text":"TemporaryFile(/tmp/multipartBody2746213221712467065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784583505,"filename":"image_22112025_05_07_46_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9ef69fed672d2aa15182fd1f7205e9c.jpg","text":"TemporaryFile(/tmp/multipartBody918582820568369129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784583505,"filename":"image_22112025_05_07_40_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4871ee5f910c657443c9c30710e2ffca.jpg","text":"TemporaryFile(/tmp/multipartBody5257982052140733324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784583505,"filename":"image_22112025_05_07_31_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bbf51ba0687911e8ae2687c1dad1809.jpg","text":"TemporaryFile(/tmp/multipartBody4928817769916020709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784583505,"filename":"image_22112025_05_07_37_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395673953","file1":"1395673952","file0":"1395673950","file4":"1395673965","file5":"1395673966","file3":"1395673957"},"map_files_photo_id_array":[{"photo_id":"1395673966","filename":"file5"},{"photo_id":"1395673953","filename":"file2"},{"photo_id":"1395673965","filename":"file4"},{"photo_id":"1395673952","filename":"file1"},{"photo_id":"1395673950","filename":"file0"},{"photo_id":"1395673957","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395673957":["hashtag1","hashtag2"]},{"1395673966":["hashtag1","hashtag2"]},{"1395673965":["hashtag1","hashtag2"]},{"1395673953":["hashtag1","hashtag2"]},{"1395673950":["hashtag1","hashtag2"]},{"1395673952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395673957, 1395673966, 1395673965, 1395673953, 1395673950, 1395673952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81884813308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:09:22.095812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_55_2766.jpg', '/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_58_2706.jpg', '/home/pi/Desktop/images/22112025/05/08/image_22112025_05_08_01_2678.jpg', '/home/pi/Desktop/images/22112025/05/08/image_22112025_05_08_04_3677.jpg', '/home/pi/Desktop/images/22112025/05/08/image_22112025_05_08_07_2504.jpg', '/home/pi/Desktop/images/22112025/05/08/image_22112025_05_08_10_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_55_2766.jpg
/home/pi/Desktop/images/22112025/05/07/image_22112025_05_07_58_2706.jpg
/home/pi/Desktop/images/22112025/05/08/image_22112025_05_08_01_2678.jpg
/home/pi/Desktop/images/22112025/05/08/image_22112025_05_08_04_3677.jpg
/home/pi/Desktop/images/22112025/05/08/image_22112025_05_08_07_2504.jpg
/home/pi/Desktop/images/22112025/05/08/image_22112025_05_08_10_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395673984","1395673971","1395673974","1395673968","1395673977","1395673981"],"photo_ids_order":["1395673968","1395673971","1395673974","1395673977","1395673981","1395673984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0538f6d1e3f5b661f8216d1dccc981f9.jpg","text":"TemporaryFile(/tmp/multipartBody8022220100578267087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784622837,"filename":"image_22112025_05_08_10_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/713657b64f99e1ef8546d2ed92944ff1.jpg","text":"TemporaryFile(/tmp/multipartBody6506627896745807431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784622837,"filename":"image_22112025_05_07_58_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/627923c9660db85bdcd858305aa3eeee.jpg","text":"TemporaryFile(/tmp/multipartBody7584323149894895170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784622837,"filename":"image_22112025_05_08_01_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e51c2215ce03df0b5b1c0eeabd0c7620.jpg","text":"TemporaryFile(/tmp/multipartBody7548051446325392130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784622837,"filename":"image_22112025_05_07_55_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c1907d61f878e0dfeff8d56f2c04e27.jpg","text":"TemporaryFile(/tmp/multipartBody4837640917122041209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784622837,"filename":"image_22112025_05_08_04_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cbb1be7e0b7944bc1f68444b2af9ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8029850555113334195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784622837,"filename":"image_22112025_05_08_07_2504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395673974","file1":"1395673971","file0":"1395673968","file4":"1395673981","file5":"1395673984","file3":"1395673977"},"map_files_photo_id_array":[{"photo_id":"1395673984","filename":"file5"},{"photo_id":"1395673974","filename":"file2"},{"photo_id":"1395673981","filename":"file4"},{"photo_id":"1395673971","filename":"file1"},{"photo_id":"1395673968","filename":"file0"},{"photo_id":"1395673977","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395673984":["hashtag1","hashtag2"]},{"1395673971":["hashtag1","hashtag2"]},{"1395673974":["hashtag1","hashtag2"]},{"1395673968":["hashtag1","hashtag2"]},{"1395673977":["hashtag1","hashtag2"]},{"1395673981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395673984, 1395673971, 1395673974, 1395673968, 1395673977, 1395673981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.041303634643555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:10:02.776984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_14_2929.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_16_2586.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_20_3565.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_25_2562.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_29_3643.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_31_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_14_2929.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_16_2586.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_20_3565.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_25_2562.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_29_3643.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_31_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395673989","1395673994","1395673988","1395673991","1395673990","1395673987"],"photo_ids_order":["1395673987","1395673988","1395673989","1395673990","1395673991","1395673994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/951bc5ec941b691db25a654481682a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6027262519304549087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784663552,"filename":"image_22112025_05_09_20_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a86433d22205a9c66fa82b42f5a0e230.jpg","text":"TemporaryFile(/tmp/multipartBody6769946353301007771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784663552,"filename":"image_22112025_05_09_31_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f325be7d90603cb6013d44d62753e422.jpg","text":"TemporaryFile(/tmp/multipartBody2442789480681570663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784663552,"filename":"image_22112025_05_09_16_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75876339581e93dd18c0932460b9c349.jpg","text":"TemporaryFile(/tmp/multipartBody6708222872346556203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784663552,"filename":"image_22112025_05_09_29_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d243263f394d66dcccc85f70a09b3f3.jpg","text":"TemporaryFile(/tmp/multipartBody6005749348073772838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784663552,"filename":"image_22112025_05_09_25_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f44b313656a17b270c22dc2ba1f83949.jpg","text":"TemporaryFile(/tmp/multipartBody2961953155820032495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784663552,"filename":"image_22112025_05_09_14_2929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395673989","file1":"1395673988","file0":"1395673987","file4":"1395673991","file5":"1395673994","file3":"1395673990"},"map_files_photo_id_array":[{"photo_id":"1395673994","filename":"file5"},{"photo_id":"1395673989","filename":"file2"},{"photo_id":"1395673991","filename":"file4"},{"photo_id":"1395673988","filename":"file1"},{"photo_id":"1395673987","filename":"file0"},{"photo_id":"1395673990","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395673989":["hashtag1","hashtag2"]},{"1395673994":["hashtag1","hashtag2"]},{"1395673988":["hashtag1","hashtag2"]},{"1395673991":["hashtag1","hashtag2"]},{"1395673990":["hashtag1","hashtag2"]},{"1395673987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395673989, 1395673994, 1395673988, 1395673991, 1395673990, 1395673987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62325191497803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:10:42.473012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_35_3529.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_38_2554.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_40_2639.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_44_3526.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_46_2638.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_53_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_35_3529.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_38_2554.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_40_2639.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_44_3526.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_46_2638.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_53_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674011","1395674005","1395674008","1395674010","1395674012","1395674009"],"photo_ids_order":["1395674005","1395674008","1395674009","1395674010","1395674011","1395674012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cce577dab84104b801b4a3de92c3889.jpg","text":"TemporaryFile(/tmp/multipartBody6951191862034137090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784703146,"filename":"image_22112025_05_09_46_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c084dcc6a2a44a15e31483e3d7118da6.jpg","text":"TemporaryFile(/tmp/multipartBody750785012531189099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784703146,"filename":"image_22112025_05_09_35_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e19673477cbc86b26dbcbc968038d1f.jpg","text":"TemporaryFile(/tmp/multipartBody8622596648926719178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784703146,"filename":"image_22112025_05_09_38_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7c8ffd29a0561a339243f2c9ee71773.jpg","text":"TemporaryFile(/tmp/multipartBody7187754930614200033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784703146,"filename":"image_22112025_05_09_44_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1aa6873269d03d5ecd8587f3c89df644.jpg","text":"TemporaryFile(/tmp/multipartBody1408728860507186594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784703146,"filename":"image_22112025_05_09_53_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b2675ba2e006e5c3154af255ecfd664.jpg","text":"TemporaryFile(/tmp/multipartBody8204073124142488275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784703146,"filename":"image_22112025_05_09_40_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674009","file1":"1395674008","file0":"1395674005","file4":"1395674011","file5":"1395674012","file3":"1395674010"},"map_files_photo_id_array":[{"photo_id":"1395674012","filename":"file5"},{"photo_id":"1395674009","filename":"file2"},{"photo_id":"1395674011","filename":"file4"},{"photo_id":"1395674008","filename":"file1"},{"photo_id":"1395674005","filename":"file0"},{"photo_id":"1395674010","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674011":["hashtag1","hashtag2"]},{"1395674005":["hashtag1","hashtag2"]},{"1395674008":["hashtag1","hashtag2"]},{"1395674010":["hashtag1","hashtag2"]},{"1395674012":["hashtag1","hashtag2"]},{"1395674009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674011, 1395674005, 1395674008, 1395674010, 1395674012, 1395674009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.400678873062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:11:22.783337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_55_2612.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_59_3664.jpg', '/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_01_2521.jpg', '/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_04_2653.jpg', '/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_08_3638.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_55_2612.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_59_3664.jpg
/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_01_2521.jpg
/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_04_2653.jpg
/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_08_3638.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_07_3017.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.630134105682373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:11:42.742028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_55_2612.jpg', '/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_59_3664.jpg', '/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_01_2521.jpg', '/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_04_2653.jpg', '/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_08_3638.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_55_2612.jpg
/home/pi/Desktop/images/22112025/05/09/image_22112025_05_09_59_3664.jpg
/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_01_2521.jpg
/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_04_2653.jpg
/home/pi/Desktop/images/22112025/05/10/image_22112025_05_10_08_3638.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674034","1395674037","1395674030","1395674033","1395674035","1395674038"],"photo_ids_order":["1395674030","1395674033","1395674034","1395674035","1395674037","1395674038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d4028eb453ca8265bb915c1715f39c2.jpg","text":"TemporaryFile(/tmp/multipartBody4854097990377479506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784763409,"filename":"image_22112025_05_10_01_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53f41dd6a2270a8ecb570aaec16c0aee.jpg","text":"TemporaryFile(/tmp/multipartBody3969575062747716198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784763409,"filename":"image_22112025_05_10_08_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb359956b142097c0228fe9e49b25813.jpg","text":"TemporaryFile(/tmp/multipartBody5576081822938069984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784763409,"filename":"image_22112025_05_09_55_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c14e233784cd829064229af6be6bf314.jpg","text":"TemporaryFile(/tmp/multipartBody7210417930445010381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784763409,"filename":"image_22112025_05_09_59_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dca96595072f2e415b1585523e101d95.jpg","text":"TemporaryFile(/tmp/multipartBody6632218511102119548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784763409,"filename":"image_22112025_05_10_04_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30e2b80bbccc537530d968b41df8afab.jpg","text":"TemporaryFile(/tmp/multipartBody3992988231563236226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784763409,"filename":"image_22112025_05_11_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674034","file1":"1395674033","file0":"1395674030","file4":"1395674037","file5":"1395674038","file3":"1395674035"},"map_files_photo_id_array":[{"photo_id":"1395674038","filename":"file5"},{"photo_id":"1395674034","filename":"file2"},{"photo_id":"1395674037","filename":"file4"},{"photo_id":"1395674033","filename":"file1"},{"photo_id":"1395674030","filename":"file0"},{"photo_id":"1395674035","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674034":["hashtag1","hashtag2"]},{"1395674037":["hashtag1","hashtag2"]},{"1395674030":["hashtag1","hashtag2"]},{"1395674033":["hashtag1","hashtag2"]},{"1395674035":["hashtag1","hashtag2"]},{"1395674038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674034, 1395674037, 1395674030, 1395674033, 1395674035, 1395674038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65426206588745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:12:21.979387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_16_2664.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_22_2705.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_26_3584.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_31_2608.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_34_3617.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_37_2478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_16_2664.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_22_2705.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_26_3584.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_31_2608.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_34_3617.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_37_2478.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674047","1395674057","1395674053","1395674041","1395674050","1395674044"],"photo_ids_order":["1395674041","1395674044","1395674047","1395674050","1395674053","1395674057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe34ebbc5c796c7b65ca1ab86fef9d59.jpg","text":"TemporaryFile(/tmp/multipartBody4391015175492303331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784802712,"filename":"image_22112025_05_11_26_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/619806c3041aa5a33647f106e2f9dbad.jpg","text":"TemporaryFile(/tmp/multipartBody6221915727466497510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784802712,"filename":"image_22112025_05_11_37_2478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0293e5a020d4320f5683ae05174cb21f.jpg","text":"TemporaryFile(/tmp/multipartBody2477062548768299877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784802712,"filename":"image_22112025_05_11_34_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57a3c09b0b0cf7286800440ee67128be.jpg","text":"TemporaryFile(/tmp/multipartBody2307906138977434130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784802712,"filename":"image_22112025_05_11_16_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/114fe9b9d9b5813d785a237a5f30678e.jpg","text":"TemporaryFile(/tmp/multipartBody5164980371969217626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784802712,"filename":"image_22112025_05_11_31_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7af2759cf7b23878769c868072c447e9.jpg","text":"TemporaryFile(/tmp/multipartBody2542760164769762562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784802712,"filename":"image_22112025_05_11_22_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674047","file1":"1395674044","file0":"1395674041","file4":"1395674053","file5":"1395674057","file3":"1395674050"},"map_files_photo_id_array":[{"photo_id":"1395674057","filename":"file5"},{"photo_id":"1395674047","filename":"file2"},{"photo_id":"1395674053","filename":"file4"},{"photo_id":"1395674044","filename":"file1"},{"photo_id":"1395674041","filename":"file0"},{"photo_id":"1395674050","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674047":["hashtag1","hashtag2"]},{"1395674057":["hashtag1","hashtag2"]},{"1395674053":["hashtag1","hashtag2"]},{"1395674041":["hashtag1","hashtag2"]},{"1395674050":["hashtag1","hashtag2"]},{"1395674044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674047, 1395674057, 1395674053, 1395674041, 1395674050, 1395674044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.731475591659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:13:02.883120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_46_2876.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_49_2570.jpg', '/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_58_2667.jpg', '/home/pi/Desktop/images/22112025/05/12/image_22112025_05_12_01_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_46_2876.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_49_2570.jpg
/home/pi/Desktop/images/22112025/05/11/image_22112025_05_11_58_2667.jpg
/home/pi/Desktop/images/22112025/05/12/image_22112025_05_12_01_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674061","1395674058","1395674060","1395674059"],"photo_ids_order":["1395674058","1395674059","1395674060","1395674061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7607c63fa3bac261b7b568e5ab6f998c.jpg","text":"TemporaryFile(/tmp/multipartBody4167054559544380001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784843663,"filename":"image_22112025_05_12_01_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a66f8c0a297212cf29d1a6be6caea26.jpg","text":"TemporaryFile(/tmp/multipartBody1681849864834101039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784843663,"filename":"image_22112025_05_11_46_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e42190f35730a1fbe55ecf7a3631b353.jpg","text":"TemporaryFile(/tmp/multipartBody4662029807967659218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784843663,"filename":"image_22112025_05_11_58_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa99971ad954f5cb1d9b643dcf22a3ef.jpg","text":"TemporaryFile(/tmp/multipartBody7240186058193377751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784843663,"filename":"image_22112025_05_11_49_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674060","file1":"1395674059","file0":"1395674058","file3":"1395674061"},"map_files_photo_id_array":[{"photo_id":"1395674060","filename":"file2"},{"photo_id":"1395674059","filename":"file1"},{"photo_id":"1395674058","filename":"file0"},{"photo_id":"1395674061","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674061":["hashtag1","hashtag2"]},{"1395674058":["hashtag1","hashtag2"]},{"1395674060":["hashtag1","hashtag2"]},{"1395674059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674061, 1395674058, 1395674060, 1395674059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.20706605911255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:13:42.139416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/12/image_22112025_05_12_07_2686.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_10_3771.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_13_2664.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_19_3519.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_21_2510.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_25_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/12/image_22112025_05_12_07_2686.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_10_3771.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_13_2664.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_19_3519.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_21_2510.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_25_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674076","1395674075","1395674078","1395674072","1395674080","1395674077"],"photo_ids_order":["1395674072","1395674075","1395674076","1395674077","1395674078","1395674080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4854eb805b455f3faa76b089774ce4b3.jpg","text":"TemporaryFile(/tmp/multipartBody6734428484796481098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784882821,"filename":"image_22112025_05_13_13_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89765ed3104b14e6fb88a99ea7f933ce.jpg","text":"TemporaryFile(/tmp/multipartBody7676567274858866707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784882821,"filename":"image_22112025_05_13_10_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60a7197833ce997ed6f4bc3319c0ec34.jpg","text":"TemporaryFile(/tmp/multipartBody1616243063645969574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784882821,"filename":"image_22112025_05_13_21_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b5f80e94c85ce25cb91f5b157ff3048.jpg","text":"TemporaryFile(/tmp/multipartBody5469188606383777380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784882821,"filename":"image_22112025_05_12_07_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c569e27fec5f2c9d5124915d9707f69.jpg","text":"TemporaryFile(/tmp/multipartBody8809848774115970141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784882821,"filename":"image_22112025_05_13_25_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25cb983a48fd844054c21cef1a9d2b75.jpg","text":"TemporaryFile(/tmp/multipartBody5118148107142544386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784882821,"filename":"image_22112025_05_13_19_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674076","file1":"1395674075","file0":"1395674072","file4":"1395674078","file5":"1395674080","file3":"1395674077"},"map_files_photo_id_array":[{"photo_id":"1395674080","filename":"file5"},{"photo_id":"1395674076","filename":"file2"},{"photo_id":"1395674078","filename":"file4"},{"photo_id":"1395674075","filename":"file1"},{"photo_id":"1395674072","filename":"file0"},{"photo_id":"1395674077","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674076":["hashtag1","hashtag2"]},{"1395674075":["hashtag1","hashtag2"]},{"1395674078":["hashtag1","hashtag2"]},{"1395674072":["hashtag1","hashtag2"]},{"1395674080":["hashtag1","hashtag2"]},{"1395674077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674076, 1395674075, 1395674078, 1395674072, 1395674080, 1395674077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17334604263306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:14:21.878718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_28_2635.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_30_2657.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_34_3720.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_37_2648.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_39_2767.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_43_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_28_2635.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_30_2657.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_34_3720.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_37_2648.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_39_2767.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_43_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674110","1395674087","1395674090","1395674084","1395674098","1395674092"],"photo_ids_order":["1395674084","1395674087","1395674090","1395674092","1395674098","1395674110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1575bf555bd0f69d1d6f9c3cf9c10960.jpg","text":"TemporaryFile(/tmp/multipartBody2134948606883737260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784922586,"filename":"image_22112025_05_13_43_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/821221c9390116ac8617d5f0f65b56a2.jpg","text":"TemporaryFile(/tmp/multipartBody1764079543037394893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784922586,"filename":"image_22112025_05_13_30_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8056270186fe28b4c25a83d07c26ee72.jpg","text":"TemporaryFile(/tmp/multipartBody7806580060921787527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784922586,"filename":"image_22112025_05_13_34_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/614cc1d3a97851c2db068e51a730959f.jpg","text":"TemporaryFile(/tmp/multipartBody4913172866780956074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784922586,"filename":"image_22112025_05_13_28_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc56305df0e735da0366398bd59e8dd4.jpg","text":"TemporaryFile(/tmp/multipartBody1293557710848695280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784922586,"filename":"image_22112025_05_13_39_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17d5d2cb2dd0d3efe6891f38cd4115c4.jpg","text":"TemporaryFile(/tmp/multipartBody7156395670565330672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784922586,"filename":"image_22112025_05_13_37_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674090","file1":"1395674087","file0":"1395674084","file4":"1395674098","file5":"1395674110","file3":"1395674092"},"map_files_photo_id_array":[{"photo_id":"1395674110","filename":"file5"},{"photo_id":"1395674090","filename":"file2"},{"photo_id":"1395674098","filename":"file4"},{"photo_id":"1395674087","filename":"file1"},{"photo_id":"1395674084","filename":"file0"},{"photo_id":"1395674092","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674110":["hashtag1","hashtag2"]},{"1395674087":["hashtag1","hashtag2"]},{"1395674090":["hashtag1","hashtag2"]},{"1395674084":["hashtag1","hashtag2"]},{"1395674098":["hashtag1","hashtag2"]},{"1395674092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674110, 1395674087, 1395674090, 1395674084, 1395674098, 1395674092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17345428466797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:15:02.622553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_46_2800.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_48_2637.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_51_2830.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_55_3663.jpg', '/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_58_2606.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_01_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_46_2800.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_48_2637.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_51_2830.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_55_3663.jpg
/home/pi/Desktop/images/22112025/05/13/image_22112025_05_13_58_2606.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_01_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674113","1395674121","1395674115","1395674118","1395674114","1395674116"],"photo_ids_order":["1395674113","1395674114","1395674115","1395674116","1395674118","1395674121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/449a76f4d6c3fb427d570ef571e77871.jpg","text":"TemporaryFile(/tmp/multipartBody5262324981455074903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784963386,"filename":"image_22112025_05_13_46_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e55dcc01996ca7078915c8301e2340b4.jpg","text":"TemporaryFile(/tmp/multipartBody1649212891915804328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784963386,"filename":"image_22112025_05_14_01_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe521c7d2e26b8c887d4859ad3fb2b91.jpg","text":"TemporaryFile(/tmp/multipartBody9006315268414492652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784963386,"filename":"image_22112025_05_13_51_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c5b657ecb291fc7e1fe29d414129935.jpg","text":"TemporaryFile(/tmp/multipartBody1462183148633618426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784963386,"filename":"image_22112025_05_13_58_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/681b3948bdc91c824540c86e8661ce70.jpg","text":"TemporaryFile(/tmp/multipartBody8248943197341736863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784963386,"filename":"image_22112025_05_13_48_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ee4e959a4c23b3ce80f8645b68a1383.jpg","text":"TemporaryFile(/tmp/multipartBody2231991331284142304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763784963386,"filename":"image_22112025_05_13_55_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674115","file1":"1395674114","file0":"1395674113","file4":"1395674118","file5":"1395674121","file3":"1395674116"},"map_files_photo_id_array":[{"photo_id":"1395674121","filename":"file5"},{"photo_id":"1395674115","filename":"file2"},{"photo_id":"1395674118","filename":"file4"},{"photo_id":"1395674114","filename":"file1"},{"photo_id":"1395674113","filename":"file0"},{"photo_id":"1395674116","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674113":["hashtag1","hashtag2"]},{"1395674121":["hashtag1","hashtag2"]},{"1395674115":["hashtag1","hashtag2"]},{"1395674118":["hashtag1","hashtag2"]},{"1395674114":["hashtag1","hashtag2"]},{"1395674116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674113, 1395674121, 1395674115, 1395674118, 1395674114, 1395674116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.810205936431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:15:42.044535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_04_2611.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_06_2512.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_10_3702.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_13_2626.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_28_3710.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_31_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_04_2611.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_06_2512.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_10_3702.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_13_2626.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_28_3710.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_31_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674133","1395674136","1395674130","1395674135","1395674134","1395674137"],"photo_ids_order":["1395674130","1395674133","1395674134","1395674135","1395674136","1395674137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33c00ddf9fb3c741b746b1a78b16917a.jpg","text":"TemporaryFile(/tmp/multipartBody589628970496965744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785002717,"filename":"image_22112025_05_14_06_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b156129443aa0118d8fdb6cc172f1542.jpg","text":"TemporaryFile(/tmp/multipartBody6863425188073734613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785002717,"filename":"image_22112025_05_14_28_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c720757f8509cb3fd0b7de6fc1e4409.jpg","text":"TemporaryFile(/tmp/multipartBody6247479401659400797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785002717,"filename":"image_22112025_05_14_04_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbe746b1e5ed664a4929cd8b2fbbde9b.jpg","text":"TemporaryFile(/tmp/multipartBody272932482020903901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785002717,"filename":"image_22112025_05_14_13_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55b4a946f99d4e0a6931a96ef614c225.jpg","text":"TemporaryFile(/tmp/multipartBody8993120592162676435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785002717,"filename":"image_22112025_05_14_10_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e669d8dc28357f693ec7c3423464e34.jpg","text":"TemporaryFile(/tmp/multipartBody5196726122894103112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785002717,"filename":"image_22112025_05_14_31_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674134","file1":"1395674133","file0":"1395674130","file4":"1395674136","file5":"1395674137","file3":"1395674135"},"map_files_photo_id_array":[{"photo_id":"1395674137","filename":"file5"},{"photo_id":"1395674134","filename":"file2"},{"photo_id":"1395674136","filename":"file4"},{"photo_id":"1395674133","filename":"file1"},{"photo_id":"1395674130","filename":"file0"},{"photo_id":"1395674135","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674133":["hashtag1","hashtag2"]},{"1395674136":["hashtag1","hashtag2"]},{"1395674130":["hashtag1","hashtag2"]},{"1395674135":["hashtag1","hashtag2"]},{"1395674134":["hashtag1","hashtag2"]},{"1395674137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674133, 1395674136, 1395674130, 1395674135, 1395674134, 1395674137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83228158950806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:16:22.258419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_34_3000.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_36_2589.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_45_2665.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_48_2714.jpg', '/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_52_3651.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_34_3000.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_36_2589.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_45_2665.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_48_2714.jpg
/home/pi/Desktop/images/22112025/05/14/image_22112025_05_14_52_3651.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674145","1395674148","1395674142","1395674150","1395674155","1395674140"],"photo_ids_order":["1395674140","1395674142","1395674145","1395674148","1395674150","1395674155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71fb0af7792ed7aa4f456e5bd6c202f4.jpg","text":"TemporaryFile(/tmp/multipartBody6763151463003527411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785042996,"filename":"image_22112025_05_14_45_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e1acc1c35e9c1d5b08f6343b4dc7fc8.jpg","text":"TemporaryFile(/tmp/multipartBody8961142459658402605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785042996,"filename":"image_22112025_05_14_48_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9fa49f63423732d543704ec85dbd93c.jpg","text":"TemporaryFile(/tmp/multipartBody6818562153236825495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785042996,"filename":"image_22112025_05_14_36_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27116d162e3f3a1f15be7af8830fe404.jpg","text":"TemporaryFile(/tmp/multipartBody2913888389117996912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785042996,"filename":"image_22112025_05_14_52_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/870db30f193fe6454655723177ccdef5.jpg","text":"TemporaryFile(/tmp/multipartBody3281996405024871518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785042996,"filename":"image_22112025_05_16_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c455cedc91fc016d89d3e8d1ac9a5922.jpg","text":"TemporaryFile(/tmp/multipartBody80070240488017817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785042996,"filename":"image_22112025_05_14_34_3000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674145","file1":"1395674142","file0":"1395674140","file4":"1395674150","file5":"1395674155","file3":"1395674148"},"map_files_photo_id_array":[{"photo_id":"1395674155","filename":"file5"},{"photo_id":"1395674145","filename":"file2"},{"photo_id":"1395674150","filename":"file4"},{"photo_id":"1395674142","filename":"file1"},{"photo_id":"1395674140","filename":"file0"},{"photo_id":"1395674148","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674145":["hashtag1","hashtag2"]},{"1395674148":["hashtag1","hashtag2"]},{"1395674142":["hashtag1","hashtag2"]},{"1395674150":["hashtag1","hashtag2"]},{"1395674155":["hashtag1","hashtag2"]},{"1395674140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674145, 1395674148, 1395674142, 1395674150, 1395674155, 1395674140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17350459098816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:17:03.170283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_13_2618.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_16_2698.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_22_2671.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_25_2699.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_28_3659.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_34_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_13_2618.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_16_2698.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_22_2671.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_25_2699.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_28_3659.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_34_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674163","1395674166","1395674169","1395674160","1395674162","1395674164"],"photo_ids_order":["1395674160","1395674162","1395674163","1395674164","1395674166","1395674169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ace643271b236f5e42b8446956219786.jpg","text":"TemporaryFile(/tmp/multipartBody3035507903293954673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785083941,"filename":"image_22112025_05_16_22_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a6d5a0367a3e1f344b80a3f0c7b059f.jpg","text":"TemporaryFile(/tmp/multipartBody1469245035226088764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785083941,"filename":"image_22112025_05_16_28_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f062376effec4f4e7901bafe469ac70.jpg","text":"TemporaryFile(/tmp/multipartBody746971911612100985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785083941,"filename":"image_22112025_05_16_34_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aaf47f95e904dd5790a47db31ecef57c.jpg","text":"TemporaryFile(/tmp/multipartBody5875328069914231865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785083941,"filename":"image_22112025_05_16_13_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6c0b8034d0698284da8092226444ac0.jpg","text":"TemporaryFile(/tmp/multipartBody9135915190717207245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785083941,"filename":"image_22112025_05_16_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6538fa183fea67ffe4077f05352755e8.jpg","text":"TemporaryFile(/tmp/multipartBody9185227737545007633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785083941,"filename":"image_22112025_05_16_25_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674163","file1":"1395674162","file0":"1395674160","file4":"1395674166","file5":"1395674169","file3":"1395674164"},"map_files_photo_id_array":[{"photo_id":"1395674169","filename":"file5"},{"photo_id":"1395674163","filename":"file2"},{"photo_id":"1395674166","filename":"file4"},{"photo_id":"1395674162","filename":"file1"},{"photo_id":"1395674160","filename":"file0"},{"photo_id":"1395674164","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674163":["hashtag1","hashtag2"]},{"1395674166":["hashtag1","hashtag2"]},{"1395674169":["hashtag1","hashtag2"]},{"1395674160":["hashtag1","hashtag2"]},{"1395674162":["hashtag1","hashtag2"]},{"1395674164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674163, 1395674166, 1395674169, 1395674160, 1395674162, 1395674164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.284833669662476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:17:42.612805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_37_3640.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_40_2609.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_44_3613.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_46_2533.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_49_2606.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_55_2871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_37_3640.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_40_2609.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_44_3613.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_46_2533.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_49_2606.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_55_2871.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.562744140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:18:02.436641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_37_3640.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_40_2609.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_44_3613.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_46_2533.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_49_2606.jpg', '/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_55_2871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_37_3640.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_40_2609.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_44_3613.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_46_2533.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_49_2606.jpg
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_55_2871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674187","1395674186","1395674189","1395674191","1395674194","1395674188"],"photo_ids_order":["1395674186","1395674187","1395674188","1395674189","1395674191","1395674194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d22b128dc20dc944419afdb75d113281.jpg","text":"TemporaryFile(/tmp/multipartBody272261233340522166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785143111,"filename":"image_22112025_05_16_40_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/808a760ca1e125bf05cca9b85fba1ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1365640924563165737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785143111,"filename":"image_22112025_05_16_37_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f05f4b6c28479d04fdd49d69939bbd4.jpg","text":"TemporaryFile(/tmp/multipartBody866629143373931305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785143111,"filename":"image_22112025_05_16_46_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/417562e806bc6607aa397dcbef55c3bf.jpg","text":"TemporaryFile(/tmp/multipartBody3754913240500265792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785143111,"filename":"image_22112025_05_16_49_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c80c8fbedb6ea3f7247bc1e85aec5464.jpg","text":"TemporaryFile(/tmp/multipartBody8104326076983925283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785143111,"filename":"image_22112025_05_16_55_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e8906c0a7025ab27c574a8110458349.jpg","text":"TemporaryFile(/tmp/multipartBody8097759450125996107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785143111,"filename":"image_22112025_05_16_44_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674188","file1":"1395674187","file0":"1395674186","file4":"1395674191","file5":"1395674194","file3":"1395674189"},"map_files_photo_id_array":[{"photo_id":"1395674194","filename":"file5"},{"photo_id":"1395674188","filename":"file2"},{"photo_id":"1395674191","filename":"file4"},{"photo_id":"1395674187","filename":"file1"},{"photo_id":"1395674186","filename":"file0"},{"photo_id":"1395674189","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674187":["hashtag1","hashtag2"]},{"1395674186":["hashtag1","hashtag2"]},{"1395674189":["hashtag1","hashtag2"]},{"1395674191":["hashtag1","hashtag2"]},{"1395674194":["hashtag1","hashtag2"]},{"1395674188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674187, 1395674186, 1395674189, 1395674191, 1395674194, 1395674188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50521540641785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:18:41.874806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_58_2676.jpg', '/home/pi/Desktop/images/22112025/05/17/image_22112025_05_17_01_2831.jpg', '/home/pi/Desktop/images/22112025/05/17/image_22112025_05_17_05_3732.jpg', '/home/pi/Desktop/images/22112025/05/17/image_22112025_05_17_08_2906.jpg', '/home/pi/Desktop/images/22112025/05/17/image_22112025_05_17_10_2572.jpg', '/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/16/image_22112025_05_16_58_2676.jpg
/home/pi/Desktop/images/22112025/05/17/image_22112025_05_17_01_2831.jpg
/home/pi/Desktop/images/22112025/05/17/image_22112025_05_17_05_3732.jpg
/home/pi/Desktop/images/22112025/05/17/image_22112025_05_17_08_2906.jpg
/home/pi/Desktop/images/22112025/05/17/image_22112025_05_17_10_2572.jpg
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_07_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674212","1395674206","1395674209","1395674214","1395674211","1395674210"],"photo_ids_order":["1395674206","1395674209","1395674210","1395674211","1395674212","1395674214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ea4d80df3e2478d10ba2f7d817fa3f9.jpg","text":"TemporaryFile(/tmp/multipartBody3532975235572978505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785182540,"filename":"image_22112025_05_17_10_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06b25f798c91da25cf86fcd78d684178.jpg","text":"TemporaryFile(/tmp/multipartBody6576479382028519946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785182540,"filename":"image_22112025_05_16_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/334345429e0370af93cf638dad52be22.jpg","text":"TemporaryFile(/tmp/multipartBody5091812153577060225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785182540,"filename":"image_22112025_05_17_01_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2671df03b6a090ce53960d74d6e4ede.jpg","text":"TemporaryFile(/tmp/multipartBody414423621980272260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785182540,"filename":"image_22112025_05_18_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0735cead136a28a611eab755ae5295d.jpg","text":"TemporaryFile(/tmp/multipartBody3235728751113176221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785182540,"filename":"image_22112025_05_17_08_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09d2fad025dbab93211ce9dc99d4c2db.jpg","text":"TemporaryFile(/tmp/multipartBody8442883490962854642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785182540,"filename":"image_22112025_05_17_05_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674210","file1":"1395674209","file0":"1395674206","file4":"1395674212","file5":"1395674214","file3":"1395674211"},"map_files_photo_id_array":[{"photo_id":"1395674214","filename":"file5"},{"photo_id":"1395674210","filename":"file2"},{"photo_id":"1395674212","filename":"file4"},{"photo_id":"1395674209","filename":"file1"},{"photo_id":"1395674206","filename":"file0"},{"photo_id":"1395674211","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674212":["hashtag1","hashtag2"]},{"1395674206":["hashtag1","hashtag2"]},{"1395674209":["hashtag1","hashtag2"]},{"1395674214":["hashtag1","hashtag2"]},{"1395674211":["hashtag1","hashtag2"]},{"1395674210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674212, 1395674206, 1395674209, 1395674214, 1395674211, 1395674210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.621175050735474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:19:22.066025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_11_3652.jpg', '/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_16_2572.jpg', '/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_20_3580.jpg', '/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_47_3684.jpg', '/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_50_2624.jpg', '/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_56_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_11_3652.jpg
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_16_2572.jpg
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_20_3580.jpg
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_47_3684.jpg
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_50_2624.jpg
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_56_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674230","1395674224","1395674227","1395674232","1395674217","1395674221"],"photo_ids_order":["1395674217","1395674221","1395674224","1395674227","1395674230","1395674232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c4040985e203bd7a509570ae99c06cb.jpg","text":"TemporaryFile(/tmp/multipartBody4503736730116857426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785222770,"filename":"image_22112025_05_18_50_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/736cbab7e7098640555b5f81e4169708.jpg","text":"TemporaryFile(/tmp/multipartBody6278868529166420963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785222770,"filename":"image_22112025_05_18_20_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0699809c4e2d8d5eae4248cfc8374c27.jpg","text":"TemporaryFile(/tmp/multipartBody8823420644239500125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785222770,"filename":"image_22112025_05_18_47_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dbf718832e0028472834b5f0f193cd4.jpg","text":"TemporaryFile(/tmp/multipartBody7727272199783571295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785222770,"filename":"image_22112025_05_18_56_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e3162a5e7b5a12c17ec83571a1effa7.jpg","text":"TemporaryFile(/tmp/multipartBody6381318667664363603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785222770,"filename":"image_22112025_05_18_11_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a50bbeb77e1717e371ee6058a5b63350.jpg","text":"TemporaryFile(/tmp/multipartBody9082110001131540647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785222770,"filename":"image_22112025_05_18_16_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674224","file1":"1395674221","file0":"1395674217","file4":"1395674230","file5":"1395674232","file3":"1395674227"},"map_files_photo_id_array":[{"photo_id":"1395674232","filename":"file5"},{"photo_id":"1395674224","filename":"file2"},{"photo_id":"1395674230","filename":"file4"},{"photo_id":"1395674221","filename":"file1"},{"photo_id":"1395674217","filename":"file0"},{"photo_id":"1395674227","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674230":["hashtag1","hashtag2"]},{"1395674224":["hashtag1","hashtag2"]},{"1395674227":["hashtag1","hashtag2"]},{"1395674232":["hashtag1","hashtag2"]},{"1395674217":["hashtag1","hashtag2"]},{"1395674221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674230, 1395674224, 1395674227, 1395674232, 1395674217, 1395674221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0783576965332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:20:04.333455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_59_2785.jpg', '/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_01_2532.jpg', '/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_05_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_59_2785.jpg
/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_01_2532.jpg
/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_05_3638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5061671733856201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:20:23.882141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_59_2785.jpg', '/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_01_2532.jpg', '/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_05_3638.jpg', '/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_08_2567.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_07_3014.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_11_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/18/image_22112025_05_18_59_2785.jpg
/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_01_2532.jpg
/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_05_3638.jpg
/home/pi/Desktop/images/22112025/05/19/image_22112025_05_19_08_2567.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_07_3014.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_11_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674253","1395674249","1395674240","1395674243","1395674246","1395674251"],"photo_ids_order":["1395674240","1395674243","1395674246","1395674249","1395674251","1395674253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b645f205c5cb5c44541e03cb49d22ea6.jpg","text":"TemporaryFile(/tmp/multipartBody1434506181446420672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785284587,"filename":"image_22112025_05_20_11_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0c5fdc9c6cdf732fc21e3145ace23fa.jpg","text":"TemporaryFile(/tmp/multipartBody1153435959703376809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785284587,"filename":"image_22112025_05_19_08_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cad485d2f0fae7f790f88879645e46f4.jpg","text":"TemporaryFile(/tmp/multipartBody1568173407660642542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785284587,"filename":"image_22112025_05_18_59_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8264f8f9b61d552855635a9e38b9303.jpg","text":"TemporaryFile(/tmp/multipartBody6793564027847946990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785284587,"filename":"image_22112025_05_19_01_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed97fe2a91203387000db0ccfe9ad524.jpg","text":"TemporaryFile(/tmp/multipartBody4277101270579122348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785284587,"filename":"image_22112025_05_19_05_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d57faa9ce02b22686b2f657ae2e4ed4f.jpg","text":"TemporaryFile(/tmp/multipartBody7650822100283527286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785284587,"filename":"image_22112025_05_20_07_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674246","file1":"1395674243","file0":"1395674240","file4":"1395674251","file5":"1395674253","file3":"1395674249"},"map_files_photo_id_array":[{"photo_id":"1395674253","filename":"file5"},{"photo_id":"1395674246","filename":"file2"},{"photo_id":"1395674251","filename":"file4"},{"photo_id":"1395674243","filename":"file1"},{"photo_id":"1395674240","filename":"file0"},{"photo_id":"1395674249","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674253":["hashtag1","hashtag2"]},{"1395674249":["hashtag1","hashtag2"]},{"1395674240":["hashtag1","hashtag2"]},{"1395674243":["hashtag1","hashtag2"]},{"1395674246":["hashtag1","hashtag2"]},{"1395674251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674253, 1395674249, 1395674240, 1395674243, 1395674246, 1395674251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90035080909729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:21:02.466505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_13_2659.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_16_2692.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_20_3834.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_22_2480.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_25_2759.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_31_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_13_2659.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_16_2692.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_20_3834.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_22_2480.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_25_2759.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_31_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674262","1395674256","1395674259","1395674255","1395674254","1395674257"],"photo_ids_order":["1395674254","1395674255","1395674256","1395674257","1395674259","1395674262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d79cb726ebde078986278e1e551e0ee.jpg","text":"TemporaryFile(/tmp/multipartBody3762093924958384133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785323219,"filename":"image_22112025_05_20_31_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1e3977ba767a1e8b3598e2eea6451c1.jpg","text":"TemporaryFile(/tmp/multipartBody1558324415485972481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785323219,"filename":"image_22112025_05_20_20_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c51e6db700ab32606e9fb721a5432c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7977175231810864334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785323219,"filename":"image_22112025_05_20_25_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be271006566d0897160d4e13587a15a2.jpg","text":"TemporaryFile(/tmp/multipartBody769267865449981671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785323219,"filename":"image_22112025_05_20_16_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae42c2726360bce114810858e54c9c81.jpg","text":"TemporaryFile(/tmp/multipartBody7607821845865221159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785323219,"filename":"image_22112025_05_20_13_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96417519e06da5b27e8b1f9cc1b201b5.jpg","text":"TemporaryFile(/tmp/multipartBody7587966743382201101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785323219,"filename":"image_22112025_05_20_22_2480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674256","file1":"1395674255","file0":"1395674254","file4":"1395674259","file5":"1395674262","file3":"1395674257"},"map_files_photo_id_array":[{"photo_id":"1395674262","filename":"file5"},{"photo_id":"1395674256","filename":"file2"},{"photo_id":"1395674259","filename":"file4"},{"photo_id":"1395674255","filename":"file1"},{"photo_id":"1395674254","filename":"file0"},{"photo_id":"1395674257","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674262":["hashtag1","hashtag2"]},{"1395674256":["hashtag1","hashtag2"]},{"1395674259":["hashtag1","hashtag2"]},{"1395674255":["hashtag1","hashtag2"]},{"1395674254":["hashtag1","hashtag2"]},{"1395674257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674262, 1395674256, 1395674259, 1395674255, 1395674254, 1395674257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24304008483887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:21:41.799732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_34_2527.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_38_3811.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_40_2699.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_43_2542.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_47_3590.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_49_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_34_2527.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_38_3811.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_40_2699.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_43_2542.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_47_3590.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_49_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674286","1395674273","1395674279","1395674270","1395674278","1395674281"],"photo_ids_order":["1395674270","1395674273","1395674278","1395674279","1395674281","1395674286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48d57ba1290c863d2ddead76a295174f.jpg","text":"TemporaryFile(/tmp/multipartBody4408966188765377228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785362497,"filename":"image_22112025_05_20_49_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f000b6d6e1e78b19658e2b04524b683.jpg","text":"TemporaryFile(/tmp/multipartBody1271496621276846775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785362497,"filename":"image_22112025_05_20_38_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd03a4a633a30a853fc831d5412a757f.jpg","text":"TemporaryFile(/tmp/multipartBody3957551975893537648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785362497,"filename":"image_22112025_05_20_43_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b794b75719a657d90864640dfa8dd9c0.jpg","text":"TemporaryFile(/tmp/multipartBody980620532493599676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785362497,"filename":"image_22112025_05_20_34_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/663302bf9ff5a89b09f9b9b8d6aae53e.jpg","text":"TemporaryFile(/tmp/multipartBody857912011773346240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785362497,"filename":"image_22112025_05_20_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b40f7473278b47f1d1bc3f97fa77f315.jpg","text":"TemporaryFile(/tmp/multipartBody5325912510661929016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785362497,"filename":"image_22112025_05_20_47_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674278","file1":"1395674273","file0":"1395674270","file4":"1395674281","file5":"1395674286","file3":"1395674279"},"map_files_photo_id_array":[{"photo_id":"1395674286","filename":"file5"},{"photo_id":"1395674278","filename":"file2"},{"photo_id":"1395674281","filename":"file4"},{"photo_id":"1395674273","filename":"file1"},{"photo_id":"1395674270","filename":"file0"},{"photo_id":"1395674279","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674286":["hashtag1","hashtag2"]},{"1395674273":["hashtag1","hashtag2"]},{"1395674279":["hashtag1","hashtag2"]},{"1395674270":["hashtag1","hashtag2"]},{"1395674278":["hashtag1","hashtag2"]},{"1395674281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674286, 1395674273, 1395674279, 1395674270, 1395674278, 1395674281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79704141616821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:22:22.000452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_52_2642.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_56_3720.jpg', '/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_58_2546.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_05_1519.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_10_2625.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_13_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_52_2642.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_56_3720.jpg
/home/pi/Desktop/images/22112025/05/20/image_22112025_05_20_58_2546.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_05_1519.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_10_2625.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_13_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674316","1395674301","1395674321","1395674303","1395674296","1395674309"],"photo_ids_order":["1395674296","1395674301","1395674303","1395674309","1395674316","1395674321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a92c23501a0d49e2ddfa18de033c0638.jpg","text":"TemporaryFile(/tmp/multipartBody5877748141342695999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785402685,"filename":"image_22112025_05_21_10_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f16e5fbe4f5f614c07c89751c0c8e824.jpg","text":"TemporaryFile(/tmp/multipartBody7551908182609868905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785402685,"filename":"image_22112025_05_20_56_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ad3f2cb803090b3965d26dc6fcb89e0.jpg","text":"TemporaryFile(/tmp/multipartBody1777613933939443852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785402685,"filename":"image_22112025_05_21_13_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09f1a1a7a24791f9ff6231651ac8188f.jpg","text":"TemporaryFile(/tmp/multipartBody6187492878588140768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785402685,"filename":"image_22112025_05_20_58_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/554548f5a4f35276081030baa45f92b3.jpg","text":"TemporaryFile(/tmp/multipartBody6091926357770788992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785402685,"filename":"image_22112025_05_20_52_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9c21c5b8691d0c841549ead0dcab6a7.jpg","text":"TemporaryFile(/tmp/multipartBody6780654879120347873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785402685,"filename":"image_22112025_05_21_05_1519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674303","file1":"1395674301","file0":"1395674296","file4":"1395674316","file5":"1395674321","file3":"1395674309"},"map_files_photo_id_array":[{"photo_id":"1395674321","filename":"file5"},{"photo_id":"1395674303","filename":"file2"},{"photo_id":"1395674316","filename":"file4"},{"photo_id":"1395674301","filename":"file1"},{"photo_id":"1395674296","filename":"file0"},{"photo_id":"1395674309","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674316":["hashtag1","hashtag2"]},{"1395674301":["hashtag1","hashtag2"]},{"1395674321":["hashtag1","hashtag2"]},{"1395674303":["hashtag1","hashtag2"]},{"1395674296":["hashtag1","hashtag2"]},{"1395674309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674316, 1395674301, 1395674321, 1395674303, 1395674296, 1395674309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.396718978881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:23:02.541741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_19_2775.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_22_2738.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_25_2823.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_29_3533.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_31_2482.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_35_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_19_2775.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_22_2738.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_25_2823.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_29_3533.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_31_2482.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_35_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674361","1395674364","1395674367","1395674359","1395674362","1395674356"],"photo_ids_order":["1395674356","1395674359","1395674361","1395674362","1395674364","1395674367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c0ee58106259e9551f9dc4cf6a7af08.jpg","text":"TemporaryFile(/tmp/multipartBody6973884403858352647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785443297,"filename":"image_22112025_05_21_25_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/104b86e2105619bb0a6625fb9b72da07.jpg","text":"TemporaryFile(/tmp/multipartBody2929671730489984549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785443297,"filename":"image_22112025_05_21_31_2482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d83513db2f02b346b5ccbdcbbf83a5e1.jpg","text":"TemporaryFile(/tmp/multipartBody4474594232735086535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785443297,"filename":"image_22112025_05_21_35_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02e5c847f3695094ecc6d93f4ea47f90.jpg","text":"TemporaryFile(/tmp/multipartBody1527908350624307244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785443297,"filename":"image_22112025_05_21_22_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c454cb9bf70946f56b89c71959814e9.jpg","text":"TemporaryFile(/tmp/multipartBody785528300535504434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785443297,"filename":"image_22112025_05_21_29_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/741d5e092c6fb12aed5e2cfaa09cac2b.jpg","text":"TemporaryFile(/tmp/multipartBody646920706731852918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785443297,"filename":"image_22112025_05_21_19_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674361","file1":"1395674359","file0":"1395674356","file4":"1395674364","file5":"1395674367","file3":"1395674362"},"map_files_photo_id_array":[{"photo_id":"1395674367","filename":"file5"},{"photo_id":"1395674361","filename":"file2"},{"photo_id":"1395674364","filename":"file4"},{"photo_id":"1395674359","filename":"file1"},{"photo_id":"1395674356","filename":"file0"},{"photo_id":"1395674362","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674361":["hashtag1","hashtag2"]},{"1395674364":["hashtag1","hashtag2"]},{"1395674367":["hashtag1","hashtag2"]},{"1395674359":["hashtag1","hashtag2"]},{"1395674362":["hashtag1","hashtag2"]},{"1395674356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674361, 1395674364, 1395674367, 1395674359, 1395674362, 1395674356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69299101829529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:23:41.903794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_37_2708.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_46_3627.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_49_2732.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_53_3539.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_06_3011.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_10_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_37_2708.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_46_3627.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_49_2732.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_53_3539.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_06_3011.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_10_3594.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5561215877532959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:24:02.795776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_37_2708.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_46_3627.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_49_2732.jpg', '/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_53_3539.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_06_3011.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_10_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_37_2708.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_46_3627.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_49_2732.jpg
/home/pi/Desktop/images/22112025/05/21/image_22112025_05_21_53_3539.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_06_3011.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_10_3594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674391","1395674388","1395674387","1395674395","1395674389","1395674386"],"photo_ids_order":["1395674386","1395674387","1395674388","1395674389","1395674391","1395674395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79012c51e5361f6f49402a45adc9a179.jpg","text":"TemporaryFile(/tmp/multipartBody8999482413068462113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785503594,"filename":"image_22112025_05_23_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/269e2496e1f1fab137f98f31eb3f3e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3782175272503511024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785503594,"filename":"image_22112025_05_21_49_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e12676ad186275e6aa2e8ee661155e0.jpg","text":"TemporaryFile(/tmp/multipartBody8250127267027786479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785503594,"filename":"image_22112025_05_21_46_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1186133e37acc98056c61ee312e05db7.jpg","text":"TemporaryFile(/tmp/multipartBody8906247280673978745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785503594,"filename":"image_22112025_05_23_10_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3df3865a23b7f11177458fff653c248.jpg","text":"TemporaryFile(/tmp/multipartBody1897263890374977153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785503594,"filename":"image_22112025_05_21_53_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c6a876593ed250eb1a50289104e0577.jpg","text":"TemporaryFile(/tmp/multipartBody1129819371134614918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785503594,"filename":"image_22112025_05_21_37_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674388","file1":"1395674387","file0":"1395674386","file4":"1395674391","file5":"1395674395","file3":"1395674389"},"map_files_photo_id_array":[{"photo_id":"1395674395","filename":"file5"},{"photo_id":"1395674388","filename":"file2"},{"photo_id":"1395674391","filename":"file4"},{"photo_id":"1395674387","filename":"file1"},{"photo_id":"1395674386","filename":"file0"},{"photo_id":"1395674389","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674391":["hashtag1","hashtag2"]},{"1395674388":["hashtag1","hashtag2"]},{"1395674387":["hashtag1","hashtag2"]},{"1395674395":["hashtag1","hashtag2"]},{"1395674389":["hashtag1","hashtag2"]},{"1395674386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674391, 1395674388, 1395674387, 1395674395, 1395674389, 1395674386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31649136543274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:24:42.155466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_12_2699.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_16_3644.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_19_2717.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_24_2681.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_28_3728.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_34_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_12_2699.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_16_3644.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_19_2717.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_24_2681.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_28_3728.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_34_3541.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5626330375671387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:25:03.091912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_12_2699.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_16_3644.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_19_2717.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_24_2681.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_28_3728.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_34_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_12_2699.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_16_3644.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_19_2717.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_24_2681.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_28_3728.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_34_3541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674410","1395674409","1395674417","1395674411","1395674408","1395674413"],"photo_ids_order":["1395674408","1395674409","1395674410","1395674411","1395674413","1395674417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/469f7c75720faf01b6e217fc576bedb5.jpg","text":"TemporaryFile(/tmp/multipartBody7416957333848158100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785563828,"filename":"image_22112025_05_23_19_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1a5e450c9cdbdec70ef88f24cdff7f1.jpg","text":"TemporaryFile(/tmp/multipartBody2219055968163418106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785563828,"filename":"image_22112025_05_23_16_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d42e19db358e8e0b497e903b06c7dca.jpg","text":"TemporaryFile(/tmp/multipartBody6906847266341939781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785563828,"filename":"image_22112025_05_23_34_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32db361c628c54feebbb9bbe5c7dbf0a.jpg","text":"TemporaryFile(/tmp/multipartBody1290116688819373591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785563828,"filename":"image_22112025_05_23_24_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35443ca3cd615ea5f8eafee44e8e29da.jpg","text":"TemporaryFile(/tmp/multipartBody3913497618210845272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785563828,"filename":"image_22112025_05_23_12_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b87c5b33ce44f62c77c6b5aa1e79fc31.jpg","text":"TemporaryFile(/tmp/multipartBody245521169148083030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785563828,"filename":"image_22112025_05_23_28_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674410","file1":"1395674409","file0":"1395674408","file4":"1395674413","file5":"1395674417","file3":"1395674411"},"map_files_photo_id_array":[{"photo_id":"1395674417","filename":"file5"},{"photo_id":"1395674410","filename":"file2"},{"photo_id":"1395674413","filename":"file4"},{"photo_id":"1395674409","filename":"file1"},{"photo_id":"1395674408","filename":"file0"},{"photo_id":"1395674411","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674410":["hashtag1","hashtag2"]},{"1395674409":["hashtag1","hashtag2"]},{"1395674417":["hashtag1","hashtag2"]},{"1395674411":["hashtag1","hashtag2"]},{"1395674408":["hashtag1","hashtag2"]},{"1395674413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674410, 1395674409, 1395674417, 1395674411, 1395674408, 1395674413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.528016328811646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:25:42.443752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_37_2575.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_39_2756.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_43_3587.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_46_2813.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_51_2670.jpg', '/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_55_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_37_2575.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_39_2756.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_43_3587.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_46_2813.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_51_2670.jpg
/home/pi/Desktop/images/22112025/05/23/image_22112025_05_23_55_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674430","1395674429","1395674432","1395674426","1395674425","1395674428"],"photo_ids_order":["1395674425","1395674426","1395674428","1395674429","1395674430","1395674432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6581b02e481b3749f8fa792dae40d94.jpg","text":"TemporaryFile(/tmp/multipartBody8296892753961223604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785603155,"filename":"image_22112025_05_23_51_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9cfa4814e1eb2446f7736fe10b090332.jpg","text":"TemporaryFile(/tmp/multipartBody7560513211846788894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785603155,"filename":"image_22112025_05_23_46_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19774ba6cf30168cd1bd97753b0aed27.jpg","text":"TemporaryFile(/tmp/multipartBody4707794331394316215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785603155,"filename":"image_22112025_05_23_55_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27a04d87861399cd149d08898887e61e.jpg","text":"TemporaryFile(/tmp/multipartBody1818858874231516723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785603155,"filename":"image_22112025_05_23_39_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afb246400d12bc083796266f50a6cbc7.jpg","text":"TemporaryFile(/tmp/multipartBody8202455050537039128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785603155,"filename":"image_22112025_05_23_37_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5eca41f3f63d17ac0b274b0cd524a9b8.jpg","text":"TemporaryFile(/tmp/multipartBody5805073087450148205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785603155,"filename":"image_22112025_05_23_43_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674428","file1":"1395674426","file0":"1395674425","file4":"1395674430","file5":"1395674432","file3":"1395674429"},"map_files_photo_id_array":[{"photo_id":"1395674432","filename":"file5"},{"photo_id":"1395674428","filename":"file2"},{"photo_id":"1395674430","filename":"file4"},{"photo_id":"1395674426","filename":"file1"},{"photo_id":"1395674425","filename":"file0"},{"photo_id":"1395674429","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674430":["hashtag1","hashtag2"]},{"1395674429":["hashtag1","hashtag2"]},{"1395674432":["hashtag1","hashtag2"]},{"1395674426":["hashtag1","hashtag2"]},{"1395674425":["hashtag1","hashtag2"]},{"1395674428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674430, 1395674429, 1395674432, 1395674426, 1395674425, 1395674428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26636719703674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:26:22.765874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_10_3591.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_13_2516.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_16_2864.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_19_3667.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_26_3614.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_28_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_10_3591.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_13_2516.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_16_2864.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_19_3667.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_26_3614.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_28_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674442","1395674451","1395674445","1395674448","1395674453","1395674438"],"photo_ids_order":["1395674438","1395674442","1395674445","1395674448","1395674451","1395674453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecc144b87c603d5f1d93bf3361956cdd.jpg","text":"TemporaryFile(/tmp/multipartBody23788959397211508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785643469,"filename":"image_22112025_05_25_13_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74896555cb998dc5ac37ba4c2375fee2.jpg","text":"TemporaryFile(/tmp/multipartBody6448483010132086518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785643469,"filename":"image_22112025_05_25_26_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16ba284f58f991ff3d0ca056c0d6f82f.jpg","text":"TemporaryFile(/tmp/multipartBody4487915763957426956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785643469,"filename":"image_22112025_05_25_16_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/382ff122dcec9c55d77157e5890717c4.jpg","text":"TemporaryFile(/tmp/multipartBody8270747830889979984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785643469,"filename":"image_22112025_05_25_19_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f10c64206559820ae1ec5feb89b5e4ab.jpg","text":"TemporaryFile(/tmp/multipartBody6688683446438929304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785643469,"filename":"image_22112025_05_25_28_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cf2c1ebefbbc586f84aeeb57d4b6a40.jpg","text":"TemporaryFile(/tmp/multipartBody2328151106654354137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785643469,"filename":"image_22112025_05_25_10_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674445","file1":"1395674442","file0":"1395674438","file4":"1395674451","file5":"1395674453","file3":"1395674448"},"map_files_photo_id_array":[{"photo_id":"1395674453","filename":"file5"},{"photo_id":"1395674445","filename":"file2"},{"photo_id":"1395674451","filename":"file4"},{"photo_id":"1395674442","filename":"file1"},{"photo_id":"1395674438","filename":"file0"},{"photo_id":"1395674448","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674442":["hashtag1","hashtag2"]},{"1395674451":["hashtag1","hashtag2"]},{"1395674445":["hashtag1","hashtag2"]},{"1395674448":["hashtag1","hashtag2"]},{"1395674453":["hashtag1","hashtag2"]},{"1395674438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674442, 1395674451, 1395674445, 1395674448, 1395674453, 1395674438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.816065311431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:27:02.693065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_37_2626.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_40_2773.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_44_3625.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_47_2907.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_49_2820.jpg', '/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_55_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_37_2626.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_40_2773.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_44_3625.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_47_2907.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_49_2820.jpg
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_55_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674460","1395674457","1395674465","1395674462","1395674456","1395674458"],"photo_ids_order":["1395674456","1395674457","1395674458","1395674460","1395674462","1395674465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93b25fa46b7a003785cb7d8eb98a54fb.jpg","text":"TemporaryFile(/tmp/multipartBody1373655707731135134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785683466,"filename":"image_22112025_05_25_47_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be57d594ab27b4b0b499ced145f7b119.jpg","text":"TemporaryFile(/tmp/multipartBody2758715022655599490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785683466,"filename":"image_22112025_05_25_40_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5979f48f34c3bd91183c74d3528b6d11.jpg","text":"TemporaryFile(/tmp/multipartBody2901426720032191401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785683466,"filename":"image_22112025_05_25_55_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17a7ffb933274b07b1340230b2a64548.jpg","text":"TemporaryFile(/tmp/multipartBody3584947821422851475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785683466,"filename":"image_22112025_05_25_49_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec948453d2dd959f43f29e763ac23ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3010622364375903421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785683466,"filename":"image_22112025_05_25_37_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f11ef6412332575a6b384ae0ee90eb7.jpg","text":"TemporaryFile(/tmp/multipartBody521487926463521789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785683466,"filename":"image_22112025_05_25_44_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674458","file1":"1395674457","file0":"1395674456","file4":"1395674462","file5":"1395674465","file3":"1395674460"},"map_files_photo_id_array":[{"photo_id":"1395674465","filename":"file5"},{"photo_id":"1395674458","filename":"file2"},{"photo_id":"1395674462","filename":"file4"},{"photo_id":"1395674457","filename":"file1"},{"photo_id":"1395674456","filename":"file0"},{"photo_id":"1395674460","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674460":["hashtag1","hashtag2"]},{"1395674457":["hashtag1","hashtag2"]},{"1395674465":["hashtag1","hashtag2"]},{"1395674462":["hashtag1","hashtag2"]},{"1395674456":["hashtag1","hashtag2"]},{"1395674458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674460, 1395674457, 1395674465, 1395674462, 1395674456, 1395674458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.872687101364136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:27:41.996730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_59_3810.jpg', '/home/pi/Desktop/images/22112025/05/26/image_22112025_05_26_01_2815.jpg', '/home/pi/Desktop/images/22112025/05/26/image_22112025_05_26_04_2540.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_07_3018.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_11_3672.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_13_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/25/image_22112025_05_25_59_3810.jpg
/home/pi/Desktop/images/22112025/05/26/image_22112025_05_26_01_2815.jpg
/home/pi/Desktop/images/22112025/05/26/image_22112025_05_26_04_2540.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_07_3018.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_11_3672.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_13_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674472","1395674475","1395674478","1395674474","1395674477","1395674476"],"photo_ids_order":["1395674472","1395674474","1395674475","1395674476","1395674477","1395674478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7181de7ef521f11ccda3f5e2055d84ca.jpg","text":"TemporaryFile(/tmp/multipartBody2774567276959623906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785722693,"filename":"image_22112025_05_25_59_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d421c85387b7da0656be7089b11077f.jpg","text":"TemporaryFile(/tmp/multipartBody5980310681520324815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785722693,"filename":"image_22112025_05_26_04_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31c179619e380de0ee02cf91f0d1ac15.jpg","text":"TemporaryFile(/tmp/multipartBody1084830622166326116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785722693,"filename":"image_22112025_05_27_13_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8868c1329ed315757b4ae4de7fa48ad.jpg","text":"TemporaryFile(/tmp/multipartBody900924576127576115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785722693,"filename":"image_22112025_05_26_01_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a17515e18072cc003f2010c2a4393a19.jpg","text":"TemporaryFile(/tmp/multipartBody2417021561310046084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785722693,"filename":"image_22112025_05_27_11_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed27ce624963d8f02a9a176b191d8d0c.jpg","text":"TemporaryFile(/tmp/multipartBody2082307227246216927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785722693,"filename":"image_22112025_05_27_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674475","file1":"1395674474","file0":"1395674472","file4":"1395674477","file5":"1395674478","file3":"1395674476"},"map_files_photo_id_array":[{"photo_id":"1395674478","filename":"file5"},{"photo_id":"1395674475","filename":"file2"},{"photo_id":"1395674477","filename":"file4"},{"photo_id":"1395674474","filename":"file1"},{"photo_id":"1395674472","filename":"file0"},{"photo_id":"1395674476","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674472":["hashtag1","hashtag2"]},{"1395674475":["hashtag1","hashtag2"]},{"1395674478":["hashtag1","hashtag2"]},{"1395674474":["hashtag1","hashtag2"]},{"1395674477":["hashtag1","hashtag2"]},{"1395674476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674472, 1395674475, 1395674478, 1395674474, 1395674477, 1395674476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14546775817871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:28:22.257855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_16_2779.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_20_3740.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_22_2700.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_25_2652.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_29_3601.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_31_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_16_2779.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_20_3740.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_22_2700.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_25_2652.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_29_3601.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_31_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674505","1395674480","1395674501","1395674488","1395674497","1395674485"],"photo_ids_order":["1395674480","1395674485","1395674488","1395674497","1395674501","1395674505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c55fe9dbbf9c51ab983ce4c1440c43a1.jpg","text":"TemporaryFile(/tmp/multipartBody764547442348002233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785762960,"filename":"image_22112025_05_27_31_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26dd8f411d3382225e4ade46e87fb757.jpg","text":"TemporaryFile(/tmp/multipartBody1677575728295677917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785762960,"filename":"image_22112025_05_27_16_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b84d104d9c172337873c1eb70b73af4f.jpg","text":"TemporaryFile(/tmp/multipartBody4135868014806624538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785762960,"filename":"image_22112025_05_27_29_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9a005a3982d881e60af6bf32ca8f659.jpg","text":"TemporaryFile(/tmp/multipartBody7443764360268211855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785762960,"filename":"image_22112025_05_27_22_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0974f120548b516e38f2471fade30cb7.jpg","text":"TemporaryFile(/tmp/multipartBody3560434770647657723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785762960,"filename":"image_22112025_05_27_25_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e71c76b89046ff4ae6120f274d8f80a7.jpg","text":"TemporaryFile(/tmp/multipartBody6250234818378122457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785762960,"filename":"image_22112025_05_27_20_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674488","file1":"1395674485","file0":"1395674480","file4":"1395674501","file5":"1395674505","file3":"1395674497"},"map_files_photo_id_array":[{"photo_id":"1395674505","filename":"file5"},{"photo_id":"1395674488","filename":"file2"},{"photo_id":"1395674501","filename":"file4"},{"photo_id":"1395674485","filename":"file1"},{"photo_id":"1395674480","filename":"file0"},{"photo_id":"1395674497","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674505":["hashtag1","hashtag2"]},{"1395674480":["hashtag1","hashtag2"]},{"1395674501":["hashtag1","hashtag2"]},{"1395674488":["hashtag1","hashtag2"]},{"1395674497":["hashtag1","hashtag2"]},{"1395674485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674505, 1395674480, 1395674501, 1395674488, 1395674497, 1395674485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42777371406555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:29:03.338299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_34_2835.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_38_3582.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_40_2586.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_43_2760.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_47_3694.jpg', '/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_56_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_34_2835.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_38_3582.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_40_2586.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_43_2760.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_47_3694.jpg
/home/pi/Desktop/images/22112025/05/27/image_22112025_05_27_56_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674509","1395674511","1395674514","1395674508","1395674516","1395674512"],"photo_ids_order":["1395674508","1395674509","1395674511","1395674512","1395674514","1395674516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92cc5d23e2780e770d823df7f3756dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1211513718278815552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785804172,"filename":"image_22112025_05_27_38_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49e9ae5c4afb7b0f471e407b9c250394.jpg","text":"TemporaryFile(/tmp/multipartBody8678505756338943121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785804172,"filename":"image_22112025_05_27_40_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba0c77ed8d841520c58363ec8d522fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6600057304415713651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785804172,"filename":"image_22112025_05_27_47_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc07806adeeaaabc81bee0d075aa9c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7347173685010952446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785804172,"filename":"image_22112025_05_27_34_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0aba9567c208e8605cdadc4edbf0f25d.jpg","text":"TemporaryFile(/tmp/multipartBody1312719371904651998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785804172,"filename":"image_22112025_05_27_56_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e97646078717f25b24ace479e7f659f5.jpg","text":"TemporaryFile(/tmp/multipartBody619685608763954532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785804172,"filename":"image_22112025_05_27_43_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674511","file1":"1395674509","file0":"1395674508","file4":"1395674514","file5":"1395674516","file3":"1395674512"},"map_files_photo_id_array":[{"photo_id":"1395674516","filename":"file5"},{"photo_id":"1395674511","filename":"file2"},{"photo_id":"1395674514","filename":"file4"},{"photo_id":"1395674509","filename":"file1"},{"photo_id":"1395674508","filename":"file0"},{"photo_id":"1395674512","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674509":["hashtag1","hashtag2"]},{"1395674511":["hashtag1","hashtag2"]},{"1395674514":["hashtag1","hashtag2"]},{"1395674508":["hashtag1","hashtag2"]},{"1395674516":["hashtag1","hashtag2"]},{"1395674512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674509, 1395674511, 1395674514, 1395674508, 1395674516, 1395674512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07956075668335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:29:42.423785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/28/image_22112025_05_28_01_2677.jpg', '/home/pi/Desktop/images/22112025/05/28/image_22112025_05_28_05_3568.jpg', '/home/pi/Desktop/images/22112025/05/28/image_22112025_05_28_10_2801.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_06_3018.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_10_3825.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_13_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/28/image_22112025_05_28_01_2677.jpg
/home/pi/Desktop/images/22112025/05/28/image_22112025_05_28_05_3568.jpg
/home/pi/Desktop/images/22112025/05/28/image_22112025_05_28_10_2801.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_06_3018.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_10_3825.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_13_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674535","1395674564","1395674537","1395674566","1395674533","1395674527"],"photo_ids_order":["1395674527","1395674533","1395674535","1395674537","1395674564","1395674566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf61048f8f92b8b81bd2c0c086cbbb16.jpg","text":"TemporaryFile(/tmp/multipartBody4806838991985243446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785843123,"filename":"image_22112025_05_28_10_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/546d4e53e152df4169a8f662fd852962.jpg","text":"TemporaryFile(/tmp/multipartBody6957136424990749492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785843123,"filename":"image_22112025_05_29_10_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5b30c9ad22dab2d8e456389ddfdaeb5.jpg","text":"TemporaryFile(/tmp/multipartBody8391438662280325171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785843123,"filename":"image_22112025_05_29_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b5898db66a3959038387b7415a2a5ee.jpg","text":"TemporaryFile(/tmp/multipartBody6838948270013361752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785843123,"filename":"image_22112025_05_29_13_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e12f64c9e4aaaa828df3b24e7732be4.jpg","text":"TemporaryFile(/tmp/multipartBody2006346956172739593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785843123,"filename":"image_22112025_05_28_05_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87f1ac9fd1d17ea577b7a9529ce2858a.jpg","text":"TemporaryFile(/tmp/multipartBody5334283129448818237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785843123,"filename":"image_22112025_05_28_01_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674535","file1":"1395674533","file0":"1395674527","file4":"1395674564","file5":"1395674566","file3":"1395674537"},"map_files_photo_id_array":[{"photo_id":"1395674566","filename":"file5"},{"photo_id":"1395674535","filename":"file2"},{"photo_id":"1395674564","filename":"file4"},{"photo_id":"1395674533","filename":"file1"},{"photo_id":"1395674527","filename":"file0"},{"photo_id":"1395674537","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674535":["hashtag1","hashtag2"]},{"1395674564":["hashtag1","hashtag2"]},{"1395674537":["hashtag1","hashtag2"]},{"1395674566":["hashtag1","hashtag2"]},{"1395674533":["hashtag1","hashtag2"]},{"1395674527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674535, 1395674564, 1395674537, 1395674566, 1395674533, 1395674527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30689764022827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:30:22.635055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_16_2626.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_22_2540.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_25_2677.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_28_3796.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_31_2793.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_37_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_16_2626.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_22_2540.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_25_2677.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_28_3796.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_31_2793.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_37_3699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6249582767486572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:30:42.608555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_16_2626.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_22_2540.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_25_2677.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_28_3796.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_31_2793.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_37_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_16_2626.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_22_2540.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_25_2677.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_28_3796.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_31_2793.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_37_3699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674595","1395674589","1395674594","1395674597","1395674593","1395674596"],"photo_ids_order":["1395674589","1395674593","1395674594","1395674595","1395674596","1395674597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c96fbbc9d5c3b1b1a17075cb5f9aa8ee.jpg","text":"TemporaryFile(/tmp/multipartBody6141823504441737764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785903382,"filename":"image_22112025_05_29_28_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5735578a7cdaf175d8012e1633284f1.jpg","text":"TemporaryFile(/tmp/multipartBody2987574137971871495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785903382,"filename":"image_22112025_05_29_16_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48abc1c1adc2306781de79ed898bc918.jpg","text":"TemporaryFile(/tmp/multipartBody1736682196613063290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785903382,"filename":"image_22112025_05_29_25_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8274650361e34f2909ca24c0909d9df4.jpg","text":"TemporaryFile(/tmp/multipartBody5337999099393976492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785903382,"filename":"image_22112025_05_29_37_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a522876700b1df93e7e86dfeae42e68.jpg","text":"TemporaryFile(/tmp/multipartBody4835057345974080807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785903382,"filename":"image_22112025_05_29_22_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe07fb2c04b3bcb46d367dbd64243595.jpg","text":"TemporaryFile(/tmp/multipartBody5325182103312318718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785903382,"filename":"image_22112025_05_29_31_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674594","file1":"1395674593","file0":"1395674589","file4":"1395674596","file5":"1395674597","file3":"1395674595"},"map_files_photo_id_array":[{"photo_id":"1395674597","filename":"file5"},{"photo_id":"1395674594","filename":"file2"},{"photo_id":"1395674596","filename":"file4"},{"photo_id":"1395674593","filename":"file1"},{"photo_id":"1395674589","filename":"file0"},{"photo_id":"1395674595","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674595":["hashtag1","hashtag2"]},{"1395674589":["hashtag1","hashtag2"]},{"1395674594":["hashtag1","hashtag2"]},{"1395674597":["hashtag1","hashtag2"]},{"1395674593":["hashtag1","hashtag2"]},{"1395674596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674595, 1395674589, 1395674594, 1395674597, 1395674593, 1395674596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4038987159729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:31:21.921827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_43_2559.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_46_3635.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_55_3788.jpg', '/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_58_2673.jpg', '/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_01_2857.jpg', '/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_04_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_43_2559.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_46_3635.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_55_3788.jpg
/home/pi/Desktop/images/22112025/05/29/image_22112025_05_29_58_2673.jpg
/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_01_2857.jpg
/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_04_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674615","1395674609","1395674600","1395674603","1395674606","1395674611"],"photo_ids_order":["1395674600","1395674603","1395674606","1395674609","1395674611","1395674615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ef119e5bffc42a3242a8815583dab14.jpg","text":"TemporaryFile(/tmp/multipartBody4767963634157280315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785942590,"filename":"image_22112025_05_30_04_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc2c94e0a775207ada6825b3550d8afa.jpg","text":"TemporaryFile(/tmp/multipartBody8042344236578494882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785942590,"filename":"image_22112025_05_29_58_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c507f6a18fbffebf217a4ccf1b5c3d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5501256406659072512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785942590,"filename":"image_22112025_05_29_43_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94893c2748c124e72282b36afc4e92e3.jpg","text":"TemporaryFile(/tmp/multipartBody5589491208549050997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785942590,"filename":"image_22112025_05_29_46_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cef16641d964d88d38a78bdb9af04ceb.jpg","text":"TemporaryFile(/tmp/multipartBody9202144637785081245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785942590,"filename":"image_22112025_05_29_55_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ec750409aa45944c76ebff8564a4426.jpg","text":"TemporaryFile(/tmp/multipartBody2680205938007058690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785942590,"filename":"image_22112025_05_30_01_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674606","file1":"1395674603","file0":"1395674600","file4":"1395674611","file5":"1395674615","file3":"1395674609"},"map_files_photo_id_array":[{"photo_id":"1395674615","filename":"file5"},{"photo_id":"1395674606","filename":"file2"},{"photo_id":"1395674611","filename":"file4"},{"photo_id":"1395674603","filename":"file1"},{"photo_id":"1395674600","filename":"file0"},{"photo_id":"1395674609","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674615":["hashtag1","hashtag2"]},{"1395674609":["hashtag1","hashtag2"]},{"1395674600":["hashtag1","hashtag2"]},{"1395674603":["hashtag1","hashtag2"]},{"1395674606":["hashtag1","hashtag2"]},{"1395674611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674615, 1395674609, 1395674600, 1395674603, 1395674606, 1395674611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69162392616272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:32:02.680644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_07_3735.jpg', '/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_10_2697.jpg', '/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_13_2594.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_07_3017.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_11_3691.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_13_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_07_3735.jpg
/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_10_2697.jpg
/home/pi/Desktop/images/22112025/05/30/image_22112025_05_30_13_2594.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_07_3017.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_11_3691.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_13_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674617","1395674616","1395674619","1395674621","1395674618","1395674626"],"photo_ids_order":["1395674616","1395674617","1395674618","1395674619","1395674621","1395674626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df06454dcdd6491333107238a3911c13.jpg","text":"TemporaryFile(/tmp/multipartBody6095912470125542460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785983378,"filename":"image_22112025_05_30_10_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81e23956c3cefaa3df630fc871b19643.jpg","text":"TemporaryFile(/tmp/multipartBody3892673584481987584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785983378,"filename":"image_22112025_05_30_07_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4d017d8544d99a93cca087721f375cf.jpg","text":"TemporaryFile(/tmp/multipartBody7393517154199852196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785983378,"filename":"image_22112025_05_31_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ade36128b7545ed0d09482b6df1f0eb2.jpg","text":"TemporaryFile(/tmp/multipartBody4764298464993665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785983378,"filename":"image_22112025_05_31_11_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cc29f92171af1fb5ba827cad064ad02.jpg","text":"TemporaryFile(/tmp/multipartBody1558313284494378629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785983378,"filename":"image_22112025_05_30_13_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2bf0e80154227bd484fda142b77a19c.jpg","text":"TemporaryFile(/tmp/multipartBody1094936090777550990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763785983378,"filename":"image_22112025_05_31_13_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674618","file1":"1395674617","file0":"1395674616","file4":"1395674621","file5":"1395674626","file3":"1395674619"},"map_files_photo_id_array":[{"photo_id":"1395674626","filename":"file5"},{"photo_id":"1395674618","filename":"file2"},{"photo_id":"1395674621","filename":"file4"},{"photo_id":"1395674617","filename":"file1"},{"photo_id":"1395674616","filename":"file0"},{"photo_id":"1395674619","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674617":["hashtag1","hashtag2"]},{"1395674616":["hashtag1","hashtag2"]},{"1395674619":["hashtag1","hashtag2"]},{"1395674621":["hashtag1","hashtag2"]},{"1395674618":["hashtag1","hashtag2"]},{"1395674626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674617, 1395674616, 1395674619, 1395674621, 1395674618, 1395674626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.545774698257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:32:42.093352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_16_2679.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_20_3744.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_22_2606.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_25_2708.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_29_3728.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_31_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_16_2679.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_20_3744.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_22_2606.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_25_2708.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_29_3728.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_31_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674649","1395674640","1395674646","1395674639","1395674636","1395674650"],"photo_ids_order":["1395674636","1395674639","1395674640","1395674646","1395674649","1395674650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bdb5aaba1fef97679aca777a7a74dab.jpg","text":"TemporaryFile(/tmp/multipartBody4227416553495513200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786022758,"filename":"image_22112025_05_31_29_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8592f178b71f60f9c5f2f8ebe93181e4.jpg","text":"TemporaryFile(/tmp/multipartBody1407640733971475376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786022758,"filename":"image_22112025_05_31_22_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d808cdb4c4899c02d51b203beb7f83e5.jpg","text":"TemporaryFile(/tmp/multipartBody1723804175207319690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786022758,"filename":"image_22112025_05_31_25_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad0db96b8ca424f9ae9c5bf8ffd1da9a.jpg","text":"TemporaryFile(/tmp/multipartBody8923690946633093917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786022758,"filename":"image_22112025_05_31_20_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ea0434714168a8d1b8b492976ae1376.jpg","text":"TemporaryFile(/tmp/multipartBody6730059457700527781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786022758,"filename":"image_22112025_05_31_16_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/282addf8414bdab3d7377ce2f54f8f85.jpg","text":"TemporaryFile(/tmp/multipartBody8429653348924883908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786022758,"filename":"image_22112025_05_31_31_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674640","file1":"1395674639","file0":"1395674636","file4":"1395674649","file5":"1395674650","file3":"1395674646"},"map_files_photo_id_array":[{"photo_id":"1395674650","filename":"file5"},{"photo_id":"1395674640","filename":"file2"},{"photo_id":"1395674649","filename":"file4"},{"photo_id":"1395674639","filename":"file1"},{"photo_id":"1395674636","filename":"file0"},{"photo_id":"1395674646","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674649":["hashtag1","hashtag2"]},{"1395674640":["hashtag1","hashtag2"]},{"1395674646":["hashtag1","hashtag2"]},{"1395674639":["hashtag1","hashtag2"]},{"1395674636":["hashtag1","hashtag2"]},{"1395674650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674649, 1395674640, 1395674646, 1395674639, 1395674636, 1395674650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96972918510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:33:22.149746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_34_2710.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_38_3633.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_40_2610.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_43_2608.jpg', '/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_47_3693.jpg', '/home/pi/Desktop/images/22112025/05/32/image_22112025_05_32_05_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_34_2710.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_38_3633.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_40_2610.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_43_2608.jpg
/home/pi/Desktop/images/22112025/05/31/image_22112025_05_31_47_3693.jpg
/home/pi/Desktop/images/22112025/05/32/image_22112025_05_32_05_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674663","1395674657","1395674660","1395674654","1395674668","1395674665"],"photo_ids_order":["1395674654","1395674657","1395674660","1395674663","1395674665","1395674668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41103a1c4063c85905f74d6d56d2e03c.jpg","text":"TemporaryFile(/tmp/multipartBody7212305425508452824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786062849,"filename":"image_22112025_05_31_43_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfb2c5e84bb1571dd6b45efe4a0bf0fc.jpg","text":"TemporaryFile(/tmp/multipartBody3254463309523091658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786062849,"filename":"image_22112025_05_31_38_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d620b47390c8e1da55948728e7cb3496.jpg","text":"TemporaryFile(/tmp/multipartBody1560564240052595851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786062849,"filename":"image_22112025_05_31_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f070d10600f51d9fe06ed7e74954bff.jpg","text":"TemporaryFile(/tmp/multipartBody5440851325377921508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786062849,"filename":"image_22112025_05_31_34_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05605820268e43e14fd27a2207cb95a0.jpg","text":"TemporaryFile(/tmp/multipartBody6620783012267282140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786062849,"filename":"image_22112025_05_32_05_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3d7dc51a08978800c341b08d48433a2.jpg","text":"TemporaryFile(/tmp/multipartBody7919176753224573375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786062849,"filename":"image_22112025_05_31_47_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674660","file1":"1395674657","file0":"1395674654","file4":"1395674665","file5":"1395674668","file3":"1395674663"},"map_files_photo_id_array":[{"photo_id":"1395674668","filename":"file5"},{"photo_id":"1395674660","filename":"file2"},{"photo_id":"1395674665","filename":"file4"},{"photo_id":"1395674657","filename":"file1"},{"photo_id":"1395674654","filename":"file0"},{"photo_id":"1395674663","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674663":["hashtag1","hashtag2"]},{"1395674657":["hashtag1","hashtag2"]},{"1395674660":["hashtag1","hashtag2"]},{"1395674654":["hashtag1","hashtag2"]},{"1395674668":["hashtag1","hashtag2"]},{"1395674665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674663, 1395674657, 1395674660, 1395674654, 1395674668, 1395674665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41052269935608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:34:03.074361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/32/image_22112025_05_32_07_2686.jpg', '/home/pi/Desktop/images/22112025/05/32/image_22112025_05_32_10_2675.jpg', '/home/pi/Desktop/images/22112025/05/32/image_22112025_05_32_13_3598.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_07_3017.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_10_3603.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_16_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/32/image_22112025_05_32_07_2686.jpg
/home/pi/Desktop/images/22112025/05/32/image_22112025_05_32_10_2675.jpg
/home/pi/Desktop/images/22112025/05/32/image_22112025_05_32_13_3598.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_07_3017.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_10_3603.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_16_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674679","1395674670","1395674673","1395674675","1395674672","1395674671"],"photo_ids_order":["1395674670","1395674671","1395674672","1395674673","1395674675","1395674679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/944889a0dd6fc200b07efe166c01b7ff.jpg","text":"TemporaryFile(/tmp/multipartBody8079964954081885436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786103839,"filename":"image_22112025_05_33_16_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f701bafed15b34c2c378d047fc618546.jpg","text":"TemporaryFile(/tmp/multipartBody5789546296577478050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786103839,"filename":"image_22112025_05_32_07_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05f945ac0a712c09961d803bea0aa9c7.jpg","text":"TemporaryFile(/tmp/multipartBody3823955056330491276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786103839,"filename":"image_22112025_05_33_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/693d91a3a1976a7ca463c6441c2b2661.jpg","text":"TemporaryFile(/tmp/multipartBody5778744394330334241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786103839,"filename":"image_22112025_05_33_10_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/254207dabd7d57dd3a9335696639e647.jpg","text":"TemporaryFile(/tmp/multipartBody8036992906132179695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786103839,"filename":"image_22112025_05_32_13_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3573dfb7653174b747a86407ae922b3.jpg","text":"TemporaryFile(/tmp/multipartBody7015575588303936766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786103839,"filename":"image_22112025_05_32_10_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674672","file1":"1395674671","file0":"1395674670","file4":"1395674675","file5":"1395674679","file3":"1395674673"},"map_files_photo_id_array":[{"photo_id":"1395674679","filename":"file5"},{"photo_id":"1395674672","filename":"file2"},{"photo_id":"1395674675","filename":"file4"},{"photo_id":"1395674671","filename":"file1"},{"photo_id":"1395674670","filename":"file0"},{"photo_id":"1395674673","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674679":["hashtag1","hashtag2"]},{"1395674670":["hashtag1","hashtag2"]},{"1395674673":["hashtag1","hashtag2"]},{"1395674675":["hashtag1","hashtag2"]},{"1395674672":["hashtag1","hashtag2"]},{"1395674671":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674679, 1395674670, 1395674673, 1395674675, 1395674672, 1395674671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.512054443359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:34:42.395244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_19_2690.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_25_3519.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_34_3834.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_37_2584.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_40_2668.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_43_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_19_2690.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_25_3519.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_34_3834.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_37_2584.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_40_2668.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_43_3756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674691","1395674693","1395674690","1395674687","1395674692","1395674689"],"photo_ids_order":["1395674687","1395674689","1395674690","1395674691","1395674692","1395674693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f231b490db448732979199bb713d4f25.jpg","text":"TemporaryFile(/tmp/multipartBody7238361611025165210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786143083,"filename":"image_22112025_05_33_37_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58b99aa4d3408dd856621a605164f06b.jpg","text":"TemporaryFile(/tmp/multipartBody7806336360627823274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786143083,"filename":"image_22112025_05_33_43_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1211aff0f6b8b2d66da4f19adcda445.jpg","text":"TemporaryFile(/tmp/multipartBody935752117883743263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786143083,"filename":"image_22112025_05_33_34_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f72f0fed10e3cbaff24670cecb6d26f2.jpg","text":"TemporaryFile(/tmp/multipartBody7055741031306183092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786143083,"filename":"image_22112025_05_33_19_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7006a4c46f946a12038365e35e60e41.jpg","text":"TemporaryFile(/tmp/multipartBody7958134413956192569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786143083,"filename":"image_22112025_05_33_40_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0872a60ff72285a243d0481e8c3f5ca9.jpg","text":"TemporaryFile(/tmp/multipartBody1136359174286956862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786143083,"filename":"image_22112025_05_33_25_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674690","file1":"1395674689","file0":"1395674687","file4":"1395674692","file5":"1395674693","file3":"1395674691"},"map_files_photo_id_array":[{"photo_id":"1395674693","filename":"file5"},{"photo_id":"1395674690","filename":"file2"},{"photo_id":"1395674692","filename":"file4"},{"photo_id":"1395674689","filename":"file1"},{"photo_id":"1395674687","filename":"file0"},{"photo_id":"1395674691","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674691":["hashtag1","hashtag2"]},{"1395674693":["hashtag1","hashtag2"]},{"1395674690":["hashtag1","hashtag2"]},{"1395674687":["hashtag1","hashtag2"]},{"1395674692":["hashtag1","hashtag2"]},{"1395674689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674691, 1395674693, 1395674690, 1395674687, 1395674692, 1395674689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99684429168701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:35:22.711856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_46_2581.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_49_2708.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_52_3704.jpg', '/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_55_2591.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_07_3012.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_16_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_46_2581.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_49_2708.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_52_3704.jpg
/home/pi/Desktop/images/22112025/05/33/image_22112025_05_33_55_2591.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_07_3012.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_16_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674697","1395674703","1395674712","1395674706","1395674709","1395674700"],"photo_ids_order":["1395674697","1395674700","1395674703","1395674706","1395674709","1395674712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1be1cfd48e8a73eaafebd7e4776bced2.jpg","text":"TemporaryFile(/tmp/multipartBody3163919754688388981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786183394,"filename":"image_22112025_05_33_46_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b40f5d4189e5f97e4b2952f6910b259.jpg","text":"TemporaryFile(/tmp/multipartBody3820454262749227674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786183394,"filename":"image_22112025_05_33_52_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1390097d3683951009194ee5bc0a722.jpg","text":"TemporaryFile(/tmp/multipartBody1007899766718812632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786183394,"filename":"image_22112025_05_35_16_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c75081255e0e8d26f5c284c55a1685c.jpg","text":"TemporaryFile(/tmp/multipartBody2456155078829545440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786183394,"filename":"image_22112025_05_33_55_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04c0b27fadc5923fd1eb0c3db156e238.jpg","text":"TemporaryFile(/tmp/multipartBody7022523085375339995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786183394,"filename":"image_22112025_05_35_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e4046c9635137f1f232b3777b9c2dde.jpg","text":"TemporaryFile(/tmp/multipartBody2228925764715994649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786183394,"filename":"image_22112025_05_33_49_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674703","file1":"1395674700","file0":"1395674697","file4":"1395674709","file5":"1395674712","file3":"1395674706"},"map_files_photo_id_array":[{"photo_id":"1395674712","filename":"file5"},{"photo_id":"1395674703","filename":"file2"},{"photo_id":"1395674709","filename":"file4"},{"photo_id":"1395674700","filename":"file1"},{"photo_id":"1395674697","filename":"file0"},{"photo_id":"1395674706","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674697":["hashtag1","hashtag2"]},{"1395674703":["hashtag1","hashtag2"]},{"1395674712":["hashtag1","hashtag2"]},{"1395674706":["hashtag1","hashtag2"]},{"1395674709":["hashtag1","hashtag2"]},{"1395674700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674697, 1395674703, 1395674712, 1395674706, 1395674709, 1395674700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22019362449646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:36:02.204235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_20_3732.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_25_2577.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_31_2682.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_38_3611.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_43_2727.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_47_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_20_3732.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_25_2577.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_31_2682.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_38_3611.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_43_2727.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_47_3704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674716","1395674715","1395674718","1395674720","1395674717","1395674722"],"photo_ids_order":["1395674715","1395674716","1395674717","1395674718","1395674720","1395674722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca9ca36105957c02a0f7bf6ff016d056.jpg","text":"TemporaryFile(/tmp/multipartBody3626277356973705778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786223022,"filename":"image_22112025_05_35_25_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b583e87dd277a09801e3b43226dfcb16.jpg","text":"TemporaryFile(/tmp/multipartBody636939628762270083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786223022,"filename":"image_22112025_05_35_20_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab4778d3aae84783f8812b382794620a.jpg","text":"TemporaryFile(/tmp/multipartBody3271428454054962461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786223022,"filename":"image_22112025_05_35_38_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3beef4ae4c62e8ae5341977a2e69f2b8.jpg","text":"TemporaryFile(/tmp/multipartBody2329383164376675561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786223022,"filename":"image_22112025_05_35_43_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cb368ad399a0d137366c035b1d5d575.jpg","text":"TemporaryFile(/tmp/multipartBody4667356586310401832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786223022,"filename":"image_22112025_05_35_31_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a9fab6cf25a4b34dc017156ff1c1c19.jpg","text":"TemporaryFile(/tmp/multipartBody7879407786878594934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786223022,"filename":"image_22112025_05_35_47_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674717","file1":"1395674716","file0":"1395674715","file4":"1395674720","file5":"1395674722","file3":"1395674718"},"map_files_photo_id_array":[{"photo_id":"1395674722","filename":"file5"},{"photo_id":"1395674717","filename":"file2"},{"photo_id":"1395674720","filename":"file4"},{"photo_id":"1395674716","filename":"file1"},{"photo_id":"1395674715","filename":"file0"},{"photo_id":"1395674718","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674716":["hashtag1","hashtag2"]},{"1395674715":["hashtag1","hashtag2"]},{"1395674718":["hashtag1","hashtag2"]},{"1395674720":["hashtag1","hashtag2"]},{"1395674717":["hashtag1","hashtag2"]},{"1395674722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674716, 1395674715, 1395674718, 1395674720, 1395674717, 1395674722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3806586265564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:36:41.788742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_49_2560.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_53_3525.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_55_2585.jpg', '/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_58_2642.jpg', '/home/pi/Desktop/images/22112025/05/36/image_22112025_05_36_02_3576.jpg', '/home/pi/Desktop/images/22112025/05/36/image_22112025_05_36_04_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_49_2560.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_53_3525.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_55_2585.jpg
/home/pi/Desktop/images/22112025/05/35/image_22112025_05_35_58_2642.jpg
/home/pi/Desktop/images/22112025/05/36/image_22112025_05_36_02_3576.jpg
/home/pi/Desktop/images/22112025/05/36/image_22112025_05_36_04_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674734","1395674742","1395674744","1395674738","1395674740","1395674746"],"photo_ids_order":["1395674734","1395674738","1395674740","1395674742","1395674744","1395674746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7ae23f2adb5394cd8c125b04e28510c.jpg","text":"TemporaryFile(/tmp/multipartBody4619905500290157318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786262483,"filename":"image_22112025_05_35_49_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94231c67b435134fe7c2a6d4bada7d82.jpg","text":"TemporaryFile(/tmp/multipartBody8579769412061566489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786262483,"filename":"image_22112025_05_35_58_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28ca94d30f6f61a14601553865b92032.jpg","text":"TemporaryFile(/tmp/multipartBody3254680888377171579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786262483,"filename":"image_22112025_05_36_02_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4155a0bfe6cf4fbaf1e6837232151689.jpg","text":"TemporaryFile(/tmp/multipartBody451727868812673260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786262483,"filename":"image_22112025_05_35_53_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e30d72c7295865bffa5dee628d8d4c28.jpg","text":"TemporaryFile(/tmp/multipartBody4660170776235733350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786262483,"filename":"image_22112025_05_35_55_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6dce380bcaebb0bf4fe191ff8eda7ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5267736673391947648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786262483,"filename":"image_22112025_05_36_04_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674740","file1":"1395674738","file0":"1395674734","file4":"1395674744","file5":"1395674746","file3":"1395674742"},"map_files_photo_id_array":[{"photo_id":"1395674746","filename":"file5"},{"photo_id":"1395674740","filename":"file2"},{"photo_id":"1395674744","filename":"file4"},{"photo_id":"1395674738","filename":"file1"},{"photo_id":"1395674734","filename":"file0"},{"photo_id":"1395674742","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674734":["hashtag1","hashtag2"]},{"1395674742":["hashtag1","hashtag2"]},{"1395674744":["hashtag1","hashtag2"]},{"1395674738":["hashtag1","hashtag2"]},{"1395674740":["hashtag1","hashtag2"]},{"1395674746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674734, 1395674742, 1395674744, 1395674738, 1395674740, 1395674746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.055797815322876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:37:22.110647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/36/image_22112025_05_36_08_3637.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_06_3017.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_10_3571.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_19_3637.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_21_2515.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_25_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/36/image_22112025_05_36_08_3637.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_06_3017.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_10_3571.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_19_3637.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_21_2515.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_25_3533.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5977444648742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:37:41.988623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/36/image_22112025_05_36_08_3637.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_06_3017.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_10_3571.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_19_3637.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_21_2515.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_25_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/36/image_22112025_05_36_08_3637.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_06_3017.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_10_3571.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_19_3637.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_21_2515.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_25_3533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674766","1395674760","1395674763","1395674765","1395674768","1395674767"],"photo_ids_order":["1395674760","1395674763","1395674765","1395674766","1395674767","1395674768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab026e8fa84413894276e3387f86ae01.jpg","text":"TemporaryFile(/tmp/multipartBody5180479258877071480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786322654,"filename":"image_22112025_05_37_19_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3013eb2793fee2c2db6a77dbb756925.jpg","text":"TemporaryFile(/tmp/multipartBody3535983568619826678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786322654,"filename":"image_22112025_05_36_08_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e983c419143e85343439ec3f3d10376.jpg","text":"TemporaryFile(/tmp/multipartBody5481224598853060243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786322654,"filename":"image_22112025_05_37_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/722652ddc341fa7461855a639c91b7ea.jpg","text":"TemporaryFile(/tmp/multipartBody6384949398049605025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786322654,"filename":"image_22112025_05_37_10_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7472c9d5194b54d5ebd5c20a6635b4a.jpg","text":"TemporaryFile(/tmp/multipartBody9105515917837626676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786322654,"filename":"image_22112025_05_37_25_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5fc7b5a38211153346f1e59f7e0c912.jpg","text":"TemporaryFile(/tmp/multipartBody6861287185990858893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786322654,"filename":"image_22112025_05_37_21_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674765","file1":"1395674763","file0":"1395674760","file4":"1395674767","file5":"1395674768","file3":"1395674766"},"map_files_photo_id_array":[{"photo_id":"1395674768","filename":"file5"},{"photo_id":"1395674765","filename":"file2"},{"photo_id":"1395674767","filename":"file4"},{"photo_id":"1395674763","filename":"file1"},{"photo_id":"1395674760","filename":"file0"},{"photo_id":"1395674766","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674766":["hashtag1","hashtag2"]},{"1395674760":["hashtag1","hashtag2"]},{"1395674763":["hashtag1","hashtag2"]},{"1395674765":["hashtag1","hashtag2"]},{"1395674768":["hashtag1","hashtag2"]},{"1395674767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674766, 1395674760, 1395674763, 1395674765, 1395674768, 1395674767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03236627578735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:38:22.284853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_27_2617.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_31_3534.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_36_2569.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_40_3698.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_43_2649.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_50_7084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_27_2617.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_31_3534.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_36_2569.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_40_3698.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_43_2649.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_50_7084.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674795","1395674789","1395674780","1395674774","1395674777","1395674771"],"photo_ids_order":["1395674771","1395674774","1395674777","1395674780","1395674789","1395674795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfbbeb1089b64fa31ce3d48d966dc439.jpg","text":"TemporaryFile(/tmp/multipartBody219025118222107662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786362988,"filename":"image_22112025_05_37_50_7084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d75e6043a3424c3acee8a37c5af8b57f.jpg","text":"TemporaryFile(/tmp/multipartBody8304358703504952092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786362988,"filename":"image_22112025_05_37_43_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af031615e5e3c96957a7d0914e4e8c0d.jpg","text":"TemporaryFile(/tmp/multipartBody2551391118518808668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786362988,"filename":"image_22112025_05_37_40_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b4baf006a921c8d92f569e4d2d99ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2377527560071264444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786362988,"filename":"image_22112025_05_37_31_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45573ca0366280b9c438dd26f879903e.jpg","text":"TemporaryFile(/tmp/multipartBody2800608955494377179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786362988,"filename":"image_22112025_05_37_36_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0577a47787c657923e841f321074f68d.jpg","text":"TemporaryFile(/tmp/multipartBody5112628866398611097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786362988,"filename":"image_22112025_05_37_27_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674777","file1":"1395674774","file0":"1395674771","file4":"1395674789","file5":"1395674795","file3":"1395674780"},"map_files_photo_id_array":[{"photo_id":"1395674795","filename":"file5"},{"photo_id":"1395674777","filename":"file2"},{"photo_id":"1395674789","filename":"file4"},{"photo_id":"1395674774","filename":"file1"},{"photo_id":"1395674771","filename":"file0"},{"photo_id":"1395674780","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674795":["hashtag1","hashtag2"]},{"1395674789":["hashtag1","hashtag2"]},{"1395674780":["hashtag1","hashtag2"]},{"1395674774":["hashtag1","hashtag2"]},{"1395674777":["hashtag1","hashtag2"]},{"1395674771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674795, 1395674789, 1395674780, 1395674774, 1395674777, 1395674771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97476649284363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:39:03.287402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_55_1682.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_56_1701.jpg', '/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_58_1583.jpg', '/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_01_2756.jpg', '/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_03_2651.jpg', '/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_07_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_55_1682.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_56_1701.jpg
/home/pi/Desktop/images/22112025/05/37/image_22112025_05_37_58_1583.jpg
/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_01_2756.jpg
/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_03_2651.jpg
/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_07_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674800","1395674808","1395674802","1395674805","1395674797","1395674803"],"photo_ids_order":["1395674797","1395674800","1395674802","1395674803","1395674805","1395674808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d544154d2db0e0456257aad985107fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7844238120866407209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786404198,"filename":"image_22112025_05_37_56_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64b842d60e665c1df1069df95d7807aa.jpg","text":"TemporaryFile(/tmp/multipartBody3758562140844708167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786404198,"filename":"image_22112025_05_38_07_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6042319bffcef722f5023a8dc5b81be8.jpg","text":"TemporaryFile(/tmp/multipartBody6570499966546802588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786404198,"filename":"image_22112025_05_37_58_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77ded443ec2ef33c005e8cd9db6412db.jpg","text":"TemporaryFile(/tmp/multipartBody670831840276844330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786404198,"filename":"image_22112025_05_38_03_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47df631b11aba300ac73be9631b1ba48.jpg","text":"TemporaryFile(/tmp/multipartBody2107310604840919260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786404198,"filename":"image_22112025_05_37_55_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f419371e1ac6b8e9e14e18aa6d2dd421.jpg","text":"TemporaryFile(/tmp/multipartBody6854570035599496698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786404198,"filename":"image_22112025_05_38_01_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674802","file1":"1395674800","file0":"1395674797","file4":"1395674805","file5":"1395674808","file3":"1395674803"},"map_files_photo_id_array":[{"photo_id":"1395674808","filename":"file5"},{"photo_id":"1395674802","filename":"file2"},{"photo_id":"1395674805","filename":"file4"},{"photo_id":"1395674800","filename":"file1"},{"photo_id":"1395674797","filename":"file0"},{"photo_id":"1395674803","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674800":["hashtag1","hashtag2"]},{"1395674808":["hashtag1","hashtag2"]},{"1395674802":["hashtag1","hashtag2"]},{"1395674805":["hashtag1","hashtag2"]},{"1395674797":["hashtag1","hashtag2"]},{"1395674803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674800, 1395674808, 1395674802, 1395674805, 1395674797, 1395674803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01810121536255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:39:42.398984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_10_2787.jpg', '/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_12_2643.jpg', '/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_15_2729.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_06_3015.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_10_3633.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_16_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_10_2787.jpg
/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_12_2643.jpg
/home/pi/Desktop/images/22112025/05/38/image_22112025_05_38_15_2729.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_06_3015.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_10_3633.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_16_3590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674815","1395674820","1395674817","1395674819","1395674821","1395674818"],"photo_ids_order":["1395674815","1395674817","1395674818","1395674819","1395674820","1395674821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50a11c2fbfe8a139aa188eb62fa3cb75.jpg","text":"TemporaryFile(/tmp/multipartBody5280685895570922822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786443065,"filename":"image_22112025_05_38_10_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8385be0439b8a8081af869e5e9d371e6.jpg","text":"TemporaryFile(/tmp/multipartBody3892198160064935002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786443065,"filename":"image_22112025_05_39_10_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/431068f946925026d1468ecd965e5634.jpg","text":"TemporaryFile(/tmp/multipartBody1637881304100437932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786443065,"filename":"image_22112025_05_38_12_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be4e6182f5dc2f91c7daf8f7ebe69dab.jpg","text":"TemporaryFile(/tmp/multipartBody6190951788504503518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786443065,"filename":"image_22112025_05_39_06_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48ade8aca7f0afc7402dec8d18c7df65.jpg","text":"TemporaryFile(/tmp/multipartBody4973033674523772644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786443065,"filename":"image_22112025_05_39_16_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b5da4a0b1b4af8639fc7a1dce31a803.jpg","text":"TemporaryFile(/tmp/multipartBody6298908152255531077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786443065,"filename":"image_22112025_05_38_15_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674818","file1":"1395674817","file0":"1395674815","file4":"1395674820","file5":"1395674821","file3":"1395674819"},"map_files_photo_id_array":[{"photo_id":"1395674821","filename":"file5"},{"photo_id":"1395674818","filename":"file2"},{"photo_id":"1395674820","filename":"file4"},{"photo_id":"1395674817","filename":"file1"},{"photo_id":"1395674815","filename":"file0"},{"photo_id":"1395674819","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674815":["hashtag1","hashtag2"]},{"1395674820":["hashtag1","hashtag2"]},{"1395674817":["hashtag1","hashtag2"]},{"1395674819":["hashtag1","hashtag2"]},{"1395674821":["hashtag1","hashtag2"]},{"1395674818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674815, 1395674820, 1395674817, 1395674819, 1395674821, 1395674818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29818367958069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:40:22.709281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_19_2687.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_22_2498.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_40_3672.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_43_2710.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_49_2735.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_52_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_19_2687.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_22_2498.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_40_3672.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_43_2710.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_49_2735.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_52_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674838","1395674831","1395674825","1395674834","1395674828","1395674836"],"photo_ids_order":["1395674825","1395674828","1395674831","1395674834","1395674836","1395674838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e7d9fb310efaed95130a0dc80f4ac55.jpg","text":"TemporaryFile(/tmp/multipartBody7835286104401916474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786483419,"filename":"image_22112025_05_39_52_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a05919dc0cfc94efd359702b17ffe79c.jpg","text":"TemporaryFile(/tmp/multipartBody7334123309963893300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786483419,"filename":"image_22112025_05_39_40_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55d3c67ec4bbba1485b6079f92e21bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8566422796994012698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786483419,"filename":"image_22112025_05_39_19_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af4f5360e475132fc8e5dcf341cb3b84.jpg","text":"TemporaryFile(/tmp/multipartBody7618605885510189637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786483419,"filename":"image_22112025_05_39_43_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cd9900593ba990b7d29e30ba713ddaa.jpg","text":"TemporaryFile(/tmp/multipartBody7244422878178581737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786483419,"filename":"image_22112025_05_39_22_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/390283af0662055c53b5bb62f1946059.jpg","text":"TemporaryFile(/tmp/multipartBody5629520565343135278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786483419,"filename":"image_22112025_05_39_49_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674831","file1":"1395674828","file0":"1395674825","file4":"1395674836","file5":"1395674838","file3":"1395674834"},"map_files_photo_id_array":[{"photo_id":"1395674838","filename":"file5"},{"photo_id":"1395674831","filename":"file2"},{"photo_id":"1395674836","filename":"file4"},{"photo_id":"1395674828","filename":"file1"},{"photo_id":"1395674825","filename":"file0"},{"photo_id":"1395674834","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674838":["hashtag1","hashtag2"]},{"1395674831":["hashtag1","hashtag2"]},{"1395674825":["hashtag1","hashtag2"]},{"1395674834":["hashtag1","hashtag2"]},{"1395674828":["hashtag1","hashtag2"]},{"1395674836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674838, 1395674831, 1395674825, 1395674834, 1395674828, 1395674836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07097053527832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:41:02.585607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_55_2772.jpg', '/home/pi/Desktop/images/22112025/05/39/image_22112025_05_40_01_3598.jpg', '/home/pi/Desktop/images/22112025/05/40/image_22112025_05_40_04_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_39_55_2772.jpg
/home/pi/Desktop/images/22112025/05/39/image_22112025_05_40_01_3598.jpg
/home/pi/Desktop/images/22112025/05/40/image_22112025_05_40_04_2794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674841","1395674843","1395674842"],"photo_ids_order":["1395674841","1395674842","1395674843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8262070df2d94214d6c7788c8f083f52.jpg","text":"TemporaryFile(/tmp/multipartBody9044023100651389971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786523255,"filename":"image_22112025_05_39_55_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf20a688f7e561a6a666f9ce600b4d10.jpg","text":"TemporaryFile(/tmp/multipartBody4638630866526971056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786523255,"filename":"image_22112025_05_40_04_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdf4f32722c4806dcf7636856b0f4919.jpg","text":"TemporaryFile(/tmp/multipartBody5249851611986584165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786523255,"filename":"image_22112025_05_40_01_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674843","file1":"1395674842","file0":"1395674841"},"map_files_photo_id_array":[{"photo_id":"1395674843","filename":"file2"},{"photo_id":"1395674842","filename":"file1"},{"photo_id":"1395674841","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674841":["hashtag1","hashtag2"]},{"1395674843":["hashtag1","hashtag2"]},{"1395674842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674841, 1395674843, 1395674842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.631966590881348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:41:41.902103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/40/image_22112025_05_40_09_2600.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_07_3018.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_10_3633.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_13_2656.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_16_2963.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_22_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/40/image_22112025_05_40_09_2600.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_07_3018.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_10_3633.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_13_2656.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_16_2963.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_22_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674859","1395674853","1395674856","1395674861","1395674864","1395674858"],"photo_ids_order":["1395674853","1395674856","1395674858","1395674859","1395674861","1395674864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77db9fb262b7941e2c9a5c82e8bb6551.jpg","text":"TemporaryFile(/tmp/multipartBody8858102122889701978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786562568,"filename":"image_22112025_05_41_13_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9fe4ca38c07eccf653330467e90435f.jpg","text":"TemporaryFile(/tmp/multipartBody1016228410290189122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786562568,"filename":"image_22112025_05_40_09_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fac3c58afd2a3f93709eded887f48f01.jpg","text":"TemporaryFile(/tmp/multipartBody900384095245377886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786562568,"filename":"image_22112025_05_41_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c7fb8665f394f9f8ab3c59c93c94aba.jpg","text":"TemporaryFile(/tmp/multipartBody5384651523428012203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786562568,"filename":"image_22112025_05_41_16_2963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c274c72c7aa9e4f44d7c52b618ef5566.jpg","text":"TemporaryFile(/tmp/multipartBody842683587030198736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786562568,"filename":"image_22112025_05_41_22_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aebe71c18ec26119fa699375f46dc274.jpg","text":"TemporaryFile(/tmp/multipartBody1959355564175154205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786562568,"filename":"image_22112025_05_41_10_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674858","file1":"1395674856","file0":"1395674853","file4":"1395674861","file5":"1395674864","file3":"1395674859"},"map_files_photo_id_array":[{"photo_id":"1395674864","filename":"file5"},{"photo_id":"1395674858","filename":"file2"},{"photo_id":"1395674861","filename":"file4"},{"photo_id":"1395674856","filename":"file1"},{"photo_id":"1395674853","filename":"file0"},{"photo_id":"1395674859","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674859":["hashtag1","hashtag2"]},{"1395674853":["hashtag1","hashtag2"]},{"1395674856":["hashtag1","hashtag2"]},{"1395674861":["hashtag1","hashtag2"]},{"1395674864":["hashtag1","hashtag2"]},{"1395674858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674859, 1395674853, 1395674856, 1395674861, 1395674864, 1395674858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53129482269287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:42:22.142237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_25_2959.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_28_2644.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_34_2672.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_41_3676.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_46_2706.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_50_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_25_2959.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_28_2644.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_34_2672.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_41_3676.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_46_2706.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_50_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674883","1395674879","1395674887","1395674872","1395674866","1395674869"],"photo_ids_order":["1395674866","1395674869","1395674872","1395674879","1395674883","1395674887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c8a93392285b847241c31e3a8ed0fee.jpg","text":"TemporaryFile(/tmp/multipartBody4219334261225660330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786602863,"filename":"image_22112025_05_41_46_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0d730ce301d6ed6c54a15fc8ff18b84.jpg","text":"TemporaryFile(/tmp/multipartBody9111745560043529214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786602863,"filename":"image_22112025_05_41_41_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e6de338e390b2d6f854df16f8975d3d.jpg","text":"TemporaryFile(/tmp/multipartBody2034411287282541341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786602863,"filename":"image_22112025_05_41_50_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23518bf6f0709d88ce9d4aa1c6d04e28.jpg","text":"TemporaryFile(/tmp/multipartBody2501816099406892143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786602863,"filename":"image_22112025_05_41_34_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f17edade4657662417bb1b30528d806c.jpg","text":"TemporaryFile(/tmp/multipartBody5345891641439109476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786602863,"filename":"image_22112025_05_41_25_2959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2019369636f9933d7027f05d7a27a219.jpg","text":"TemporaryFile(/tmp/multipartBody5107267314546891256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786602863,"filename":"image_22112025_05_41_28_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674872","file1":"1395674869","file0":"1395674866","file4":"1395674883","file5":"1395674887","file3":"1395674879"},"map_files_photo_id_array":[{"photo_id":"1395674887","filename":"file5"},{"photo_id":"1395674872","filename":"file2"},{"photo_id":"1395674883","filename":"file4"},{"photo_id":"1395674869","filename":"file1"},{"photo_id":"1395674866","filename":"file0"},{"photo_id":"1395674879","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674883":["hashtag1","hashtag2"]},{"1395674879":["hashtag1","hashtag2"]},{"1395674887":["hashtag1","hashtag2"]},{"1395674872":["hashtag1","hashtag2"]},{"1395674866":["hashtag1","hashtag2"]},{"1395674869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674883, 1395674879, 1395674887, 1395674872, 1395674866, 1395674869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.339272260665894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:43:02.989112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_52_2765.jpg', '/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_55_2635.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_01_2543.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_07_3637.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_10_2589.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_16_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_52_2765.jpg
/home/pi/Desktop/images/22112025/05/41/image_22112025_05_41_55_2635.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_01_2543.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_07_3637.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_10_2589.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_16_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674895","1395674892","1395674894","1395674897","1395674899","1395674893"],"photo_ids_order":["1395674892","1395674893","1395674894","1395674895","1395674897","1395674899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/062ee6f9fe1dc80511b322d1d004eb23.jpg","text":"TemporaryFile(/tmp/multipartBody5125924078645863858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786643758,"filename":"image_22112025_05_42_07_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f4bc6f7a60c5b2eb06e4142171c56a6.jpg","text":"TemporaryFile(/tmp/multipartBody1084337478531223634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786643758,"filename":"image_22112025_05_41_52_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7eb03b1fad24244ff7c3a0dae873f7b5.jpg","text":"TemporaryFile(/tmp/multipartBody6895637311475466194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786643758,"filename":"image_22112025_05_42_01_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f27ea6fbf2d5ab4d08d054ea4c286dd.jpg","text":"TemporaryFile(/tmp/multipartBody200978605112991800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786643758,"filename":"image_22112025_05_42_10_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/240f9fb1de90361106b7d50064ff393c.jpg","text":"TemporaryFile(/tmp/multipartBody1457774908348947944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786643758,"filename":"image_22112025_05_42_16_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51318dc84dc4771ce306e8a964030c23.jpg","text":"TemporaryFile(/tmp/multipartBody296300386168579232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786643758,"filename":"image_22112025_05_41_55_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674894","file1":"1395674893","file0":"1395674892","file4":"1395674897","file5":"1395674899","file3":"1395674895"},"map_files_photo_id_array":[{"photo_id":"1395674899","filename":"file5"},{"photo_id":"1395674894","filename":"file2"},{"photo_id":"1395674897","filename":"file4"},{"photo_id":"1395674893","filename":"file1"},{"photo_id":"1395674892","filename":"file0"},{"photo_id":"1395674895","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674895":["hashtag1","hashtag2"]},{"1395674892":["hashtag1","hashtag2"]},{"1395674894":["hashtag1","hashtag2"]},{"1395674897":["hashtag1","hashtag2"]},{"1395674899":["hashtag1","hashtag2"]},{"1395674893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674895, 1395674892, 1395674894, 1395674897, 1395674899, 1395674893)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.62245225906372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:44:03.095500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:44:24.703792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_19_2663.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_22_3513.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_25_2822.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_32_3623.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_34_2612.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_41_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_19_2663.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_22_3513.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_25_2822.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_32_3623.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_34_2612.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_41_3612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 3.0497539043426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:44:43.386852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_19_2663.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_22_3513.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_25_2822.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_32_3623.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_34_2612.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_41_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_19_2663.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_22_3513.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_25_2822.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_32_3623.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_34_2612.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_41_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674931","1395674934","1395674937","1395674936","1395674935","1395674938"],"photo_ids_order":["1395674931","1395674934","1395674935","1395674936","1395674937","1395674938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13cb3442366cb71afdae09e6fcd61fee.jpg","text":"TemporaryFile(/tmp/multipartBody6441583880259418592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786744054,"filename":"image_22112025_05_42_19_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fdbd5b204d0e53eac5c48f2f2fccf2f.jpg","text":"TemporaryFile(/tmp/multipartBody4081921038207581027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786744054,"filename":"image_22112025_05_42_22_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd7f7b5b85a7039f9fcae3f17c625040.jpg","text":"TemporaryFile(/tmp/multipartBody6519470145760892707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786744054,"filename":"image_22112025_05_42_34_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5799fcb8ec15cedd3f3d44922fffa104.jpg","text":"TemporaryFile(/tmp/multipartBody6916921154976577097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786744054,"filename":"image_22112025_05_42_32_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81bdcab6fb1037d8f1d1fe854748d46d.jpg","text":"TemporaryFile(/tmp/multipartBody3960477030944102003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786744054,"filename":"image_22112025_05_42_25_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0ad18c99ee5c22807de16256ce599c7.jpg","text":"TemporaryFile(/tmp/multipartBody7084240146566214527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786744054,"filename":"image_22112025_05_42_41_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674935","file1":"1395674934","file0":"1395674931","file4":"1395674937","file5":"1395674938","file3":"1395674936"},"map_files_photo_id_array":[{"photo_id":"1395674938","filename":"file5"},{"photo_id":"1395674935","filename":"file2"},{"photo_id":"1395674937","filename":"file4"},{"photo_id":"1395674934","filename":"file1"},{"photo_id":"1395674931","filename":"file0"},{"photo_id":"1395674936","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674931":["hashtag1","hashtag2"]},{"1395674934":["hashtag1","hashtag2"]},{"1395674937":["hashtag1","hashtag2"]},{"1395674936":["hashtag1","hashtag2"]},{"1395674935":["hashtag1","hashtag2"]},{"1395674938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674931, 1395674934, 1395674937, 1395674936, 1395674935, 1395674938)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.59137749671936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:45:41.924031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_43_2779.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_46_2727.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_55_2566.jpg', '/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_59_3656.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_07_3020.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_11_3801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_43_2779.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_46_2727.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_55_2566.jpg
/home/pi/Desktop/images/22112025/05/42/image_22112025_05_42_59_3656.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_07_3020.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_11_3801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674958","1395674952","1395674955","1395674954","1395674956","1395674950"],"photo_ids_order":["1395674950","1395674952","1395674954","1395674955","1395674956","1395674958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eed4703ee59ff6c1a8c2d89d2942349b.jpg","text":"TemporaryFile(/tmp/multipartBody2717642551428154137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786802662,"filename":"image_22112025_05_44_11_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee3c41075ac28fd6ef1cc0937be4b756.jpg","text":"TemporaryFile(/tmp/multipartBody5787678212760455845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786802662,"filename":"image_22112025_05_42_46_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2129a690f904fb5e3b7962eb68e233a1.jpg","text":"TemporaryFile(/tmp/multipartBody3216556822012724739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786802662,"filename":"image_22112025_05_42_59_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/beadaef4fcc311aa3876276d9628ac90.jpg","text":"TemporaryFile(/tmp/multipartBody8179477767917683572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786802662,"filename":"image_22112025_05_42_55_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85f08fe2c6118b99633ba234092ababd.jpg","text":"TemporaryFile(/tmp/multipartBody2665914485702763667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786802662,"filename":"image_22112025_05_44_07_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c08d5975c75c96f2441c2652e272d769.jpg","text":"TemporaryFile(/tmp/multipartBody182765501540139499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786802662,"filename":"image_22112025_05_42_43_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395674954","file1":"1395674952","file0":"1395674950","file4":"1395674956","file5":"1395674958","file3":"1395674955"},"map_files_photo_id_array":[{"photo_id":"1395674958","filename":"file5"},{"photo_id":"1395674954","filename":"file2"},{"photo_id":"1395674956","filename":"file4"},{"photo_id":"1395674952","filename":"file1"},{"photo_id":"1395674950","filename":"file0"},{"photo_id":"1395674955","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674958":["hashtag1","hashtag2"]},{"1395674952":["hashtag1","hashtag2"]},{"1395674955":["hashtag1","hashtag2"]},{"1395674954":["hashtag1","hashtag2"]},{"1395674956":["hashtag1","hashtag2"]},{"1395674950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674958, 1395674952, 1395674955, 1395674954, 1395674956, 1395674950)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.65750789642334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:46:46.358631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_14_2927.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_16_2558.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_20_3566.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_23_2708.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_29_3561.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_32_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_14_2927.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_16_2558.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_20_3566.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_23_2708.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_29_3561.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_32_2696.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5652227401733398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:47:03.188055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_14_2927.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_16_2558.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_20_3566.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_23_2708.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_29_3561.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_32_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_14_2927.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_16_2558.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_20_3566.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_23_2708.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_29_3561.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_32_2696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395674990","1395675005","1395675010","1395675004","1395675013","1395675007"],"photo_ids_order":["1395674990","1395675004","1395675005","1395675007","1395675010","1395675013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a0dea160de96d96a4f99de193abbafd.jpg","text":"TemporaryFile(/tmp/multipartBody4836401464219730085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786886291,"filename":"image_22112025_05_44_14_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bf66ac777c22f5ebad0bb1225c0247b.jpg","text":"TemporaryFile(/tmp/multipartBody1673379400463524610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786886291,"filename":"image_22112025_05_44_20_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe6145978d2332f15ad068589d9eec22.jpg","text":"TemporaryFile(/tmp/multipartBody6221767079698695642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786886291,"filename":"image_22112025_05_44_29_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d21e7ce3f3741ee93adc5a7cd87155a0.jpg","text":"TemporaryFile(/tmp/multipartBody7153141990060241139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786886291,"filename":"image_22112025_05_44_16_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a7aa7e8ab8f050f71f4854dd773dafd.jpg","text":"TemporaryFile(/tmp/multipartBody7076190819633871875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786886291,"filename":"image_22112025_05_44_32_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/143347a6454dfbb6f4fc06a4fbb5d116.jpg","text":"TemporaryFile(/tmp/multipartBody5110363865107747085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786886291,"filename":"image_22112025_05_44_23_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675005","file1":"1395675004","file0":"1395674990","file4":"1395675010","file5":"1395675013","file3":"1395675007"},"map_files_photo_id_array":[{"photo_id":"1395675013","filename":"file5"},{"photo_id":"1395675005","filename":"file2"},{"photo_id":"1395675010","filename":"file4"},{"photo_id":"1395675004","filename":"file1"},{"photo_id":"1395674990","filename":"file0"},{"photo_id":"1395675007","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395674990":["hashtag1","hashtag2"]},{"1395675005":["hashtag1","hashtag2"]},{"1395675010":["hashtag1","hashtag2"]},{"1395675004":["hashtag1","hashtag2"]},{"1395675013":["hashtag1","hashtag2"]},{"1395675007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395674990, 1395675005, 1395675010, 1395675004, 1395675013, 1395675007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.925933837890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:48:03.095593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_35_3666.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_38_2667.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_41_2777.jpg', '/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_49_2580.jpg', '/home/pi/Desktop/images/22112025/05/45/image_22112025_05_45_04_2734.jpg', '/home/pi/Desktop/images/22112025/05/45/image_22112025_05_45_07_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_35_3666.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_38_2667.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_41_2777.jpg
/home/pi/Desktop/images/22112025/05/44/image_22112025_05_44_49_2580.jpg
/home/pi/Desktop/images/22112025/05/45/image_22112025_05_45_04_2734.jpg
/home/pi/Desktop/images/22112025/05/45/image_22112025_05_45_07_2878.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675027","1395675026","1395675029","1395675034","1395675028","1395675031"],"photo_ids_order":["1395675026","1395675027","1395675028","1395675029","1395675031","1395675034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4497c70733562a0a9328058aa38a7795.jpg","text":"TemporaryFile(/tmp/multipartBody4215434233197398284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786943806,"filename":"image_22112025_05_44_38_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff9ced655e4cafd86e0b4a792040e708.jpg","text":"TemporaryFile(/tmp/multipartBody5384938853860053635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786943806,"filename":"image_22112025_05_44_35_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73aba1c2399d225b58b383813a3d8014.jpg","text":"TemporaryFile(/tmp/multipartBody1865215534480526825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786943806,"filename":"image_22112025_05_44_49_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcc51f996d2ed76697c9601b08697811.jpg","text":"TemporaryFile(/tmp/multipartBody4306888144105651399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786943806,"filename":"image_22112025_05_45_07_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90053c9d4c1de4765833524346087151.jpg","text":"TemporaryFile(/tmp/multipartBody270534318056510649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786943806,"filename":"image_22112025_05_44_41_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f31d2d55b637545f9d9a3d01ede3872b.jpg","text":"TemporaryFile(/tmp/multipartBody602695048328931769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786943806,"filename":"image_22112025_05_45_04_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675028","file1":"1395675027","file0":"1395675026","file4":"1395675031","file5":"1395675034","file3":"1395675029"},"map_files_photo_id_array":[{"photo_id":"1395675034","filename":"file5"},{"photo_id":"1395675028","filename":"file2"},{"photo_id":"1395675031","filename":"file4"},{"photo_id":"1395675027","filename":"file1"},{"photo_id":"1395675026","filename":"file0"},{"photo_id":"1395675029","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675027":["hashtag1","hashtag2"]},{"1395675026":["hashtag1","hashtag2"]},{"1395675029":["hashtag1","hashtag2"]},{"1395675034":["hashtag1","hashtag2"]},{"1395675028":["hashtag1","hashtag2"]},{"1395675031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675027, 1395675026, 1395675029, 1395675034, 1395675028, 1395675031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.643280029296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:48:42.669744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_06_3012.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_10_3662.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_13_2860.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_17_4595.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_22_1507.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_24_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_06_3012.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_10_3662.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_13_2860.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_17_4595.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_22_1507.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_24_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675042","1395675045","1395675044","1395675047","1395675046","1395675043"],"photo_ids_order":["1395675042","1395675043","1395675044","1395675045","1395675046","1395675047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6dd3d4524e4a35004266b149a08bc08.jpg","text":"TemporaryFile(/tmp/multipartBody1066988409057729280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786983334,"filename":"image_22112025_05_47_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12847cf49cc33217e2639f6ca4de791f.jpg","text":"TemporaryFile(/tmp/multipartBody6288993838668486771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786983334,"filename":"image_22112025_05_47_17_4595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ae2f76604f2a05472b41e7156f7f381.jpg","text":"TemporaryFile(/tmp/multipartBody5704058174949935896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786983334,"filename":"image_22112025_05_47_13_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d1aff7b04e2e3104e6a56dd9ec382c3.jpg","text":"TemporaryFile(/tmp/multipartBody1790952753883630100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786983334,"filename":"image_22112025_05_47_24_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e6a1a210c2c334f64f98118098afc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8269891581305727867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786983334,"filename":"image_22112025_05_47_22_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/135b407135d8fcc3df2a156401ac6da6.jpg","text":"TemporaryFile(/tmp/multipartBody8981830190915539583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763786983334,"filename":"image_22112025_05_47_10_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675044","file1":"1395675043","file0":"1395675042","file4":"1395675046","file5":"1395675047","file3":"1395675045"},"map_files_photo_id_array":[{"photo_id":"1395675047","filename":"file5"},{"photo_id":"1395675044","filename":"file2"},{"photo_id":"1395675046","filename":"file4"},{"photo_id":"1395675043","filename":"file1"},{"photo_id":"1395675042","filename":"file0"},{"photo_id":"1395675045","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675042":["hashtag1","hashtag2"]},{"1395675045":["hashtag1","hashtag2"]},{"1395675044":["hashtag1","hashtag2"]},{"1395675047":["hashtag1","hashtag2"]},{"1395675046":["hashtag1","hashtag2"]},{"1395675043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675042, 1395675045, 1395675044, 1395675047, 1395675046, 1395675043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.935229778289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:49:22.729954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_28_3621.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_31_2605.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_34_3490.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_38_3515.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_39_1696.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_48_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_28_3621.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_31_2605.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_34_3490.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_38_3515.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_39_1696.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_48_1725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675063","1395675057","1395675066","1395675051","1395675054","1395675060"],"photo_ids_order":["1395675051","1395675054","1395675057","1395675060","1395675063","1395675066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/190f308d5a185f1fb57cbbec0dd06aba.jpg","text":"TemporaryFile(/tmp/multipartBody3105241323454670096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787023405,"filename":"image_22112025_05_47_39_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a044312ee028cd6035483d46b454fdb1.jpg","text":"TemporaryFile(/tmp/multipartBody8217031499449578421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787023405,"filename":"image_22112025_05_47_34_3490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44d5e712f374dd846fb2db9cdedaf391.jpg","text":"TemporaryFile(/tmp/multipartBody7165836780398996857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787023405,"filename":"image_22112025_05_47_48_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b70b6a96ff471e81a84d2c8fd2f97e5.jpg","text":"TemporaryFile(/tmp/multipartBody7094134548190785903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787023405,"filename":"image_22112025_05_47_28_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/421da699d6539955e4596cf46e1fc42a.jpg","text":"TemporaryFile(/tmp/multipartBody5106125680519428651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787023405,"filename":"image_22112025_05_47_31_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adce701614d9c0181ab01a8f956de689.jpg","text":"TemporaryFile(/tmp/multipartBody6847032332817472486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787023405,"filename":"image_22112025_05_47_38_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675057","file1":"1395675054","file0":"1395675051","file4":"1395675063","file5":"1395675066","file3":"1395675060"},"map_files_photo_id_array":[{"photo_id":"1395675066","filename":"file5"},{"photo_id":"1395675057","filename":"file2"},{"photo_id":"1395675063","filename":"file4"},{"photo_id":"1395675054","filename":"file1"},{"photo_id":"1395675051","filename":"file0"},{"photo_id":"1395675060","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675063":["hashtag1","hashtag2"]},{"1395675057":["hashtag1","hashtag2"]},{"1395675066":["hashtag1","hashtag2"]},{"1395675051":["hashtag1","hashtag2"]},{"1395675054":["hashtag1","hashtag2"]},{"1395675060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675063, 1395675057, 1395675066, 1395675051, 1395675054, 1395675060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71866202354431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:50:06.740443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_50_1786.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_55_3536.jpg', '/home/pi/Desktop/images/22112025/05/48/image_22112025_05_48_01_6400.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_07_3019.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_22_2645.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_25_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_50_1786.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_55_3536.jpg
/home/pi/Desktop/images/22112025/05/48/image_22112025_05_48_01_6400.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_07_3019.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_22_2645.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_25_2685.jpg
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 14.873772144317627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:50:41.939426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_50_1786.jpg', '/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_55_3536.jpg', '/home/pi/Desktop/images/22112025/05/48/image_22112025_05_48_01_6400.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_07_3019.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_22_2645.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_25_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_50_1786.jpg
/home/pi/Desktop/images/22112025/05/47/image_22112025_05_47_55_3536.jpg
/home/pi/Desktop/images/22112025/05/48/image_22112025_05_48_01_6400.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_07_3019.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_22_2645.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_25_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675090","1395675095","1395675094","1395675091","1395675093","1395675096"],"photo_ids_order":["1395675090","1395675091","1395675093","1395675094","1395675095","1395675096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70f2c08139af0fdcfe9700258414aa25.jpg","text":"TemporaryFile(/tmp/multipartBody6509158926027734448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787102611,"filename":"image_22112025_05_47_50_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3bdcca53b90f3d260f7e6365dac7e13.jpg","text":"TemporaryFile(/tmp/multipartBody6099136465847762186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787102611,"filename":"image_22112025_05_49_22_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e536ced0f1664c0416bda23e376e30f.jpg","text":"TemporaryFile(/tmp/multipartBody2637048834606161967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787102611,"filename":"image_22112025_05_49_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/524170064ff4b87310f974da607ee744.jpg","text":"TemporaryFile(/tmp/multipartBody4563827814136595948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787102611,"filename":"image_22112025_05_47_55_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0fa248acc72a8df6d9395fcdde73c86.jpg","text":"TemporaryFile(/tmp/multipartBody5756162183532943923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787102611,"filename":"image_22112025_05_48_01_6400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b5a046286e1bf9667af8cb05f0db768.jpg","text":"TemporaryFile(/tmp/multipartBody6616389429751972521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787102611,"filename":"image_22112025_05_49_25_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675093","file1":"1395675091","file0":"1395675090","file4":"1395675095","file5":"1395675096","file3":"1395675094"},"map_files_photo_id_array":[{"photo_id":"1395675096","filename":"file5"},{"photo_id":"1395675093","filename":"file2"},{"photo_id":"1395675095","filename":"file4"},{"photo_id":"1395675091","filename":"file1"},{"photo_id":"1395675090","filename":"file0"},{"photo_id":"1395675094","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675090":["hashtag1","hashtag2"]},{"1395675095":["hashtag1","hashtag2"]},{"1395675094":["hashtag1","hashtag2"]},{"1395675091":["hashtag1","hashtag2"]},{"1395675093":["hashtag1","hashtag2"]},{"1395675096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675090, 1395675095, 1395675094, 1395675091, 1395675093, 1395675096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.684791564941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:51:22.906366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_32_2745.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_34_2739.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_38_3673.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_41_2723.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_43_2653.jpg', '/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_47_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_32_2745.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_34_2739.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_38_3673.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_41_2723.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_43_2653.jpg
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_47_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675123","1395675129","1395675133","1395675127","1395675121","1395675118"],"photo_ids_order":["1395675118","1395675121","1395675123","1395675127","1395675129","1395675133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06a8fde9cd3fdc6bb760dc0a2e1c4c05.jpg","text":"TemporaryFile(/tmp/multipartBody7863207912124014050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787143609,"filename":"image_22112025_05_49_38_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ac491825af54a052696b34ae8eff27c.jpg","text":"TemporaryFile(/tmp/multipartBody3696513245984091041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787143609,"filename":"image_22112025_05_49_43_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5861b55f4e631fd1a7b576f0132cc18f.jpg","text":"TemporaryFile(/tmp/multipartBody5796341913763644198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787143609,"filename":"image_22112025_05_49_47_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19ec84d0fed3b8ba998a2772132f23b3.jpg","text":"TemporaryFile(/tmp/multipartBody6952324267569304490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787143609,"filename":"image_22112025_05_49_41_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4aca1fa82619128d24b6f861facbee9f.jpg","text":"TemporaryFile(/tmp/multipartBody4628722695331565444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787143609,"filename":"image_22112025_05_49_34_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a29c46570ca56900cc9afc2f50c081b7.jpg","text":"TemporaryFile(/tmp/multipartBody5379948678670092424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787143609,"filename":"image_22112025_05_49_32_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675123","file1":"1395675121","file0":"1395675118","file4":"1395675129","file5":"1395675133","file3":"1395675127"},"map_files_photo_id_array":[{"photo_id":"1395675133","filename":"file5"},{"photo_id":"1395675123","filename":"file2"},{"photo_id":"1395675129","filename":"file4"},{"photo_id":"1395675121","filename":"file1"},{"photo_id":"1395675118","filename":"file0"},{"photo_id":"1395675127","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675123":["hashtag1","hashtag2"]},{"1395675129":["hashtag1","hashtag2"]},{"1395675133":["hashtag1","hashtag2"]},{"1395675127":["hashtag1","hashtag2"]},{"1395675121":["hashtag1","hashtag2"]},{"1395675118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675123, 1395675129, 1395675133, 1395675127, 1395675121, 1395675118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11047863960266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:52:02.418605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_50_2623.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_06_3018.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_10_4182.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_25_14800.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_27_1723.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_30_1746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/49/image_22112025_05_49_50_2623.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_06_3018.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_10_4182.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_25_14800.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_27_1723.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_30_1746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675141","1395675135","1395675134","1395675137","1395675139","1395675136"],"photo_ids_order":["1395675134","1395675135","1395675136","1395675137","1395675139","1395675141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e7914231a0967eacf46d6e519d1b714.jpg","text":"TemporaryFile(/tmp/multipartBody8908690925359025885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787183128,"filename":"image_22112025_05_51_30_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c91864c1a1ca6d81a572c6e5a1de2af.jpg","text":"TemporaryFile(/tmp/multipartBody4933320031039044264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787183128,"filename":"image_22112025_05_51_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aad02945fecb99de1e980fce2e1ff6e4.jpg","text":"TemporaryFile(/tmp/multipartBody4111748317734448107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787183128,"filename":"image_22112025_05_49_50_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52dd79b803c0d0096e2d4e44bd6ff995.jpg","text":"TemporaryFile(/tmp/multipartBody444228088175770916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787183128,"filename":"image_22112025_05_51_25_14800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21831d216008d5be53fd3fca333c3924.jpg","text":"TemporaryFile(/tmp/multipartBody7375511510610680589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787183128,"filename":"image_22112025_05_51_27_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d86718e615b77ac774f532d136662f78.jpg","text":"TemporaryFile(/tmp/multipartBody788684139386144390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787183128,"filename":"image_22112025_05_51_10_4182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675136","file1":"1395675135","file0":"1395675134","file4":"1395675139","file5":"1395675141","file3":"1395675137"},"map_files_photo_id_array":[{"photo_id":"1395675141","filename":"file5"},{"photo_id":"1395675136","filename":"file2"},{"photo_id":"1395675139","filename":"file4"},{"photo_id":"1395675135","filename":"file1"},{"photo_id":"1395675134","filename":"file0"},{"photo_id":"1395675137","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675141":["hashtag1","hashtag2"]},{"1395675135":["hashtag1","hashtag2"]},{"1395675134":["hashtag1","hashtag2"]},{"1395675137":["hashtag1","hashtag2"]},{"1395675139":["hashtag1","hashtag2"]},{"1395675136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675141, 1395675135, 1395675134, 1395675137, 1395675139, 1395675136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78656888008118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:52:42.048755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_32_1573.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_33_1668.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_35_1639.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_37_1587.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_38_1651.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_43_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_32_1573.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_33_1668.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_35_1639.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_37_1587.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_38_1651.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_43_2539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675177","1395675150","1395675153","1395675155","1395675163","1395675157"],"photo_ids_order":["1395675150","1395675153","1395675155","1395675157","1395675163","1395675177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdbf8f89f92aef7b4b77876bf0d58bd2.jpg","text":"TemporaryFile(/tmp/multipartBody5052368812588308933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787222715,"filename":"image_22112025_05_51_43_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f66208f8004b9459176eedd59a01151b.jpg","text":"TemporaryFile(/tmp/multipartBody4188905574936738010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787222715,"filename":"image_22112025_05_51_32_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5584c09d026715b7c872ac99edbdbf02.jpg","text":"TemporaryFile(/tmp/multipartBody7417907134311433109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787222715,"filename":"image_22112025_05_51_33_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/476bbbd9012ba0b0d24714d6484cae4b.jpg","text":"TemporaryFile(/tmp/multipartBody8730416022247404089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787222715,"filename":"image_22112025_05_51_35_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/443f0515f940e47aba4834e85de6df2c.jpg","text":"TemporaryFile(/tmp/multipartBody3994301382380737491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787222715,"filename":"image_22112025_05_51_38_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/769f29397925876fd7cb8b216c86c28b.jpg","text":"TemporaryFile(/tmp/multipartBody7926153265294409896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787222715,"filename":"image_22112025_05_51_37_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675155","file1":"1395675153","file0":"1395675150","file4":"1395675163","file5":"1395675177","file3":"1395675157"},"map_files_photo_id_array":[{"photo_id":"1395675177","filename":"file5"},{"photo_id":"1395675155","filename":"file2"},{"photo_id":"1395675163","filename":"file4"},{"photo_id":"1395675153","filename":"file1"},{"photo_id":"1395675150","filename":"file0"},{"photo_id":"1395675157","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675177":["hashtag1","hashtag2"]},{"1395675150":["hashtag1","hashtag2"]},{"1395675153":["hashtag1","hashtag2"]},{"1395675155":["hashtag1","hashtag2"]},{"1395675163":["hashtag1","hashtag2"]},{"1395675157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675177, 1395675150, 1395675153, 1395675155, 1395675163, 1395675157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.981494188308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:53:22.304454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_45_2630.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_49_3614.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_51_2552.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_55_3642.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_58_2661.jpg', '/home/pi/Desktop/images/22112025/05/52/image_22112025_05_52_03_4894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_45_2630.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_49_3614.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_51_2552.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_55_3642.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_58_2661.jpg
/home/pi/Desktop/images/22112025/05/52/image_22112025_05_52_03_4894.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5951881408691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:53:42.282720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_45_2630.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_49_3614.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_51_2552.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_55_3642.jpg', '/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_58_2661.jpg', '/home/pi/Desktop/images/22112025/05/52/image_22112025_05_52_03_4894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_45_2630.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_49_3614.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_51_2552.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_55_3642.jpg
/home/pi/Desktop/images/22112025/05/51/image_22112025_05_51_58_2661.jpg
/home/pi/Desktop/images/22112025/05/52/image_22112025_05_52_03_4894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675198","1395675204","1395675201","1395675194","1395675200","1395675199"],"photo_ids_order":["1395675194","1395675198","1395675199","1395675200","1395675201","1395675204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc3823dd99e9a80bf536355c1889db52.jpg","text":"TemporaryFile(/tmp/multipartBody2476987456488758249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787282986,"filename":"image_22112025_05_51_49_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ffc08d085e3256811983a3329bcfebb.jpg","text":"TemporaryFile(/tmp/multipartBody5336780473327678769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787282986,"filename":"image_22112025_05_52_03_4894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea62ad38ad06c2f676d0bac1ec26657a.jpg","text":"TemporaryFile(/tmp/multipartBody4768610034836882385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787282986,"filename":"image_22112025_05_51_58_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a97e2a68cb1b9b3807d5fc3ed3faf22.jpg","text":"TemporaryFile(/tmp/multipartBody5547977820294771266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787282986,"filename":"image_22112025_05_51_45_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea1c3e5932b183c7a30bd8a5789fe99d.jpg","text":"TemporaryFile(/tmp/multipartBody4657400741860763052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787282986,"filename":"image_22112025_05_51_55_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1a1745b05537714fa16ca823ac1490a.jpg","text":"TemporaryFile(/tmp/multipartBody511977598316454986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787282986,"filename":"image_22112025_05_51_51_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675199","file1":"1395675198","file0":"1395675194","file4":"1395675201","file5":"1395675204","file3":"1395675200"},"map_files_photo_id_array":[{"photo_id":"1395675204","filename":"file5"},{"photo_id":"1395675199","filename":"file2"},{"photo_id":"1395675201","filename":"file4"},{"photo_id":"1395675198","filename":"file1"},{"photo_id":"1395675194","filename":"file0"},{"photo_id":"1395675200","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675198":["hashtag1","hashtag2"]},{"1395675204":["hashtag1","hashtag2"]},{"1395675201":["hashtag1","hashtag2"]},{"1395675194":["hashtag1","hashtag2"]},{"1395675200":["hashtag1","hashtag2"]},{"1395675199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675198, 1395675204, 1395675201, 1395675194, 1395675200, 1395675199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04399561882019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:54:22.617183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/52/image_22112025_05_52_04_1535.jpg', '/home/pi/Desktop/images/22112025/05/52/image_22112025_05_52_09_2507.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_06_3018.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_10_3632.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_22_2548.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_24_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/52/image_22112025_05_52_04_1535.jpg
/home/pi/Desktop/images/22112025/05/52/image_22112025_05_52_09_2507.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_06_3018.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_10_3632.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_22_2548.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_24_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675221","1395675211","1395675220","1395675214","1395675208","1395675217"],"photo_ids_order":["1395675208","1395675211","1395675214","1395675217","1395675220","1395675221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dbcac52868187746db72b9076e9b763.jpg","text":"TemporaryFile(/tmp/multipartBody3838696536938999397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787323297,"filename":"image_22112025_05_53_24_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3524f81a7e8f9c60f46c2b9f7d2b7beb.jpg","text":"TemporaryFile(/tmp/multipartBody3707258786288563686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787323297,"filename":"image_22112025_05_52_09_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/438334571da575ebae7f59fc26391f31.jpg","text":"TemporaryFile(/tmp/multipartBody6561436603849124821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787323297,"filename":"image_22112025_05_53_22_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61c2b912ba3ce5b2c32e0526847be62d.jpg","text":"TemporaryFile(/tmp/multipartBody1273096396885754832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787323297,"filename":"image_22112025_05_53_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09009cf10e37924d9296152c51187c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5830198577250657052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787323297,"filename":"image_22112025_05_52_04_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ee097f6a25e5a68b3ba76a68ed4af42.jpg","text":"TemporaryFile(/tmp/multipartBody8753716801601006457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787323297,"filename":"image_22112025_05_53_10_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675214","file1":"1395675211","file0":"1395675208","file4":"1395675220","file5":"1395675221","file3":"1395675217"},"map_files_photo_id_array":[{"photo_id":"1395675221","filename":"file5"},{"photo_id":"1395675214","filename":"file2"},{"photo_id":"1395675220","filename":"file4"},{"photo_id":"1395675211","filename":"file1"},{"photo_id":"1395675208","filename":"file0"},{"photo_id":"1395675217","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675221":["hashtag1","hashtag2"]},{"1395675211":["hashtag1","hashtag2"]},{"1395675220":["hashtag1","hashtag2"]},{"1395675214":["hashtag1","hashtag2"]},{"1395675208":["hashtag1","hashtag2"]},{"1395675217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675221, 1395675211, 1395675220, 1395675214, 1395675208, 1395675217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78473687171936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:55:03.207412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_28_3726.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_31_2737.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_33_2644.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_37_3730.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_40_2617.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_42_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_28_3726.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_31_2737.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_33_2644.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_37_3730.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_40_2617.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_42_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675225","1395675233","1395675236","1395675230","1395675227","1395675223"],"photo_ids_order":["1395675223","1395675225","1395675227","1395675230","1395675233","1395675236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7f9ba871bea39bb4dd854ee557526e7.jpg","text":"TemporaryFile(/tmp/multipartBody5661557716438270342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787363963,"filename":"image_22112025_05_53_31_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/607b541038339a2d8aa92ca8d8e2a7bf.jpg","text":"TemporaryFile(/tmp/multipartBody8770163548231532257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787363963,"filename":"image_22112025_05_53_40_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/356e546f77a355e33fcdf7e870b47344.jpg","text":"TemporaryFile(/tmp/multipartBody340878438358713312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787363963,"filename":"image_22112025_05_53_42_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4baf3cf963f0384a24813df01399f7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4679087796015375945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787363963,"filename":"image_22112025_05_53_37_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26b424c517f3e46a936e7a480fb73f33.jpg","text":"TemporaryFile(/tmp/multipartBody275503216668499711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787363963,"filename":"image_22112025_05_53_33_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcd0165465742e2fcefb22157dc1ccb4.jpg","text":"TemporaryFile(/tmp/multipartBody9053575777781741432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787363963,"filename":"image_22112025_05_53_28_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675227","file1":"1395675225","file0":"1395675223","file4":"1395675233","file5":"1395675236","file3":"1395675230"},"map_files_photo_id_array":[{"photo_id":"1395675236","filename":"file5"},{"photo_id":"1395675227","filename":"file2"},{"photo_id":"1395675233","filename":"file4"},{"photo_id":"1395675225","filename":"file1"},{"photo_id":"1395675223","filename":"file0"},{"photo_id":"1395675230","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675225":["hashtag1","hashtag2"]},{"1395675233":["hashtag1","hashtag2"]},{"1395675236":["hashtag1","hashtag2"]},{"1395675230":["hashtag1","hashtag2"]},{"1395675227":["hashtag1","hashtag2"]},{"1395675223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675225, 1395675233, 1395675236, 1395675230, 1395675227, 1395675223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.631815910339355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:55:42.453747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_46_3675.jpg', '/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_51_2701.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_07_3011.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_13_2626.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_16_2786.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_20_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_46_3675.jpg
/home/pi/Desktop/images/22112025/05/53/image_22112025_05_53_51_2701.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_07_3011.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_13_2626.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_16_2786.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_20_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675246","1395675248","1395675242","1395675245","1395675244","1395675247"],"photo_ids_order":["1395675242","1395675244","1395675245","1395675246","1395675247","1395675248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d509fecffd13b6f0d2545001737eca23.jpg","text":"TemporaryFile(/tmp/multipartBody5972004079444779063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787403131,"filename":"image_22112025_05_55_13_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a922ef764993bc33d2b12f27059c78f4.jpg","text":"TemporaryFile(/tmp/multipartBody2782043490789305136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787403131,"filename":"image_22112025_05_55_20_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7c7d6386efbfc5bf07e3666fe79c561.jpg","text":"TemporaryFile(/tmp/multipartBody6245170179088354393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787403131,"filename":"image_22112025_05_53_46_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76f833421c04a2befef4c3e02180fd8e.jpg","text":"TemporaryFile(/tmp/multipartBody6094711806060128856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787403131,"filename":"image_22112025_05_55_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98455c5f4854fd526110536c6f9fcf40.jpg","text":"TemporaryFile(/tmp/multipartBody4780325745104888718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787403131,"filename":"image_22112025_05_53_51_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f1880613c245dc936779e10dd893c15.jpg","text":"TemporaryFile(/tmp/multipartBody6196309651414687132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787403131,"filename":"image_22112025_05_55_16_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675245","file1":"1395675244","file0":"1395675242","file4":"1395675247","file5":"1395675248","file3":"1395675246"},"map_files_photo_id_array":[{"photo_id":"1395675248","filename":"file5"},{"photo_id":"1395675245","filename":"file2"},{"photo_id":"1395675247","filename":"file4"},{"photo_id":"1395675244","filename":"file1"},{"photo_id":"1395675242","filename":"file0"},{"photo_id":"1395675246","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675246":["hashtag1","hashtag2"]},{"1395675248":["hashtag1","hashtag2"]},{"1395675242":["hashtag1","hashtag2"]},{"1395675245":["hashtag1","hashtag2"]},{"1395675244":["hashtag1","hashtag2"]},{"1395675247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675246, 1395675248, 1395675242, 1395675245, 1395675244, 1395675247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59744572639465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:56:22.781845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_22_2537.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_25_2772.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_29_3524.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_31_2750.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_34_2762.jpg', '/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_46_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_22_2537.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_25_2772.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_29_3524.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_31_2750.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_34_2762.jpg
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_46_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675255","1395675252","1395675263","1395675274","1395675271","1395675259"],"photo_ids_order":["1395675252","1395675255","1395675259","1395675263","1395675271","1395675274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b28207ed9b687325274eff3e5046669.jpg","text":"TemporaryFile(/tmp/multipartBody889631939889552705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787443456,"filename":"image_22112025_05_55_25_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a44d4e05088d9f1d93470fddf1504405.jpg","text":"TemporaryFile(/tmp/multipartBody6218703199187636158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787443456,"filename":"image_22112025_05_55_22_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29c1352082cd1ed7111d9fd340254231.jpg","text":"TemporaryFile(/tmp/multipartBody1691614342277815891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787443456,"filename":"image_22112025_05_55_31_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25eb7edc2d29a61ef8c71b50f5ed7849.jpg","text":"TemporaryFile(/tmp/multipartBody3187092779570210040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787443456,"filename":"image_22112025_05_55_46_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/799e23087bbc7429e91f9d8a6d0ce343.jpg","text":"TemporaryFile(/tmp/multipartBody2464244631375954150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787443456,"filename":"image_22112025_05_55_34_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/651bbfc45f56e1efa3b6764948f369ee.jpg","text":"TemporaryFile(/tmp/multipartBody6932064534913861284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787443456,"filename":"image_22112025_05_55_29_3524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675259","file1":"1395675255","file0":"1395675252","file4":"1395675271","file5":"1395675274","file3":"1395675263"},"map_files_photo_id_array":[{"photo_id":"1395675274","filename":"file5"},{"photo_id":"1395675259","filename":"file2"},{"photo_id":"1395675271","filename":"file4"},{"photo_id":"1395675255","filename":"file1"},{"photo_id":"1395675252","filename":"file0"},{"photo_id":"1395675263","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675255":["hashtag1","hashtag2"]},{"1395675252":["hashtag1","hashtag2"]},{"1395675263":["hashtag1","hashtag2"]},{"1395675274":["hashtag1","hashtag2"]},{"1395675271":["hashtag1","hashtag2"]},{"1395675259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675255, 1395675252, 1395675263, 1395675274, 1395675271, 1395675259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9090142250061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:57:02.755416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_50_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_50_3592.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675314"],"photo_id":"1395675314","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90f80fa7fa6f76df2c37c5da8788fb5e.jpg","text":"TemporaryFile(/tmp/multipartBody7821614145983183106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787483364,"filename":"image_22112025_05_55_50_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395675314"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395675314"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.022093296051025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:57:22.031123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_52_2696.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_07_3011.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_11_3716.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_17_3530.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_19_2702.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_22_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_52_2696.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_07_3011.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_11_3716.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_17_3530.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_19_2702.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_22_2771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6149888038635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 05:57:41.937491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_52_2696.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_07_3011.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_11_3716.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_17_3530.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_19_2702.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_22_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/55/image_22112025_05_55_52_2696.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_07_3011.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_11_3716.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_17_3530.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_19_2702.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_22_2771.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675336","1395675335","1395675338","1395675337","1395675331","1395675334"],"photo_ids_order":["1395675331","1395675334","1395675335","1395675336","1395675337","1395675338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99120a8118543916c30a478e03b6d189.jpg","text":"TemporaryFile(/tmp/multipartBody5401428188581848604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787522611,"filename":"image_22112025_05_57_17_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54f1e37b523f63a3915282cb7ff6b9ae.jpg","text":"TemporaryFile(/tmp/multipartBody917051549749125931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787522611,"filename":"image_22112025_05_57_11_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/514be3db28481b990c06969b3e34ff57.jpg","text":"TemporaryFile(/tmp/multipartBody6328689039412370858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787522611,"filename":"image_22112025_05_57_22_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab6b6be1845d8206a0a149b1847a1a8f.jpg","text":"TemporaryFile(/tmp/multipartBody3212439248144744516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787522611,"filename":"image_22112025_05_57_19_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff718e03394d431082878cda7739b1d4.jpg","text":"TemporaryFile(/tmp/multipartBody5624363183631189894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787522611,"filename":"image_22112025_05_55_52_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/665fe8ddcaf8a664ed8bbe9af50857f9.jpg","text":"TemporaryFile(/tmp/multipartBody6738234690772041930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787522611,"filename":"image_22112025_05_57_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675335","file1":"1395675334","file0":"1395675331","file4":"1395675337","file5":"1395675338","file3":"1395675336"},"map_files_photo_id_array":[{"photo_id":"1395675338","filename":"file5"},{"photo_id":"1395675335","filename":"file2"},{"photo_id":"1395675337","filename":"file4"},{"photo_id":"1395675334","filename":"file1"},{"photo_id":"1395675331","filename":"file0"},{"photo_id":"1395675336","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675336":["hashtag1","hashtag2"]},{"1395675335":["hashtag1","hashtag2"]},{"1395675338":["hashtag1","hashtag2"]},{"1395675337":["hashtag1","hashtag2"]},{"1395675331":["hashtag1","hashtag2"]},{"1395675334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675336, 1395675335, 1395675338, 1395675337, 1395675331, 1395675334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.978639364242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 05:59:03.275693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_26_3562.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_28_2642.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_31_2647.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_35_3710.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_37_2717.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_43_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_26_3562.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_28_2642.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_31_2647.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_35_3710.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_37_2717.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_43_2818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675348","1395675350","1395675341","1395675343","1395675352","1395675346"],"photo_ids_order":["1395675341","1395675343","1395675346","1395675348","1395675350","1395675352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eaa5b6b4c52da636faecb0b7f43c8ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5126198907968431203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787604268,"filename":"image_22112025_05_57_35_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb1ef20bbb51383a36b3a474289101d6.jpg","text":"TemporaryFile(/tmp/multipartBody8209888463822956837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787604268,"filename":"image_22112025_05_57_37_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd2befddff8865a7c860cd800133811e.jpg","text":"TemporaryFile(/tmp/multipartBody6045701876266125629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787604268,"filename":"image_22112025_05_57_26_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f39b83c7f0637333fb9864c543efa1d.jpg","text":"TemporaryFile(/tmp/multipartBody3978958956921991916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787604268,"filename":"image_22112025_05_57_28_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d10adf092c4e53b71908d90145f9fd5.jpg","text":"TemporaryFile(/tmp/multipartBody2173527989277350090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787604268,"filename":"image_22112025_05_57_43_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22d8043db20c1b15f7fe76b47b14585a.jpg","text":"TemporaryFile(/tmp/multipartBody8309294349911923754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787604268,"filename":"image_22112025_05_57_31_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675346","file1":"1395675343","file0":"1395675341","file4":"1395675350","file5":"1395675352","file3":"1395675348"},"map_files_photo_id_array":[{"photo_id":"1395675352","filename":"file5"},{"photo_id":"1395675346","filename":"file2"},{"photo_id":"1395675350","filename":"file4"},{"photo_id":"1395675343","filename":"file1"},{"photo_id":"1395675341","filename":"file0"},{"photo_id":"1395675348","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675348":["hashtag1","hashtag2"]},{"1395675350":["hashtag1","hashtag2"]},{"1395675341":["hashtag1","hashtag2"]},{"1395675343":["hashtag1","hashtag2"]},{"1395675352":["hashtag1","hashtag2"]},{"1395675346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675348, 1395675350, 1395675341, 1395675343, 1395675352, 1395675346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.5671489238739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:00:03.103091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_47_3537.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_49_2497.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_53_3660.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_55_2710.jpg', '/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_58_2786.jpg', '/home/pi/Desktop/images/22112025/05/58/image_22112025_05_58_01_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_47_3537.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_49_2497.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_53_3660.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_55_2710.jpg
/home/pi/Desktop/images/22112025/05/57/image_22112025_05_57_58_2786.jpg
/home/pi/Desktop/images/22112025/05/58/image_22112025_05_58_01_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675363","1395675373","1395675376","1395675370","1395675367","1395675366"],"photo_ids_order":["1395675363","1395675366","1395675367","1395675370","1395675373","1395675376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b800cb247246191ab4ed6be5945e0ae.jpg","text":"TemporaryFile(/tmp/multipartBody5313601603149428683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787663815,"filename":"image_22112025_05_57_47_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c760cd44f9fb3ddc1c5fdc60b9ef5356.jpg","text":"TemporaryFile(/tmp/multipartBody3740747139203363639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787663815,"filename":"image_22112025_05_57_58_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ff432aeb18a7c9eee0ed8d646b14757.jpg","text":"TemporaryFile(/tmp/multipartBody907392282596900563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787663815,"filename":"image_22112025_05_58_01_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0010fcd30010377dd5102426a6b318e2.jpg","text":"TemporaryFile(/tmp/multipartBody1437512350543297531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787663815,"filename":"image_22112025_05_57_55_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/952a723a8f54d1bb638603663282fc0c.jpg","text":"TemporaryFile(/tmp/multipartBody8758620725477104640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787663815,"filename":"image_22112025_05_57_53_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90d9e249d76cb6a50eca41db1e35e58c.jpg","text":"TemporaryFile(/tmp/multipartBody8721423498062500264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787663815,"filename":"image_22112025_05_57_49_2497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675367","file1":"1395675366","file0":"1395675363","file4":"1395675373","file5":"1395675376","file3":"1395675370"},"map_files_photo_id_array":[{"photo_id":"1395675376","filename":"file5"},{"photo_id":"1395675367","filename":"file2"},{"photo_id":"1395675373","filename":"file4"},{"photo_id":"1395675366","filename":"file1"},{"photo_id":"1395675363","filename":"file0"},{"photo_id":"1395675370","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675363":["hashtag1","hashtag2"]},{"1395675373":["hashtag1","hashtag2"]},{"1395675376":["hashtag1","hashtag2"]},{"1395675370":["hashtag1","hashtag2"]},{"1395675367":["hashtag1","hashtag2"]},{"1395675366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675363, 1395675373, 1395675376, 1395675370, 1395675367, 1395675366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83923840522766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:00:42.658197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/58/image_22112025_05_58_04_3577.jpg', '/home/pi/Desktop/images/22112025/05/58/image_22112025_05_58_07_2641.jpg', '/home/pi/Desktop/images/22112025/05/58/image_22112025_05_58_11_3618.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_10_3554.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_13_2687.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_19_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/58/image_22112025_05_58_04_3577.jpg
/home/pi/Desktop/images/22112025/05/58/image_22112025_05_58_07_2641.jpg
/home/pi/Desktop/images/22112025/05/58/image_22112025_05_58_11_3618.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_10_3554.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_13_2687.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_19_2524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675381","1395675380","1395675383","1395675386","1395675382","1395675384"],"photo_ids_order":["1395675380","1395675381","1395675382","1395675383","1395675384","1395675386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e241f4fce1322247666d92e9114e5c39.jpg","text":"TemporaryFile(/tmp/multipartBody340270302089562703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787703355,"filename":"image_22112025_05_58_07_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/236eb7da18bee9faa791fabc5502621c.jpg","text":"TemporaryFile(/tmp/multipartBody271327754594926314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787703355,"filename":"image_22112025_05_58_04_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2168a7fe934ee76eccc7a5bd9225f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4054442608473716919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787703355,"filename":"image_22112025_05_59_10_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95e741653e48749a35d62c17c15fa8d5.jpg","text":"TemporaryFile(/tmp/multipartBody461930605138105647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787703355,"filename":"image_22112025_05_59_19_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b74ab575a9d10aac39dd753c21b3bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4485050110692512755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787703355,"filename":"image_22112025_05_58_11_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a83e60dfd9111772759a2ba29e20dd0f.jpg","text":"TemporaryFile(/tmp/multipartBody7123126086917078729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787703355,"filename":"image_22112025_05_59_13_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675382","file1":"1395675381","file0":"1395675380","file4":"1395675384","file5":"1395675386","file3":"1395675383"},"map_files_photo_id_array":[{"photo_id":"1395675386","filename":"file5"},{"photo_id":"1395675382","filename":"file2"},{"photo_id":"1395675384","filename":"file4"},{"photo_id":"1395675381","filename":"file1"},{"photo_id":"1395675380","filename":"file0"},{"photo_id":"1395675383","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675381":["hashtag1","hashtag2"]},{"1395675380":["hashtag1","hashtag2"]},{"1395675383":["hashtag1","hashtag2"]},{"1395675386":["hashtag1","hashtag2"]},{"1395675382":["hashtag1","hashtag2"]},{"1395675384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675381, 1395675380, 1395675383, 1395675386, 1395675382, 1395675384)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.57433319091797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:01:46.652463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_25_3813.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_28_2695.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_31_2630.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_37_2587.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_40_3602.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_43_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_25_3813.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_28_2695.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_31_2630.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_37_2587.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_40_3602.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_43_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395675468","1395675507","1395675545","1395675430","1395675582","1395675400"],"photo_ids_order":["1395675400","1395675430","1395675468","1395675507","1395675545","1395675582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac1dde8c8d9d01f2fa4528fc42bb06b9.jpg","text":"TemporaryFile(/tmp/multipartBody3485745978463529811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787769459,"filename":"image_22112025_05_59_31_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8ee911a7c808c26bcf1ff25ff8bf4c9.jpg","text":"TemporaryFile(/tmp/multipartBody3996351881183657548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787769459,"filename":"image_22112025_05_59_37_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d49a83286eab18e3bfc6f3fa9ac0b7eb.jpg","text":"TemporaryFile(/tmp/multipartBody4768870005316790131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787769459,"filename":"image_22112025_05_59_40_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/367559b88cc03e6aa5b43a1a1cc48fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6636211416082400956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787769459,"filename":"image_22112025_05_59_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcca96c6cea0d5c1af3d8a152e641b0e.jpg","text":"TemporaryFile(/tmp/multipartBody4564914174140422224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787769459,"filename":"image_22112025_05_59_43_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/660daae8a2e001d37c75d4713ac06233.jpg","text":"TemporaryFile(/tmp/multipartBody209603208246239325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787769459,"filename":"image_22112025_05_59_25_3813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395675468","file1":"1395675430","file0":"1395675400","file4":"1395675545","file5":"1395675582","file3":"1395675507"},"map_files_photo_id_array":[{"photo_id":"1395675582","filename":"file5"},{"photo_id":"1395675468","filename":"file2"},{"photo_id":"1395675545","filename":"file4"},{"photo_id":"1395675430","filename":"file1"},{"photo_id":"1395675400","filename":"file0"},{"photo_id":"1395675507","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395675468":["hashtag1","hashtag2"]},{"1395675507":["hashtag1","hashtag2"]},{"1395675545":["hashtag1","hashtag2"]},{"1395675430":["hashtag1","hashtag2"]},{"1395675582":["hashtag1","hashtag2"]},{"1395675400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395675468, 1395675507, 1395675545, 1395675430, 1395675582, 1395675400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38468670845032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:02:59.268614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_45_2593.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_49_3683.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_52_2668.jpg', '/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_55_2797.jpg', '/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_07_3011.jpg', '/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_11_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_45_2593.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_49_3683.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_52_2668.jpg
/home/pi/Desktop/images/22112025/05/59/image_22112025_05_59_55_2797.jpg
/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_07_3011.jpg
/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_11_3551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676101","1395676139","1395676061","1395676177","1395675979","1395676021"],"photo_ids_order":["1395675979","1395676021","1395676061","1395676101","1395676139","1395676177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d9a054f134478b06b51a177f6fad231.jpg","text":"TemporaryFile(/tmp/multipartBody2895431076112245203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787839940,"filename":"image_22112025_05_59_55_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e5ed37614bb3a6f880a20353e4148e3.jpg","text":"TemporaryFile(/tmp/multipartBody955666872213799035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787839940,"filename":"image_22112025_06_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e9a426a6ed53ab30c5e9650dec88e1c.jpg","text":"TemporaryFile(/tmp/multipartBody3227501733682132578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787839940,"filename":"image_22112025_05_59_52_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e041df62b555bea8a00bb8d2815573d5.jpg","text":"TemporaryFile(/tmp/multipartBody9130853145407285402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787839940,"filename":"image_22112025_06_01_11_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3e411d756758f4e6c838f7ee0dfda42.jpg","text":"TemporaryFile(/tmp/multipartBody5035695788955899581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787839940,"filename":"image_22112025_05_59_45_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49ecd6ce4ccee58b4758ae2168dca693.jpg","text":"TemporaryFile(/tmp/multipartBody6403692261764188889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787839940,"filename":"image_22112025_05_59_49_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676061","file1":"1395676021","file0":"1395675979","file4":"1395676139","file5":"1395676177","file3":"1395676101"},"map_files_photo_id_array":[{"photo_id":"1395676177","filename":"file5"},{"photo_id":"1395676061","filename":"file2"},{"photo_id":"1395676139","filename":"file4"},{"photo_id":"1395676021","filename":"file1"},{"photo_id":"1395675979","filename":"file0"},{"photo_id":"1395676101","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676101":["hashtag1","hashtag2"]},{"1395676139":["hashtag1","hashtag2"]},{"1395676061":["hashtag1","hashtag2"]},{"1395676177":["hashtag1","hashtag2"]},{"1395675979":["hashtag1","hashtag2"]},{"1395676021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676101, 1395676139, 1395676061, 1395676177, 1395675979, 1395676021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04460048675537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:03:42.464809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_13_2588.jpg', '/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_17_3631.jpg', '/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_19_2622.jpg', '/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_15_1572.jpg', '/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_21_2608.jpg', '/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_24_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_13_2588.jpg
/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_17_3631.jpg
/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_19_2622.jpg
/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_15_1572.jpg
/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_21_2608.jpg
/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_24_2849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676379","1395676489","1395676414","1395676504","1395676344","1395676452"],"photo_ids_order":["1395676344","1395676379","1395676414","1395676452","1395676489","1395676504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/323bffe399096cb2061bdcc2dcec6435.jpg","text":"TemporaryFile(/tmp/multipartBody5037353286264226320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787883160,"filename":"image_22112025_06_01_17_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6146a509ff6d769e4d9f28dea728e5a1.jpg","text":"TemporaryFile(/tmp/multipartBody4244235156484666691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787883160,"filename":"image_22112025_06_03_21_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a51cbd8b866612342e6c77f8a8360568.jpg","text":"TemporaryFile(/tmp/multipartBody777723151867149683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787883160,"filename":"image_22112025_06_01_19_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36f3c502b9bd686b18202dcc1d2d7e40.jpg","text":"TemporaryFile(/tmp/multipartBody5623773259153510617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787883160,"filename":"image_22112025_06_03_24_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/903e1e4db18c1caf9a2db7d459d2d86e.jpg","text":"TemporaryFile(/tmp/multipartBody6974637466268289407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787883160,"filename":"image_22112025_06_01_13_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9e6d1c7ab5a848a21043041ebecfdc1.jpg","text":"TemporaryFile(/tmp/multipartBody897980477972785256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787883160,"filename":"image_22112025_06_03_15_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676414","file1":"1395676379","file0":"1395676344","file4":"1395676489","file5":"1395676504","file3":"1395676452"},"map_files_photo_id_array":[{"photo_id":"1395676504","filename":"file5"},{"photo_id":"1395676414","filename":"file2"},{"photo_id":"1395676489","filename":"file4"},{"photo_id":"1395676379","filename":"file1"},{"photo_id":"1395676344","filename":"file0"},{"photo_id":"1395676452","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676379":["hashtag1","hashtag2"]},{"1395676489":["hashtag1","hashtag2"]},{"1395676414":["hashtag1","hashtag2"]},{"1395676504":["hashtag1","hashtag2"]},{"1395676344":["hashtag1","hashtag2"]},{"1395676452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676379, 1395676489, 1395676414, 1395676504, 1395676344, 1395676452)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395676414 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/06/01/image_22112025_06_01_19_2622.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.34462833404541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:04:42.708877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_28_3691.jpg', '/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_31_2732.jpg', '/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_37_3311.jpg', '/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_39_2731.jpg', '/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_03_1753.jpg', '/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_06_3456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_28_3691.jpg
/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_31_2732.jpg
/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_37_3311.jpg
/home/pi/Desktop/images/22112025/06/03/image_22112025_06_03_39_2731.jpg
/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_03_1753.jpg
/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_06_3456.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676608","1395676567","1395676705","1395676683","1395676704","1395676647"],"photo_ids_order":["1395676567","1395676608","1395676647","1395676683","1395676704","1395676705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8c60f9711c10e0d94adda464d22164f.jpg","text":"TemporaryFile(/tmp/multipartBody5393540243610367996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787943402,"filename":"image_22112025_06_03_31_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5043894541c0eed6e40657556ec43472.jpg","text":"TemporaryFile(/tmp/multipartBody7157137787531303714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787943402,"filename":"image_22112025_06_03_28_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1253ac351f23e77f9659b539f931829.jpg","text":"TemporaryFile(/tmp/multipartBody4747678576702782125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787943402,"filename":"image_22112025_06_04_06_3456.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98f222042379a6d5a541b178f55054b6.jpg","text":"TemporaryFile(/tmp/multipartBody7724033369078693640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787943402,"filename":"image_22112025_06_03_39_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35875aff86c03b0eeeaf84a0b67e6ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3962282194678885973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787943402,"filename":"image_22112025_06_04_03_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac1781f533ea7f6ede013e0ad85ec097.jpg","text":"TemporaryFile(/tmp/multipartBody6005350365133796026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763787943402,"filename":"image_22112025_06_03_37_3311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676647","file1":"1395676608","file0":"1395676567","file4":"1395676704","file5":"1395676705","file3":"1395676683"},"map_files_photo_id_array":[{"photo_id":"1395676705","filename":"file5"},{"photo_id":"1395676647","filename":"file2"},{"photo_id":"1395676704","filename":"file4"},{"photo_id":"1395676608","filename":"file1"},{"photo_id":"1395676567","filename":"file0"},{"photo_id":"1395676683","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676608":["hashtag1","hashtag2"]},{"1395676567":["hashtag1","hashtag2"]},{"1395676705":["hashtag1","hashtag2"]},{"1395676683":["hashtag1","hashtag2"]},{"1395676704":["hashtag1","hashtag2"]},{"1395676647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676608, 1395676567, 1395676705, 1395676683, 1395676704, 1395676647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0228168964386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:05:22.183710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_08_1508.jpg', '/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_09_1675.jpg', '/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_11_1647.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_07_3018.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_15_7765.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_22_7360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_08_1508.jpg
/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_09_1675.jpg
/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_11_1647.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_07_3018.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_15_7765.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_22_7360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6001269817352295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:05:44.508599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_08_1508.jpg', '/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_09_1675.jpg', '/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_11_1647.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_07_3018.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_15_7765.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_22_7360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_08_1508.jpg
/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_09_1675.jpg
/home/pi/Desktop/images/22112025/06/04/image_22112025_06_04_11_1647.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_07_3018.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_15_7765.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_22_7360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676862","1395676859","1395676861","1395676855","1395676858","1395676857"],"photo_ids_order":["1395676855","1395676857","1395676858","1395676859","1395676861","1395676862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d97189ba4a122ab6a630a08bcae7cb1.jpg","text":"TemporaryFile(/tmp/multipartBody452021482538233103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788005184,"filename":"image_22112025_06_05_22_7360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6a3cee3cd70de30c7e2383398abaf12.jpg","text":"TemporaryFile(/tmp/multipartBody6980767240991778972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788005184,"filename":"image_22112025_06_05_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12ab41f6e220aad3d96bd03f204abe3e.jpg","text":"TemporaryFile(/tmp/multipartBody6914608063398588020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788005184,"filename":"image_22112025_06_05_15_7765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28589dfdb11e5ff8337405b331137157.jpg","text":"TemporaryFile(/tmp/multipartBody780096395159302247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788005184,"filename":"image_22112025_06_04_08_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b90dbd238f5eabd2f3c1deef3c472b0.jpg","text":"TemporaryFile(/tmp/multipartBody1836072217093372722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788005184,"filename":"image_22112025_06_04_11_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e7eb18008556a59c1f28d4ba54c0683.jpg","text":"TemporaryFile(/tmp/multipartBody3700881018197731975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788005184,"filename":"image_22112025_06_04_09_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676858","file1":"1395676857","file0":"1395676855","file4":"1395676861","file5":"1395676862","file3":"1395676859"},"map_files_photo_id_array":[{"photo_id":"1395676862","filename":"file5"},{"photo_id":"1395676858","filename":"file2"},{"photo_id":"1395676861","filename":"file4"},{"photo_id":"1395676857","filename":"file1"},{"photo_id":"1395676855","filename":"file0"},{"photo_id":"1395676859","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676862":["hashtag1","hashtag2"]},{"1395676859":["hashtag1","hashtag2"]},{"1395676861":["hashtag1","hashtag2"]},{"1395676855":["hashtag1","hashtag2"]},{"1395676858":["hashtag1","hashtag2"]},{"1395676857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676862, 1395676859, 1395676861, 1395676855, 1395676858, 1395676857)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.52251362800598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:06:42.686152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_24_1695.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_26_1547.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_28_2542.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_30_1662.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_33_1663.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_35_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_24_1695.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_26_1547.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_28_2542.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_30_1662.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_33_1663.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_35_1575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6376619338989258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:07:02.627085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_24_1695.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_26_1547.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_28_2542.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_30_1662.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_33_1663.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_35_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_24_1695.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_26_1547.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_28_2542.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_30_1662.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_33_1663.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_35_1575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676889","1395676892","1395676886","1395676885","1395676884","1395676887"],"photo_ids_order":["1395676884","1395676885","1395676886","1395676887","1395676889","1395676892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48270c3e3bcb55ec158ba3c97a5303de.jpg","text":"TemporaryFile(/tmp/multipartBody7977672597327147524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788083429,"filename":"image_22112025_06_05_33_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21036abc123985b222454ae37d58997d.jpg","text":"TemporaryFile(/tmp/multipartBody4033391194286554152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788083429,"filename":"image_22112025_06_05_35_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0131b68280f6212ffc963de724b0afd.jpg","text":"TemporaryFile(/tmp/multipartBody3764546424222776033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788083429,"filename":"image_22112025_06_05_28_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faf786bb7b69496db0f8c980c5689afc.jpg","text":"TemporaryFile(/tmp/multipartBody4666402344368701998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788083429,"filename":"image_22112025_06_05_26_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/536a3b11c72fec2f7c4af8857e403e96.jpg","text":"TemporaryFile(/tmp/multipartBody5141573485129419235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788083429,"filename":"image_22112025_06_05_24_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/102d6bc2806ef3865c42dce209d483e2.jpg","text":"TemporaryFile(/tmp/multipartBody3486210111314495876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788083429,"filename":"image_22112025_06_05_30_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676886","file1":"1395676885","file0":"1395676884","file4":"1395676889","file5":"1395676892","file3":"1395676887"},"map_files_photo_id_array":[{"photo_id":"1395676892","filename":"file5"},{"photo_id":"1395676886","filename":"file2"},{"photo_id":"1395676889","filename":"file4"},{"photo_id":"1395676885","filename":"file1"},{"photo_id":"1395676884","filename":"file0"},{"photo_id":"1395676887","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676889":["hashtag1","hashtag2"]},{"1395676892":["hashtag1","hashtag2"]},{"1395676886":["hashtag1","hashtag2"]},{"1395676885":["hashtag1","hashtag2"]},{"1395676884":["hashtag1","hashtag2"]},{"1395676887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676889, 1395676892, 1395676886, 1395676885, 1395676884, 1395676887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.692418813705444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:07:41.981046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_37_2711.jpg', '/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_40_2832.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_07_3014.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_13_2737.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_16_2603.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_19_2899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_37_2711.jpg
/home/pi/Desktop/images/22112025/06/05/image_22112025_06_05_40_2832.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_07_3014.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_13_2737.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_16_2603.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_19_2899.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676905","1395676904","1395676906","1395676900","1395676903","1395676902"],"photo_ids_order":["1395676900","1395676902","1395676903","1395676904","1395676905","1395676906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46b43ac5e81a442b0b565d4da3e35a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1300597527726248070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788122679,"filename":"image_22112025_06_06_16_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6dbdf7ba7b495cf7075c31117a138b47.jpg","text":"TemporaryFile(/tmp/multipartBody3391373896747922481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788122679,"filename":"image_22112025_06_06_13_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4da1a19f3eb52908a2c20d19213c1feb.jpg","text":"TemporaryFile(/tmp/multipartBody8224101273713716283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788122679,"filename":"image_22112025_06_06_19_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2290a703e5ff9835cf370a97483c3959.jpg","text":"TemporaryFile(/tmp/multipartBody7288050361919222498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788122679,"filename":"image_22112025_06_05_37_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d6d423ed966ef7078ae1aa543215569.jpg","text":"TemporaryFile(/tmp/multipartBody1042254740498423346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788122679,"filename":"image_22112025_06_06_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb834720a2ed905daa7a2f1cc4845862.jpg","text":"TemporaryFile(/tmp/multipartBody4857179281780230571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788122679,"filename":"image_22112025_06_05_40_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676903","file1":"1395676902","file0":"1395676900","file4":"1395676905","file5":"1395676906","file3":"1395676904"},"map_files_photo_id_array":[{"photo_id":"1395676906","filename":"file5"},{"photo_id":"1395676903","filename":"file2"},{"photo_id":"1395676905","filename":"file4"},{"photo_id":"1395676902","filename":"file1"},{"photo_id":"1395676900","filename":"file0"},{"photo_id":"1395676904","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676905":["hashtag1","hashtag2"]},{"1395676904":["hashtag1","hashtag2"]},{"1395676906":["hashtag1","hashtag2"]},{"1395676900":["hashtag1","hashtag2"]},{"1395676903":["hashtag1","hashtag2"]},{"1395676902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676905, 1395676904, 1395676906, 1395676900, 1395676903, 1395676902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.294867753982544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:08:22.053179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_22_3717.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_25_2599.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_28_3584.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_31_2679.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_46_1616.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_49_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_22_3717.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_25_2599.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_28_3584.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_31_2679.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_46_1616.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_49_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676911","1395676908","1395676927","1395676920","1395676914","1395676923"],"photo_ids_order":["1395676908","1395676911","1395676914","1395676920","1395676923","1395676927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a9dd41cf770acfdf9f8ec5b0000ab67.jpg","text":"TemporaryFile(/tmp/multipartBody3521932609732038273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788162791,"filename":"image_22112025_06_06_25_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1870b64ed99f083fdd255326d99a526.jpg","text":"TemporaryFile(/tmp/multipartBody4541778365997979482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788162791,"filename":"image_22112025_06_06_22_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0e78b2c9f67a948f60a265979411b23.jpg","text":"TemporaryFile(/tmp/multipartBody6864947260141069530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788162791,"filename":"image_22112025_06_06_49_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5325b832e4a8d818e2e04f41ad5dfc89.jpg","text":"TemporaryFile(/tmp/multipartBody7431589941282093837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788162791,"filename":"image_22112025_06_06_31_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e18d1f96046a94eb00982a615c7067a.jpg","text":"TemporaryFile(/tmp/multipartBody1121063470887188389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788162791,"filename":"image_22112025_06_06_28_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73658ae7f0e39c627b63f81253ab0b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6580990763163025407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788162791,"filename":"image_22112025_06_06_46_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676914","file1":"1395676911","file0":"1395676908","file4":"1395676923","file5":"1395676927","file3":"1395676920"},"map_files_photo_id_array":[{"photo_id":"1395676927","filename":"file5"},{"photo_id":"1395676914","filename":"file2"},{"photo_id":"1395676923","filename":"file4"},{"photo_id":"1395676911","filename":"file1"},{"photo_id":"1395676908","filename":"file0"},{"photo_id":"1395676920","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676911":["hashtag1","hashtag2"]},{"1395676908":["hashtag1","hashtag2"]},{"1395676927":["hashtag1","hashtag2"]},{"1395676920":["hashtag1","hashtag2"]},{"1395676914":["hashtag1","hashtag2"]},{"1395676923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676911, 1395676908, 1395676927, 1395676920, 1395676914, 1395676923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51855421066284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:09:03.302790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_52_2727.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_55_3680.jpg', '/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_58_2568.jpg', '/home/pi/Desktop/images/22112025/06/07/image_22112025_06_07_01_2804.jpg', '/home/pi/Desktop/images/22112025/06/07/image_22112025_06_07_04_3660.jpg', '/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_29_12978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_52_2727.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_55_3680.jpg
/home/pi/Desktop/images/22112025/06/06/image_22112025_06_06_58_2568.jpg
/home/pi/Desktop/images/22112025/06/07/image_22112025_06_07_01_2804.jpg
/home/pi/Desktop/images/22112025/06/07/image_22112025_06_07_04_3660.jpg
/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_29_12978.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676931","1395676940","1395676934","1395676936","1395676933","1395676932"],"photo_ids_order":["1395676931","1395676932","1395676933","1395676934","1395676936","1395676940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f0b2d58393758d42fca70730a15f8da.jpg","text":"TemporaryFile(/tmp/multipartBody8963673242835285623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788204176,"filename":"image_22112025_06_06_52_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f0db50e637e69a578024bcf95f047a9.jpg","text":"TemporaryFile(/tmp/multipartBody3229762662808005652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788204176,"filename":"image_22112025_06_08_29_12978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de30c316a83a915cbdbc2422823154d6.jpg","text":"TemporaryFile(/tmp/multipartBody2463323941093814675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788204176,"filename":"image_22112025_06_07_01_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56042f691b36f7020761251f343fd35b.jpg","text":"TemporaryFile(/tmp/multipartBody611485510629120238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788204176,"filename":"image_22112025_06_07_04_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/835c3a7681786101efd11463dca006dd.jpg","text":"TemporaryFile(/tmp/multipartBody8479929422239198240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788204176,"filename":"image_22112025_06_06_58_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ebfdb797d6d67f36721af2a780a89b8.jpg","text":"TemporaryFile(/tmp/multipartBody7567350773657384305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788204176,"filename":"image_22112025_06_06_55_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676933","file1":"1395676932","file0":"1395676931","file4":"1395676936","file5":"1395676940","file3":"1395676934"},"map_files_photo_id_array":[{"photo_id":"1395676940","filename":"file5"},{"photo_id":"1395676933","filename":"file2"},{"photo_id":"1395676936","filename":"file4"},{"photo_id":"1395676932","filename":"file1"},{"photo_id":"1395676931","filename":"file0"},{"photo_id":"1395676934","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676931":["hashtag1","hashtag2"]},{"1395676940":["hashtag1","hashtag2"]},{"1395676934":["hashtag1","hashtag2"]},{"1395676936":["hashtag1","hashtag2"]},{"1395676933":["hashtag1","hashtag2"]},{"1395676932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676931, 1395676940, 1395676934, 1395676936, 1395676933, 1395676932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94338631629944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:09:42.234362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_35_1761.jpg', '/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_37_1638.jpg', '/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_40_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_35_1761.jpg
/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_37_1638.jpg
/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_40_1673.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.46943116188049316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:10:02.904808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_35_1761.jpg', '/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_37_1638.jpg', '/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_40_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_35_1761.jpg
/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_37_1638.jpg
/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_40_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676949","1395676951","1395676950"],"photo_ids_order":["1395676949","1395676950","1395676951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84cd214fda50e6805cc1423a0f3c889a.jpg","text":"TemporaryFile(/tmp/multipartBody2725998756546575800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788263556,"filename":"image_22112025_06_08_35_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67d51a927eb6b9d2ca5f14b8a7105362.jpg","text":"TemporaryFile(/tmp/multipartBody6158865285799163421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788263556,"filename":"image_22112025_06_08_40_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce521bbf5093581bf3336f839b7e7728.jpg","text":"TemporaryFile(/tmp/multipartBody4033537090863338347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788263556,"filename":"image_22112025_06_08_37_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676951","file1":"1395676950","file0":"1395676949"},"map_files_photo_id_array":[{"photo_id":"1395676951","filename":"file2"},{"photo_id":"1395676950","filename":"file1"},{"photo_id":"1395676949","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676949":["hashtag1","hashtag2"]},{"1395676951":["hashtag1","hashtag2"]},{"1395676950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676949, 1395676951, 1395676950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.66423535346985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:10:42.534664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_42_1585.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_07_3011.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_14_2609.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_16_2792.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_23_2530.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_25_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/08/image_22112025_06_08_42_1585.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_07_3011.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_14_2609.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_16_2792.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_23_2530.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_25_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676970","1395676973","1395676967","1395676972","1395676969","1395676971"],"photo_ids_order":["1395676967","1395676969","1395676970","1395676971","1395676972","1395676973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a4e569d89afcca310b77e36f81c21df.jpg","text":"TemporaryFile(/tmp/multipartBody3764162541443095024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788303208,"filename":"image_22112025_06_10_14_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdee1da32fa42f542e539d31948341a5.jpg","text":"TemporaryFile(/tmp/multipartBody4103854178736985024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788303208,"filename":"image_22112025_06_10_25_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fd9983f530fb2da386d0e48e3c9bf98.jpg","text":"TemporaryFile(/tmp/multipartBody430527214693695678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788303208,"filename":"image_22112025_06_08_42_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c84bebff59fbfbf60832a8dd4827d079.jpg","text":"TemporaryFile(/tmp/multipartBody7695272781259558746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788303208,"filename":"image_22112025_06_10_23_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8991dde90480598d7ca47c6a6fb57191.jpg","text":"TemporaryFile(/tmp/multipartBody7662559850596742711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788303208,"filename":"image_22112025_06_10_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aada760e77b049ff5dac72d94977e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody1418299584318817142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788303208,"filename":"image_22112025_06_10_16_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676970","file1":"1395676969","file0":"1395676967","file4":"1395676972","file5":"1395676973","file3":"1395676971"},"map_files_photo_id_array":[{"photo_id":"1395676973","filename":"file5"},{"photo_id":"1395676970","filename":"file2"},{"photo_id":"1395676972","filename":"file4"},{"photo_id":"1395676969","filename":"file1"},{"photo_id":"1395676967","filename":"file0"},{"photo_id":"1395676971","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676970":["hashtag1","hashtag2"]},{"1395676973":["hashtag1","hashtag2"]},{"1395676967":["hashtag1","hashtag2"]},{"1395676972":["hashtag1","hashtag2"]},{"1395676969":["hashtag1","hashtag2"]},{"1395676971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676970, 1395676973, 1395676967, 1395676972, 1395676969, 1395676971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.711148738861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:11:22.815274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_29_3614.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_32_2615.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_35_3654.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_41_2891.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_44_3572.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_47_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_29_3614.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_32_2615.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_35_3654.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_41_2891.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_44_3572.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_47_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395676991","1395676983","1395676977","1395676986","1395676989","1395676980"],"photo_ids_order":["1395676977","1395676980","1395676983","1395676986","1395676989","1395676991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8657fb49a6a08dd2770c36ab8193aca.jpg","text":"TemporaryFile(/tmp/multipartBody3110069100780015592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788343523,"filename":"image_22112025_06_10_47_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13c2bdf396f07ff5fee3d14bf70b2681.jpg","text":"TemporaryFile(/tmp/multipartBody5274511265211937890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788343523,"filename":"image_22112025_06_10_35_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cae3466fa7f92f37c57d8d17e6008da0.jpg","text":"TemporaryFile(/tmp/multipartBody4549693178940091175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788343523,"filename":"image_22112025_06_10_29_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25aedfbdb7303867693702da137760e7.jpg","text":"TemporaryFile(/tmp/multipartBody6864132495542127520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788343523,"filename":"image_22112025_06_10_41_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4b2f9af2a0a8d61a35df76c1147da6f.jpg","text":"TemporaryFile(/tmp/multipartBody1596156157956552728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788343523,"filename":"image_22112025_06_10_44_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e7af85d98c2af1df3d3ece26a4deb8a.jpg","text":"TemporaryFile(/tmp/multipartBody4003011788974379493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788343523,"filename":"image_22112025_06_10_32_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395676983","file1":"1395676980","file0":"1395676977","file4":"1395676989","file5":"1395676991","file3":"1395676986"},"map_files_photo_id_array":[{"photo_id":"1395676991","filename":"file5"},{"photo_id":"1395676983","filename":"file2"},{"photo_id":"1395676989","filename":"file4"},{"photo_id":"1395676980","filename":"file1"},{"photo_id":"1395676977","filename":"file0"},{"photo_id":"1395676986","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395676991":["hashtag1","hashtag2"]},{"1395676983":["hashtag1","hashtag2"]},{"1395676977":["hashtag1","hashtag2"]},{"1395676986":["hashtag1","hashtag2"]},{"1395676989":["hashtag1","hashtag2"]},{"1395676980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395676991, 1395676983, 1395676977, 1395676986, 1395676989, 1395676980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.567811489105225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:12:03.012762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_50_2632.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_53_3655.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_56_2830.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_59_2777.jpg', '/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_01_2608.jpg', '/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_05_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_50_2632.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_53_3655.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_56_2830.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_59_2777.jpg
/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_01_2608.jpg
/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_05_3619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 3.2511260509490967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:12:22.608121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_50_2632.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_53_3655.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_56_2830.jpg', '/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_59_2777.jpg', '/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_01_2608.jpg', '/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_05_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_50_2632.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_53_3655.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_56_2830.jpg
/home/pi/Desktop/images/22112025/06/10/image_22112025_06_10_59_2777.jpg
/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_01_2608.jpg
/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_05_3619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677015","1395677011","1395677005","1395677008","1395677002","1395677013"],"photo_ids_order":["1395677002","1395677005","1395677008","1395677011","1395677013","1395677015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/382cc8bc9ad929bb0d195186625493bd.jpg","text":"TemporaryFile(/tmp/multipartBody6798707438342560746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788403267,"filename":"image_22112025_06_11_05_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc7d22a70de168eebdcf2bc8b8e9f0b2.jpg","text":"TemporaryFile(/tmp/multipartBody8851327348256501821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788403267,"filename":"image_22112025_06_10_59_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/114177ddb6e0ca10f272533e302d2cda.jpg","text":"TemporaryFile(/tmp/multipartBody6478993429496607943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788403267,"filename":"image_22112025_06_10_53_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93934971062dc83fe76c6610d3dc9c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2572971975750373624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788403267,"filename":"image_22112025_06_10_56_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/273f71be2e493ae0b1330c2c1d43db92.jpg","text":"TemporaryFile(/tmp/multipartBody2780645158689428795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788403267,"filename":"image_22112025_06_10_50_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47ae3f76e3600c02126fa8c9ed13d7de.jpg","text":"TemporaryFile(/tmp/multipartBody6259897262429259927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788403267,"filename":"image_22112025_06_11_01_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677008","file1":"1395677005","file0":"1395677002","file4":"1395677013","file5":"1395677015","file3":"1395677011"},"map_files_photo_id_array":[{"photo_id":"1395677015","filename":"file5"},{"photo_id":"1395677008","filename":"file2"},{"photo_id":"1395677013","filename":"file4"},{"photo_id":"1395677005","filename":"file1"},{"photo_id":"1395677002","filename":"file0"},{"photo_id":"1395677011","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677015":["hashtag1","hashtag2"]},{"1395677011":["hashtag1","hashtag2"]},{"1395677005":["hashtag1","hashtag2"]},{"1395677008":["hashtag1","hashtag2"]},{"1395677002":["hashtag1","hashtag2"]},{"1395677013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677015, 1395677011, 1395677005, 1395677008, 1395677002, 1395677013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81655693054199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:13:03.346398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_08_2673.jpg', '/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_10_2618.jpg', '/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_14_3564.jpg', '/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_17_2801.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_07_3016.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_11_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_08_2673.jpg
/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_10_2618.jpg
/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_14_3564.jpg
/home/pi/Desktop/images/22112025/06/11/image_22112025_06_11_17_2801.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_07_3016.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_11_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677018","1395677017","1395677026","1395677020","1395677022","1395677019"],"photo_ids_order":["1395677017","1395677018","1395677019","1395677020","1395677022","1395677026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e409f0c4d1f30e4efe9f1b47ff3f56a1.jpg","text":"TemporaryFile(/tmp/multipartBody5955840450348220046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788444109,"filename":"image_22112025_06_11_10_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab3368076da56f1d1d5fe9bf0bd625c3.jpg","text":"TemporaryFile(/tmp/multipartBody9016653286946094756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788444109,"filename":"image_22112025_06_11_08_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f67e6c036e955ff74ae0f1e628bc686d.jpg","text":"TemporaryFile(/tmp/multipartBody2222993841430918327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788444109,"filename":"image_22112025_06_12_11_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e2affcfd256eca394d09187f2721601.jpg","text":"TemporaryFile(/tmp/multipartBody4642497706291105083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788444109,"filename":"image_22112025_06_11_17_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18034c3709be1c10d24d039b2661f7a3.jpg","text":"TemporaryFile(/tmp/multipartBody3559493656786989201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788444109,"filename":"image_22112025_06_12_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1168571f37c4aa37e13547bcb9c073b.jpg","text":"TemporaryFile(/tmp/multipartBody5168140887064841729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788444109,"filename":"image_22112025_06_11_14_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677019","file1":"1395677018","file0":"1395677017","file4":"1395677022","file5":"1395677026","file3":"1395677020"},"map_files_photo_id_array":[{"photo_id":"1395677026","filename":"file5"},{"photo_id":"1395677019","filename":"file2"},{"photo_id":"1395677022","filename":"file4"},{"photo_id":"1395677018","filename":"file1"},{"photo_id":"1395677017","filename":"file0"},{"photo_id":"1395677020","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677018":["hashtag1","hashtag2"]},{"1395677017":["hashtag1","hashtag2"]},{"1395677026":["hashtag1","hashtag2"]},{"1395677020":["hashtag1","hashtag2"]},{"1395677022":["hashtag1","hashtag2"]},{"1395677019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677018, 1395677017, 1395677026, 1395677020, 1395677022, 1395677019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84618926048279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:13:42.789138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_14_2598.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_17_3591.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_20_2584.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_22_2559.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_26_3905.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_31_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_14_2598.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_17_3591.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_20_2584.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_22_2559.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_26_3905.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_31_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677039","1395677033","1395677036","1395677035","1395677038","1395677037"],"photo_ids_order":["1395677033","1395677035","1395677036","1395677037","1395677038","1395677039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/733881de1a6413bf15c9c48a12b71658.jpg","text":"TemporaryFile(/tmp/multipartBody6803668075657841235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788483457,"filename":"image_22112025_06_12_31_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3d2f5cd7dad4aae18d64935e0c2ca41.jpg","text":"TemporaryFile(/tmp/multipartBody3096466860233383046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788483457,"filename":"image_22112025_06_12_14_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b684fd82a23b2eac6895d8eb9b6f256e.jpg","text":"TemporaryFile(/tmp/multipartBody2024685523189499080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788483457,"filename":"image_22112025_06_12_20_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4387da53d1e52bd2a35eb14dbeee264f.jpg","text":"TemporaryFile(/tmp/multipartBody3357972131421796605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788483457,"filename":"image_22112025_06_12_17_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e278fa0fb8b7087c597219424cc579f.jpg","text":"TemporaryFile(/tmp/multipartBody3436051982858429161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788483457,"filename":"image_22112025_06_12_26_3905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebcf747460b508cfab1aabd473d4f667.jpg","text":"TemporaryFile(/tmp/multipartBody2143033722834206869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788483457,"filename":"image_22112025_06_12_22_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677036","file1":"1395677035","file0":"1395677033","file4":"1395677038","file5":"1395677039","file3":"1395677037"},"map_files_photo_id_array":[{"photo_id":"1395677039","filename":"file5"},{"photo_id":"1395677036","filename":"file2"},{"photo_id":"1395677038","filename":"file4"},{"photo_id":"1395677035","filename":"file1"},{"photo_id":"1395677033","filename":"file0"},{"photo_id":"1395677037","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677039":["hashtag1","hashtag2"]},{"1395677033":["hashtag1","hashtag2"]},{"1395677036":["hashtag1","hashtag2"]},{"1395677035":["hashtag1","hashtag2"]},{"1395677038":["hashtag1","hashtag2"]},{"1395677037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677039, 1395677033, 1395677036, 1395677035, 1395677038, 1395677037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.711153745651245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:14:22.078123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_35_3640.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_38_2565.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_40_2713.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_44_3536.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_53_3671.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_56_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_35_3640.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_38_2565.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_40_2713.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_44_3536.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_53_3671.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_56_2691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6029834747314453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:14:41.975261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_35_3640.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_38_2565.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_40_2713.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_44_3536.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_53_3671.jpg', '/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_56_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_35_3640.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_38_2565.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_40_2713.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_44_3536.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_53_3671.jpg
/home/pi/Desktop/images/22112025/06/12/image_22112025_06_12_56_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677063","1395677065","1395677062","1395677064","1395677058","1395677061"],"photo_ids_order":["1395677058","1395677061","1395677062","1395677063","1395677064","1395677065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21f1354f50ea8ed605f6d78139c03834.jpg","text":"TemporaryFile(/tmp/multipartBody5107632255301105576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788542653,"filename":"image_22112025_06_12_44_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28a4e3b7ec169c688576f89f0e3cfb72.jpg","text":"TemporaryFile(/tmp/multipartBody3084896626822951628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788542653,"filename":"image_22112025_06_12_56_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da3d565af9892c96c76334afa9c174d8.jpg","text":"TemporaryFile(/tmp/multipartBody4243568383409251520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788542653,"filename":"image_22112025_06_12_40_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae4482c8b20a0298ae6154ca999f05f7.jpg","text":"TemporaryFile(/tmp/multipartBody3075965842179186112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788542653,"filename":"image_22112025_06_12_53_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1835cef40b6bbf39e01da44b55918862.jpg","text":"TemporaryFile(/tmp/multipartBody3557923175641355043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788542653,"filename":"image_22112025_06_12_35_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fedc9f18cbecf4889bc7746332c5054e.jpg","text":"TemporaryFile(/tmp/multipartBody8966546168786022024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788542653,"filename":"image_22112025_06_12_38_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677062","file1":"1395677061","file0":"1395677058","file4":"1395677064","file5":"1395677065","file3":"1395677063"},"map_files_photo_id_array":[{"photo_id":"1395677065","filename":"file5"},{"photo_id":"1395677062","filename":"file2"},{"photo_id":"1395677064","filename":"file4"},{"photo_id":"1395677061","filename":"file1"},{"photo_id":"1395677058","filename":"file0"},{"photo_id":"1395677063","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677063":["hashtag1","hashtag2"]},{"1395677065":["hashtag1","hashtag2"]},{"1395677062":["hashtag1","hashtag2"]},{"1395677064":["hashtag1","hashtag2"]},{"1395677058":["hashtag1","hashtag2"]},{"1395677061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677063, 1395677065, 1395677062, 1395677064, 1395677058, 1395677061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43912053108215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:15:22.199011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_11_3657.jpg', '/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_14_2674.jpg', '/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_17_3638.jpg', '/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_20_2890.jpg', '/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_29_3677.jpg', '/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_32_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_11_3657.jpg
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_14_2674.jpg
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_17_3638.jpg
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_20_2890.jpg
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_29_3677.jpg
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_32_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677083","1395677068","1395677076","1395677079","1395677070","1395677073"],"photo_ids_order":["1395677068","1395677070","1395677073","1395677076","1395677079","1395677083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66903f3758e3ed4897881b0081fb5270.jpg","text":"TemporaryFile(/tmp/multipartBody887816502104160287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788582868,"filename":"image_22112025_06_14_32_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99dd9cabcc13844cbace4c19c3d99b38.jpg","text":"TemporaryFile(/tmp/multipartBody4157069873784720374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788582868,"filename":"image_22112025_06_14_11_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34f7f682b4021985c07e60f4a03b3082.jpg","text":"TemporaryFile(/tmp/multipartBody7919820806471840911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788582868,"filename":"image_22112025_06_14_20_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/030d6c611ece5ea90e4eb28225f4b1bf.jpg","text":"TemporaryFile(/tmp/multipartBody3371261091982086085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788582868,"filename":"image_22112025_06_14_29_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6de21555406c5f2e88a9073d9fdd984.jpg","text":"TemporaryFile(/tmp/multipartBody1572894947534452857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788582868,"filename":"image_22112025_06_14_14_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4f70d1be70aab7d95855614932a2ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4740432645708973543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788582868,"filename":"image_22112025_06_14_17_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677073","file1":"1395677070","file0":"1395677068","file4":"1395677079","file5":"1395677083","file3":"1395677076"},"map_files_photo_id_array":[{"photo_id":"1395677083","filename":"file5"},{"photo_id":"1395677073","filename":"file2"},{"photo_id":"1395677079","filename":"file4"},{"photo_id":"1395677070","filename":"file1"},{"photo_id":"1395677068","filename":"file0"},{"photo_id":"1395677076","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677083":["hashtag1","hashtag2"]},{"1395677068":["hashtag1","hashtag2"]},{"1395677076":["hashtag1","hashtag2"]},{"1395677079":["hashtag1","hashtag2"]},{"1395677070":["hashtag1","hashtag2"]},{"1395677073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677083, 1395677068, 1395677076, 1395677079, 1395677070, 1395677073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20129156112671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:16:02.394824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_35_3598.jpg', '/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_38_2581.jpg', '/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_41_2992.jpg', '/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_47_3789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_35_3598.jpg
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_38_2581.jpg
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_41_2992.jpg
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_47_3789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677092","1395677089","1395677091","1395677093"],"photo_ids_order":["1395677089","1395677091","1395677092","1395677093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a9ede4b3fce68dc0c7bd5a692d4a281.jpg","text":"TemporaryFile(/tmp/multipartBody5511783188182262872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788623035,"filename":"image_22112025_06_14_41_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46272ddc1d8a347bd9a2c55234cace21.jpg","text":"TemporaryFile(/tmp/multipartBody221438517028940711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788623035,"filename":"image_22112025_06_14_35_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5faaea7d597de9d5e4e61178bc7ea94.jpg","text":"TemporaryFile(/tmp/multipartBody5534160430875057030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788623035,"filename":"image_22112025_06_14_38_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ad999aea5125145f6315b2232ea059d.jpg","text":"TemporaryFile(/tmp/multipartBody2035274629192792922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788623035,"filename":"image_22112025_06_14_47_3789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677092","file1":"1395677091","file0":"1395677089","file3":"1395677093"},"map_files_photo_id_array":[{"photo_id":"1395677092","filename":"file2"},{"photo_id":"1395677091","filename":"file1"},{"photo_id":"1395677089","filename":"file0"},{"photo_id":"1395677093","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677092":["hashtag1","hashtag2"]},{"1395677089":["hashtag1","hashtag2"]},{"1395677091":["hashtag1","hashtag2"]},{"1395677093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677092, 1395677089, 1395677091, 1395677093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.441118717193604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:16:41.892298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_50_2811.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_10_3601.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_16_2976.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_19_2718.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_22_3702.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_25_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_50_2811.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_10_3601.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_16_2976.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_19_2718.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_22_3702.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_25_2703.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6050963401794434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:17:02.815443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_50_2811.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_10_3601.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_16_2976.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_19_2718.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_22_3702.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_25_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/14/image_22112025_06_14_50_2811.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_10_3601.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_16_2976.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_19_2718.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_22_3702.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_25_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677111","1395677114","1395677116","1395677119","1395677113","1395677112"],"photo_ids_order":["1395677111","1395677112","1395677113","1395677114","1395677116","1395677119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c449ef69c19bcac0efa089cfdced9697.jpg","text":"TemporaryFile(/tmp/multipartBody2469614647815302960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788683603,"filename":"image_22112025_06_14_50_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/575c1c7a9ab9d8f82741ce8f43bf5414.jpg","text":"TemporaryFile(/tmp/multipartBody3924078063291597082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788683603,"filename":"image_22112025_06_16_19_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/520c780324b89d0721b5072f50ca3475.jpg","text":"TemporaryFile(/tmp/multipartBody8982320895753322247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788683603,"filename":"image_22112025_06_16_22_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/352ebb96747942f2ab7948540915b296.jpg","text":"TemporaryFile(/tmp/multipartBody5477077791822731871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788683603,"filename":"image_22112025_06_16_25_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67124123418de7a597ebd6e778c61d14.jpg","text":"TemporaryFile(/tmp/multipartBody5450625397683499889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788683603,"filename":"image_22112025_06_16_16_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34e913a909f4040632cc2ee1723d225a.jpg","text":"TemporaryFile(/tmp/multipartBody2739316954360130199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788683603,"filename":"image_22112025_06_16_10_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677113","file1":"1395677112","file0":"1395677111","file4":"1395677116","file5":"1395677119","file3":"1395677114"},"map_files_photo_id_array":[{"photo_id":"1395677119","filename":"file5"},{"photo_id":"1395677113","filename":"file2"},{"photo_id":"1395677116","filename":"file4"},{"photo_id":"1395677112","filename":"file1"},{"photo_id":"1395677111","filename":"file0"},{"photo_id":"1395677114","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677111":["hashtag1","hashtag2"]},{"1395677114":["hashtag1","hashtag2"]},{"1395677116":["hashtag1","hashtag2"]},{"1395677119":["hashtag1","hashtag2"]},{"1395677113":["hashtag1","hashtag2"]},{"1395677112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677111, 1395677114, 1395677116, 1395677119, 1395677113, 1395677112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.031665563583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:17:42.067555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_28_2601.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_31_3668.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_38_3571.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_43_2687.jpg', '/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_47_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_28_2601.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_31_3668.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_38_3571.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_43_2687.jpg
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_47_3659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677132","1395677129","1395677131","1395677130","1395677127"],"photo_ids_order":["1395677127","1395677129","1395677130","1395677131","1395677132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b62304dd4703a6ef2f25d1186ccc085.jpg","text":"TemporaryFile(/tmp/multipartBody2223972488134197703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788722706,"filename":"image_22112025_06_16_47_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/024176a1e0f0bcd25f8157fba18b0456.jpg","text":"TemporaryFile(/tmp/multipartBody4964031201489415058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788722706,"filename":"image_22112025_06_16_31_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df31ba235b9826e4c52c898710d9cf10.jpg","text":"TemporaryFile(/tmp/multipartBody4845665792554448722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788722706,"filename":"image_22112025_06_16_43_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e55957ddc1374e44238d8306a925a5a.jpg","text":"TemporaryFile(/tmp/multipartBody6331663731728827560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788722706,"filename":"image_22112025_06_16_38_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0e59ba93bcdc1fa94b247a5c8539ca8.jpg","text":"TemporaryFile(/tmp/multipartBody785009740598860653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788722706,"filename":"image_22112025_06_16_28_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677130","file1":"1395677129","file0":"1395677127","file4":"1395677132","file3":"1395677131"},"map_files_photo_id_array":[{"photo_id":"1395677130","filename":"file2"},{"photo_id":"1395677132","filename":"file4"},{"photo_id":"1395677129","filename":"file1"},{"photo_id":"1395677127","filename":"file0"},{"photo_id":"1395677131","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677132":["hashtag1","hashtag2"]},{"1395677129":["hashtag1","hashtag2"]},{"1395677131":["hashtag1","hashtag2"]},{"1395677130":["hashtag1","hashtag2"]},{"1395677127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677132, 1395677129, 1395677131, 1395677130, 1395677127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.07074499130249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:18:22.411667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_52_2625.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_07_3012.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_11_3785.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_13_2559.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_20_3601.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_25_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/16/image_22112025_06_16_52_2625.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_07_3012.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_11_3785.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_13_2559.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_20_3601.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_25_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677153","1395677152","1395677146","1395677149","1395677140","1395677143"],"photo_ids_order":["1395677140","1395677143","1395677146","1395677149","1395677152","1395677153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3969ffcd59d98e837ad38ed535aad76.jpg","text":"TemporaryFile(/tmp/multipartBody2602527674759932756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788763139,"filename":"image_22112025_06_18_25_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac474ab94953c56f48ab4a4c569ce8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6682126931160738611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788763139,"filename":"image_22112025_06_18_20_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61dbfb71c0e968888ca276f6ab8774df.jpg","text":"TemporaryFile(/tmp/multipartBody7894190411009567336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788763139,"filename":"image_22112025_06_18_11_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c11f6070ef1c66dec8a2ef4133fd43d.jpg","text":"TemporaryFile(/tmp/multipartBody565578421553906639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788763139,"filename":"image_22112025_06_18_13_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/374afd7ef9d710e4d040b5ffee1f70d1.jpg","text":"TemporaryFile(/tmp/multipartBody433283437326148003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788763139,"filename":"image_22112025_06_16_52_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27b15edfdbee720b852b0e06b39f8d03.jpg","text":"TemporaryFile(/tmp/multipartBody2721056421210995065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788763139,"filename":"image_22112025_06_18_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677146","file1":"1395677143","file0":"1395677140","file4":"1395677152","file5":"1395677153","file3":"1395677149"},"map_files_photo_id_array":[{"photo_id":"1395677153","filename":"file5"},{"photo_id":"1395677146","filename":"file2"},{"photo_id":"1395677152","filename":"file4"},{"photo_id":"1395677143","filename":"file1"},{"photo_id":"1395677140","filename":"file0"},{"photo_id":"1395677149","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677153":["hashtag1","hashtag2"]},{"1395677152":["hashtag1","hashtag2"]},{"1395677146":["hashtag1","hashtag2"]},{"1395677149":["hashtag1","hashtag2"]},{"1395677140":["hashtag1","hashtag2"]},{"1395677143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677153, 1395677152, 1395677146, 1395677149, 1395677140, 1395677143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.414517879486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:19:03.515614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_31_2618.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_34_2628.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_37_3617.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_40_2812.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_43_2594.jpg', '/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_46_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_31_2618.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_34_2628.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_37_3617.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_40_2812.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_43_2594.jpg
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_46_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677162","1395677156","1395677165","1395677155","1395677158","1395677157"],"photo_ids_order":["1395677155","1395677156","1395677157","1395677158","1395677162","1395677165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2191cba8b570473d2b054af414f785b8.jpg","text":"TemporaryFile(/tmp/multipartBody333086680335147519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788804378,"filename":"image_22112025_06_18_43_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f74ffd362382ededfd669d9ea7b3014.jpg","text":"TemporaryFile(/tmp/multipartBody4522363571512910260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788804378,"filename":"image_22112025_06_18_34_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa01379cd21850a4e42f68ab00c8c55e.jpg","text":"TemporaryFile(/tmp/multipartBody4679247915350396792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788804378,"filename":"image_22112025_06_18_46_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7696a981632ec3b8f911d1bcb5e7920f.jpg","text":"TemporaryFile(/tmp/multipartBody7086733428092451249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788804378,"filename":"image_22112025_06_18_31_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0c483ccb194e583b33f7387dcfb28eb.jpg","text":"TemporaryFile(/tmp/multipartBody2614576163184993236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788804378,"filename":"image_22112025_06_18_40_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33ecb1e51d969c45c5c1d03670792414.jpg","text":"TemporaryFile(/tmp/multipartBody8923510135664884200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788804378,"filename":"image_22112025_06_18_37_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677157","file1":"1395677156","file0":"1395677155","file4":"1395677162","file5":"1395677165","file3":"1395677158"},"map_files_photo_id_array":[{"photo_id":"1395677165","filename":"file5"},{"photo_id":"1395677157","filename":"file2"},{"photo_id":"1395677162","filename":"file4"},{"photo_id":"1395677156","filename":"file1"},{"photo_id":"1395677155","filename":"file0"},{"photo_id":"1395677158","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677162":["hashtag1","hashtag2"]},{"1395677156":["hashtag1","hashtag2"]},{"1395677165":["hashtag1","hashtag2"]},{"1395677155":["hashtag1","hashtag2"]},{"1395677158":["hashtag1","hashtag2"]},{"1395677157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677162, 1395677156, 1395677165, 1395677155, 1395677158, 1395677157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.270668745040894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:19:42.549076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_53_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_53_3693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677172"],"photo_id":"1395677172","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0c186bda1c32903c1ee729d5cdd467a.jpg","text":"TemporaryFile(/tmp/multipartBody1916349400929725905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788843069,"filename":"image_22112025_06_18_53_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395677172"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395677172"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.030730485916138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:20:03.213769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_07_2780.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_13_2596.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_29_3805.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_34_2683.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_41_3874.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_46_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_07_2780.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_13_2596.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_29_3805.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_34_2683.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_41_3874.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_46_2612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7970335483551025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:20:22.730430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_56_2768.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_14_2671.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_17_2659.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_20_2685.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_23_3598.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_26_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/18/image_22112025_06_18_56_2768.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_14_2671.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_17_2659.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_20_2685.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_23_3598.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_26_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677197","1395677190","1395677184","1395677187","1395677192","1395677195"],"photo_ids_order":["1395677184","1395677187","1395677190","1395677192","1395677195","1395677197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1372637ca4cb49625e8c2c0f634e297d.jpg","text":"TemporaryFile(/tmp/multipartBody7096771515324761065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788883513,"filename":"image_22112025_06_20_26_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7ac21fc3feef6eed605456e8f2cafe1.jpg","text":"TemporaryFile(/tmp/multipartBody6539749237708545066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788883513,"filename":"image_22112025_06_20_17_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46bb8174268dafde948deffcc7de4008.jpg","text":"TemporaryFile(/tmp/multipartBody6967786502893587073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788883513,"filename":"image_22112025_06_18_56_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b322d0a6cb5e68e6977671dfded891f.jpg","text":"TemporaryFile(/tmp/multipartBody6915205382080490591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788883513,"filename":"image_22112025_06_20_14_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d8a654fb510e2e86b91afd9b1413d81.jpg","text":"TemporaryFile(/tmp/multipartBody5656825840628392072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788883513,"filename":"image_22112025_06_20_20_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b39c3a0a9a03d596e72e1e86f655dd8c.jpg","text":"TemporaryFile(/tmp/multipartBody7823278054519996939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788883513,"filename":"image_22112025_06_20_23_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677190","file1":"1395677187","file0":"1395677184","file4":"1395677195","file5":"1395677197","file3":"1395677192"},"map_files_photo_id_array":[{"photo_id":"1395677197","filename":"file5"},{"photo_id":"1395677190","filename":"file2"},{"photo_id":"1395677195","filename":"file4"},{"photo_id":"1395677187","filename":"file1"},{"photo_id":"1395677184","filename":"file0"},{"photo_id":"1395677192","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677197":["hashtag1","hashtag2"]},{"1395677190":["hashtag1","hashtag2"]},{"1395677184":["hashtag1","hashtag2"]},{"1395677187":["hashtag1","hashtag2"]},{"1395677192":["hashtag1","hashtag2"]},{"1395677195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677197, 1395677190, 1395677184, 1395677187, 1395677192, 1395677195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48526072502136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:21:02.643973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_29_2988.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_33_3588.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_35_2648.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_40_4622.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_44_2736.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_47_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_29_2988.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_33_3588.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_35_2648.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_40_4622.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_44_2736.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_47_2540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677204","1395677201","1395677209","1395677200","1395677199","1395677202"],"photo_ids_order":["1395677199","1395677200","1395677201","1395677202","1395677204","1395677209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad5d847f651b7715d936e0da1ccd0e16.jpg","text":"TemporaryFile(/tmp/multipartBody8364492243138334773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788923454,"filename":"image_22112025_06_20_44_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35fe3793532bec54b1958538b331bee7.jpg","text":"TemporaryFile(/tmp/multipartBody4964146280441098228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788923454,"filename":"image_22112025_06_20_35_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a7cfc15994d253cf9ae9de3b77b7a70.jpg","text":"TemporaryFile(/tmp/multipartBody3664619979830706170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788923454,"filename":"image_22112025_06_20_47_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8854132141185ceb5de3dd4fc1af549.jpg","text":"TemporaryFile(/tmp/multipartBody6153281565429548084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788923454,"filename":"image_22112025_06_20_33_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48ecd06a24a32fa64a47628061a13660.jpg","text":"TemporaryFile(/tmp/multipartBody8638771126503082459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788923454,"filename":"image_22112025_06_20_29_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a052a5e49ed2cceb3cc16f8187f54a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7220391224467684859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788923454,"filename":"image_22112025_06_20_40_4622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677201","file1":"1395677200","file0":"1395677199","file4":"1395677204","file5":"1395677209","file3":"1395677202"},"map_files_photo_id_array":[{"photo_id":"1395677209","filename":"file5"},{"photo_id":"1395677201","filename":"file2"},{"photo_id":"1395677204","filename":"file4"},{"photo_id":"1395677200","filename":"file1"},{"photo_id":"1395677199","filename":"file0"},{"photo_id":"1395677202","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677204":["hashtag1","hashtag2"]},{"1395677201":["hashtag1","hashtag2"]},{"1395677209":["hashtag1","hashtag2"]},{"1395677200":["hashtag1","hashtag2"]},{"1395677199":["hashtag1","hashtag2"]},{"1395677202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677204, 1395677201, 1395677209, 1395677200, 1395677199, 1395677202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.475480794906616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:21:41.947739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_50_2798.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_53_3638.jpg', '/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_56_2827.jpg', '/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_02_2728.jpg', '/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_05_3666.jpg', '/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_08_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_50_2798.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_53_3638.jpg
/home/pi/Desktop/images/22112025/06/20/image_22112025_06_20_56_2827.jpg
/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_02_2728.jpg
/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_05_3666.jpg
/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_08_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677222","1395677216","1395677219","1395677221","1395677224","1395677223"],"photo_ids_order":["1395677216","1395677219","1395677221","1395677222","1395677223","1395677224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe7545e652031ff8a5d3e634cdcc51fd.jpg","text":"TemporaryFile(/tmp/multipartBody2892899460651899847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788962617,"filename":"image_22112025_06_21_02_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52580071e68abc03795fb950f26073e2.jpg","text":"TemporaryFile(/tmp/multipartBody5460867119163340506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788962617,"filename":"image_22112025_06_20_50_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/535eef3f44cae36a1f61539af2232f21.jpg","text":"TemporaryFile(/tmp/multipartBody5203666733419645072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788962617,"filename":"image_22112025_06_20_53_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3247d063c23007f1bdf9aef95930969.jpg","text":"TemporaryFile(/tmp/multipartBody7420675969170063329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788962617,"filename":"image_22112025_06_20_56_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4dd44c45c2ad3563272096827e53748b.jpg","text":"TemporaryFile(/tmp/multipartBody1365797291474738008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788962617,"filename":"image_22112025_06_21_08_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df94b4562d411857c1760d9c8edb4ee6.jpg","text":"TemporaryFile(/tmp/multipartBody8547686690726471189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763788962617,"filename":"image_22112025_06_21_05_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677221","file1":"1395677219","file0":"1395677216","file4":"1395677223","file5":"1395677224","file3":"1395677222"},"map_files_photo_id_array":[{"photo_id":"1395677224","filename":"file5"},{"photo_id":"1395677221","filename":"file2"},{"photo_id":"1395677223","filename":"file4"},{"photo_id":"1395677219","filename":"file1"},{"photo_id":"1395677216","filename":"file0"},{"photo_id":"1395677222","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677222":["hashtag1","hashtag2"]},{"1395677216":["hashtag1","hashtag2"]},{"1395677219":["hashtag1","hashtag2"]},{"1395677221":["hashtag1","hashtag2"]},{"1395677224":["hashtag1","hashtag2"]},{"1395677223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677222, 1395677216, 1395677219, 1395677221, 1395677224, 1395677223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.325849294662476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:22:25.289988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_11_2690.jpg', '/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_14_3628.jpg', '/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_17_2639.jpg', '/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_20_2622.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_07_3016.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_10_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_11_2690.jpg
/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_14_3628.jpg
/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_17_2639.jpg
/home/pi/Desktop/images/22112025/06/21/image_22112025_06_21_20_2622.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_07_3016.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_10_3684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677231","1395677228","1395677245","1395677242","1395677238","1395677235"],"photo_ids_order":["1395677228","1395677231","1395677235","1395677238","1395677242","1395677245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e173283d67f7c4374ea86add68a201ef.jpg","text":"TemporaryFile(/tmp/multipartBody1505987800187406044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789005994,"filename":"image_22112025_06_21_14_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/073fb059d68fc34a83a4c84767131795.jpg","text":"TemporaryFile(/tmp/multipartBody8535022690693869718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789005994,"filename":"image_22112025_06_21_11_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0e49da3426ecb45c94f7b1f6f251110.jpg","text":"TemporaryFile(/tmp/multipartBody5818251655423855899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789005994,"filename":"image_22112025_06_22_10_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be3b5ca02d6a053b5258ccd3ecce4d68.jpg","text":"TemporaryFile(/tmp/multipartBody778247552432507410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789005994,"filename":"image_22112025_06_22_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f39d4061d633bb44275740748a697b8.jpg","text":"TemporaryFile(/tmp/multipartBody4152559259848043981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789005994,"filename":"image_22112025_06_21_20_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83f56d5a14b4c0976999e1d2547ba762.jpg","text":"TemporaryFile(/tmp/multipartBody6793010455178631049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789005994,"filename":"image_22112025_06_21_17_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677235","file1":"1395677231","file0":"1395677228","file4":"1395677242","file5":"1395677245","file3":"1395677238"},"map_files_photo_id_array":[{"photo_id":"1395677245","filename":"file5"},{"photo_id":"1395677235","filename":"file2"},{"photo_id":"1395677242","filename":"file4"},{"photo_id":"1395677231","filename":"file1"},{"photo_id":"1395677228","filename":"file0"},{"photo_id":"1395677238","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677231":["hashtag1","hashtag2"]},{"1395677228":["hashtag1","hashtag2"]},{"1395677245":["hashtag1","hashtag2"]},{"1395677242":["hashtag1","hashtag2"]},{"1395677238":["hashtag1","hashtag2"]},{"1395677235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677231, 1395677228, 1395677245, 1395677242, 1395677238, 1395677235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.858895778656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:23:22.399932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_13_2589.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_17_3587.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_25_2647.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_28_3715.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_37_3646.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_40_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_13_2589.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_17_3587.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_25_2647.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_28_3715.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_37_3646.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_40_2736.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5659775733947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:23:42.991033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_13_2589.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_17_3587.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_25_2647.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_28_3715.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_37_3646.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_40_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_13_2589.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_17_3587.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_25_2647.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_28_3715.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_37_3646.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_40_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677264","1395677275","1395677269","1395677268","1395677270","1395677267"],"photo_ids_order":["1395677264","1395677267","1395677268","1395677269","1395677270","1395677275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/428a6878e6df87f6c3381be39c6dd89d.jpg","text":"TemporaryFile(/tmp/multipartBody8814555503181942153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789083660,"filename":"image_22112025_06_22_13_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/029b90c1d7970c95e6cc89ac13a54a94.jpg","text":"TemporaryFile(/tmp/multipartBody4855684095023140036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789083660,"filename":"image_22112025_06_22_40_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6830833163fafb4a566a052cdba59286.jpg","text":"TemporaryFile(/tmp/multipartBody6162460791601027496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789083660,"filename":"image_22112025_06_22_28_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48ff95a0ddf94f82ba25e7083438d75f.jpg","text":"TemporaryFile(/tmp/multipartBody5008062344317899374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789083660,"filename":"image_22112025_06_22_25_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/192709a9488c03cac44b75ff23f815cf.jpg","text":"TemporaryFile(/tmp/multipartBody2126546918987483400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789083660,"filename":"image_22112025_06_22_37_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70e1441c5e29c573f204a6d67bb0eb78.jpg","text":"TemporaryFile(/tmp/multipartBody7690483549211593447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789083660,"filename":"image_22112025_06_22_17_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677268","file1":"1395677267","file0":"1395677264","file4":"1395677270","file5":"1395677275","file3":"1395677269"},"map_files_photo_id_array":[{"photo_id":"1395677275","filename":"file5"},{"photo_id":"1395677268","filename":"file2"},{"photo_id":"1395677270","filename":"file4"},{"photo_id":"1395677267","filename":"file1"},{"photo_id":"1395677264","filename":"file0"},{"photo_id":"1395677269","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677264":["hashtag1","hashtag2"]},{"1395677275":["hashtag1","hashtag2"]},{"1395677269":["hashtag1","hashtag2"]},{"1395677268":["hashtag1","hashtag2"]},{"1395677270":["hashtag1","hashtag2"]},{"1395677267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677264, 1395677275, 1395677269, 1395677268, 1395677270, 1395677267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10398316383362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:24:22.171458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_43_2743.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_46_3680.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_49_2644.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_52_2827.jpg', '/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_56_3630.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_43_2743.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_46_3680.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_49_2644.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_52_2827.jpg
/home/pi/Desktop/images/22112025/06/22/image_22112025_06_22_56_3630.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677281","1395677284","1395677278","1395677293","1395677287","1395677291"],"photo_ids_order":["1395677278","1395677281","1395677284","1395677287","1395677291","1395677293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef50ac939b67a86ebbaaf52c1b6c9528.jpg","text":"TemporaryFile(/tmp/multipartBody2005829666459967066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789122851,"filename":"image_22112025_06_22_46_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29e2b713485271fbcfe54c750ad31e6d.jpg","text":"TemporaryFile(/tmp/multipartBody2476330126219446835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789122851,"filename":"image_22112025_06_22_49_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4099e84698a180ff17e03c3b40efb6e0.jpg","text":"TemporaryFile(/tmp/multipartBody597191242876563246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789122851,"filename":"image_22112025_06_22_43_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5754b8c15867cb2650b16715bae395a9.jpg","text":"TemporaryFile(/tmp/multipartBody7483127974298002840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789122851,"filename":"image_22112025_06_24_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a3f08ebb8388813707bffae2e7a047b.jpg","text":"TemporaryFile(/tmp/multipartBody4467351942271674211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789122851,"filename":"image_22112025_06_22_52_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13b18818600da7c31afccd134f773e93.jpg","text":"TemporaryFile(/tmp/multipartBody7131786144149962104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789122851,"filename":"image_22112025_06_22_56_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677284","file1":"1395677281","file0":"1395677278","file4":"1395677291","file5":"1395677293","file3":"1395677287"},"map_files_photo_id_array":[{"photo_id":"1395677293","filename":"file5"},{"photo_id":"1395677284","filename":"file2"},{"photo_id":"1395677291","filename":"file4"},{"photo_id":"1395677281","filename":"file1"},{"photo_id":"1395677278","filename":"file0"},{"photo_id":"1395677287","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677281":["hashtag1","hashtag2"]},{"1395677284":["hashtag1","hashtag2"]},{"1395677278":["hashtag1","hashtag2"]},{"1395677293":["hashtag1","hashtag2"]},{"1395677287":["hashtag1","hashtag2"]},{"1395677291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677281, 1395677284, 1395677278, 1395677293, 1395677287, 1395677291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90747046470642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:25:02.616814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_13_5698.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_20_3736.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_23_2667.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_25_2625.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_29_3723.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_32_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_13_5698.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_20_3736.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_23_2667.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_25_2625.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_29_3723.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_32_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677303","1395677296","1395677300","1395677295","1395677298","1395677297"],"photo_ids_order":["1395677295","1395677296","1395677297","1395677298","1395677300","1395677303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc87a9751df2af4c2c8c49d22163e8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4120993562315220153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789163402,"filename":"image_22112025_06_24_32_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf120b270c432988cfa8dd92152fbce0.jpg","text":"TemporaryFile(/tmp/multipartBody6824839996449920261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789163402,"filename":"image_22112025_06_24_20_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2b1ef065aa2321fbaa2e62f749a2aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5501584654301332918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789163402,"filename":"image_22112025_06_24_29_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d3154d32081b77d4a4f22b7e29739a2.jpg","text":"TemporaryFile(/tmp/multipartBody1605316388709230279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789163402,"filename":"image_22112025_06_24_13_5698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d66049962ebd88b56af3e75b5cace42.jpg","text":"TemporaryFile(/tmp/multipartBody8299630744671440923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789163402,"filename":"image_22112025_06_24_25_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3def9f96228ca9a9ac5ca2dbd4753c82.jpg","text":"TemporaryFile(/tmp/multipartBody7910345355157525494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789163402,"filename":"image_22112025_06_24_23_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677297","file1":"1395677296","file0":"1395677295","file4":"1395677300","file5":"1395677303","file3":"1395677298"},"map_files_photo_id_array":[{"photo_id":"1395677303","filename":"file5"},{"photo_id":"1395677297","filename":"file2"},{"photo_id":"1395677300","filename":"file4"},{"photo_id":"1395677296","filename":"file1"},{"photo_id":"1395677295","filename":"file0"},{"photo_id":"1395677298","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677303":["hashtag1","hashtag2"]},{"1395677296":["hashtag1","hashtag2"]},{"1395677300":["hashtag1","hashtag2"]},{"1395677295":["hashtag1","hashtag2"]},{"1395677298":["hashtag1","hashtag2"]},{"1395677297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677303, 1395677296, 1395677300, 1395677295, 1395677298, 1395677297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.789153814315796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:25:41.907159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_34_2808.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_37_2734.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_43_5796.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_45_1634.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_46_1714.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_50_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_34_2808.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_37_2734.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_43_5796.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_45_1634.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_46_1714.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_50_3659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677315","1395677318","1395677312","1395677320","1395677317","1395677319"],"photo_ids_order":["1395677312","1395677315","1395677317","1395677318","1395677319","1395677320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66ea120c446849e29b4a3e6fea0ef099.jpg","text":"TemporaryFile(/tmp/multipartBody8618959778496702608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789202578,"filename":"image_22112025_06_24_37_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e5c6b94331139458e02369525093a22.jpg","text":"TemporaryFile(/tmp/multipartBody2142305388907460442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789202578,"filename":"image_22112025_06_24_45_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdc1600a4a352fcc4a738db6eec84edc.jpg","text":"TemporaryFile(/tmp/multipartBody8662347582730187139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789202578,"filename":"image_22112025_06_24_34_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af4baba2ac63ad115ab4dfd40c60aaa3.jpg","text":"TemporaryFile(/tmp/multipartBody7996851551159690956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789202578,"filename":"image_22112025_06_24_50_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a2c4ef286bef05702afebad2b501831.jpg","text":"TemporaryFile(/tmp/multipartBody6773529174232557132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789202578,"filename":"image_22112025_06_24_43_5796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61228e466590643b4441039ee44941e2.jpg","text":"TemporaryFile(/tmp/multipartBody2403665039918664152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789202578,"filename":"image_22112025_06_24_46_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677317","file1":"1395677315","file0":"1395677312","file4":"1395677319","file5":"1395677320","file3":"1395677318"},"map_files_photo_id_array":[{"photo_id":"1395677320","filename":"file5"},{"photo_id":"1395677317","filename":"file2"},{"photo_id":"1395677319","filename":"file4"},{"photo_id":"1395677315","filename":"file1"},{"photo_id":"1395677312","filename":"file0"},{"photo_id":"1395677318","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677315":["hashtag1","hashtag2"]},{"1395677318":["hashtag1","hashtag2"]},{"1395677312":["hashtag1","hashtag2"]},{"1395677320":["hashtag1","hashtag2"]},{"1395677317":["hashtag1","hashtag2"]},{"1395677319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677315, 1395677318, 1395677312, 1395677320, 1395677317, 1395677319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80414128303528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:26:22.818792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_56_6316.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_58_1698.jpg', '/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_59_1551.jpg', '/home/pi/Desktop/images/22112025/06/25/image_22112025_06_25_05_3659.jpg', '/home/pi/Desktop/images/22112025/06/25/image_22112025_06_25_07_2568.jpg', '/home/pi/Desktop/images/22112025/06/25/image_22112025_06_25_11_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_56_6316.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_58_1698.jpg
/home/pi/Desktop/images/22112025/06/24/image_22112025_06_24_59_1551.jpg
/home/pi/Desktop/images/22112025/06/25/image_22112025_06_25_05_3659.jpg
/home/pi/Desktop/images/22112025/06/25/image_22112025_06_25_07_2568.jpg
/home/pi/Desktop/images/22112025/06/25/image_22112025_06_25_11_3622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677333","1395677330","1395677324","1395677327","1395677343","1395677351"],"photo_ids_order":["1395677324","1395677327","1395677330","1395677333","1395677343","1395677351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe8946ae328608218a7117d95730a9cc.jpg","text":"TemporaryFile(/tmp/multipartBody7357648815653971798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789243533,"filename":"image_22112025_06_25_05_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bacc410bc86e4b11a815b19290f59fce.jpg","text":"TemporaryFile(/tmp/multipartBody7335535759920820882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789243533,"filename":"image_22112025_06_24_59_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0326a16b19e4e7d9881fc71cc39a383.jpg","text":"TemporaryFile(/tmp/multipartBody1554538987138783803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789243533,"filename":"image_22112025_06_24_56_6316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a5d7ff2abaa3bdc3cce8911b537611d.jpg","text":"TemporaryFile(/tmp/multipartBody9050040044810696384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789243533,"filename":"image_22112025_06_24_58_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9b447e351e9024f00603f8505fb3abd.jpg","text":"TemporaryFile(/tmp/multipartBody2961323724335683934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789243533,"filename":"image_22112025_06_25_07_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c7747818d411186e219dece09c84c5f.jpg","text":"TemporaryFile(/tmp/multipartBody9035936589162106259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789243533,"filename":"image_22112025_06_25_11_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677330","file1":"1395677327","file0":"1395677324","file4":"1395677343","file5":"1395677351","file3":"1395677333"},"map_files_photo_id_array":[{"photo_id":"1395677351","filename":"file5"},{"photo_id":"1395677330","filename":"file2"},{"photo_id":"1395677343","filename":"file4"},{"photo_id":"1395677327","filename":"file1"},{"photo_id":"1395677324","filename":"file0"},{"photo_id":"1395677333","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677333":["hashtag1","hashtag2"]},{"1395677330":["hashtag1","hashtag2"]},{"1395677324":["hashtag1","hashtag2"]},{"1395677327":["hashtag1","hashtag2"]},{"1395677343":["hashtag1","hashtag2"]},{"1395677351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677333, 1395677330, 1395677324, 1395677327, 1395677343, 1395677351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7152636051178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:27:02.662275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_07_3018.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_10_3640.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_13_2778.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_16_2578.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_19_3784.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_22_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_07_3018.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_10_3640.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_13_2778.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_16_2578.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_19_3784.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_22_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677357","1395677359","1395677356","1395677361","1395677364","1395677358"],"photo_ids_order":["1395677356","1395677357","1395677358","1395677359","1395677361","1395677364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb644927e645157b662176fecad38017.jpg","text":"TemporaryFile(/tmp/multipartBody4453099291895445134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789283422,"filename":"image_22112025_06_26_10_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1aa5ca2d503603b95d98b6cd4ff80b82.jpg","text":"TemporaryFile(/tmp/multipartBody4151114558792072492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789283422,"filename":"image_22112025_06_26_16_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffb628aae113ad3cb149966056b2b678.jpg","text":"TemporaryFile(/tmp/multipartBody8394272265993526872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789283422,"filename":"image_22112025_06_26_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af4236aad97fdb641e69579a60bdcf9e.jpg","text":"TemporaryFile(/tmp/multipartBody3567717284484841564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789283422,"filename":"image_22112025_06_26_19_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8087cf0b686c7c65a1c70c946b1704c6.jpg","text":"TemporaryFile(/tmp/multipartBody2689075364831273931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789283422,"filename":"image_22112025_06_26_22_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08cd83cb64c1ac5b00b8d8b35314df64.jpg","text":"TemporaryFile(/tmp/multipartBody2513334190606826896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789283422,"filename":"image_22112025_06_26_13_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677358","file1":"1395677357","file0":"1395677356","file4":"1395677361","file5":"1395677364","file3":"1395677359"},"map_files_photo_id_array":[{"photo_id":"1395677364","filename":"file5"},{"photo_id":"1395677358","filename":"file2"},{"photo_id":"1395677361","filename":"file4"},{"photo_id":"1395677357","filename":"file1"},{"photo_id":"1395677356","filename":"file0"},{"photo_id":"1395677359","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677357":["hashtag1","hashtag2"]},{"1395677359":["hashtag1","hashtag2"]},{"1395677356":["hashtag1","hashtag2"]},{"1395677361":["hashtag1","hashtag2"]},{"1395677364":["hashtag1","hashtag2"]},{"1395677358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677357, 1395677359, 1395677356, 1395677361, 1395677364, 1395677358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.750497341156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:27:42.049277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_25_2691.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_28_3689.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_31_2671.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_34_2540.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_37_3649.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_40_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_25_2691.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_28_3689.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_31_2671.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_34_2540.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_37_3649.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_40_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677380","1395677374","1395677382","1395677376","1395677384","1395677378"],"photo_ids_order":["1395677374","1395677376","1395677378","1395677380","1395677382","1395677384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db27aa63eea1ec707291d97c918242c7.jpg","text":"TemporaryFile(/tmp/multipartBody8042557303813357699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789322723,"filename":"image_22112025_06_26_34_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6089210f26b6e3fdb157a7d3722542f0.jpg","text":"TemporaryFile(/tmp/multipartBody4568531284712029333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789322723,"filename":"image_22112025_06_26_25_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa5bc90cdd429745bd7efceb077a4150.jpg","text":"TemporaryFile(/tmp/multipartBody1705190419581743818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789322723,"filename":"image_22112025_06_26_37_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af4fa7a429097c62bd82469703f1cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody1338852693889394139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789322723,"filename":"image_22112025_06_26_28_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b135cb4d7f325564718bef1ef610ff93.jpg","text":"TemporaryFile(/tmp/multipartBody7570041396876857495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789322723,"filename":"image_22112025_06_26_40_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8162166f2420e5b83bca906adc3f89f4.jpg","text":"TemporaryFile(/tmp/multipartBody1617434338798602807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789322723,"filename":"image_22112025_06_26_31_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677378","file1":"1395677376","file0":"1395677374","file4":"1395677382","file5":"1395677384","file3":"1395677380"},"map_files_photo_id_array":[{"photo_id":"1395677384","filename":"file5"},{"photo_id":"1395677378","filename":"file2"},{"photo_id":"1395677382","filename":"file4"},{"photo_id":"1395677376","filename":"file1"},{"photo_id":"1395677374","filename":"file0"},{"photo_id":"1395677380","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677380":["hashtag1","hashtag2"]},{"1395677374":["hashtag1","hashtag2"]},{"1395677382":["hashtag1","hashtag2"]},{"1395677376":["hashtag1","hashtag2"]},{"1395677384":["hashtag1","hashtag2"]},{"1395677378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677380, 1395677374, 1395677382, 1395677376, 1395677384, 1395677378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.427955865859985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:28:22.260022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_43_2874.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_46_3573.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_07_3012.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_10_3836.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_13_2638.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_16_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_43_2874.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_46_3573.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_07_3012.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_10_3836.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_13_2638.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_16_2698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5987114906311035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:28:42.202371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_43_2874.jpg', '/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_46_3573.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_07_3012.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_10_3836.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_13_2638.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_16_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_43_2874.jpg
/home/pi/Desktop/images/22112025/06/26/image_22112025_06_26_46_3573.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_07_3012.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_10_3836.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_13_2638.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_16_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677405","1395677407","1395677401","1395677404","1395677406","1395677403"],"photo_ids_order":["1395677401","1395677403","1395677404","1395677405","1395677406","1395677407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/232b38f7adc9467cb0a446f1d5608c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4971891297347394927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789382909,"filename":"image_22112025_06_28_10_3836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac46c3b939a3b0f132651979ac331365.jpg","text":"TemporaryFile(/tmp/multipartBody3058686343341494554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789382909,"filename":"image_22112025_06_28_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4523baac3e9e015a25278467ac5970ae.jpg","text":"TemporaryFile(/tmp/multipartBody1966002121179235035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789382909,"filename":"image_22112025_06_26_43_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/627a7f726251fe2485c79e3804ed89c1.jpg","text":"TemporaryFile(/tmp/multipartBody4362949036716597980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789382909,"filename":"image_22112025_06_28_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/989d6642e12ed3920627b2b9ca65cefb.jpg","text":"TemporaryFile(/tmp/multipartBody5758082558070235530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789382909,"filename":"image_22112025_06_28_13_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/254e2481078a626c9284510bbf897301.jpg","text":"TemporaryFile(/tmp/multipartBody7297953900920871407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789382909,"filename":"image_22112025_06_26_46_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677404","file1":"1395677403","file0":"1395677401","file4":"1395677406","file5":"1395677407","file3":"1395677405"},"map_files_photo_id_array":[{"photo_id":"1395677407","filename":"file5"},{"photo_id":"1395677404","filename":"file2"},{"photo_id":"1395677406","filename":"file4"},{"photo_id":"1395677403","filename":"file1"},{"photo_id":"1395677401","filename":"file0"},{"photo_id":"1395677405","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677405":["hashtag1","hashtag2"]},{"1395677407":["hashtag1","hashtag2"]},{"1395677401":["hashtag1","hashtag2"]},{"1395677404":["hashtag1","hashtag2"]},{"1395677406":["hashtag1","hashtag2"]},{"1395677403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677405, 1395677407, 1395677401, 1395677404, 1395677406, 1395677403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.669116497039795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:29:22.423524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_24_1926.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_26_1798.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_31_3790.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_34_2698.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_37_2653.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_43_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_24_1926.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_26_1798.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_31_3790.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_34_2698.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_37_2653.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_43_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677419","1395677424","1395677427","1395677412","1395677421","1395677415"],"photo_ids_order":["1395677412","1395677415","1395677419","1395677421","1395677424","1395677427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/017256335439304eebadde59f5161e77.jpg","text":"TemporaryFile(/tmp/multipartBody7886016417402357792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789423124,"filename":"image_22112025_06_28_31_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd3746e2a2c2801b5e80f3f8c5f1edac.jpg","text":"TemporaryFile(/tmp/multipartBody1167222523545867933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789423124,"filename":"image_22112025_06_28_37_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/125dcf99934ad814a3a80a2fb2274b33.jpg","text":"TemporaryFile(/tmp/multipartBody7435772725399269399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789423124,"filename":"image_22112025_06_28_43_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c766d8937246c65e47c4a8e6b324492a.jpg","text":"TemporaryFile(/tmp/multipartBody1266688070114518185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789423124,"filename":"image_22112025_06_28_24_1926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1e63ac6cfc4f437ff0956d16c8edc41.jpg","text":"TemporaryFile(/tmp/multipartBody8118235816238770817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789423124,"filename":"image_22112025_06_28_34_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9b42679b1ebbade06319ba4281849c0.jpg","text":"TemporaryFile(/tmp/multipartBody2477741890745023186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789423124,"filename":"image_22112025_06_28_26_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677419","file1":"1395677415","file0":"1395677412","file4":"1395677424","file5":"1395677427","file3":"1395677421"},"map_files_photo_id_array":[{"photo_id":"1395677427","filename":"file5"},{"photo_id":"1395677419","filename":"file2"},{"photo_id":"1395677424","filename":"file4"},{"photo_id":"1395677415","filename":"file1"},{"photo_id":"1395677412","filename":"file0"},{"photo_id":"1395677421","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677419":["hashtag1","hashtag2"]},{"1395677424":["hashtag1","hashtag2"]},{"1395677427":["hashtag1","hashtag2"]},{"1395677412":["hashtag1","hashtag2"]},{"1395677421":["hashtag1","hashtag2"]},{"1395677415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677419, 1395677424, 1395677427, 1395677412, 1395677421, 1395677415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52777624130249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:30:03.217398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_46_2846.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_49_2679.jpg', '/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_52_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_46_2846.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_49_2679.jpg
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_52_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677438","1395677437","1395677433"],"photo_ids_order":["1395677433","1395677437","1395677438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fdaeaf1c61ef4b174797f293339db07.jpg","text":"TemporaryFile(/tmp/multipartBody7520221029943775705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789463840,"filename":"image_22112025_06_28_52_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5219c2e720598324918e46cc070b169a.jpg","text":"TemporaryFile(/tmp/multipartBody8179998604758712000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789463840,"filename":"image_22112025_06_28_49_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e687cafae4db075670bbf6d35f2e37f0.jpg","text":"TemporaryFile(/tmp/multipartBody3817494685308479506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789463840,"filename":"image_22112025_06_28_46_2846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677438","file1":"1395677437","file0":"1395677433"},"map_files_photo_id_array":[{"photo_id":"1395677438","filename":"file2"},{"photo_id":"1395677437","filename":"file1"},{"photo_id":"1395677433","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677438":["hashtag1","hashtag2"]},{"1395677437":["hashtag1","hashtag2"]},{"1395677433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677438, 1395677437, 1395677433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.259927988052368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:30:42.763732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_58_2677.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_07_3011.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_11_3641.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_14_2658.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_25_2864.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_29_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_58_2677.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_07_3011.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_11_3641.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_14_2658.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_25_2864.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_29_3780.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.604994535446167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:31:02.636725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_58_2677.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_07_3011.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_11_3641.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_14_2658.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_25_2864.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_29_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/28/image_22112025_06_28_58_2677.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_07_3011.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_11_3641.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_14_2658.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_25_2864.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_29_3780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677462","1395677461","1395677469","1395677460","1395677463","1395677465"],"photo_ids_order":["1395677460","1395677461","1395677462","1395677463","1395677465","1395677469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1778393955ad1c54b201b57ae8909a48.jpg","text":"TemporaryFile(/tmp/multipartBody3727572071863386731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789523451,"filename":"image_22112025_06_30_11_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc3dccd4d36284f20ae00a50b9a68b78.jpg","text":"TemporaryFile(/tmp/multipartBody8637067361042005298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789523451,"filename":"image_22112025_06_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04e381ebc65e1bdc6f4391ce36150950.jpg","text":"TemporaryFile(/tmp/multipartBody100804221390856166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789523451,"filename":"image_22112025_06_30_29_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd32b791cc06bb28786fe788e0124997.jpg","text":"TemporaryFile(/tmp/multipartBody2578040709700195012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789523451,"filename":"image_22112025_06_28_58_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4303b42af37fcbb69f351c9eef659836.jpg","text":"TemporaryFile(/tmp/multipartBody5428272604972605433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789523451,"filename":"image_22112025_06_30_14_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f39fa030f43f453b5efd6d791d6cf198.jpg","text":"TemporaryFile(/tmp/multipartBody6405578031669340479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789523451,"filename":"image_22112025_06_30_25_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677462","file1":"1395677461","file0":"1395677460","file4":"1395677465","file5":"1395677469","file3":"1395677463"},"map_files_photo_id_array":[{"photo_id":"1395677469","filename":"file5"},{"photo_id":"1395677462","filename":"file2"},{"photo_id":"1395677465","filename":"file4"},{"photo_id":"1395677461","filename":"file1"},{"photo_id":"1395677460","filename":"file0"},{"photo_id":"1395677463","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677462":["hashtag1","hashtag2"]},{"1395677461":["hashtag1","hashtag2"]},{"1395677469":["hashtag1","hashtag2"]},{"1395677460":["hashtag1","hashtag2"]},{"1395677463":["hashtag1","hashtag2"]},{"1395677465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677462, 1395677461, 1395677469, 1395677460, 1395677463, 1395677465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.012141942977905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:31:42.010206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_32_2731.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_38_3725.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_41_2675.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_46_2764.jpg', '/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_50_3722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_32_2731.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_38_3725.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_41_2675.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_46_2764.jpg
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_50_3722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677504","1395677506","1395677500","1395677502","1395677505"],"photo_ids_order":["1395677500","1395677502","1395677504","1395677505","1395677506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/087c91eaa32a36374d70269800681120.jpg","text":"TemporaryFile(/tmp/multipartBody822949125740375216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789562662,"filename":"image_22112025_06_30_41_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dafef107edc032a4efa37ac8654a4ee0.jpg","text":"TemporaryFile(/tmp/multipartBody718678336988973488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789562662,"filename":"image_22112025_06_30_50_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbd5caa6976a27e7f693755a65655fde.jpg","text":"TemporaryFile(/tmp/multipartBody8757219790492792790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789562662,"filename":"image_22112025_06_30_32_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cc978b25d4d0bd825c87bda29ec0b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3789585011368083079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789562662,"filename":"image_22112025_06_30_38_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7228baf6ace61a5f36e9f88d02a4af16.jpg","text":"TemporaryFile(/tmp/multipartBody1246625603205044775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789562662,"filename":"image_22112025_06_30_46_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677504","file1":"1395677502","file0":"1395677500","file4":"1395677506","file3":"1395677505"},"map_files_photo_id_array":[{"photo_id":"1395677504","filename":"file2"},{"photo_id":"1395677506","filename":"file4"},{"photo_id":"1395677502","filename":"file1"},{"photo_id":"1395677500","filename":"file0"},{"photo_id":"1395677505","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677504":["hashtag1","hashtag2"]},{"1395677506":["hashtag1","hashtag2"]},{"1395677500":["hashtag1","hashtag2"]},{"1395677502":["hashtag1","hashtag2"]},{"1395677505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677504, 1395677506, 1395677500, 1395677502, 1395677505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.591790199279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:32:22.378547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_53_2731.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_07_3011.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_13_2622.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_19_3574.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_26_3612.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_28_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/30/image_22112025_06_30_53_2731.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_07_3011.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_13_2622.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_19_3574.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_26_3612.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_28_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677510","1395677512","1395677515","1395677518","1395677520","1395677523"],"photo_ids_order":["1395677510","1395677512","1395677515","1395677518","1395677520","1395677523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e17830a101bcc4456398f44ea7225a8.jpg","text":"TemporaryFile(/tmp/multipartBody4874670181782834702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789603208,"filename":"image_22112025_06_30_53_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b65a1bbc077911ae1dcbbc2a35588b27.jpg","text":"TemporaryFile(/tmp/multipartBody6604608734792838651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789603208,"filename":"image_22112025_06_32_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f51b050e315b497803fa0ad6ad631f4.jpg","text":"TemporaryFile(/tmp/multipartBody6539496872435222539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789603208,"filename":"image_22112025_06_32_13_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2747de491c5b07dece81b700bd40cf91.jpg","text":"TemporaryFile(/tmp/multipartBody4002516433204196919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789603208,"filename":"image_22112025_06_32_19_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/642ed6461015d9510cd434869834bbef.jpg","text":"TemporaryFile(/tmp/multipartBody2987989705420560966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789603208,"filename":"image_22112025_06_32_26_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dad5d893f7f56a6e3e1617bafc05dda4.jpg","text":"TemporaryFile(/tmp/multipartBody5506227389374213964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789603208,"filename":"image_22112025_06_32_28_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677515","file1":"1395677512","file0":"1395677510","file4":"1395677520","file5":"1395677523","file3":"1395677518"},"map_files_photo_id_array":[{"photo_id":"1395677523","filename":"file5"},{"photo_id":"1395677515","filename":"file2"},{"photo_id":"1395677520","filename":"file4"},{"photo_id":"1395677512","filename":"file1"},{"photo_id":"1395677510","filename":"file0"},{"photo_id":"1395677518","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677510":["hashtag1","hashtag2"]},{"1395677512":["hashtag1","hashtag2"]},{"1395677515":["hashtag1","hashtag2"]},{"1395677518":["hashtag1","hashtag2"]},{"1395677520":["hashtag1","hashtag2"]},{"1395677523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677510, 1395677512, 1395677515, 1395677518, 1395677520, 1395677523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.364142656326294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:33:03.181573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_31_2585.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_37_2572.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_43_3766.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_46_2675.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_49_2561.jpg', '/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_52_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_31_2585.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_37_2572.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_43_3766.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_46_2675.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_49_2561.jpg
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_52_3538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677561","1395677555","1395677528","1395677542","1395677556","1395677558"],"photo_ids_order":["1395677528","1395677542","1395677555","1395677556","1395677558","1395677561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cdefb05bb0b4576da0489be4c4bec2f.jpg","text":"TemporaryFile(/tmp/multipartBody6658881396471120352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789643982,"filename":"image_22112025_06_32_52_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1d4f6677b64de18d03d020916e19b43.jpg","text":"TemporaryFile(/tmp/multipartBody5764817373406548031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789643982,"filename":"image_22112025_06_32_43_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1d2fb4d26cd567a07f29db2b7ad0ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4476003867047491864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789643982,"filename":"image_22112025_06_32_31_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b1a95a664d8bc139b8714e12a496be8.jpg","text":"TemporaryFile(/tmp/multipartBody249340605494414878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789643982,"filename":"image_22112025_06_32_37_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07167251f328369609189f33e062edf0.jpg","text":"TemporaryFile(/tmp/multipartBody6997152740317003263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789643982,"filename":"image_22112025_06_32_46_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a431d807960748278409aaebe40bb67.jpg","text":"TemporaryFile(/tmp/multipartBody5725178332464662887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789643982,"filename":"image_22112025_06_32_49_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677555","file1":"1395677542","file0":"1395677528","file4":"1395677558","file5":"1395677561","file3":"1395677556"},"map_files_photo_id_array":[{"photo_id":"1395677561","filename":"file5"},{"photo_id":"1395677555","filename":"file2"},{"photo_id":"1395677558","filename":"file4"},{"photo_id":"1395677542","filename":"file1"},{"photo_id":"1395677528","filename":"file0"},{"photo_id":"1395677556","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677561":["hashtag1","hashtag2"]},{"1395677555":["hashtag1","hashtag2"]},{"1395677528":["hashtag1","hashtag2"]},{"1395677542":["hashtag1","hashtag2"]},{"1395677556":["hashtag1","hashtag2"]},{"1395677558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677561, 1395677555, 1395677528, 1395677542, 1395677556, 1395677558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47175717353821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:33:42.536883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_55_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/32/image_22112025_06_32_55_2619.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677570"],"photo_id":"1395677570","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f5fc2586cd4dc2824b9266e364bf0cc.jpg","text":"TemporaryFile(/tmp/multipartBody4520675871172444902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789683049,"filename":"image_22112025_06_32_55_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395677570"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395677570"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.184219598770142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:34:03.409363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_07_2780.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_13_2596.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_29_3805.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_34_2683.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_41_3874.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_46_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_07_2780.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_13_2596.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_29_3805.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_34_2683.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_41_3874.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_46_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677573","1395677575","1395677583","1395677580","1395677574","1395677577"],"photo_ids_order":["1395677573","1395677574","1395677575","1395677577","1395677580","1395677583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/836a731d6e4dacb5e3edf5b03dbd476d.jpg","text":"TemporaryFile(/tmp/multipartBody9010603026392733403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789705278,"filename":"image_19112025_23_56_07_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/204692c6603a9b02a73c86c69f6cd880.jpg","text":"TemporaryFile(/tmp/multipartBody6947328110705550585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789705278,"filename":"image_19112025_23_56_29_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7df9c865c90cc57d8900a2e94a5cc13.jpg","text":"TemporaryFile(/tmp/multipartBody2488746645633854575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789705278,"filename":"image_19112025_23_56_46_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16ef4db9194368c9d1cc55f5e6e9df7e.jpg","text":"TemporaryFile(/tmp/multipartBody5096719819073345944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789705278,"filename":"image_19112025_23_56_41_3874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e4dc1fe05113f1eb954a5cdffdca6fb.jpg","text":"TemporaryFile(/tmp/multipartBody1920681329243173147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789705278,"filename":"image_19112025_23_56_13_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4e344c9bc3c813cb5aee64b3ba12ebd.jpg","text":"TemporaryFile(/tmp/multipartBody649329105138686936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789705278,"filename":"image_19112025_23_56_34_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677575","file1":"1395677574","file0":"1395677573","file4":"1395677580","file5":"1395677583","file3":"1395677577"},"map_files_photo_id_array":[{"photo_id":"1395677583","filename":"file5"},{"photo_id":"1395677575","filename":"file2"},{"photo_id":"1395677580","filename":"file4"},{"photo_id":"1395677574","filename":"file1"},{"photo_id":"1395677573","filename":"file0"},{"photo_id":"1395677577","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395677573":["hashtag1","hashtag2"]},{"1395677575":["hashtag1","hashtag2"]},{"1395677583":["hashtag1","hashtag2"]},{"1395677580":["hashtag1","hashtag2"]},{"1395677574":["hashtag1","hashtag2"]},{"1395677577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395677573, 1395677575, 1395677583, 1395677580, 1395677574, 1395677577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7095410823822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:34:42.707462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/33/image_22112025_06_33_01_2669.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_07_3017.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_11_3812.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_16_2501.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_20_3718.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_22_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/33/image_22112025_06_33_01_2669.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_07_3017.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_11_3812.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_16_2501.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_20_3718.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_22_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677593","1395677596","1395677595","1395677594","1395677597","1395677591"],"photo_ids_order":["1395677591","1395677593","1395677594","1395677595","1395677596","1395677597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a71e64fe275864ff10edff1fe2012d3.jpg","text":"TemporaryFile(/tmp/multipartBody6129649093442506486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789743418,"filename":"image_22112025_06_34_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b92f7cdb2618bb4d8518dc0384958ecf.jpg","text":"TemporaryFile(/tmp/multipartBody7387824652607697435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789743418,"filename":"image_22112025_06_34_20_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1894599fb418ccffc22bc2830fd262f.jpg","text":"TemporaryFile(/tmp/multipartBody850123775606655696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789743418,"filename":"image_22112025_06_34_16_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa17782fe395f20d931af0ff816dd7fd.jpg","text":"TemporaryFile(/tmp/multipartBody156440827027425029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789743418,"filename":"image_22112025_06_34_11_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4d60fc47ea0d43745857d654883d470.jpg","text":"TemporaryFile(/tmp/multipartBody3775756702709975600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789743418,"filename":"image_22112025_06_34_22_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb10a7a9222b5eaca797c5f979944aff.jpg","text":"TemporaryFile(/tmp/multipartBody5970731548628669348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789743418,"filename":"image_22112025_06_33_01_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677594","file1":"1395677593","file0":"1395677591","file4":"1395677596","file5":"1395677597","file3":"1395677595"},"map_files_photo_id_array":[{"photo_id":"1395677597","filename":"file5"},{"photo_id":"1395677594","filename":"file2"},{"photo_id":"1395677596","filename":"file4"},{"photo_id":"1395677593","filename":"file1"},{"photo_id":"1395677591","filename":"file0"},{"photo_id":"1395677595","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677593":["hashtag1","hashtag2"]},{"1395677596":["hashtag1","hashtag2"]},{"1395677595":["hashtag1","hashtag2"]},{"1395677594":["hashtag1","hashtag2"]},{"1395677597":["hashtag1","hashtag2"]},{"1395677591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677593, 1395677596, 1395677595, 1395677594, 1395677597, 1395677591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24334120750427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:35:22.112484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_29_3643.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_32_2737.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_34_2692.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_38_3710.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_41_2830.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_43_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_29_3643.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_32_2737.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_34_2692.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_38_3710.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_41_2830.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_43_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677612","1395677609","1395677599","1395677606","1395677617","1395677602"],"photo_ids_order":["1395677599","1395677602","1395677606","1395677609","1395677612","1395677617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2e08f5deb3e03e6f9c0a24f35776894.jpg","text":"TemporaryFile(/tmp/multipartBody8473574823982448743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789782823,"filename":"image_22112025_06_34_41_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/640f78c00fb733dc69770e309a06c394.jpg","text":"TemporaryFile(/tmp/multipartBody3344236427341555076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789782823,"filename":"image_22112025_06_34_38_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/376342be4e6b5133bcb42d55c33ec737.jpg","text":"TemporaryFile(/tmp/multipartBody6747895013202177194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789782823,"filename":"image_22112025_06_34_29_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7962ebd647660f74d179513e07c5458e.jpg","text":"TemporaryFile(/tmp/multipartBody4145429561699439259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789782823,"filename":"image_22112025_06_34_34_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9c380cdac9f7f43a2fb80008f8b89b8.jpg","text":"TemporaryFile(/tmp/multipartBody1601816286167372605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789782823,"filename":"image_22112025_06_34_43_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07754f5deca2251bddff519a391ed0ad.jpg","text":"TemporaryFile(/tmp/multipartBody7923240251527657481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789782823,"filename":"image_22112025_06_34_32_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677606","file1":"1395677602","file0":"1395677599","file4":"1395677612","file5":"1395677617","file3":"1395677609"},"map_files_photo_id_array":[{"photo_id":"1395677617","filename":"file5"},{"photo_id":"1395677606","filename":"file2"},{"photo_id":"1395677612","filename":"file4"},{"photo_id":"1395677602","filename":"file1"},{"photo_id":"1395677599","filename":"file0"},{"photo_id":"1395677609","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677612":["hashtag1","hashtag2"]},{"1395677609":["hashtag1","hashtag2"]},{"1395677599":["hashtag1","hashtag2"]},{"1395677606":["hashtag1","hashtag2"]},{"1395677617":["hashtag1","hashtag2"]},{"1395677602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677612, 1395677609, 1395677599, 1395677606, 1395677617, 1395677602)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.08446979522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:36:22.491471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_46_2671.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_50_3669.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_52_2708.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_56_3603.jpg', '/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_59_2651.jpg', '/home/pi/Desktop/images/22112025/06/35/image_22112025_06_35_01_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_46_2671.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_50_3669.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_52_2708.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_56_3603.jpg
/home/pi/Desktop/images/22112025/06/34/image_22112025_06_34_59_2651.jpg
/home/pi/Desktop/images/22112025/06/35/image_22112025_06_35_01_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677666","1395677639","1395677671","1395677652","1395677655","1395677634"],"photo_ids_order":["1395677634","1395677639","1395677652","1395677655","1395677666","1395677671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64dc37f1dbc1b249023adc64e03b588a.jpg","text":"TemporaryFile(/tmp/multipartBody4054708801921040814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789843198,"filename":"image_22112025_06_34_59_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dca980b7e054ffc8e3d85887173b2182.jpg","text":"TemporaryFile(/tmp/multipartBody5505400326036739602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789843198,"filename":"image_22112025_06_34_50_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ca34f5c6d17d8ab38709432405dee1c.jpg","text":"TemporaryFile(/tmp/multipartBody1872921151383160559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789843198,"filename":"image_22112025_06_35_01_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6444e4bd9384c64beaeadbae92c3e65.jpg","text":"TemporaryFile(/tmp/multipartBody118030656524003096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789843198,"filename":"image_22112025_06_34_52_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2faacf449e5f19e5c6224c9101755810.jpg","text":"TemporaryFile(/tmp/multipartBody3101798249722772252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789843198,"filename":"image_22112025_06_34_56_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c2902e942336a0eb3dd183b5d7c3711.jpg","text":"TemporaryFile(/tmp/multipartBody2345766849670228997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789843198,"filename":"image_22112025_06_34_46_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677652","file1":"1395677639","file0":"1395677634","file4":"1395677666","file5":"1395677671","file3":"1395677655"},"map_files_photo_id_array":[{"photo_id":"1395677671","filename":"file5"},{"photo_id":"1395677652","filename":"file2"},{"photo_id":"1395677666","filename":"file4"},{"photo_id":"1395677639","filename":"file1"},{"photo_id":"1395677634","filename":"file0"},{"photo_id":"1395677655","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677666":["hashtag1","hashtag2"]},{"1395677639":["hashtag1","hashtag2"]},{"1395677671":["hashtag1","hashtag2"]},{"1395677652":["hashtag1","hashtag2"]},{"1395677655":["hashtag1","hashtag2"]},{"1395677634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677666, 1395677639, 1395677671, 1395677652, 1395677655, 1395677634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44160580635071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:37:03.415180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/35/image_22112025_06_35_04_2766.jpg', '/home/pi/Desktop/images/22112025/06/35/image_22112025_06_35_08_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/35/image_22112025_06_35_04_2766.jpg
/home/pi/Desktop/images/22112025/06/35/image_22112025_06_35_08_3598.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677676","1395677678"],"photo_ids_order":["1395677676","1395677678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb2b8dbc7a4418579464148398d03935.jpg","text":"TemporaryFile(/tmp/multipartBody1915120846367632020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789884030,"filename":"image_22112025_06_35_04_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f76f9092574ddca8466cb8f6921d4c84.jpg","text":"TemporaryFile(/tmp/multipartBody9147943786950769491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789884030,"filename":"image_22112025_06_35_08_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395677678","file0":"1395677676"},"map_files_photo_id_array":[{"photo_id":"1395677678","filename":"file1"},{"photo_id":"1395677676","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677676":["hashtag1","hashtag2"]},{"1395677678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677676, 1395677678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.15399718284607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:37:22.706726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/35/image_22112025_06_35_10_2614.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_06_3018.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_10_3660.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_13_2553.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_16_3674.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_22_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/35/image_22112025_06_35_10_2614.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_06_3018.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_10_3660.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_13_2553.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_16_3674.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_22_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677682","1395677691","1395677685","1395677694","1395677688","1395677693"],"photo_ids_order":["1395677682","1395677685","1395677688","1395677691","1395677693","1395677694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3bf8afdfc7bb44d5abfb193728916a01.jpg","text":"TemporaryFile(/tmp/multipartBody7348837470569895753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789903408,"filename":"image_22112025_06_35_10_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4cd3224242d40ae3d8628e02a0b9886.jpg","text":"TemporaryFile(/tmp/multipartBody2042673009093157220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789903408,"filename":"image_22112025_06_36_13_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5df3728ff60d818da532f90b281fe679.jpg","text":"TemporaryFile(/tmp/multipartBody5773734144516027220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789903408,"filename":"image_22112025_06_36_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49047562914104028e83b2f39aaf7c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7005253113086964812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789903408,"filename":"image_22112025_06_36_22_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9e52632f5afc9a02955e80113dfd86a.jpg","text":"TemporaryFile(/tmp/multipartBody1738861179603761563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789903408,"filename":"image_22112025_06_36_10_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30882a99f8166297972f2cf550f5930b.jpg","text":"TemporaryFile(/tmp/multipartBody3569397564465910229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789903408,"filename":"image_22112025_06_36_16_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677688","file1":"1395677685","file0":"1395677682","file4":"1395677693","file5":"1395677694","file3":"1395677691"},"map_files_photo_id_array":[{"photo_id":"1395677694","filename":"file5"},{"photo_id":"1395677688","filename":"file2"},{"photo_id":"1395677693","filename":"file4"},{"photo_id":"1395677685","filename":"file1"},{"photo_id":"1395677682","filename":"file0"},{"photo_id":"1395677691","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677682":["hashtag1","hashtag2"]},{"1395677691":["hashtag1","hashtag2"]},{"1395677685":["hashtag1","hashtag2"]},{"1395677694":["hashtag1","hashtag2"]},{"1395677688":["hashtag1","hashtag2"]},{"1395677693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677682, 1395677691, 1395677685, 1395677694, 1395677688, 1395677693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86839151382446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:38:02.428228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_25_3553.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_34_2665.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_37_2641.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_40_2841.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_46_2621.jpg', '/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_49_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_25_3553.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_34_2665.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_37_2641.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_40_2841.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_46_2621.jpg
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_49_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677701","1395677700","1395677703","1395677706","1395677696","1395677699"],"photo_ids_order":["1395677696","1395677699","1395677700","1395677701","1395677703","1395677706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e937eae673051c1885a3fab5b2bb34d.jpg","text":"TemporaryFile(/tmp/multipartBody4054486131747717030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789943179,"filename":"image_22112025_06_36_40_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/280e872c7ceaa30aaca43f2bf866fbce.jpg","text":"TemporaryFile(/tmp/multipartBody1381957952704461633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789943179,"filename":"image_22112025_06_36_37_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67cccb7e6ddda9a85949b8e238cc4a05.jpg","text":"TemporaryFile(/tmp/multipartBody542997598264644865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789943179,"filename":"image_22112025_06_36_46_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc150969cfede9e9254a1ba227bca50b.jpg","text":"TemporaryFile(/tmp/multipartBody6386567543342496181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789943179,"filename":"image_22112025_06_36_49_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93497cfdacd780f264c879510c850f04.jpg","text":"TemporaryFile(/tmp/multipartBody8963398644740336289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789943179,"filename":"image_22112025_06_36_25_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fec947660d261690b4ea0e32882f300.jpg","text":"TemporaryFile(/tmp/multipartBody7735115877757044058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789943179,"filename":"image_22112025_06_36_34_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677700","file1":"1395677699","file0":"1395677696","file4":"1395677703","file5":"1395677706","file3":"1395677701"},"map_files_photo_id_array":[{"photo_id":"1395677706","filename":"file5"},{"photo_id":"1395677700","filename":"file2"},{"photo_id":"1395677703","filename":"file4"},{"photo_id":"1395677699","filename":"file1"},{"photo_id":"1395677696","filename":"file0"},{"photo_id":"1395677701","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677701":["hashtag1","hashtag2"]},{"1395677700":["hashtag1","hashtag2"]},{"1395677703":["hashtag1","hashtag2"]},{"1395677706":["hashtag1","hashtag2"]},{"1395677696":["hashtag1","hashtag2"]},{"1395677699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677701, 1395677700, 1395677703, 1395677706, 1395677696, 1395677699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78193426132202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:38:41.947529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_51_2878.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_07_3012.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_11_3578.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_14_2544.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_16_2871.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_20_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/36/image_22112025_06_36_51_2878.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_07_3012.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_11_3578.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_14_2544.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_16_2871.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_20_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677735","1395677717","1395677716","1395677713","1395677736","1395677718"],"photo_ids_order":["1395677713","1395677716","1395677717","1395677718","1395677735","1395677736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d4f3032a66e2b7877eac9ba879b92e6.jpg","text":"TemporaryFile(/tmp/multipartBody1707127939674969550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789982644,"filename":"image_22112025_06_38_16_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0fe0e3068b3a5ae26e7deda4962e3b82.jpg","text":"TemporaryFile(/tmp/multipartBody7830186630448845043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789982644,"filename":"image_22112025_06_38_11_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ebdbffa48fc65c527d42436cc225d14.jpg","text":"TemporaryFile(/tmp/multipartBody7524765590429872574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789982644,"filename":"image_22112025_06_38_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdd7543ae3b4026de15e8f7a084c00db.jpg","text":"TemporaryFile(/tmp/multipartBody4163897988828873605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789982644,"filename":"image_22112025_06_36_51_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38462f4307e459c2a709448bfa8d75a4.jpg","text":"TemporaryFile(/tmp/multipartBody2318189416240467909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789982644,"filename":"image_22112025_06_38_20_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81022fff70c3001efc55c6ceb996a285.jpg","text":"TemporaryFile(/tmp/multipartBody6862219484314975429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763789982644,"filename":"image_22112025_06_38_14_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677717","file1":"1395677716","file0":"1395677713","file4":"1395677735","file5":"1395677736","file3":"1395677718"},"map_files_photo_id_array":[{"photo_id":"1395677736","filename":"file5"},{"photo_id":"1395677717","filename":"file2"},{"photo_id":"1395677735","filename":"file4"},{"photo_id":"1395677716","filename":"file1"},{"photo_id":"1395677713","filename":"file0"},{"photo_id":"1395677718","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677735":["hashtag1","hashtag2"]},{"1395677717":["hashtag1","hashtag2"]},{"1395677716":["hashtag1","hashtag2"]},{"1395677713":["hashtag1","hashtag2"]},{"1395677736":["hashtag1","hashtag2"]},{"1395677718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677735, 1395677717, 1395677716, 1395677713, 1395677736, 1395677718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58463096618652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:39:22.335246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_23_2743.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_25_2570.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_29_3591.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_32_2759.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_35_3574.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_41_2936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_23_2743.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_25_2570.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_29_3591.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_32_2759.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_35_3574.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_41_2936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677750","1395677753","1395677740","1395677743","1395677746","1395677748"],"photo_ids_order":["1395677740","1395677743","1395677746","1395677748","1395677750","1395677753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edcf320921844c5748691840e59c2714.jpg","text":"TemporaryFile(/tmp/multipartBody1771920865308225732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790023036,"filename":"image_22112025_06_38_35_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d43bc46bcf39ef3a1e1f4667f8e6b25f.jpg","text":"TemporaryFile(/tmp/multipartBody6418950852036708617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790023036,"filename":"image_22112025_06_38_41_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bff80804f7d5c4acd39bd2caac09fb08.jpg","text":"TemporaryFile(/tmp/multipartBody928172617089806671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790023036,"filename":"image_22112025_06_38_23_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b2336ef1651932665be04dcf08176ac.jpg","text":"TemporaryFile(/tmp/multipartBody1918896464866241303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790023036,"filename":"image_22112025_06_38_25_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e156a0980472de84aec8027628555dc.jpg","text":"TemporaryFile(/tmp/multipartBody5427278262546787833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790023036,"filename":"image_22112025_06_38_29_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48943387a7db984d39ba89225d3a1214.jpg","text":"TemporaryFile(/tmp/multipartBody1849248610045771781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790023036,"filename":"image_22112025_06_38_32_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677746","file1":"1395677743","file0":"1395677740","file4":"1395677750","file5":"1395677753","file3":"1395677748"},"map_files_photo_id_array":[{"photo_id":"1395677753","filename":"file5"},{"photo_id":"1395677746","filename":"file2"},{"photo_id":"1395677750","filename":"file4"},{"photo_id":"1395677743","filename":"file1"},{"photo_id":"1395677740","filename":"file0"},{"photo_id":"1395677748","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677750":["hashtag1","hashtag2"]},{"1395677753":["hashtag1","hashtag2"]},{"1395677740":["hashtag1","hashtag2"]},{"1395677743":["hashtag1","hashtag2"]},{"1395677746":["hashtag1","hashtag2"]},{"1395677748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677750, 1395677753, 1395677740, 1395677743, 1395677746, 1395677748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.221885204315186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:40:02.821601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_50_2711.jpg', '/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_59_3667.jpg', '/home/pi/Desktop/images/22112025/06/39/image_22112025_06_39_02_2527.jpg', '/home/pi/Desktop/images/22112025/06/39/image_22112025_06_39_11_2733.jpg', '/home/pi/Desktop/images/22112025/06/39/image_22112025_06_39_14_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_50_2711.jpg
/home/pi/Desktop/images/22112025/06/38/image_22112025_06_38_59_3667.jpg
/home/pi/Desktop/images/22112025/06/39/image_22112025_06_39_02_2527.jpg
/home/pi/Desktop/images/22112025/06/39/image_22112025_06_39_11_2733.jpg
/home/pi/Desktop/images/22112025/06/39/image_22112025_06_39_14_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677759","1395677755","1395677754","1395677757","1395677756"],"photo_ids_order":["1395677754","1395677755","1395677756","1395677757","1395677759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f279aac5587cde6eaa378ff61b860842.jpg","text":"TemporaryFile(/tmp/multipartBody2175032053473243965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790063534,"filename":"image_22112025_06_39_14_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c83772b1122da8e1b6f7631d36ca5880.jpg","text":"TemporaryFile(/tmp/multipartBody3703175597833354847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790063534,"filename":"image_22112025_06_38_59_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5a739b3cc23ce247048eb68f4c1baa3.jpg","text":"TemporaryFile(/tmp/multipartBody5169840972607497748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790063534,"filename":"image_22112025_06_38_50_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c80694c756a5e53352effa4e254c21b.jpg","text":"TemporaryFile(/tmp/multipartBody7568680069370208667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790063534,"filename":"image_22112025_06_39_11_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1efc5d68d8b07703cffa00cf905e78f.jpg","text":"TemporaryFile(/tmp/multipartBody1991250797798971679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790063534,"filename":"image_22112025_06_39_02_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677756","file1":"1395677755","file0":"1395677754","file4":"1395677759","file3":"1395677757"},"map_files_photo_id_array":[{"photo_id":"1395677756","filename":"file2"},{"photo_id":"1395677759","filename":"file4"},{"photo_id":"1395677755","filename":"file1"},{"photo_id":"1395677754","filename":"file0"},{"photo_id":"1395677757","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677759":["hashtag1","hashtag2"]},{"1395677755":["hashtag1","hashtag2"]},{"1395677754":["hashtag1","hashtag2"]},{"1395677757":["hashtag1","hashtag2"]},{"1395677756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677759, 1395677755, 1395677754, 1395677757, 1395677756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.853861808776855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:40:42.429595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/39/image_22112025_06_39_17_2630.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_11_3553.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_13_2736.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_16_2705.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_20_3732.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_25_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/39/image_22112025_06_39_17_2630.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_11_3553.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_13_2736.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_16_2705.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_20_3732.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_25_2863.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677771","1395677773","1395677776","1395677775","1395677774","1395677777"],"photo_ids_order":["1395677771","1395677773","1395677774","1395677775","1395677776","1395677777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/565411696b8297d252e7e82cd11b330b.jpg","text":"TemporaryFile(/tmp/multipartBody1290662585846381488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790103127,"filename":"image_22112025_06_39_17_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/063836331c7ed7ad54ba9411bbc482dd.jpg","text":"TemporaryFile(/tmp/multipartBody69034503326222837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790103127,"filename":"image_22112025_06_40_11_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ce6fc2d98bced933fbd12c0b69f39d1.jpg","text":"TemporaryFile(/tmp/multipartBody3123603590193106048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790103127,"filename":"image_22112025_06_40_20_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c31c689e9a375fd311d3cfd85c48c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4161968648053191040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790103127,"filename":"image_22112025_06_40_16_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da83a7b149b4bf537e34de502a829dcc.jpg","text":"TemporaryFile(/tmp/multipartBody2782992366268583897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790103127,"filename":"image_22112025_06_40_13_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bb60e98d287ec1e6de9234f2f376012.jpg","text":"TemporaryFile(/tmp/multipartBody997003376173095429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790103127,"filename":"image_22112025_06_40_25_2863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677774","file1":"1395677773","file0":"1395677771","file4":"1395677776","file5":"1395677777","file3":"1395677775"},"map_files_photo_id_array":[{"photo_id":"1395677777","filename":"file5"},{"photo_id":"1395677774","filename":"file2"},{"photo_id":"1395677776","filename":"file4"},{"photo_id":"1395677773","filename":"file1"},{"photo_id":"1395677771","filename":"file0"},{"photo_id":"1395677775","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677771":["hashtag1","hashtag2"]},{"1395677773":["hashtag1","hashtag2"]},{"1395677776":["hashtag1","hashtag2"]},{"1395677775":["hashtag1","hashtag2"]},{"1395677774":["hashtag1","hashtag2"]},{"1395677777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677771, 1395677773, 1395677776, 1395677775, 1395677774, 1395677777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72571086883545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:41:22.698932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_29_3687.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_34_2752.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_37_2894.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_41_3649.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_50_3758.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_52_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_29_3687.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_34_2752.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_37_2894.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_41_3649.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_50_3758.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_52_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677837","1395677834","1395677812","1395677809","1395677793","1395677780"],"photo_ids_order":["1395677780","1395677793","1395677809","1395677812","1395677834","1395677837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/560febd780e9bfa629c3965908bfcb34.jpg","text":"TemporaryFile(/tmp/multipartBody5580110074160060332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790143409,"filename":"image_22112025_06_40_52_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7455db2426b378040617a09de329eab.jpg","text":"TemporaryFile(/tmp/multipartBody8110417129736911549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790143409,"filename":"image_22112025_06_40_50_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a94ab265118f7c956f5db88623d8647.jpg","text":"TemporaryFile(/tmp/multipartBody6335415817097422878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790143409,"filename":"image_22112025_06_40_41_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d63e43fdb767828d295c275371b6c3ae.jpg","text":"TemporaryFile(/tmp/multipartBody6115841942841813036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790143409,"filename":"image_22112025_06_40_37_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49dbe36ed2212bd99af87a8fec74a27e.jpg","text":"TemporaryFile(/tmp/multipartBody1829431166807769745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790143409,"filename":"image_22112025_06_40_34_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17639a0bb5c289140a8c6bb70ea5597a.jpg","text":"TemporaryFile(/tmp/multipartBody3202399588896923663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790143409,"filename":"image_22112025_06_40_29_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677809","file1":"1395677793","file0":"1395677780","file4":"1395677834","file5":"1395677837","file3":"1395677812"},"map_files_photo_id_array":[{"photo_id":"1395677837","filename":"file5"},{"photo_id":"1395677809","filename":"file2"},{"photo_id":"1395677834","filename":"file4"},{"photo_id":"1395677793","filename":"file1"},{"photo_id":"1395677780","filename":"file0"},{"photo_id":"1395677812","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677837":["hashtag1","hashtag2"]},{"1395677834":["hashtag1","hashtag2"]},{"1395677812":["hashtag1","hashtag2"]},{"1395677809":["hashtag1","hashtag2"]},{"1395677793":["hashtag1","hashtag2"]},{"1395677780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677837, 1395677834, 1395677812, 1395677809, 1395677793, 1395677780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98573923110962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:42:02.319271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_55_2724.jpg', '/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_58_2808.jpg', '/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_02_3652.jpg', '/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_04_2628.jpg', '/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_07_2709.jpg', '/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_11_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_55_2724.jpg
/home/pi/Desktop/images/22112025/06/40/image_22112025_06_40_58_2808.jpg
/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_02_3652.jpg
/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_04_2628.jpg
/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_07_2709.jpg
/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_11_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677843","1395677846","1395677848","1395677842","1395677844","1395677841"],"photo_ids_order":["1395677841","1395677842","1395677843","1395677844","1395677846","1395677848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f29d67f120b990eef65839e6e8e57c5.jpg","text":"TemporaryFile(/tmp/multipartBody2242971149116637959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790183057,"filename":"image_22112025_06_41_02_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46049880473292aba8029b840382d752.jpg","text":"TemporaryFile(/tmp/multipartBody7835051311401497526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790183057,"filename":"image_22112025_06_41_07_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10a6a970f0887299195989b5d8b1f3ef.jpg","text":"TemporaryFile(/tmp/multipartBody5294323597995751090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790183057,"filename":"image_22112025_06_41_11_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20b2f892df53a8dfdf6cba5aad6bdfa6.jpg","text":"TemporaryFile(/tmp/multipartBody4679931441625552818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790183057,"filename":"image_22112025_06_40_58_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5df66851c91c3e18fc571a8b67d0083.jpg","text":"TemporaryFile(/tmp/multipartBody5833222783512620630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790183057,"filename":"image_22112025_06_41_04_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa7368fa699cb955cb9f9be4e76ecd8b.jpg","text":"TemporaryFile(/tmp/multipartBody4326187483774353239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790183057,"filename":"image_22112025_06_40_55_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677843","file1":"1395677842","file0":"1395677841","file4":"1395677846","file5":"1395677848","file3":"1395677844"},"map_files_photo_id_array":[{"photo_id":"1395677848","filename":"file5"},{"photo_id":"1395677843","filename":"file2"},{"photo_id":"1395677846","filename":"file4"},{"photo_id":"1395677842","filename":"file1"},{"photo_id":"1395677841","filename":"file0"},{"photo_id":"1395677844","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677843":["hashtag1","hashtag2"]},{"1395677846":["hashtag1","hashtag2"]},{"1395677848":["hashtag1","hashtag2"]},{"1395677842":["hashtag1","hashtag2"]},{"1395677844":["hashtag1","hashtag2"]},{"1395677841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677843, 1395677846, 1395677848, 1395677842, 1395677844, 1395677841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.855655908584595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:42:41.948942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_13_2673.jpg', '/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_16_2612.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_13_2595.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_17_3663.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_20_2578.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_26_3908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_13_2673.jpg
/home/pi/Desktop/images/22112025/06/41/image_22112025_06_41_16_2612.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_13_2595.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_17_3663.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_20_2578.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_26_3908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677863","1395677865","1395677859","1395677867","1395677861","1395677855"],"photo_ids_order":["1395677855","1395677859","1395677861","1395677863","1395677865","1395677867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7f9d4cd75c8adb55640130c49f1ca3c.jpg","text":"TemporaryFile(/tmp/multipartBody3844506801103111900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790222626,"filename":"image_22112025_06_42_17_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ee29f4e74949033fc4096a514f8ec11.jpg","text":"TemporaryFile(/tmp/multipartBody4222765140608875227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790222626,"filename":"image_22112025_06_42_20_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/544557e540d6b32141f34422e166f0f6.jpg","text":"TemporaryFile(/tmp/multipartBody7318566318372002937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790222626,"filename":"image_22112025_06_41_16_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27eb34e71e853b82f36ce48a0034df38.jpg","text":"TemporaryFile(/tmp/multipartBody4053534432837274945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790222626,"filename":"image_22112025_06_42_26_3908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03454be682929140db9813189eb8bcd7.jpg","text":"TemporaryFile(/tmp/multipartBody2676588751662161196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790222626,"filename":"image_22112025_06_42_13_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dc0002a768b428bfb000433e43eabfa.jpg","text":"TemporaryFile(/tmp/multipartBody6412220395852578304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790222626,"filename":"image_22112025_06_41_13_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677861","file1":"1395677859","file0":"1395677855","file4":"1395677865","file5":"1395677867","file3":"1395677863"},"map_files_photo_id_array":[{"photo_id":"1395677867","filename":"file5"},{"photo_id":"1395677861","filename":"file2"},{"photo_id":"1395677865","filename":"file4"},{"photo_id":"1395677859","filename":"file1"},{"photo_id":"1395677855","filename":"file0"},{"photo_id":"1395677863","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677863":["hashtag1","hashtag2"]},{"1395677865":["hashtag1","hashtag2"]},{"1395677859":["hashtag1","hashtag2"]},{"1395677867":["hashtag1","hashtag2"]},{"1395677861":["hashtag1","hashtag2"]},{"1395677855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677863, 1395677865, 1395677859, 1395677867, 1395677861, 1395677855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.202341079711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:43:22.243464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_29_2643.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_31_2592.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_35_3559.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_38_2596.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_40_2696.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_44_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_29_2643.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_31_2592.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_35_3559.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_38_2596.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_40_2696.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_44_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677875","1395677895","1395677889","1395677871","1395677885","1395677873"],"photo_ids_order":["1395677871","1395677873","1395677875","1395677885","1395677889","1395677895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f204ea1d8dd14ff2b613ce13070e3481.jpg","text":"TemporaryFile(/tmp/multipartBody8906051660892315478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790262951,"filename":"image_22112025_06_42_35_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/971f104c7030e37c3d8862ee5fc9027a.jpg","text":"TemporaryFile(/tmp/multipartBody4996397859529114414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790262951,"filename":"image_22112025_06_42_44_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70cf137fd89a25bf526a67c96f0c382b.jpg","text":"TemporaryFile(/tmp/multipartBody1342000611425784306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790262951,"filename":"image_22112025_06_42_40_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e41362b7d9dd79da36dfcd8d456770a.jpg","text":"TemporaryFile(/tmp/multipartBody1876716514285634313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790262951,"filename":"image_22112025_06_42_29_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bf81873b4391dec2ca30da8dd8f732f.jpg","text":"TemporaryFile(/tmp/multipartBody1479448358825693798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790262951,"filename":"image_22112025_06_42_38_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61e8e3c416af757fc578e7709803c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody8408126241830496019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790262951,"filename":"image_22112025_06_42_31_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677875","file1":"1395677873","file0":"1395677871","file4":"1395677889","file5":"1395677895","file3":"1395677885"},"map_files_photo_id_array":[{"photo_id":"1395677895","filename":"file5"},{"photo_id":"1395677875","filename":"file2"},{"photo_id":"1395677889","filename":"file4"},{"photo_id":"1395677873","filename":"file1"},{"photo_id":"1395677871","filename":"file0"},{"photo_id":"1395677885","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677875":["hashtag1","hashtag2"]},{"1395677895":["hashtag1","hashtag2"]},{"1395677889":["hashtag1","hashtag2"]},{"1395677871":["hashtag1","hashtag2"]},{"1395677885":["hashtag1","hashtag2"]},{"1395677873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677875, 1395677895, 1395677889, 1395677871, 1395677885, 1395677873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36821937561035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:44:03.106223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_46_2586.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_49_2673.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_53_3573.jpg', '/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_58_2723.jpg', '/home/pi/Desktop/images/22112025/06/43/image_22112025_06_43_02_3531.jpg', '/home/pi/Desktop/images/22112025/06/43/image_22112025_06_43_04_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_46_2586.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_49_2673.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_53_3573.jpg
/home/pi/Desktop/images/22112025/06/42/image_22112025_06_42_58_2723.jpg
/home/pi/Desktop/images/22112025/06/43/image_22112025_06_43_02_3531.jpg
/home/pi/Desktop/images/22112025/06/43/image_22112025_06_43_04_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677921","1395677924","1395677927","1395677917","1395677919","1395677922"],"photo_ids_order":["1395677917","1395677919","1395677921","1395677922","1395677924","1395677927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d131ac5573943629ed8acb4832d00df.jpg","text":"TemporaryFile(/tmp/multipartBody5469281240552448094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790303970,"filename":"image_22112025_06_42_53_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eaabf65b484a2cb15ebda27dd07127f9.jpg","text":"TemporaryFile(/tmp/multipartBody7054350797349390363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790303970,"filename":"image_22112025_06_43_02_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a68bad42287a56a03a06dcc61bb3d0f2.jpg","text":"TemporaryFile(/tmp/multipartBody8956625709624987949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790303970,"filename":"image_22112025_06_43_04_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/153f45d8d39d416936d935ecdfa00f0c.jpg","text":"TemporaryFile(/tmp/multipartBody5018694674013695512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790303970,"filename":"image_22112025_06_42_46_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27f515a4f1e1e3faba5e7414ae9e1761.jpg","text":"TemporaryFile(/tmp/multipartBody3269245581799646318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790303970,"filename":"image_22112025_06_42_49_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5bc1bc95aa91693965e64ff5981b956.jpg","text":"TemporaryFile(/tmp/multipartBody8627787957483854656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790303970,"filename":"image_22112025_06_42_58_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677921","file1":"1395677919","file0":"1395677917","file4":"1395677924","file5":"1395677927","file3":"1395677922"},"map_files_photo_id_array":[{"photo_id":"1395677927","filename":"file5"},{"photo_id":"1395677921","filename":"file2"},{"photo_id":"1395677924","filename":"file4"},{"photo_id":"1395677919","filename":"file1"},{"photo_id":"1395677917","filename":"file0"},{"photo_id":"1395677922","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677921":["hashtag1","hashtag2"]},{"1395677924":["hashtag1","hashtag2"]},{"1395677927":["hashtag1","hashtag2"]},{"1395677917":["hashtag1","hashtag2"]},{"1395677919":["hashtag1","hashtag2"]},{"1395677922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677921, 1395677924, 1395677927, 1395677917, 1395677919, 1395677922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.839444637298584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:44:42.537847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/43/image_22112025_06_43_11_2607.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_07_3018.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_10_3786.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_19_2884.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_22_3706.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_25_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/43/image_22112025_06_43_11_2607.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_07_3018.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_10_3786.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_19_2884.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_22_3706.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_25_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677936","1395677933","1395677941","1395677935","1395677938","1395677937"],"photo_ids_order":["1395677933","1395677935","1395677936","1395677937","1395677938","1395677941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb559a886a6fd5bf2570853aa8bb8579.jpg","text":"TemporaryFile(/tmp/multipartBody3703096673103549040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790343274,"filename":"image_22112025_06_44_10_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0913cd37f019a7723c8c1515eead2a6.jpg","text":"TemporaryFile(/tmp/multipartBody9099024213645732271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790343274,"filename":"image_22112025_06_43_11_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8641bb569f8394fd26b7a676b5944495.jpg","text":"TemporaryFile(/tmp/multipartBody6621358059207206396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790343274,"filename":"image_22112025_06_44_25_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26fe46ec6da340c8ad85b2cc3fce44d1.jpg","text":"TemporaryFile(/tmp/multipartBody4687672607190146280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790343274,"filename":"image_22112025_06_44_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7d9def7eff8c75d6306726e18a20c8e.jpg","text":"TemporaryFile(/tmp/multipartBody5605569162690151375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790343274,"filename":"image_22112025_06_44_22_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afc07978e1c9ce7e90822e6df72dca21.jpg","text":"TemporaryFile(/tmp/multipartBody3684273888190216417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790343274,"filename":"image_22112025_06_44_19_2884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677936","file1":"1395677935","file0":"1395677933","file4":"1395677938","file5":"1395677941","file3":"1395677937"},"map_files_photo_id_array":[{"photo_id":"1395677941","filename":"file5"},{"photo_id":"1395677936","filename":"file2"},{"photo_id":"1395677938","filename":"file4"},{"photo_id":"1395677935","filename":"file1"},{"photo_id":"1395677933","filename":"file0"},{"photo_id":"1395677937","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677936":["hashtag1","hashtag2"]},{"1395677933":["hashtag1","hashtag2"]},{"1395677941":["hashtag1","hashtag2"]},{"1395677935":["hashtag1","hashtag2"]},{"1395677938":["hashtag1","hashtag2"]},{"1395677937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677936, 1395677933, 1395677941, 1395677935, 1395677938, 1395677937)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.95226573944092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:45:45.427853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_28_2749.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_31_3656.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_34_2730.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_43_3592.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_49_2764.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_52_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_28_2749.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_31_3656.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_34_2730.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_43_3592.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_49_2764.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_52_3587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2702789306640625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:46:03.847167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:46:23.446201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_28_2749.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_31_3656.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_34_2730.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_43_3592.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_49_2764.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_52_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_28_2749.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_31_3656.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_34_2730.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_43_3592.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_49_2764.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_52_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677971","1395677968","1395677962","1395677964","1395677972","1395677966"],"photo_ids_order":["1395677962","1395677964","1395677966","1395677968","1395677971","1395677972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1373e7c18c4a24c72ea0e8355c47aa3f.jpg","text":"TemporaryFile(/tmp/multipartBody3067233672524055124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790449177,"filename":"image_22112025_06_44_49_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dadd568bd1c7c054aba844aad18f229c.jpg","text":"TemporaryFile(/tmp/multipartBody8243897326904991843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790449177,"filename":"image_22112025_06_44_43_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/429ca3c31f6f934f03324da7e4610a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6072490903980481486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790449177,"filename":"image_22112025_06_44_28_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06f1266c3b097c9f46adbb19d318052c.jpg","text":"TemporaryFile(/tmp/multipartBody1504241780964850860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790449177,"filename":"image_22112025_06_44_31_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e6a056460d8df03dcadb328d65612d9.jpg","text":"TemporaryFile(/tmp/multipartBody433354254465431226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790449177,"filename":"image_22112025_06_44_52_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/062e45b6a61aef7e2556fe6e1a89f5af.jpg","text":"TemporaryFile(/tmp/multipartBody4644704119514604171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790449177,"filename":"image_22112025_06_44_34_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677966","file1":"1395677964","file0":"1395677962","file4":"1395677971","file5":"1395677972","file3":"1395677968"},"map_files_photo_id_array":[{"photo_id":"1395677972","filename":"file5"},{"photo_id":"1395677966","filename":"file2"},{"photo_id":"1395677971","filename":"file4"},{"photo_id":"1395677964","filename":"file1"},{"photo_id":"1395677962","filename":"file0"},{"photo_id":"1395677968","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677971":["hashtag1","hashtag2"]},{"1395677968":["hashtag1","hashtag2"]},{"1395677962":["hashtag1","hashtag2"]},{"1395677964":["hashtag1","hashtag2"]},{"1395677972":["hashtag1","hashtag2"]},{"1395677966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677971, 1395677968, 1395677962, 1395677964, 1395677972, 1395677966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.7724974155426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:47:24.619442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_55_2613.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_57_2543.jpg', '/home/pi/Desktop/images/22112025/06/44/image_22112025_06_45_01_3616.jpg', '/home/pi/Desktop/images/22112025/06/45/image_22112025_06_45_04_2636.jpg', '/home/pi/Desktop/images/22112025/06/45/image_22112025_06_45_07_3715.jpg', '/home/pi/Desktop/images/22112025/06/45/image_22112025_06_45_10_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_55_2613.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_44_57_2543.jpg
/home/pi/Desktop/images/22112025/06/44/image_22112025_06_45_01_3616.jpg
/home/pi/Desktop/images/22112025/06/45/image_22112025_06_45_04_2636.jpg
/home/pi/Desktop/images/22112025/06/45/image_22112025_06_45_07_3715.jpg
/home/pi/Desktop/images/22112025/06/45/image_22112025_06_45_10_2517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395677989","1395677983","1395677976","1395677985","1395677979","1395677981"],"photo_ids_order":["1395677976","1395677979","1395677981","1395677983","1395677985","1395677989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e45895e359ffb7a7e1374be1a3153a7.jpg","text":"TemporaryFile(/tmp/multipartBody3991293418380734721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790505279,"filename":"image_22112025_06_45_10_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cce5fa373e872ed20efb36fb0a57bdaa.jpg","text":"TemporaryFile(/tmp/multipartBody3927305070351658893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790505279,"filename":"image_22112025_06_45_04_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49b54540986ec768652a9867f7e00ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5232633146426177333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790505279,"filename":"image_22112025_06_44_55_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed6b73f0d0cf04569de9f99df71aa715.jpg","text":"TemporaryFile(/tmp/multipartBody4276852770336209477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790505279,"filename":"image_22112025_06_45_07_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e48cd2d40617d4f7e4e893d0ea1c4a7.jpg","text":"TemporaryFile(/tmp/multipartBody759984066852859630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790505279,"filename":"image_22112025_06_44_57_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/732b2c3a54021ae239fb0f696c801722.jpg","text":"TemporaryFile(/tmp/multipartBody1588596484894185625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790505279,"filename":"image_22112025_06_45_01_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395677981","file1":"1395677979","file0":"1395677976","file4":"1395677985","file5":"1395677989","file3":"1395677983"},"map_files_photo_id_array":[{"photo_id":"1395677989","filename":"file5"},{"photo_id":"1395677981","filename":"file2"},{"photo_id":"1395677985","filename":"file4"},{"photo_id":"1395677979","filename":"file1"},{"photo_id":"1395677976","filename":"file0"},{"photo_id":"1395677983","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395677989":["hashtag1","hashtag2"]},{"1395677983":["hashtag1","hashtag2"]},{"1395677976":["hashtag1","hashtag2"]},{"1395677985":["hashtag1","hashtag2"]},{"1395677979":["hashtag1","hashtag2"]},{"1395677981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395677989, 1395677983, 1395677976, 1395677985, 1395677979, 1395677981)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.51498222351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:48:24.627743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/45/image_22112025_06_45_13_2724.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_07_3018.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_11_3923.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_14_3348.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_32_3566.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_34_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/45/image_22112025_06_45_13_2724.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_07_3018.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_11_3923.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_14_3348.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_32_3566.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_34_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678011","1395678008","1395677998","1395678006","1395678000","1395678003"],"photo_ids_order":["1395677998","1395678000","1395678003","1395678006","1395678008","1395678011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d093d32b95ca5d019ebe92230aefa0af.jpg","text":"TemporaryFile(/tmp/multipartBody2158246076813776165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790565313,"filename":"image_22112025_06_46_34_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20dd192a46dad8b895da12b999ab0212.jpg","text":"TemporaryFile(/tmp/multipartBody1161101045286195656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790565313,"filename":"image_22112025_06_46_32_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8282e65930b2e41cc41700dc5095aa2e.jpg","text":"TemporaryFile(/tmp/multipartBody7958860338416435008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790565313,"filename":"image_22112025_06_45_13_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cde61ff38f00f256bb9119c9f862c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1884540369511378634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790565313,"filename":"image_22112025_06_46_14_3348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/362794f447afa57739168d418d98c625.jpg","text":"TemporaryFile(/tmp/multipartBody8354045081859266912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790565313,"filename":"image_22112025_06_46_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8de51bfcdb2158e2352b95f1c61266f.jpg","text":"TemporaryFile(/tmp/multipartBody6754780372355906128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790565313,"filename":"image_22112025_06_46_11_3923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678003","file1":"1395678000","file0":"1395677998","file4":"1395678008","file5":"1395678011","file3":"1395678006"},"map_files_photo_id_array":[{"photo_id":"1395678011","filename":"file5"},{"photo_id":"1395678003","filename":"file2"},{"photo_id":"1395678008","filename":"file4"},{"photo_id":"1395678000","filename":"file1"},{"photo_id":"1395677998","filename":"file0"},{"photo_id":"1395678006","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678011":["hashtag1","hashtag2"]},{"1395678008":["hashtag1","hashtag2"]},{"1395677998":["hashtag1","hashtag2"]},{"1395678006":["hashtag1","hashtag2"]},{"1395678000":["hashtag1","hashtag2"]},{"1395678003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678011, 1395678008, 1395677998, 1395678006, 1395678000, 1395678003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.072943449020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:49:02.756214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_38_3543.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_40_2621.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_45_5115.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_47_1675.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_53_3467.jpg', '/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_56_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_38_3543.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_40_2621.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_45_5115.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_47_1675.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_53_3467.jpg
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_56_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678014","1395678013","1395678019","1395678012","1395678015","1395678017"],"photo_ids_order":["1395678012","1395678013","1395678014","1395678015","1395678017","1395678019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50d1eeab15fac57644dc51477e7557c5.jpg","text":"TemporaryFile(/tmp/multipartBody2206276081979523700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790603622,"filename":"image_22112025_06_46_45_5115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b3d7ed62f90920c62fa8f10035ac237.jpg","text":"TemporaryFile(/tmp/multipartBody1513388766843141671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790603622,"filename":"image_22112025_06_46_40_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ff713c33299c8ed8fb600f1fbf2e423.jpg","text":"TemporaryFile(/tmp/multipartBody8036352499298311661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790603622,"filename":"image_22112025_06_46_56_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14777669a80dffa2dc98ad206978f1c9.jpg","text":"TemporaryFile(/tmp/multipartBody4081732563870897806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790603622,"filename":"image_22112025_06_46_38_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9014302eb10c5ca17b386c91b1fcb959.jpg","text":"TemporaryFile(/tmp/multipartBody1515660542632553729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790603622,"filename":"image_22112025_06_46_47_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/472f1fac647e3691e3433691ab84fac3.jpg","text":"TemporaryFile(/tmp/multipartBody4800942317014146978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790603622,"filename":"image_22112025_06_46_53_3467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678014","file1":"1395678013","file0":"1395678012","file4":"1395678017","file5":"1395678019","file3":"1395678015"},"map_files_photo_id_array":[{"photo_id":"1395678019","filename":"file5"},{"photo_id":"1395678014","filename":"file2"},{"photo_id":"1395678017","filename":"file4"},{"photo_id":"1395678013","filename":"file1"},{"photo_id":"1395678012","filename":"file0"},{"photo_id":"1395678015","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678014":["hashtag1","hashtag2"]},{"1395678013":["hashtag1","hashtag2"]},{"1395678019":["hashtag1","hashtag2"]},{"1395678012":["hashtag1","hashtag2"]},{"1395678015":["hashtag1","hashtag2"]},{"1395678017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678014, 1395678013, 1395678019, 1395678012, 1395678015, 1395678017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3178174495697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:49:41.845192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_58_2421.jpg', '/home/pi/Desktop/images/22112025/06/47/image_22112025_06_47_14_3572.jpg', '/home/pi/Desktop/images/22112025/06/48/image_22112025_06_48_07_3016.jpg', '/home/pi/Desktop/images/22112025/06/48/image_22112025_06_48_11_3853.jpg', '/home/pi/Desktop/images/22112025/06/48/image_22112025_06_48_13_2634.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_10_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/46/image_22112025_06_46_58_2421.jpg
/home/pi/Desktop/images/22112025/06/47/image_22112025_06_47_14_3572.jpg
/home/pi/Desktop/images/22112025/06/48/image_22112025_06_48_07_3016.jpg
/home/pi/Desktop/images/22112025/06/48/image_22112025_06_48_11_3853.jpg
/home/pi/Desktop/images/22112025/06/48/image_22112025_06_48_13_2634.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_10_3544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678032","1395678037","1395678030","1395678024","1395678033","1395678035"],"photo_ids_order":["1395678024","1395678030","1395678032","1395678033","1395678035","1395678037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37f0e1920232f029a3fdf121d5c26fc3.jpg","text":"TemporaryFile(/tmp/multipartBody565275854072166667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790642520,"filename":"image_22112025_06_48_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da715e7cd5c2a71cdeb41a3198d8becf.jpg","text":"TemporaryFile(/tmp/multipartBody7790536798072620288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790642520,"filename":"image_22112025_06_49_10_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28ff29c33d00f15245f73f3659034008.jpg","text":"TemporaryFile(/tmp/multipartBody1522404152273557817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790642520,"filename":"image_22112025_06_47_14_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/163d2121eb1b62300474321b976ea784.jpg","text":"TemporaryFile(/tmp/multipartBody8883792419613142928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790642520,"filename":"image_22112025_06_46_58_2421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bebf8d42cbcb05a014dcc2965e6f4c7d.jpg","text":"TemporaryFile(/tmp/multipartBody1371782383516950280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790642520,"filename":"image_22112025_06_48_11_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/269aa8d0b7c5027de385cdd1adeb90fe.jpg","text":"TemporaryFile(/tmp/multipartBody7058866373778566147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790642520,"filename":"image_22112025_06_48_13_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678032","file1":"1395678030","file0":"1395678024","file4":"1395678035","file5":"1395678037","file3":"1395678033"},"map_files_photo_id_array":[{"photo_id":"1395678037","filename":"file5"},{"photo_id":"1395678032","filename":"file2"},{"photo_id":"1395678035","filename":"file4"},{"photo_id":"1395678030","filename":"file1"},{"photo_id":"1395678024","filename":"file0"},{"photo_id":"1395678033","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678032":["hashtag1","hashtag2"]},{"1395678037":["hashtag1","hashtag2"]},{"1395678030":["hashtag1","hashtag2"]},{"1395678024":["hashtag1","hashtag2"]},{"1395678033":["hashtag1","hashtag2"]},{"1395678035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678032, 1395678037, 1395678030, 1395678024, 1395678033, 1395678035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.946616888046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:50:22.081469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_17_3646.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_25_8003.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_26_1539.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_28_1739.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_30_1684.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_31_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_17_3646.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_25_8003.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_26_1539.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_28_1739.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_30_1684.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_31_1736.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5652427673339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:50:42.095466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_17_3646.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_25_8003.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_26_1539.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_28_1739.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_30_1684.jpg', '/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_31_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_17_3646.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_25_8003.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_26_1539.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_28_1739.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_30_1684.jpg
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_31_1736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678070","1395678067","1395678072","1395678069","1395678065","1395678068"],"photo_ids_order":["1395678065","1395678067","1395678068","1395678069","1395678070","1395678072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8671730789b569af2075a2d82a220413.jpg","text":"TemporaryFile(/tmp/multipartBody7405900261636175407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790702807,"filename":"image_22112025_06_49_30_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdc482f5c881afad22aa56ff0510a062.jpg","text":"TemporaryFile(/tmp/multipartBody7797458569992380361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790702807,"filename":"image_22112025_06_49_25_8003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b447e42812c72945074c4d110b315c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4122104049576386678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790702807,"filename":"image_22112025_06_49_31_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02a0ffa6fbee0eb9b7b0271acb33c2f0.jpg","text":"TemporaryFile(/tmp/multipartBody6032349135924697517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790702807,"filename":"image_22112025_06_49_28_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/695b14e710ea413d717b97d6f13c3435.jpg","text":"TemporaryFile(/tmp/multipartBody4184732886383465648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790702807,"filename":"image_22112025_06_49_17_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4620c9949d4c4510b36202ef0d301459.jpg","text":"TemporaryFile(/tmp/multipartBody2173564723094701565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790702807,"filename":"image_22112025_06_49_26_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678068","file1":"1395678067","file0":"1395678065","file4":"1395678070","file5":"1395678072","file3":"1395678069"},"map_files_photo_id_array":[{"photo_id":"1395678072","filename":"file5"},{"photo_id":"1395678068","filename":"file2"},{"photo_id":"1395678070","filename":"file4"},{"photo_id":"1395678067","filename":"file1"},{"photo_id":"1395678065","filename":"file0"},{"photo_id":"1395678069","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678070":["hashtag1","hashtag2"]},{"1395678067":["hashtag1","hashtag2"]},{"1395678072":["hashtag1","hashtag2"]},{"1395678069":["hashtag1","hashtag2"]},{"1395678065":["hashtag1","hashtag2"]},{"1395678068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678070, 1395678067, 1395678072, 1395678069, 1395678065, 1395678068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19152331352234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:51:22.583572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_35_3958.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_10_3725.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_13_2614.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_16_3521.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_25_3618.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_28_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_35_3958.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_10_3725.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_13_2614.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_16_3521.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_25_3618.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_28_2544.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6088359355926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:51:42.558470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_35_3958.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_10_3725.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_13_2614.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_16_3521.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_25_3618.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_28_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/49/image_22112025_06_49_35_3958.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_10_3725.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_13_2614.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_16_3521.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_25_3618.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_28_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678091","1395678090","1395678093","1395678087","1395678092","1395678089"],"photo_ids_order":["1395678087","1395678089","1395678090","1395678091","1395678092","1395678093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f27cab2e638dde991938a23ef0281f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3874878565243498144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790763259,"filename":"image_22112025_06_51_16_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6400bf5fe6a4ed52405c9a0918e1a304.jpg","text":"TemporaryFile(/tmp/multipartBody5629999408003456086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790763259,"filename":"image_22112025_06_51_13_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7003f302f6ee961ec3e5c6f668b5800e.jpg","text":"TemporaryFile(/tmp/multipartBody2111677263518588610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790763259,"filename":"image_22112025_06_51_28_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06786cd91d96bcd45fc8f8d36b1b6782.jpg","text":"TemporaryFile(/tmp/multipartBody4335437977364691762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790763259,"filename":"image_22112025_06_49_35_3958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf986744da53b6a1702ecebbc125c9e7.jpg","text":"TemporaryFile(/tmp/multipartBody7375891499413174155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790763259,"filename":"image_22112025_06_51_25_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8dfc5a0947c50f4e7da7d03f19d9595.jpg","text":"TemporaryFile(/tmp/multipartBody989116861846144466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790763259,"filename":"image_22112025_06_51_10_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678090","file1":"1395678089","file0":"1395678087","file4":"1395678092","file5":"1395678093","file3":"1395678091"},"map_files_photo_id_array":[{"photo_id":"1395678093","filename":"file5"},{"photo_id":"1395678090","filename":"file2"},{"photo_id":"1395678092","filename":"file4"},{"photo_id":"1395678089","filename":"file1"},{"photo_id":"1395678087","filename":"file0"},{"photo_id":"1395678091","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678091":["hashtag1","hashtag2"]},{"1395678090":["hashtag1","hashtag2"]},{"1395678093":["hashtag1","hashtag2"]},{"1395678087":["hashtag1","hashtag2"]},{"1395678092":["hashtag1","hashtag2"]},{"1395678089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678091, 1395678090, 1395678093, 1395678087, 1395678092, 1395678089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3946008682251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:52:22.830994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_30_2709.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_34_3644.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_37_2667.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_39_2563.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_43_3692.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_45_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_30_2709.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_34_3644.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_37_2667.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_39_2563.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_43_3692.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_45_2524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678097","1395678100","1395678103","1395678106","1395678105","1395678108"],"photo_ids_order":["1395678097","1395678100","1395678103","1395678105","1395678106","1395678108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5ef3e55a23f3419f9582fb1c1e6599b.jpg","text":"TemporaryFile(/tmp/multipartBody1102834188837989433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790803536,"filename":"image_22112025_06_51_30_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64e82dcbc1fa1f81769403238adf04b0.jpg","text":"TemporaryFile(/tmp/multipartBody5609550361105115221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790803536,"filename":"image_22112025_06_51_34_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9f7cb979d1ed5c494cd0570197ff9fa.jpg","text":"TemporaryFile(/tmp/multipartBody9191836080169974272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790803536,"filename":"image_22112025_06_51_37_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b906445e8c3effa04221172ee47cb8c.jpg","text":"TemporaryFile(/tmp/multipartBody5599738997658276423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790803536,"filename":"image_22112025_06_51_43_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3c63b354bbebd212310587cc05a4f09.jpg","text":"TemporaryFile(/tmp/multipartBody480407075716905419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790803536,"filename":"image_22112025_06_51_39_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a33b1ef8f49acad5a5b2c4961b9b22f4.jpg","text":"TemporaryFile(/tmp/multipartBody5441157260101099589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790803536,"filename":"image_22112025_06_51_45_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678103","file1":"1395678100","file0":"1395678097","file4":"1395678106","file5":"1395678108","file3":"1395678105"},"map_files_photo_id_array":[{"photo_id":"1395678108","filename":"file5"},{"photo_id":"1395678103","filename":"file2"},{"photo_id":"1395678106","filename":"file4"},{"photo_id":"1395678100","filename":"file1"},{"photo_id":"1395678097","filename":"file0"},{"photo_id":"1395678105","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678097":["hashtag1","hashtag2"]},{"1395678100":["hashtag1","hashtag2"]},{"1395678103":["hashtag1","hashtag2"]},{"1395678106":["hashtag1","hashtag2"]},{"1395678105":["hashtag1","hashtag2"]},{"1395678108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678097, 1395678100, 1395678103, 1395678106, 1395678105, 1395678108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75718069076538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:53:02.786235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_48_2769.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_52_3670.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_55_2650.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_57_2663.jpg', '/home/pi/Desktop/images/22112025/06/51/image_22112025_06_52_01_3764.jpg', '/home/pi/Desktop/images/22112025/06/52/image_22112025_06_52_04_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_48_2769.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_52_3670.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_55_2650.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_51_57_2663.jpg
/home/pi/Desktop/images/22112025/06/51/image_22112025_06_52_01_3764.jpg
/home/pi/Desktop/images/22112025/06/52/image_22112025_06_52_04_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678110","1395678113","1395678112","1395678115","1395678117","1395678114"],"photo_ids_order":["1395678110","1395678112","1395678113","1395678114","1395678115","1395678117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2846378f7b7ca5f7fedadf77d8fefab.jpg","text":"TemporaryFile(/tmp/multipartBody1223561261162309912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790843580,"filename":"image_22112025_06_51_48_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d97672698748194707e98dab6e8c7279.jpg","text":"TemporaryFile(/tmp/multipartBody4556542964160795050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790843580,"filename":"image_22112025_06_51_55_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e3f6b5e7cfcf9d377efe3eb00f848da.jpg","text":"TemporaryFile(/tmp/multipartBody621386993611760273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790843580,"filename":"image_22112025_06_51_52_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d88d374b3ce48e69af9e3eb0eb99490.jpg","text":"TemporaryFile(/tmp/multipartBody322202306887307590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790843580,"filename":"image_22112025_06_52_01_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d476b24803b90b41bffe154df463f1b2.jpg","text":"TemporaryFile(/tmp/multipartBody2649934404398024732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790843580,"filename":"image_22112025_06_52_04_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2ea3dc2ab23e4d6a62bea26cbdec30d.jpg","text":"TemporaryFile(/tmp/multipartBody7891638698158750342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790843580,"filename":"image_22112025_06_51_57_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678113","file1":"1395678112","file0":"1395678110","file4":"1395678115","file5":"1395678117","file3":"1395678114"},"map_files_photo_id_array":[{"photo_id":"1395678117","filename":"file5"},{"photo_id":"1395678113","filename":"file2"},{"photo_id":"1395678115","filename":"file4"},{"photo_id":"1395678112","filename":"file1"},{"photo_id":"1395678110","filename":"file0"},{"photo_id":"1395678114","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678110":["hashtag1","hashtag2"]},{"1395678113":["hashtag1","hashtag2"]},{"1395678112":["hashtag1","hashtag2"]},{"1395678115":["hashtag1","hashtag2"]},{"1395678117":["hashtag1","hashtag2"]},{"1395678114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678110, 1395678113, 1395678112, 1395678115, 1395678117, 1395678114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.537113904953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:53:42.013942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/52/image_22112025_06_52_06_2628.jpg', '/home/pi/Desktop/images/22112025/06/52/image_22112025_06_52_10_3563.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_07_3017.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_11_3741.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_14_2854.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_16_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/52/image_22112025_06_52_06_2628.jpg
/home/pi/Desktop/images/22112025/06/52/image_22112025_06_52_10_3563.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_07_3017.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_11_3741.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_14_2854.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_16_2880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678125","1395678130","1395678127","1395678134","1395678128","1395678122"],"photo_ids_order":["1395678122","1395678125","1395678127","1395678128","1395678130","1395678134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25f5469383a57497fd779381d0b71ac5.jpg","text":"TemporaryFile(/tmp/multipartBody558258726789772159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790882689,"filename":"image_22112025_06_52_10_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d46c276590c000e1b5efbfad09459179.jpg","text":"TemporaryFile(/tmp/multipartBody607993940720263342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790882689,"filename":"image_22112025_06_53_14_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e50ab2c9f59935ba3b8eb57aa835a2a4.jpg","text":"TemporaryFile(/tmp/multipartBody1711070803106480866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790882689,"filename":"image_22112025_06_53_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ba97ed4c669647f08d95e51c552e5dd.jpg","text":"TemporaryFile(/tmp/multipartBody702481588321882125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790882689,"filename":"image_22112025_06_53_16_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e05748f49f42166b18b3053d78894ee.jpg","text":"TemporaryFile(/tmp/multipartBody907216986860374714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790882689,"filename":"image_22112025_06_53_11_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9697a538b0e725fde531a56789e2afb5.jpg","text":"TemporaryFile(/tmp/multipartBody1218809371944869969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790882689,"filename":"image_22112025_06_52_06_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678127","file1":"1395678125","file0":"1395678122","file4":"1395678130","file5":"1395678134","file3":"1395678128"},"map_files_photo_id_array":[{"photo_id":"1395678134","filename":"file5"},{"photo_id":"1395678127","filename":"file2"},{"photo_id":"1395678130","filename":"file4"},{"photo_id":"1395678125","filename":"file1"},{"photo_id":"1395678122","filename":"file0"},{"photo_id":"1395678128","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678125":["hashtag1","hashtag2"]},{"1395678130":["hashtag1","hashtag2"]},{"1395678127":["hashtag1","hashtag2"]},{"1395678134":["hashtag1","hashtag2"]},{"1395678128":["hashtag1","hashtag2"]},{"1395678122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678125, 1395678130, 1395678127, 1395678134, 1395678128, 1395678122)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.51655626296997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:54:42.267078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_19_2586.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_23_3711.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_25_2650.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_28_2697.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_32_3519.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_34_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_19_2586.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_23_3711.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_25_2650.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_28_2697.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_32_3519.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_34_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678157","1395678151","1395678154","1395678156","1395678159","1395678155"],"photo_ids_order":["1395678151","1395678154","1395678155","1395678156","1395678157","1395678159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4895b045adf6bc75552cd508f618cb50.jpg","text":"TemporaryFile(/tmp/multipartBody1671006324562202115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790942944,"filename":"image_22112025_06_53_32_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe4fa7ab178ca3a5c77b1eeffdc385a0.jpg","text":"TemporaryFile(/tmp/multipartBody2221497971758035326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790942944,"filename":"image_22112025_06_53_19_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c3cdbf7d9f40c21098e1cf80b9ceb16.jpg","text":"TemporaryFile(/tmp/multipartBody8093201866817980880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790942944,"filename":"image_22112025_06_53_23_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1233c12479f45c1b2a6aebd933c32404.jpg","text":"TemporaryFile(/tmp/multipartBody3873224714669693350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790942944,"filename":"image_22112025_06_53_28_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2f048a43973786e484a3ae59867f0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6885399556466384557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790942944,"filename":"image_22112025_06_53_34_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14f73e490e642d866c790ef0de455e53.jpg","text":"TemporaryFile(/tmp/multipartBody3874812395619239443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763790942944,"filename":"image_22112025_06_53_25_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678155","file1":"1395678154","file0":"1395678151","file4":"1395678157","file5":"1395678159","file3":"1395678156"},"map_files_photo_id_array":[{"photo_id":"1395678159","filename":"file5"},{"photo_id":"1395678155","filename":"file2"},{"photo_id":"1395678157","filename":"file4"},{"photo_id":"1395678154","filename":"file1"},{"photo_id":"1395678151","filename":"file0"},{"photo_id":"1395678156","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678157":["hashtag1","hashtag2"]},{"1395678151":["hashtag1","hashtag2"]},{"1395678154":["hashtag1","hashtag2"]},{"1395678156":["hashtag1","hashtag2"]},{"1395678159":["hashtag1","hashtag2"]},{"1395678155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678157, 1395678151, 1395678154, 1395678156, 1395678159, 1395678155)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395678155 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_25_2650.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.89042806625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:55:43.601572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_37_2641.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_43_2576.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_46_2615.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_50_3646.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_52_2644.jpg', '/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_55_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_37_2641.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_43_2576.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_46_2615.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_50_3646.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_52_2644.jpg
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_55_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678169","1395678172","1395678171","1395678179","1395678170","1395678173"],"photo_ids_order":["1395678169","1395678170","1395678171","1395678172","1395678173","1395678179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc57b75f91443f3cf03032e508f43777.jpg","text":"TemporaryFile(/tmp/multipartBody2176942311905036950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791009839,"filename":"image_22112025_06_53_37_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11ab4b639a1acad4d44d8d6703d1193b.jpg","text":"TemporaryFile(/tmp/multipartBody8789638380120493440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791009839,"filename":"image_22112025_06_53_50_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfe55e68cf403fe433c0161bc238f5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3098279267317828739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791009839,"filename":"image_22112025_06_53_46_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3c46ccda7c05ae0f2d27aec60875453.jpg","text":"TemporaryFile(/tmp/multipartBody2060258531878277601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791009839,"filename":"image_22112025_06_53_55_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2dd497200ff7f075b5c3a07f509a535.jpg","text":"TemporaryFile(/tmp/multipartBody168248838944620176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791009839,"filename":"image_22112025_06_53_43_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9214bd76f90ea5f617f61d73f191ef96.jpg","text":"TemporaryFile(/tmp/multipartBody6640003451176442311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791009839,"filename":"image_22112025_06_53_52_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678171","file1":"1395678170","file0":"1395678169","file4":"1395678173","file5":"1395678179","file3":"1395678172"},"map_files_photo_id_array":[{"photo_id":"1395678179","filename":"file5"},{"photo_id":"1395678171","filename":"file2"},{"photo_id":"1395678173","filename":"file4"},{"photo_id":"1395678170","filename":"file1"},{"photo_id":"1395678169","filename":"file0"},{"photo_id":"1395678172","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678169":["hashtag1","hashtag2"]},{"1395678172":["hashtag1","hashtag2"]},{"1395678171":["hashtag1","hashtag2"]},{"1395678179":["hashtag1","hashtag2"]},{"1395678170":["hashtag1","hashtag2"]},{"1395678173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678169, 1395678172, 1395678171, 1395678179, 1395678170, 1395678173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.36562895774841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:56:41.885532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_59_3809.jpg', '/home/pi/Desktop/images/22112025/06/54/image_22112025_06_54_01_2695.jpg', '/home/pi/Desktop/images/22112025/06/54/image_22112025_06_54_04_2668.jpg', '/home/pi/Desktop/images/22112025/06/54/image_22112025_06_54_12_8203.jpg', '/home/pi/Desktop/images/22112025/06/54/image_22112025_06_54_14_1605.jpg', '/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_10_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/53/image_22112025_06_53_59_3809.jpg
/home/pi/Desktop/images/22112025/06/54/image_22112025_06_54_01_2695.jpg
/home/pi/Desktop/images/22112025/06/54/image_22112025_06_54_04_2668.jpg
/home/pi/Desktop/images/22112025/06/54/image_22112025_06_54_12_8203.jpg
/home/pi/Desktop/images/22112025/06/54/image_22112025_06_54_14_1605.jpg
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_10_3526.jpg
 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":["1395678203","1395678211","1395678208","1395678210","1395678207","1395678209"],"photo_ids_order":["1395678203","1395678207","1395678208","1395678209","1395678210","1395678211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88a49aceb86bf365b144c29fa3fbd8a5.jpg","text":"TemporaryFile(/tmp/multipartBody4179268785700081324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791062689,"filename":"image_22112025_06_53_59_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fdb71bd9df967395c623cb677e00f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8978229954328342888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791062689,"filename":"image_22112025_06_55_10_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c18a602f8e65a1b074f54ea9753df063.jpg","text":"TemporaryFile(/tmp/multipartBody4424213580795374503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791062689,"filename":"image_22112025_06_54_04_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e06b1625e7e442dd37bf14ef28266a65.jpg","text":"TemporaryFile(/tmp/multipartBody2548937212804462101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791062689,"filename":"image_22112025_06_54_14_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd02817722e035d11b94b2a5467971a3.jpg","text":"TemporaryFile(/tmp/multipartBody6895057496166975433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791062689,"filename":"image_22112025_06_54_01_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3031377aad58cf8857eda1490cc35f3e.jpg","text":"TemporaryFile(/tmp/multipartBody215551789454544212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791062689,"filename":"image_22112025_06_54_12_8203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678208","file1":"1395678207","file0":"1395678203","file4":"1395678210","file5":"1395678211","file3":"1395678209"},"map_files_photo_id_array":[{"photo_id":"1395678211","filename":"file5"},{"photo_id":"1395678208","filename":"file2"},{"photo_id":"1395678210","filename":"file4"},{"photo_id":"1395678207","filename":"file1"},{"photo_id":"1395678203","filename":"file0"},{"photo_id":"1395678209","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678203":["hashtag1","hashtag2"]},{"1395678211":["hashtag1","hashtag2"]},{"1395678208":["hashtag1","hashtag2"]},{"1395678210":["hashtag1","hashtag2"]},{"1395678207":["hashtag1","hashtag2"]},{"1395678209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678203, 1395678211, 1395678208, 1395678210, 1395678207, 1395678209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58364295959473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:57:42.111267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_13_2574.jpg', '/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_16_3557.jpg', '/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_19_2643.jpg', '/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_25_3616.jpg', '/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_28_2617.jpg', '/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_31_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_13_2574.jpg
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_16_3557.jpg
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_19_2643.jpg
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_25_3616.jpg
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_28_2617.jpg
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_31_3551.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678230","1395678232","1395678226","1395678234","1395678228","1395678221"],"photo_ids_order":["1395678221","1395678226","1395678228","1395678230","1395678232","1395678234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1af30501f8b6fb0de5ec0ab5ef689117.jpg","text":"TemporaryFile(/tmp/multipartBody5140741973007518885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791122812,"filename":"image_22112025_06_55_25_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d01f58ca2c5aaf55e405e7db2935117.jpg","text":"TemporaryFile(/tmp/multipartBody3290750696684134062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791122812,"filename":"image_22112025_06_55_28_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/533ad0f6a3d7310b96708ce92b16d7a2.jpg","text":"TemporaryFile(/tmp/multipartBody8909456968600624692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791122812,"filename":"image_22112025_06_55_16_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c94498344b07d0dde9759863fba30ba.jpg","text":"TemporaryFile(/tmp/multipartBody3602869592337502652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791122812,"filename":"image_22112025_06_55_31_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/162d458a515fbde5e27ecf31c657d28a.jpg","text":"TemporaryFile(/tmp/multipartBody4230556729049010624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791122812,"filename":"image_22112025_06_55_19_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96a31d164f78570b2b64fc89070eada7.jpg","text":"TemporaryFile(/tmp/multipartBody7304301674853189089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791122812,"filename":"image_22112025_06_55_13_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678228","file1":"1395678226","file0":"1395678221","file4":"1395678232","file5":"1395678234","file3":"1395678230"},"map_files_photo_id_array":[{"photo_id":"1395678234","filename":"file5"},{"photo_id":"1395678228","filename":"file2"},{"photo_id":"1395678232","filename":"file4"},{"photo_id":"1395678226","filename":"file1"},{"photo_id":"1395678221","filename":"file0"},{"photo_id":"1395678230","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678230":["hashtag1","hashtag2"]},{"1395678232":["hashtag1","hashtag2"]},{"1395678226":["hashtag1","hashtag2"]},{"1395678234":["hashtag1","hashtag2"]},{"1395678228":["hashtag1","hashtag2"]},{"1395678221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678230, 1395678232, 1395678226, 1395678234, 1395678228, 1395678221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.570449352264404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 06:59:03.454490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_34_2622.jpg', '/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_37_2575.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_23_16532.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_37_1775.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_39_1673.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_41_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_34_2622.jpg
/home/pi/Desktop/images/22112025/06/55/image_22112025_06_55_37_2575.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_23_16532.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_37_1775.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_39_1673.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_41_1564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678244","1395678247","1395678241","1395678249","1395678251","1395678236"],"photo_ids_order":["1395678236","1395678241","1395678244","1395678247","1395678249","1395678251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbbea03934eb434346038a0c1c9ff923.jpg","text":"TemporaryFile(/tmp/multipartBody6896010337892222287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791204290,"filename":"image_22112025_06_58_23_16532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16af85f9dd40cf2993d05454e27db2dd.jpg","text":"TemporaryFile(/tmp/multipartBody5176202868276438056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791204290,"filename":"image_22112025_06_58_37_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f305e9bff65288cebd3d078d04a878a1.jpg","text":"TemporaryFile(/tmp/multipartBody3037906846947026450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791204290,"filename":"image_22112025_06_55_37_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f910ee9c594102035e8fafde80add09c.jpg","text":"TemporaryFile(/tmp/multipartBody960020994996362966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791204290,"filename":"image_22112025_06_58_39_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/253c1ab51215e04661e80907788dd768.jpg","text":"TemporaryFile(/tmp/multipartBody358134641300224148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791204290,"filename":"image_22112025_06_58_41_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c068aab80f1595cc8ab344519211232.jpg","text":"TemporaryFile(/tmp/multipartBody4675631674153874321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791204290,"filename":"image_22112025_06_55_34_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678244","file1":"1395678241","file0":"1395678236","file4":"1395678249","file5":"1395678251","file3":"1395678247"},"map_files_photo_id_array":[{"photo_id":"1395678251","filename":"file5"},{"photo_id":"1395678244","filename":"file2"},{"photo_id":"1395678249","filename":"file4"},{"photo_id":"1395678241","filename":"file1"},{"photo_id":"1395678236","filename":"file0"},{"photo_id":"1395678247","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678244":["hashtag1","hashtag2"]},{"1395678247":["hashtag1","hashtag2"]},{"1395678241":["hashtag1","hashtag2"]},{"1395678249":["hashtag1","hashtag2"]},{"1395678251":["hashtag1","hashtag2"]},{"1395678236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678244, 1395678247, 1395678241, 1395678249, 1395678251, 1395678236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77841091156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 06:59:42.528507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_42_1609.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_44_1763.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_46_1612.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_47_1636.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_49_1559.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_50_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_42_1609.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_44_1763.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_46_1612.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_47_1636.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_49_1559.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_50_1605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678271","1395678265","1395678273","1395678267","1395678261","1395678257"],"photo_ids_order":["1395678257","1395678261","1395678265","1395678267","1395678271","1395678273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bcd2eced450b8bd08ad6aa77c67bc9e.jpg","text":"TemporaryFile(/tmp/multipartBody7192383674994897447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791243203,"filename":"image_22112025_06_58_49_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37f3a662fc88ca5731f326fe96968aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1163629216575117023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791243203,"filename":"image_22112025_06_58_46_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/839159ab76518d225a58a92909a29bcd.jpg","text":"TemporaryFile(/tmp/multipartBody114263403091961527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791243203,"filename":"image_22112025_06_58_50_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c54341150285e9db0e393e0aff2c5e75.jpg","text":"TemporaryFile(/tmp/multipartBody7132548018132844335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791243203,"filename":"image_22112025_06_58_47_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fab7bbc7c0b654d8328decf7246bfef.jpg","text":"TemporaryFile(/tmp/multipartBody4914467125944365276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791243203,"filename":"image_22112025_06_58_44_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b263c8d1c199880d556f52876037d6a0.jpg","text":"TemporaryFile(/tmp/multipartBody8147884764372031639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791243203,"filename":"image_22112025_06_58_42_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678265","file1":"1395678261","file0":"1395678257","file4":"1395678271","file5":"1395678273","file3":"1395678267"},"map_files_photo_id_array":[{"photo_id":"1395678273","filename":"file5"},{"photo_id":"1395678265","filename":"file2"},{"photo_id":"1395678271","filename":"file4"},{"photo_id":"1395678261","filename":"file1"},{"photo_id":"1395678257","filename":"file0"},{"photo_id":"1395678267","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678271":["hashtag1","hashtag2"]},{"1395678265":["hashtag1","hashtag2"]},{"1395678273":["hashtag1","hashtag2"]},{"1395678267":["hashtag1","hashtag2"]},{"1395678261":["hashtag1","hashtag2"]},{"1395678257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678271, 1395678265, 1395678273, 1395678267, 1395678261, 1395678257)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.353641510009766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:00:41.300524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_52_1618.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_54_1964.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_56_1555.jpg', '/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_59_1935.jpg', '/home/pi/Desktop/images/22112025/06/59/image_22112025_06_59_01_1720.jpg', '/home/pi/Desktop/images/22112025/06/59/image_22112025_06_59_07_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_52_1618.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_54_1964.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_56_1555.jpg
/home/pi/Desktop/images/22112025/06/58/image_22112025_06_58_59_1935.jpg
/home/pi/Desktop/images/22112025/06/59/image_22112025_06_59_01_1720.jpg
/home/pi/Desktop/images/22112025/06/59/image_22112025_06_59_07_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678286","1395678289","1395678283","1395678285","1395678288","1395678287"],"photo_ids_order":["1395678283","1395678285","1395678286","1395678287","1395678288","1395678289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6160cb59ec7439391160a3599eef9d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4884782634762754178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791301978,"filename":"image_22112025_06_58_56_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b35d6ec807ea5a5430547886b6a8180d.jpg","text":"TemporaryFile(/tmp/multipartBody6956520092727755221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791301978,"filename":"image_22112025_06_59_07_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60d884397dc28fe22563bcf2c4c69506.jpg","text":"TemporaryFile(/tmp/multipartBody527539502691050280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791301978,"filename":"image_22112025_06_58_52_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7de311fc7b02971e00c28d6210c60cf7.jpg","text":"TemporaryFile(/tmp/multipartBody68810056567195806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791301978,"filename":"image_22112025_06_58_54_1964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8083f302771698a826bb0ae8b38af531.jpg","text":"TemporaryFile(/tmp/multipartBody8825693960780953559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791301978,"filename":"image_22112025_06_59_01_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b21a35ce52095da80712f0764ff74342.jpg","text":"TemporaryFile(/tmp/multipartBody8695162720839742816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791301978,"filename":"image_22112025_06_58_59_1935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678286","file1":"1395678285","file0":"1395678283","file4":"1395678288","file5":"1395678289","file3":"1395678287"},"map_files_photo_id_array":[{"photo_id":"1395678289","filename":"file5"},{"photo_id":"1395678286","filename":"file2"},{"photo_id":"1395678288","filename":"file4"},{"photo_id":"1395678285","filename":"file1"},{"photo_id":"1395678283","filename":"file0"},{"photo_id":"1395678287","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678286":["hashtag1","hashtag2"]},{"1395678289":["hashtag1","hashtag2"]},{"1395678283":["hashtag1","hashtag2"]},{"1395678285":["hashtag1","hashtag2"]},{"1395678288":["hashtag1","hashtag2"]},{"1395678287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678286, 1395678289, 1395678283, 1395678285, 1395678288, 1395678287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01367902755737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:01:22.522382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_08_3015.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_11_3699.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_14_2768.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_20_3671.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_23_2740.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_26_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_08_3015.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_11_3699.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_14_2768.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_20_3671.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_23_2740.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_26_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678302","1395678305","1395678296","1395678300","1395678299","1395678293"],"photo_ids_order":["1395678293","1395678296","1395678299","1395678300","1395678302","1395678305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c77d9f94da68e65dcab25ecc7ffb5c6.jpg","text":"TemporaryFile(/tmp/multipartBody2353619140756997524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791343225,"filename":"image_22112025_07_00_23_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df4079dcb87ac671efadd474caa6f382.jpg","text":"TemporaryFile(/tmp/multipartBody8322065506098807163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791343225,"filename":"image_22112025_07_00_26_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0e59faf34c14011713e734eb1ce949f.jpg","text":"TemporaryFile(/tmp/multipartBody2139957875235229832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791343225,"filename":"image_22112025_07_00_11_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b1e97a6fb26e189e9c9f307dfff6da6.jpg","text":"TemporaryFile(/tmp/multipartBody5388741032353758872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791343225,"filename":"image_22112025_07_00_20_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be0ecb1b52a23d5bd7304950d0ea171e.jpg","text":"TemporaryFile(/tmp/multipartBody1577716773497073923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791343225,"filename":"image_22112025_07_00_14_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9485ec36d3c155bdce6e2fbb37fb8e73.jpg","text":"TemporaryFile(/tmp/multipartBody1829462679733775297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791343225,"filename":"image_22112025_07_00_08_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678299","file1":"1395678296","file0":"1395678293","file4":"1395678302","file5":"1395678305","file3":"1395678300"},"map_files_photo_id_array":[{"photo_id":"1395678305","filename":"file5"},{"photo_id":"1395678299","filename":"file2"},{"photo_id":"1395678302","filename":"file4"},{"photo_id":"1395678296","filename":"file1"},{"photo_id":"1395678293","filename":"file0"},{"photo_id":"1395678300","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678302":["hashtag1","hashtag2"]},{"1395678305":["hashtag1","hashtag2"]},{"1395678296":["hashtag1","hashtag2"]},{"1395678300":["hashtag1","hashtag2"]},{"1395678299":["hashtag1","hashtag2"]},{"1395678293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678302, 1395678305, 1395678296, 1395678300, 1395678299, 1395678293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1919629573822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:02:02.521085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_29_2751.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_32_3762.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_35_2559.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_38_2658.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_41_3732.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_44_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_29_2751.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_32_3762.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_35_2559.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_38_2658.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_41_3732.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_44_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678310","1395678307","1395678315","1395678312","1395678309","1395678308"],"photo_ids_order":["1395678307","1395678308","1395678309","1395678310","1395678312","1395678315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5efd2127c21b1e8a3f00e87ac550d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2577862316020738747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791383256,"filename":"image_22112025_07_00_38_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ffc18ce779ceb85c4d72493818654f0.jpg","text":"TemporaryFile(/tmp/multipartBody7441311327755254663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791383256,"filename":"image_22112025_07_00_29_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84b0b156bbb87b3a89db2e22d3e73294.jpg","text":"TemporaryFile(/tmp/multipartBody6951648511155152584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791383256,"filename":"image_22112025_07_00_44_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef7cf78ba438922fde361ccab2fdcd4e.jpg","text":"TemporaryFile(/tmp/multipartBody8626569463377584905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791383256,"filename":"image_22112025_07_00_41_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c8484e8b36ff4b63c12c790c92e5a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7552451947825249996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791383256,"filename":"image_22112025_07_00_35_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0212259c3f997d01e230d1736b7882bc.jpg","text":"TemporaryFile(/tmp/multipartBody3762662338827202108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791383256,"filename":"image_22112025_07_00_32_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678309","file1":"1395678308","file0":"1395678307","file4":"1395678312","file5":"1395678315","file3":"1395678310"},"map_files_photo_id_array":[{"photo_id":"1395678315","filename":"file5"},{"photo_id":"1395678309","filename":"file2"},{"photo_id":"1395678312","filename":"file4"},{"photo_id":"1395678308","filename":"file1"},{"photo_id":"1395678307","filename":"file0"},{"photo_id":"1395678310","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678310":["hashtag1","hashtag2"]},{"1395678307":["hashtag1","hashtag2"]},{"1395678315":["hashtag1","hashtag2"]},{"1395678312":["hashtag1","hashtag2"]},{"1395678309":["hashtag1","hashtag2"]},{"1395678308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678310, 1395678307, 1395678315, 1395678312, 1395678309, 1395678308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.989582777023315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:02:41.919208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_47_2655.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_50_3691.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_57_6465.jpg', '/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_58_1494.jpg', '/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_07_3012.jpg', '/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_11_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_47_2655.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_50_3691.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_57_6465.jpg
/home/pi/Desktop/images/22112025/07/00/image_22112025_07_00_58_1494.jpg
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_07_3012.jpg
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_11_3739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678322","1395678325","1395678328","1395678330","1395678327","1395678326"],"photo_ids_order":["1395678322","1395678325","1395678326","1395678327","1395678328","1395678330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ed15439f03729b073a956223ce0ec93.jpg","text":"TemporaryFile(/tmp/multipartBody6991112826181804963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791422623,"filename":"image_22112025_07_00_47_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81f75c3ee7ea3164f2f2e27433d5682d.jpg","text":"TemporaryFile(/tmp/multipartBody563541119190936889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791422623,"filename":"image_22112025_07_00_50_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f95b590113736a21ca6f4d5190464047.jpg","text":"TemporaryFile(/tmp/multipartBody1375077612688421664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791422623,"filename":"image_22112025_07_02_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e012c44b1ba1b5d44fa7234ea9a62d75.jpg","text":"TemporaryFile(/tmp/multipartBody8266005634555720542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791422623,"filename":"image_22112025_07_02_11_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ca4c0f6e7440cb45ba1ac32cc3647db.jpg","text":"TemporaryFile(/tmp/multipartBody8739704117841940752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791422623,"filename":"image_22112025_07_00_58_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91b6bb58961abb6b3510be5dd831cf94.jpg","text":"TemporaryFile(/tmp/multipartBody5336282636466020032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791422623,"filename":"image_22112025_07_00_57_6465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678326","file1":"1395678325","file0":"1395678322","file4":"1395678328","file5":"1395678330","file3":"1395678327"},"map_files_photo_id_array":[{"photo_id":"1395678330","filename":"file5"},{"photo_id":"1395678326","filename":"file2"},{"photo_id":"1395678328","filename":"file4"},{"photo_id":"1395678325","filename":"file1"},{"photo_id":"1395678322","filename":"file0"},{"photo_id":"1395678327","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678322":["hashtag1","hashtag2"]},{"1395678325":["hashtag1","hashtag2"]},{"1395678328":["hashtag1","hashtag2"]},{"1395678330":["hashtag1","hashtag2"]},{"1395678327":["hashtag1","hashtag2"]},{"1395678326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678322, 1395678325, 1395678328, 1395678330, 1395678327, 1395678326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10801959037781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:03:22.163150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_16_2798.jpg', '/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_20_3563.jpg', '/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_31_5594.jpg', '/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_32_1602.jpg', '/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_38_2669.jpg', '/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_40_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_16_2798.jpg
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_20_3563.jpg
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_31_5594.jpg
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_32_1602.jpg
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_38_2669.jpg
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_40_2509.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678338","1395678331","1395678333","1395678345","1395678341","1395678335"],"photo_ids_order":["1395678331","1395678333","1395678335","1395678338","1395678341","1395678345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c9d71d86c60d805ee5e7cb872479837.jpg","text":"TemporaryFile(/tmp/multipartBody8954840948667064728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791462835,"filename":"image_22112025_07_02_32_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0521ede9e182aff7ffe70fdb0055101f.jpg","text":"TemporaryFile(/tmp/multipartBody2930422178752484071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791462835,"filename":"image_22112025_07_02_16_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e35afd2f8deeaa69d044ad50cca2a59.jpg","text":"TemporaryFile(/tmp/multipartBody686787097337355907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791462835,"filename":"image_22112025_07_02_20_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d70f2ee4fa1d8764625b44d7f44224d.jpg","text":"TemporaryFile(/tmp/multipartBody2085817624494819041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791462835,"filename":"image_22112025_07_02_40_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84bab75e133ba07564e68aafbdb357e1.jpg","text":"TemporaryFile(/tmp/multipartBody6928171114597105248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791462835,"filename":"image_22112025_07_02_38_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb604cd8df8a92b867921999696c487f.jpg","text":"TemporaryFile(/tmp/multipartBody5448786811552684891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791462835,"filename":"image_22112025_07_02_31_5594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678335","file1":"1395678333","file0":"1395678331","file4":"1395678341","file5":"1395678345","file3":"1395678338"},"map_files_photo_id_array":[{"photo_id":"1395678345","filename":"file5"},{"photo_id":"1395678335","filename":"file2"},{"photo_id":"1395678341","filename":"file4"},{"photo_id":"1395678333","filename":"file1"},{"photo_id":"1395678331","filename":"file0"},{"photo_id":"1395678338","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678338":["hashtag1","hashtag2"]},{"1395678331":["hashtag1","hashtag2"]},{"1395678333":["hashtag1","hashtag2"]},{"1395678345":["hashtag1","hashtag2"]},{"1395678341":["hashtag1","hashtag2"]},{"1395678335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678338, 1395678331, 1395678333, 1395678345, 1395678341, 1395678335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.307969093322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:04:02.989785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_53_2778.jpg', '/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_59_3575.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_02_2756.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_17_3821.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_20_2749.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_22_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_53_2778.jpg
/home/pi/Desktop/images/19112025/23/56/image_19112025_23_56_59_3575.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_02_2756.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_17_3821.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_20_2749.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_22_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678349","1395678346","1395678351","1395678354","1395678348","1395678347"],"photo_ids_order":["1395678346","1395678347","1395678348","1395678349","1395678351","1395678354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0feb4808a340c4f8f1285629e3466e62.jpg","text":"TemporaryFile(/tmp/multipartBody2361184548450807187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791504951,"filename":"image_19112025_23_57_17_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/150419f54c112f50e25592dfae477189.jpg","text":"TemporaryFile(/tmp/multipartBody2914831434322472156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791504951,"filename":"image_19112025_23_56_53_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b5b66a501280976e9dc5c46908904d6.jpg","text":"TemporaryFile(/tmp/multipartBody977118729822751170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791504951,"filename":"image_19112025_23_57_20_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f2d242fef8b75462949dee8007b60c9.jpg","text":"TemporaryFile(/tmp/multipartBody5231499967900694588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791504951,"filename":"image_19112025_23_57_22_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb465795468c5de17bc3783ac7a4beca.jpg","text":"TemporaryFile(/tmp/multipartBody7000322427323723938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791504951,"filename":"image_19112025_23_57_02_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fca6323de9ef3d5ba15f901d91425fe.jpg","text":"TemporaryFile(/tmp/multipartBody4092258535039221301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791504951,"filename":"image_19112025_23_56_59_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678348","file1":"1395678347","file0":"1395678346","file4":"1395678351","file5":"1395678354","file3":"1395678349"},"map_files_photo_id_array":[{"photo_id":"1395678354","filename":"file5"},{"photo_id":"1395678348","filename":"file2"},{"photo_id":"1395678351","filename":"file4"},{"photo_id":"1395678347","filename":"file1"},{"photo_id":"1395678346","filename":"file0"},{"photo_id":"1395678349","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395678349":["hashtag1","hashtag2"]},{"1395678346":["hashtag1","hashtag2"]},{"1395678351":["hashtag1","hashtag2"]},{"1395678354":["hashtag1","hashtag2"]},{"1395678348":["hashtag1","hashtag2"]},{"1395678347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395678349, 1395678346, 1395678351, 1395678354, 1395678348, 1395678347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19704532623291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:04:42.317528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_44_3686.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_07_3012.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_10_3772.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_13_2662.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_16_2601.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_19_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/02/image_22112025_07_02_44_3686.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_07_3012.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_10_3772.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_13_2662.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_16_2601.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_19_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678367","1395678370","1395678366","1395678369","1395678362","1395678368"],"photo_ids_order":["1395678362","1395678366","1395678367","1395678368","1395678369","1395678370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45050da915347619223b945629a9abb2.jpg","text":"TemporaryFile(/tmp/multipartBody8713317432913331697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791542991,"filename":"image_22112025_07_04_10_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2b072fe071b082de6c606d0a1bace9f.jpg","text":"TemporaryFile(/tmp/multipartBody968254709914306283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791542991,"filename":"image_22112025_07_04_19_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1618a0966099b042704a50e5a2503f9d.jpg","text":"TemporaryFile(/tmp/multipartBody751001510683335899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791542991,"filename":"image_22112025_07_04_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74ea232af9e6444ad38a2c2e1c41d472.jpg","text":"TemporaryFile(/tmp/multipartBody2493680794878913586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791542991,"filename":"image_22112025_07_04_16_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94f6bf973ec179847bc055c1a80cfbdb.jpg","text":"TemporaryFile(/tmp/multipartBody3480133049092127912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791542991,"filename":"image_22112025_07_02_44_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d99c75959533f46642269f2c89c61e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4176998202800065833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791542991,"filename":"image_22112025_07_04_13_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678367","file1":"1395678366","file0":"1395678362","file4":"1395678369","file5":"1395678370","file3":"1395678368"},"map_files_photo_id_array":[{"photo_id":"1395678370","filename":"file5"},{"photo_id":"1395678367","filename":"file2"},{"photo_id":"1395678369","filename":"file4"},{"photo_id":"1395678366","filename":"file1"},{"photo_id":"1395678362","filename":"file0"},{"photo_id":"1395678368","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678367":["hashtag1","hashtag2"]},{"1395678370":["hashtag1","hashtag2"]},{"1395678366":["hashtag1","hashtag2"]},{"1395678369":["hashtag1","hashtag2"]},{"1395678362":["hashtag1","hashtag2"]},{"1395678368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678367, 1395678370, 1395678366, 1395678369, 1395678362, 1395678368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47892427444458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:05:22.525214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_22_2543.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_28_2561.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_35_3757.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_37_2566.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_40_2619.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_43_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_22_2543.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_28_2561.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_35_3757.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_37_2566.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_40_2619.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_43_3556.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5988752841949463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:05:42.539475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_22_2543.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_28_2561.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_35_3757.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_37_2566.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_40_2619.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_43_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_22_2543.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_28_2561.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_35_3757.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_37_2566.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_40_2619.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_43_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678388","1395678397","1395678403","1395678396","1395678402","1395678395"],"photo_ids_order":["1395678388","1395678395","1395678396","1395678397","1395678402","1395678403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05f26051d9a1d8ac8c31763a4ccb2fb6.jpg","text":"TemporaryFile(/tmp/multipartBody7936102348792856971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791603214,"filename":"image_22112025_07_04_22_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23becb865eeaebbc7ef06059090917c9.jpg","text":"TemporaryFile(/tmp/multipartBody1753282493161449728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791603214,"filename":"image_22112025_07_04_37_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f6984b7ad8b0aeccc773c0925f335d0.jpg","text":"TemporaryFile(/tmp/multipartBody4536901360936976430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791603214,"filename":"image_22112025_07_04_43_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72aaee6f412fc01c25f4fc5c1b50ddd9.jpg","text":"TemporaryFile(/tmp/multipartBody2105233672618436474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791603214,"filename":"image_22112025_07_04_35_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29e4900510e2b761ff99f901a4722cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3901629641696530782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791603214,"filename":"image_22112025_07_04_40_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6a500791c89c5d10385ea8a729ffe3d.jpg","text":"TemporaryFile(/tmp/multipartBody3988975489153835331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791603214,"filename":"image_22112025_07_04_28_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678396","file1":"1395678395","file0":"1395678388","file4":"1395678402","file5":"1395678403","file3":"1395678397"},"map_files_photo_id_array":[{"photo_id":"1395678403","filename":"file5"},{"photo_id":"1395678396","filename":"file2"},{"photo_id":"1395678402","filename":"file4"},{"photo_id":"1395678395","filename":"file1"},{"photo_id":"1395678388","filename":"file0"},{"photo_id":"1395678397","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678388":["hashtag1","hashtag2"]},{"1395678397":["hashtag1","hashtag2"]},{"1395678403":["hashtag1","hashtag2"]},{"1395678396":["hashtag1","hashtag2"]},{"1395678402":["hashtag1","hashtag2"]},{"1395678395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678388, 1395678397, 1395678403, 1395678396, 1395678402, 1395678395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19416666030884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:06:22.788308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_46_2544.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_50_3682.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_52_2766.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_58_2758.jpg', '/home/pi/Desktop/images/22112025/07/04/image_22112025_07_05_01_3659.jpg', '/home/pi/Desktop/images/22112025/07/05/image_22112025_07_05_04_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_46_2544.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_50_3682.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_52_2766.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_04_58_2758.jpg
/home/pi/Desktop/images/22112025/07/04/image_22112025_07_05_01_3659.jpg
/home/pi/Desktop/images/22112025/07/05/image_22112025_07_05_04_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678415","1395678409","1395678417","1395678419","1395678413","1395678407"],"photo_ids_order":["1395678407","1395678409","1395678413","1395678415","1395678417","1395678419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46b5a482bfdc3724872af759ca873937.jpg","text":"TemporaryFile(/tmp/multipartBody7414460984743817634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791643498,"filename":"image_22112025_07_04_58_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54d6bb35001887cb445b0660886b3034.jpg","text":"TemporaryFile(/tmp/multipartBody7323207177540098041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791643498,"filename":"image_22112025_07_04_50_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cc028f111a9f614036b1c3bd6b6819a.jpg","text":"TemporaryFile(/tmp/multipartBody1845828886157716473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791643498,"filename":"image_22112025_07_05_01_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b496b86664453fed6b2e3ceddd1fc15.jpg","text":"TemporaryFile(/tmp/multipartBody3448777750606598915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791643498,"filename":"image_22112025_07_05_04_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8038180e3804c86c9b76087796e0163c.jpg","text":"TemporaryFile(/tmp/multipartBody7667444858570834857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791643498,"filename":"image_22112025_07_04_52_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/594ea610a46a5cb2300f80f9e2930056.jpg","text":"TemporaryFile(/tmp/multipartBody491194999391153379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791643498,"filename":"image_22112025_07_04_46_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678413","file1":"1395678409","file0":"1395678407","file4":"1395678417","file5":"1395678419","file3":"1395678415"},"map_files_photo_id_array":[{"photo_id":"1395678419","filename":"file5"},{"photo_id":"1395678413","filename":"file2"},{"photo_id":"1395678417","filename":"file4"},{"photo_id":"1395678409","filename":"file1"},{"photo_id":"1395678407","filename":"file0"},{"photo_id":"1395678415","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678415":["hashtag1","hashtag2"]},{"1395678409":["hashtag1","hashtag2"]},{"1395678417":["hashtag1","hashtag2"]},{"1395678419":["hashtag1","hashtag2"]},{"1395678413":["hashtag1","hashtag2"]},{"1395678407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678415, 1395678409, 1395678417, 1395678419, 1395678413, 1395678407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37264561653137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:07:02.886777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/05/image_22112025_07_05_07_2575.jpg', '/home/pi/Desktop/images/22112025/07/05/image_22112025_07_05_10_2708.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_07_3018.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_11_3775.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_17_3592.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_19_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/05/image_22112025_07_05_07_2575.jpg
/home/pi/Desktop/images/22112025/07/05/image_22112025_07_05_10_2708.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_07_3018.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_11_3775.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_17_3592.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_19_2547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678422","1395678421","1395678420","1395678423","1395678425","1395678428"],"photo_ids_order":["1395678420","1395678421","1395678422","1395678423","1395678425","1395678428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ae0ccedfd05557873ab632346731206.jpg","text":"TemporaryFile(/tmp/multipartBody128665196688564417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791683650,"filename":"image_22112025_07_06_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbfca3930eaebee740bab299627c07f5.jpg","text":"TemporaryFile(/tmp/multipartBody7434685295411188240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791683650,"filename":"image_22112025_07_05_10_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc8a00853a73aa5f6c3cc62b20a15645.jpg","text":"TemporaryFile(/tmp/multipartBody2174091325901306763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791683650,"filename":"image_22112025_07_05_07_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63773f5fa403b11e490f2d289ea8b2ac.jpg","text":"TemporaryFile(/tmp/multipartBody907742346039026793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791683650,"filename":"image_22112025_07_06_11_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37fbbdde64e23bc89241badbb796aeba.jpg","text":"TemporaryFile(/tmp/multipartBody9000064462557705714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791683650,"filename":"image_22112025_07_06_17_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/224001771c148e2059035ecdf753673c.jpg","text":"TemporaryFile(/tmp/multipartBody5261719549367424009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791683650,"filename":"image_22112025_07_06_19_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678422","file1":"1395678421","file0":"1395678420","file4":"1395678425","file5":"1395678428","file3":"1395678423"},"map_files_photo_id_array":[{"photo_id":"1395678428","filename":"file5"},{"photo_id":"1395678422","filename":"file2"},{"photo_id":"1395678425","filename":"file4"},{"photo_id":"1395678421","filename":"file1"},{"photo_id":"1395678420","filename":"file0"},{"photo_id":"1395678423","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678422":["hashtag1","hashtag2"]},{"1395678421":["hashtag1","hashtag2"]},{"1395678420":["hashtag1","hashtag2"]},{"1395678423":["hashtag1","hashtag2"]},{"1395678425":["hashtag1","hashtag2"]},{"1395678428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678422, 1395678421, 1395678420, 1395678423, 1395678425, 1395678428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67997670173645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:07:42.206149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_22_2701.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_26_3596.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_28_2695.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_31_2558.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_35_3768.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_37_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_22_2701.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_26_3596.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_28_2695.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_31_2558.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_35_3768.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_37_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678442","1395678445","1395678441","1395678444","1395678443","1395678437"],"photo_ids_order":["1395678437","1395678441","1395678442","1395678443","1395678444","1395678445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c05356e19b885187fd6743b88a0712c1.jpg","text":"TemporaryFile(/tmp/multipartBody5402490647623459130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791722892,"filename":"image_22112025_07_06_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e291c1c2f3121045d334f5ee37985ce0.jpg","text":"TemporaryFile(/tmp/multipartBody7140311129587662851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791722892,"filename":"image_22112025_07_06_37_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8ece52bf4066f7f25aa1acc1eea06b7.jpg","text":"TemporaryFile(/tmp/multipartBody1940890298156679083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791722892,"filename":"image_22112025_07_06_26_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da1ddbe2a191d9db3a7c76c49142256e.jpg","text":"TemporaryFile(/tmp/multipartBody4021631507354382528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791722892,"filename":"image_22112025_07_06_35_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c08522d1d659f2bc21b811868fd02470.jpg","text":"TemporaryFile(/tmp/multipartBody1035670996599587087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791722892,"filename":"image_22112025_07_06_31_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a01d5a547b8c1dcbdf2553e630579324.jpg","text":"TemporaryFile(/tmp/multipartBody2087340979975192096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791722892,"filename":"image_22112025_07_06_22_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678442","file1":"1395678441","file0":"1395678437","file4":"1395678444","file5":"1395678445","file3":"1395678443"},"map_files_photo_id_array":[{"photo_id":"1395678445","filename":"file5"},{"photo_id":"1395678442","filename":"file2"},{"photo_id":"1395678444","filename":"file4"},{"photo_id":"1395678441","filename":"file1"},{"photo_id":"1395678437","filename":"file0"},{"photo_id":"1395678443","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678442":["hashtag1","hashtag2"]},{"1395678445":["hashtag1","hashtag2"]},{"1395678441":["hashtag1","hashtag2"]},{"1395678444":["hashtag1","hashtag2"]},{"1395678443":["hashtag1","hashtag2"]},{"1395678437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678442, 1395678445, 1395678441, 1395678444, 1395678443, 1395678437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49858260154724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:08:22.342579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_40_2587.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_44_3753.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_49_2599.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_55_2650.jpg', '/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_58_2843.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_02_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_40_2587.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_44_3753.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_49_2599.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_55_2650.jpg
/home/pi/Desktop/images/22112025/07/06/image_22112025_07_06_58_2843.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_02_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678463","1395678461","1395678455","1395678458","1395678452","1395678449"],"photo_ids_order":["1395678449","1395678452","1395678455","1395678458","1395678461","1395678463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdd5ce2de30c6ea0404dbfa65f5916cb.jpg","text":"TemporaryFile(/tmp/multipartBody3626974832180773214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791763022,"filename":"image_22112025_07_07_02_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8aa0e7f37139ccb992bba75a581b08c5.jpg","text":"TemporaryFile(/tmp/multipartBody3664313115540854329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791763022,"filename":"image_22112025_07_06_58_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/082c5fc37a5db679c51cb7a4f6edc8aa.jpg","text":"TemporaryFile(/tmp/multipartBody2468636758895430347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791763022,"filename":"image_22112025_07_06_49_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfeee2ab893e2dea15b69ac24e511946.jpg","text":"TemporaryFile(/tmp/multipartBody2098025528112543643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791763022,"filename":"image_22112025_07_06_55_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d943539c84e29fd79c7ccf44abe712c.jpg","text":"TemporaryFile(/tmp/multipartBody3435840920556861061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791763022,"filename":"image_22112025_07_06_44_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e86ec4fc26a310f7e1ac6fc15959021d.jpg","text":"TemporaryFile(/tmp/multipartBody6104581076966706953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791763022,"filename":"image_22112025_07_06_40_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678455","file1":"1395678452","file0":"1395678449","file4":"1395678461","file5":"1395678463","file3":"1395678458"},"map_files_photo_id_array":[{"photo_id":"1395678463","filename":"file5"},{"photo_id":"1395678455","filename":"file2"},{"photo_id":"1395678461","filename":"file4"},{"photo_id":"1395678452","filename":"file1"},{"photo_id":"1395678449","filename":"file0"},{"photo_id":"1395678458","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678463":["hashtag1","hashtag2"]},{"1395678461":["hashtag1","hashtag2"]},{"1395678455":["hashtag1","hashtag2"]},{"1395678458":["hashtag1","hashtag2"]},{"1395678452":["hashtag1","hashtag2"]},{"1395678449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678463, 1395678461, 1395678455, 1395678458, 1395678452, 1395678449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94677543640137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:09:03.214194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_04_2617.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_07_2757.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_14_2702.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_16_2631.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_28_2686.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_32_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_04_2617.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_07_2757.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_14_2702.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_16_2631.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_28_2686.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_32_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678466","1395678465","1395678468","1395678473","1395678470","1395678467"],"photo_ids_order":["1395678465","1395678466","1395678467","1395678468","1395678470","1395678473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b7f428508a89d1c764fb3c4de5b4809.jpg","text":"TemporaryFile(/tmp/multipartBody8799277720217597507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791804027,"filename":"image_22112025_07_07_07_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83e0eef36dfbb502baf423c57d4d7b14.jpg","text":"TemporaryFile(/tmp/multipartBody6229759018830770984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791804027,"filename":"image_22112025_07_07_04_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3154a23c87fef12ffbcf45abbdaf9c7.jpg","text":"TemporaryFile(/tmp/multipartBody5251349825360196723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791804027,"filename":"image_22112025_07_07_16_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e515c195d78a53a999627811cd51e084.jpg","text":"TemporaryFile(/tmp/multipartBody8708494933472375337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791804027,"filename":"image_22112025_07_07_32_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45b0a0cedd89710611d9562acf235d0c.jpg","text":"TemporaryFile(/tmp/multipartBody5850236767036782119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791804027,"filename":"image_22112025_07_07_28_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b957081237987ba01fde1115cae66a1.jpg","text":"TemporaryFile(/tmp/multipartBody6797304704264728084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791804027,"filename":"image_22112025_07_07_14_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678467","file1":"1395678466","file0":"1395678465","file4":"1395678470","file5":"1395678473","file3":"1395678468"},"map_files_photo_id_array":[{"photo_id":"1395678473","filename":"file5"},{"photo_id":"1395678467","filename":"file2"},{"photo_id":"1395678470","filename":"file4"},{"photo_id":"1395678466","filename":"file1"},{"photo_id":"1395678465","filename":"file0"},{"photo_id":"1395678468","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678466":["hashtag1","hashtag2"]},{"1395678465":["hashtag1","hashtag2"]},{"1395678468":["hashtag1","hashtag2"]},{"1395678473":["hashtag1","hashtag2"]},{"1395678470":["hashtag1","hashtag2"]},{"1395678467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678466, 1395678465, 1395678468, 1395678473, 1395678470, 1395678467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75412464141846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:09:42.329723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_34_2754.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_38_3527.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_40_2644.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_43_2731.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_46_2716.jpg', '/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_49_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_34_2754.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_38_3527.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_40_2644.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_43_2731.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_46_2716.jpg
/home/pi/Desktop/images/22112025/07/07/image_22112025_07_07_49_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678484","1395678487","1395678481","1395678489","1395678486","1395678488"],"photo_ids_order":["1395678481","1395678484","1395678486","1395678487","1395678488","1395678489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c921e6c3f6dca724dc7febc77f4663d.jpg","text":"TemporaryFile(/tmp/multipartBody3520237720542681453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791843012,"filename":"image_22112025_07_07_38_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/302afe00d24dedce5c777608722dd41f.jpg","text":"TemporaryFile(/tmp/multipartBody4076031618143087245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791843012,"filename":"image_22112025_07_07_43_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8ad96d0036aaa65cad6115451b6ebcf.jpg","text":"TemporaryFile(/tmp/multipartBody8688520590245102377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791843012,"filename":"image_22112025_07_07_34_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcaef3c7577da267ad7a96dcb207b20d.jpg","text":"TemporaryFile(/tmp/multipartBody8423209856927293502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791843012,"filename":"image_22112025_07_07_49_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aebe7dbeb1529e23dbe4cb5188a2caa9.jpg","text":"TemporaryFile(/tmp/multipartBody7345733010122626995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791843012,"filename":"image_22112025_07_07_40_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/094b7c14fb8b8e267a64cd00da6605db.jpg","text":"TemporaryFile(/tmp/multipartBody8441351573927730958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791843012,"filename":"image_22112025_07_07_46_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678486","file1":"1395678484","file0":"1395678481","file4":"1395678488","file5":"1395678489","file3":"1395678487"},"map_files_photo_id_array":[{"photo_id":"1395678489","filename":"file5"},{"photo_id":"1395678486","filename":"file2"},{"photo_id":"1395678488","filename":"file4"},{"photo_id":"1395678484","filename":"file1"},{"photo_id":"1395678481","filename":"file0"},{"photo_id":"1395678487","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678484":["hashtag1","hashtag2"]},{"1395678487":["hashtag1","hashtag2"]},{"1395678481":["hashtag1","hashtag2"]},{"1395678489":["hashtag1","hashtag2"]},{"1395678486":["hashtag1","hashtag2"]},{"1395678488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678484, 1395678487, 1395678481, 1395678489, 1395678486, 1395678488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03798866271973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:10:22.564284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_07_3011.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_10_3750.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_13_2689.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_16_2530.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_19_3681.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_22_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_07_3011.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_10_3750.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_13_2689.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_16_2530.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_19_3681.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_22_2535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678500","1395678503","1395678492","1395678494","1395678507","1395678497"],"photo_ids_order":["1395678492","1395678494","1395678497","1395678500","1395678503","1395678507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbc055c6078db72c7787cc49c514e2d0.jpg","text":"TemporaryFile(/tmp/multipartBody6461746033535725677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791883242,"filename":"image_22112025_07_09_16_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01f172ee2c7d65fd656a5cde4773ebfb.jpg","text":"TemporaryFile(/tmp/multipartBody8019718715037914419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791883242,"filename":"image_22112025_07_09_19_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f7e2e6bfe930d0c1cd44d5299ad1089.jpg","text":"TemporaryFile(/tmp/multipartBody3348525717149987581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791883242,"filename":"image_22112025_07_09_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43f10f7c917b07df3dccb91e2a3dce07.jpg","text":"TemporaryFile(/tmp/multipartBody6202510926439675628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791883242,"filename":"image_22112025_07_09_10_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b56427e0a4146bee6391bf3e6a3dc5b.jpg","text":"TemporaryFile(/tmp/multipartBody4201466348187169075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791883242,"filename":"image_22112025_07_09_22_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c4640c4ca06dde667d074301bfbd50a.jpg","text":"TemporaryFile(/tmp/multipartBody1351333606916144594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791883242,"filename":"image_22112025_07_09_13_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678497","file1":"1395678494","file0":"1395678492","file4":"1395678503","file5":"1395678507","file3":"1395678500"},"map_files_photo_id_array":[{"photo_id":"1395678507","filename":"file5"},{"photo_id":"1395678497","filename":"file2"},{"photo_id":"1395678503","filename":"file4"},{"photo_id":"1395678494","filename":"file1"},{"photo_id":"1395678492","filename":"file0"},{"photo_id":"1395678500","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678500":["hashtag1","hashtag2"]},{"1395678503":["hashtag1","hashtag2"]},{"1395678492":["hashtag1","hashtag2"]},{"1395678494":["hashtag1","hashtag2"]},{"1395678507":["hashtag1","hashtag2"]},{"1395678497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678500, 1395678503, 1395678492, 1395678494, 1395678507, 1395678497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57654690742493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:11:02.544456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_25_3570.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_28_2582.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_32_3606.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_34_2621.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_37_2744.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_40_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_25_3570.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_28_2582.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_32_3606.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_34_2621.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_37_2744.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_40_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678515","1395678517","1395678513","1395678522","1395678516","1395678519"],"photo_ids_order":["1395678513","1395678515","1395678516","1395678517","1395678519","1395678522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44d26c41405b29015b6777d25678a43b.jpg","text":"TemporaryFile(/tmp/multipartBody7345281817506719812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791923368,"filename":"image_22112025_07_09_28_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8d0f243efd0503b91884cdbc4dd0656.jpg","text":"TemporaryFile(/tmp/multipartBody4097580923510080922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791923368,"filename":"image_22112025_07_09_34_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff97158ea544683bfb3ddc31ca9f4179.jpg","text":"TemporaryFile(/tmp/multipartBody7604856656004260378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791923368,"filename":"image_22112025_07_09_25_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a80073ffc489aa8aaa0ed0219292773c.jpg","text":"TemporaryFile(/tmp/multipartBody7038791751798532085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791923368,"filename":"image_22112025_07_09_40_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73f9688c56f9e3f152c3d22e8156f024.jpg","text":"TemporaryFile(/tmp/multipartBody5951891182578959075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791923368,"filename":"image_22112025_07_09_32_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bd4fd33cb8b264c62d02d1bb4f38969.jpg","text":"TemporaryFile(/tmp/multipartBody3045671428284779205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791923368,"filename":"image_22112025_07_09_37_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678516","file1":"1395678515","file0":"1395678513","file4":"1395678519","file5":"1395678522","file3":"1395678517"},"map_files_photo_id_array":[{"photo_id":"1395678522","filename":"file5"},{"photo_id":"1395678516","filename":"file2"},{"photo_id":"1395678519","filename":"file4"},{"photo_id":"1395678515","filename":"file1"},{"photo_id":"1395678513","filename":"file0"},{"photo_id":"1395678517","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678515":["hashtag1","hashtag2"]},{"1395678517":["hashtag1","hashtag2"]},{"1395678513":["hashtag1","hashtag2"]},{"1395678522":["hashtag1","hashtag2"]},{"1395678516":["hashtag1","hashtag2"]},{"1395678519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678515, 1395678517, 1395678513, 1395678522, 1395678516, 1395678519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.684548139572144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:11:41.883718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_46_2517.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_49_2736.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_13_2566.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_16_2711.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_19_3596.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_22_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_46_2517.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_49_2736.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_13_2566.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_16_2711.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_19_3596.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_22_2735.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5615754127502441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:12:02.633820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_46_2517.jpg', '/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_49_2736.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_13_2566.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_16_2711.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_19_3596.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_22_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_46_2517.jpg
/home/pi/Desktop/images/22112025/07/09/image_22112025_07_09_49_2736.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_13_2566.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_16_2711.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_19_3596.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_22_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678544","1395678546","1395678537","1395678551","1395678545","1395678548"],"photo_ids_order":["1395678537","1395678544","1395678545","1395678546","1395678548","1395678551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f079491a1ef3119aff6a340026938c50.jpg","text":"TemporaryFile(/tmp/multipartBody881004082233620213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791983348,"filename":"image_22112025_07_09_49_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6d83da00dba61d993c02b8d279f5e97.jpg","text":"TemporaryFile(/tmp/multipartBody4374366466954595149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791983348,"filename":"image_22112025_07_11_16_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b257fa3a3b4f31d38820a9d1894d5682.jpg","text":"TemporaryFile(/tmp/multipartBody2332678773797020714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791983348,"filename":"image_22112025_07_09_46_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e464507a0e3508ee39c566abf2215095.jpg","text":"TemporaryFile(/tmp/multipartBody2031963034046479770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791983348,"filename":"image_22112025_07_11_22_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d4e5e0b6cc1203f45ad8c06b0fe4e1d.jpg","text":"TemporaryFile(/tmp/multipartBody9090742077162188673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791983348,"filename":"image_22112025_07_11_13_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57f4051e697744eb228d0d31ad5af452.jpg","text":"TemporaryFile(/tmp/multipartBody8250468552512262909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763791983348,"filename":"image_22112025_07_11_19_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678545","file1":"1395678544","file0":"1395678537","file4":"1395678548","file5":"1395678551","file3":"1395678546"},"map_files_photo_id_array":[{"photo_id":"1395678551","filename":"file5"},{"photo_id":"1395678545","filename":"file2"},{"photo_id":"1395678548","filename":"file4"},{"photo_id":"1395678544","filename":"file1"},{"photo_id":"1395678537","filename":"file0"},{"photo_id":"1395678546","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678544":["hashtag1","hashtag2"]},{"1395678546":["hashtag1","hashtag2"]},{"1395678537":["hashtag1","hashtag2"]},{"1395678551":["hashtag1","hashtag2"]},{"1395678545":["hashtag1","hashtag2"]},{"1395678548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678544, 1395678546, 1395678537, 1395678551, 1395678545, 1395678548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.226603746414185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:12:42.104136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_25_2771.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_29_3609.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_31_2685.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_34_2638.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_38_3666.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_47_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_25_2771.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_29_3609.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_31_2685.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_34_2638.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_38_3666.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_47_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678571","1395678574","1395678570","1395678573","1395678572","1395678575"],"photo_ids_order":["1395678570","1395678571","1395678572","1395678573","1395678574","1395678575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20a31c15462028c8254a8a9ccf366d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3051166282115162721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792022781,"filename":"image_22112025_07_11_29_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e4773da1e772c4ef9da60f950cfccc6.jpg","text":"TemporaryFile(/tmp/multipartBody8281784756379688836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792022781,"filename":"image_22112025_07_11_38_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/768dbed7d8fc8aac15bd0f8cde9a5de8.jpg","text":"TemporaryFile(/tmp/multipartBody7199610226442621476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792022781,"filename":"image_22112025_07_11_25_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/142e3c1fefd03bfe543cb5392a075b37.jpg","text":"TemporaryFile(/tmp/multipartBody1876417822956542020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792022781,"filename":"image_22112025_07_11_34_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32f79741ebe91a221170297dd55635a3.jpg","text":"TemporaryFile(/tmp/multipartBody7320701762867137541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792022781,"filename":"image_22112025_07_11_31_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f966c88672b7f98b5ac39334d6b32631.jpg","text":"TemporaryFile(/tmp/multipartBody5167957292986801388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792022781,"filename":"image_22112025_07_11_47_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678572","file1":"1395678571","file0":"1395678570","file4":"1395678574","file5":"1395678575","file3":"1395678573"},"map_files_photo_id_array":[{"photo_id":"1395678575","filename":"file5"},{"photo_id":"1395678572","filename":"file2"},{"photo_id":"1395678574","filename":"file4"},{"photo_id":"1395678571","filename":"file1"},{"photo_id":"1395678570","filename":"file0"},{"photo_id":"1395678573","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678571":["hashtag1","hashtag2"]},{"1395678574":["hashtag1","hashtag2"]},{"1395678570":["hashtag1","hashtag2"]},{"1395678573":["hashtag1","hashtag2"]},{"1395678572":["hashtag1","hashtag2"]},{"1395678575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678571, 1395678574, 1395678570, 1395678573, 1395678572, 1395678575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74769425392151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:13:22.339695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_49_2546.jpg', '/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_52_2651.jpg', '/home/pi/Desktop/images/22112025/07/12/image_22112025_07_12_02_3583.jpg', '/home/pi/Desktop/images/22112025/07/12/image_22112025_07_12_04_2743.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_10_3705.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_13_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_49_2546.jpg
/home/pi/Desktop/images/22112025/07/11/image_22112025_07_11_52_2651.jpg
/home/pi/Desktop/images/22112025/07/12/image_22112025_07_12_02_3583.jpg
/home/pi/Desktop/images/22112025/07/12/image_22112025_07_12_04_2743.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_10_3705.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_13_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678583","1395678586","1395678589","1395678579","1395678581","1395678584"],"photo_ids_order":["1395678579","1395678581","1395678583","1395678584","1395678586","1395678589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/177ec3cbfa3276e8377f6b6f298052c4.jpg","text":"TemporaryFile(/tmp/multipartBody1748189654745675376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792063127,"filename":"image_22112025_07_12_02_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d576864c512999441afa1bcd4a74d7b.jpg","text":"TemporaryFile(/tmp/multipartBody7640635024170816387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792063127,"filename":"image_22112025_07_13_10_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4171c14fbcb6fd2ce6eb25a9720c0fa9.jpg","text":"TemporaryFile(/tmp/multipartBody84356164197992636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792063127,"filename":"image_22112025_07_13_13_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43c6781d814652b5d48fdad2cafa5981.jpg","text":"TemporaryFile(/tmp/multipartBody1213819800730921099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792063127,"filename":"image_22112025_07_11_49_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d400cd645a18d1f66836138279d71e6.jpg","text":"TemporaryFile(/tmp/multipartBody4510109795447841691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792063127,"filename":"image_22112025_07_11_52_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a748712ee0559343a5df8b9e5b78164.jpg","text":"TemporaryFile(/tmp/multipartBody3648304531000070894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792063127,"filename":"image_22112025_07_12_04_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678583","file1":"1395678581","file0":"1395678579","file4":"1395678586","file5":"1395678589","file3":"1395678584"},"map_files_photo_id_array":[{"photo_id":"1395678589","filename":"file5"},{"photo_id":"1395678583","filename":"file2"},{"photo_id":"1395678586","filename":"file4"},{"photo_id":"1395678581","filename":"file1"},{"photo_id":"1395678579","filename":"file0"},{"photo_id":"1395678584","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678583":["hashtag1","hashtag2"]},{"1395678586":["hashtag1","hashtag2"]},{"1395678589":["hashtag1","hashtag2"]},{"1395678579":["hashtag1","hashtag2"]},{"1395678581":["hashtag1","hashtag2"]},{"1395678584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678583, 1395678586, 1395678589, 1395678579, 1395678581, 1395678584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10817575454712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:14:03.188335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_17_3582.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_25_3634.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_28_2651.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_31_2641.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_34_3818.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_37_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_17_3582.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_25_3634.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_28_2651.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_31_2641.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_34_3818.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_37_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678598","1395678592","1395678595","1395678591","1395678600","1395678593"],"photo_ids_order":["1395678591","1395678592","1395678593","1395678595","1395678598","1395678600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d053f9d572962b49626de4a8f59beacd.jpg","text":"TemporaryFile(/tmp/multipartBody7900267760138565380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792103975,"filename":"image_22112025_07_13_34_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2fd0c5171aeed0f7bbfd1f3cbe517f0.jpg","text":"TemporaryFile(/tmp/multipartBody6441351482877588122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792103975,"filename":"image_22112025_07_13_25_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/830c8d776942011fd9e212408562e563.jpg","text":"TemporaryFile(/tmp/multipartBody1393511479940021839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792103975,"filename":"image_22112025_07_13_31_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62e49f0b849036444cf86756ff6568cf.jpg","text":"TemporaryFile(/tmp/multipartBody2850130912296309879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792103975,"filename":"image_22112025_07_13_17_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4377ef0b25bf17eab34314a9366e3da6.jpg","text":"TemporaryFile(/tmp/multipartBody1849127621171874090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792103975,"filename":"image_22112025_07_13_37_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/006a98065710c2bd1c4ef13b5ff59459.jpg","text":"TemporaryFile(/tmp/multipartBody6393943919188885826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792103975,"filename":"image_22112025_07_13_28_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678593","file1":"1395678592","file0":"1395678591","file4":"1395678598","file5":"1395678600","file3":"1395678595"},"map_files_photo_id_array":[{"photo_id":"1395678600","filename":"file5"},{"photo_id":"1395678593","filename":"file2"},{"photo_id":"1395678598","filename":"file4"},{"photo_id":"1395678592","filename":"file1"},{"photo_id":"1395678591","filename":"file0"},{"photo_id":"1395678595","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678598":["hashtag1","hashtag2"]},{"1395678592":["hashtag1","hashtag2"]},{"1395678595":["hashtag1","hashtag2"]},{"1395678591":["hashtag1","hashtag2"]},{"1395678600":["hashtag1","hashtag2"]},{"1395678593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678598, 1395678592, 1395678595, 1395678591, 1395678600, 1395678593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41917061805725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:14:42.468518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_40_2680.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_43_3659.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_49_2673.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_52_2909.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_55_3798.jpg', '/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_58_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_40_2680.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_43_3659.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_49_2673.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_52_2909.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_55_3798.jpg
/home/pi/Desktop/images/22112025/07/13/image_22112025_07_13_58_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678614","1395678610","1395678613","1395678607","1395678612","1395678611"],"photo_ids_order":["1395678607","1395678610","1395678611","1395678612","1395678613","1395678614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be118eaa3a61e9b5aecb73a106b8ac91.jpg","text":"TemporaryFile(/tmp/multipartBody7217905625197462915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792143145,"filename":"image_22112025_07_13_58_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4db7d7796ab8ac9a16e8f5c951a5b3c8.jpg","text":"TemporaryFile(/tmp/multipartBody6084727549049295112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792143145,"filename":"image_22112025_07_13_43_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aef23f9ab1dfafbd29594d44b1ce07f0.jpg","text":"TemporaryFile(/tmp/multipartBody8092658130520186369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792143145,"filename":"image_22112025_07_13_55_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/669c0bc625d0bf2ddb456d5fc30c2e62.jpg","text":"TemporaryFile(/tmp/multipartBody3386670562501427963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792143145,"filename":"image_22112025_07_13_40_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/459500532e330642e807cd993e552d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7873209494153828822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792143145,"filename":"image_22112025_07_13_52_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bc0519d854d35da16a2cc78f7f720de.jpg","text":"TemporaryFile(/tmp/multipartBody6113590265586626369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792143145,"filename":"image_22112025_07_13_49_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678611","file1":"1395678610","file0":"1395678607","file4":"1395678613","file5":"1395678614","file3":"1395678612"},"map_files_photo_id_array":[{"photo_id":"1395678614","filename":"file5"},{"photo_id":"1395678611","filename":"file2"},{"photo_id":"1395678613","filename":"file4"},{"photo_id":"1395678610","filename":"file1"},{"photo_id":"1395678607","filename":"file0"},{"photo_id":"1395678612","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678614":["hashtag1","hashtag2"]},{"1395678610":["hashtag1","hashtag2"]},{"1395678613":["hashtag1","hashtag2"]},{"1395678607":["hashtag1","hashtag2"]},{"1395678612":["hashtag1","hashtag2"]},{"1395678611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678614, 1395678610, 1395678613, 1395678607, 1395678612, 1395678611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54364728927612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:15:22.754079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_01_2636.jpg', '/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_04_3582.jpg', '/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_07_2609.jpg', '/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_10_2745.jpg', '/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_16_2684.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_01_2636.jpg
/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_04_3582.jpg
/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_07_2609.jpg
/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_10_2745.jpg
/home/pi/Desktop/images/22112025/07/14/image_22112025_07_14_16_2684.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_07_3019.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678628","1395678631","1395678625","1395678621","1395678618","1395678623"],"photo_ids_order":["1395678618","1395678621","1395678623","1395678625","1395678628","1395678631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2cf650f4598e5344789e8f9f2ebe912.jpg","text":"TemporaryFile(/tmp/multipartBody1751032093655627349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792183470,"filename":"image_22112025_07_14_16_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cb3a7cf83192927d799dc8e444ce519.jpg","text":"TemporaryFile(/tmp/multipartBody4161383179889093078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792183470,"filename":"image_22112025_07_15_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/969fb84cf573b9e26a551b17bb3e5f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7056090603912127316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792183470,"filename":"image_22112025_07_14_10_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bddbfc664197729a28ad31958f87a60e.jpg","text":"TemporaryFile(/tmp/multipartBody4524350354927677573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792183470,"filename":"image_22112025_07_14_04_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce628f312cc947ace725f46d10728949.jpg","text":"TemporaryFile(/tmp/multipartBody8190778944267637764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792183470,"filename":"image_22112025_07_14_01_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34fd04a8a1c045ff0a00bf33e4a542cc.jpg","text":"TemporaryFile(/tmp/multipartBody5023500885392718353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792183470,"filename":"image_22112025_07_14_07_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678623","file1":"1395678621","file0":"1395678618","file4":"1395678628","file5":"1395678631","file3":"1395678625"},"map_files_photo_id_array":[{"photo_id":"1395678631","filename":"file5"},{"photo_id":"1395678623","filename":"file2"},{"photo_id":"1395678628","filename":"file4"},{"photo_id":"1395678621","filename":"file1"},{"photo_id":"1395678618","filename":"file0"},{"photo_id":"1395678625","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678628":["hashtag1","hashtag2"]},{"1395678631":["hashtag1","hashtag2"]},{"1395678625":["hashtag1","hashtag2"]},{"1395678621":["hashtag1","hashtag2"]},{"1395678618":["hashtag1","hashtag2"]},{"1395678623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678628, 1395678631, 1395678625, 1395678621, 1395678618, 1395678623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.253419160842896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:16:22.003597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_11_3852.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_14_2738.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_16_2568.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_23_3716.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_32_3587.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_35_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_11_3852.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_14_2738.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_16_2568.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_23_3716.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_32_3587.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_35_2820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678643","1395678639","1395678648","1395678633","1395678636","1395678653"],"photo_ids_order":["1395678633","1395678636","1395678639","1395678643","1395678648","1395678653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a230af151c23527474fdbb2bb2fb5f0.jpg","text":"TemporaryFile(/tmp/multipartBody4503378406964760958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792242763,"filename":"image_22112025_07_15_23_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8259d4ef0f33cef3b6c0e77b63259a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5808931045039746473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792242763,"filename":"image_22112025_07_15_16_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6174fbaaa10185401c490e9f6c2e3c31.jpg","text":"TemporaryFile(/tmp/multipartBody7557414045564293307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792242763,"filename":"image_22112025_07_15_32_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1f5bfd58eb6bf041f10b6bcc3e3cc99.jpg","text":"TemporaryFile(/tmp/multipartBody19849849562826158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792242763,"filename":"image_22112025_07_15_11_3852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b5b001da1216197217acd7d803daf06.jpg","text":"TemporaryFile(/tmp/multipartBody1738632018509716714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792242763,"filename":"image_22112025_07_15_14_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26f0d21ddfc40b54243d2da12cd5ede1.jpg","text":"TemporaryFile(/tmp/multipartBody9070998899464359317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792242763,"filename":"image_22112025_07_15_35_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678639","file1":"1395678636","file0":"1395678633","file4":"1395678648","file5":"1395678653","file3":"1395678643"},"map_files_photo_id_array":[{"photo_id":"1395678653","filename":"file5"},{"photo_id":"1395678639","filename":"file2"},{"photo_id":"1395678648","filename":"file4"},{"photo_id":"1395678636","filename":"file1"},{"photo_id":"1395678633","filename":"file0"},{"photo_id":"1395678643","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678643":["hashtag1","hashtag2"]},{"1395678639":["hashtag1","hashtag2"]},{"1395678648":["hashtag1","hashtag2"]},{"1395678633":["hashtag1","hashtag2"]},{"1395678636":["hashtag1","hashtag2"]},{"1395678653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678643, 1395678639, 1395678648, 1395678633, 1395678636, 1395678653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95171880722046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:17:02.794841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_37_2630.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_41_3632.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_44_2593.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_50_3718.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_53_2686.jpg', '/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_58_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_37_2630.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_41_3632.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_44_2593.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_50_3718.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_53_2686.jpg
/home/pi/Desktop/images/22112025/07/15/image_22112025_07_15_58_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395678997","1395678955","1395678877","1395678787","1395678835","1395678918"],"photo_ids_order":["1395678787","1395678835","1395678877","1395678918","1395678955","1395678997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0318f919507248cc152026872775508b.jpg","text":"TemporaryFile(/tmp/multipartBody1669820930968221206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792286328,"filename":"image_22112025_07_15_58_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0589ce636472ed5782f0789390e0068.jpg","text":"TemporaryFile(/tmp/multipartBody4943951878942379207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792286328,"filename":"image_22112025_07_15_53_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2cefdb7745d1a8647da909bbfeee6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6111862770668127453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792286328,"filename":"image_22112025_07_15_44_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0b5bcc16b5d696bd9bae6111c847ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8945414131735912105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792286328,"filename":"image_22112025_07_15_37_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9982dfcc593fe37b46745dd098d5fab.jpg","text":"TemporaryFile(/tmp/multipartBody6476091005742004551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792286328,"filename":"image_22112025_07_15_41_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8afb2bd2c744e953655df6a4361da165.jpg","text":"TemporaryFile(/tmp/multipartBody7850013034334829537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792286328,"filename":"image_22112025_07_15_50_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395678877","file1":"1395678835","file0":"1395678787","file4":"1395678955","file5":"1395678997","file3":"1395678918"},"map_files_photo_id_array":[{"photo_id":"1395678997","filename":"file5"},{"photo_id":"1395678877","filename":"file2"},{"photo_id":"1395678955","filename":"file4"},{"photo_id":"1395678835","filename":"file1"},{"photo_id":"1395678787","filename":"file0"},{"photo_id":"1395678918","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395678997":["hashtag1","hashtag2"]},{"1395678955":["hashtag1","hashtag2"]},{"1395678877":["hashtag1","hashtag2"]},{"1395678787":["hashtag1","hashtag2"]},{"1395678835":["hashtag1","hashtag2"]},{"1395678918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395678997, 1395678955, 1395678877, 1395678787, 1395678835, 1395678918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.315107583999634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:18:02.831894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/16/image_22112025_07_16_02_3495.jpg', '/home/pi/Desktop/images/22112025/07/16/image_22112025_07_16_04_2760.jpg', '/home/pi/Desktop/images/22112025/07/16/image_22112025_07_16_11_2819.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_06_3017.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_10_3593.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_16_3514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/16/image_22112025_07_16_02_3495.jpg
/home/pi/Desktop/images/22112025/07/16/image_22112025_07_16_04_2760.jpg
/home/pi/Desktop/images/22112025/07/16/image_22112025_07_16_11_2819.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_06_3017.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_10_3593.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_16_3514.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679165","1395679173","1395679116","1395679110","1395679145","1395679136"],"photo_ids_order":["1395679110","1395679116","1395679136","1395679145","1395679165","1395679173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f7ddf2888cdc611b4118ee19a3c03fb.jpg","text":"TemporaryFile(/tmp/multipartBody951338658954455357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792343572,"filename":"image_22112025_07_17_10_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/895dbf2e1399db72a23d4d20a6069b76.jpg","text":"TemporaryFile(/tmp/multipartBody2643441720797410753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792343572,"filename":"image_22112025_07_17_16_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/603221ad9bffb17e2b5a067ba2550d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6418254860942025683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792343572,"filename":"image_22112025_07_16_04_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e5cd4130a196e369abe65ca324dc1b0.jpg","text":"TemporaryFile(/tmp/multipartBody8547228897980195020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792343572,"filename":"image_22112025_07_16_02_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9e37950aee6b28ef6cef6bc0cff0220.jpg","text":"TemporaryFile(/tmp/multipartBody6681952242437235997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792343572,"filename":"image_22112025_07_17_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/028f7b4228a91d7399d2caee7a9400b5.jpg","text":"TemporaryFile(/tmp/multipartBody706192918228659616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792343572,"filename":"image_22112025_07_16_11_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679136","file1":"1395679116","file0":"1395679110","file4":"1395679165","file5":"1395679173","file3":"1395679145"},"map_files_photo_id_array":[{"photo_id":"1395679173","filename":"file5"},{"photo_id":"1395679136","filename":"file2"},{"photo_id":"1395679165","filename":"file4"},{"photo_id":"1395679116","filename":"file1"},{"photo_id":"1395679110","filename":"file0"},{"photo_id":"1395679145","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679165":["hashtag1","hashtag2"]},{"1395679173":["hashtag1","hashtag2"]},{"1395679116":["hashtag1","hashtag2"]},{"1395679110":["hashtag1","hashtag2"]},{"1395679145":["hashtag1","hashtag2"]},{"1395679136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679165, 1395679173, 1395679116, 1395679110, 1395679145, 1395679136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85634255409241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:18:42.327004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_19_2720.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_25_3746.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_28_2747.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_30_2679.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_36_2517.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_39_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_19_2720.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_25_3746.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_28_2747.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_30_2679.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_36_2517.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_39_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679183","1395679185","1395679181","1395679184","1395679208","1395679186"],"photo_ids_order":["1395679181","1395679183","1395679184","1395679185","1395679186","1395679208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cd27929cd4bbcd312dc0e9355142b4d.jpg","text":"TemporaryFile(/tmp/multipartBody2752984813250242905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792383002,"filename":"image_22112025_07_17_25_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c146fb68c9c2931fb27b5b746592149d.jpg","text":"TemporaryFile(/tmp/multipartBody3493264471765073335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792383002,"filename":"image_22112025_07_17_30_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68ef2b17aee3257688a77abdbcbe035d.jpg","text":"TemporaryFile(/tmp/multipartBody8205546674594894393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792383002,"filename":"image_22112025_07_17_19_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d51c695d627d86ae24625f2d8a9d3698.jpg","text":"TemporaryFile(/tmp/multipartBody8327512235419535729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792383002,"filename":"image_22112025_07_17_28_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/207d9bfd7653f8692eb61090b6aacb67.jpg","text":"TemporaryFile(/tmp/multipartBody3626679843669973538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792383002,"filename":"image_22112025_07_17_39_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e14db0c31b51272a00c815b2e8fae720.jpg","text":"TemporaryFile(/tmp/multipartBody1065804334575953766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792383002,"filename":"image_22112025_07_17_36_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679184","file1":"1395679183","file0":"1395679181","file4":"1395679186","file5":"1395679208","file3":"1395679185"},"map_files_photo_id_array":[{"photo_id":"1395679208","filename":"file5"},{"photo_id":"1395679184","filename":"file2"},{"photo_id":"1395679186","filename":"file4"},{"photo_id":"1395679183","filename":"file1"},{"photo_id":"1395679181","filename":"file0"},{"photo_id":"1395679185","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679183":["hashtag1","hashtag2"]},{"1395679185":["hashtag1","hashtag2"]},{"1395679181":["hashtag1","hashtag2"]},{"1395679184":["hashtag1","hashtag2"]},{"1395679208":["hashtag1","hashtag2"]},{"1395679186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679183, 1395679185, 1395679181, 1395679184, 1395679208, 1395679186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.266470432281494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:19:21.986731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_43_3694.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_45_2666.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_48_2653.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_52_3776.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_55_2691.jpg', '/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_57_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_43_3694.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_45_2666.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_48_2653.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_52_3776.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_55_2691.jpg
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_17_57_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679222","1395679224","1395679211","1395679220","1395679214","1395679217"],"photo_ids_order":["1395679211","1395679214","1395679217","1395679220","1395679222","1395679224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22ed8c73abaa260cadd650310723e05e.jpg","text":"TemporaryFile(/tmp/multipartBody1530389995988935131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792422699,"filename":"image_22112025_07_17_55_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2a2f7fd3fcac74f65e2963172f9c9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8590657353545731607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792422699,"filename":"image_22112025_07_17_57_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5dda6ab62a5eb0fff472b17585419f5.jpg","text":"TemporaryFile(/tmp/multipartBody470195994889547358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792422699,"filename":"image_22112025_07_17_43_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ea97b295f6625c35066f12eb48da515.jpg","text":"TemporaryFile(/tmp/multipartBody4251634563493193854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792422699,"filename":"image_22112025_07_17_52_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6cb0b618f28b6596eeb1a47ac811e502.jpg","text":"TemporaryFile(/tmp/multipartBody2205176108201274113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792422699,"filename":"image_22112025_07_17_45_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0de6f68fd9e0f35df4409df1d011a603.jpg","text":"TemporaryFile(/tmp/multipartBody3117073851851791080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792422699,"filename":"image_22112025_07_17_48_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679217","file1":"1395679214","file0":"1395679211","file4":"1395679222","file5":"1395679224","file3":"1395679220"},"map_files_photo_id_array":[{"photo_id":"1395679224","filename":"file5"},{"photo_id":"1395679217","filename":"file2"},{"photo_id":"1395679222","filename":"file4"},{"photo_id":"1395679214","filename":"file1"},{"photo_id":"1395679211","filename":"file0"},{"photo_id":"1395679220","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679222":["hashtag1","hashtag2"]},{"1395679224":["hashtag1","hashtag2"]},{"1395679211":["hashtag1","hashtag2"]},{"1395679220":["hashtag1","hashtag2"]},{"1395679214":["hashtag1","hashtag2"]},{"1395679217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679222, 1395679224, 1395679211, 1395679220, 1395679214, 1395679217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.787052392959595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:20:02.510768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/17/image_22112025_07_18_01_3596.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_04_2668.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_06_2425.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_10_3598.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_12_2835.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_15_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_18_01_3596.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_04_2668.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_06_2425.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_10_3598.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_12_2835.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_15_2580.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6603720188140869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:20:22.157465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/17/image_22112025_07_18_01_3596.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_04_2668.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_06_2425.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_10_3598.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_12_2835.jpg', '/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_15_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/17/image_22112025_07_18_01_3596.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_04_2668.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_06_2425.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_10_3598.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_12_2835.jpg
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_15_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679258","1395679239","1395679241","1395679253","1395679232","1395679235"],"photo_ids_order":["1395679232","1395679235","1395679239","1395679241","1395679253","1395679258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6897d219390755c8ba9f2d0eefa335df.jpg","text":"TemporaryFile(/tmp/multipartBody3179310414724206681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792482839,"filename":"image_22112025_07_18_15_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbc9e556b883d3b4e182f7ed1ae140fa.jpg","text":"TemporaryFile(/tmp/multipartBody6448413393327480308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792482839,"filename":"image_22112025_07_18_06_2425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b6daa73c22dcf07ed08c28d08e97fa8.jpg","text":"TemporaryFile(/tmp/multipartBody916233135737692048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792482839,"filename":"image_22112025_07_18_10_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46a8c8e69c385c499bbe7971accb5d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8252074459179723853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792482839,"filename":"image_22112025_07_18_12_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97245da5887d0c76180270a03ee7614c.jpg","text":"TemporaryFile(/tmp/multipartBody844873610365183657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792482839,"filename":"image_22112025_07_18_01_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/425baf1d4dd6603ff6cb2385a0e87a45.jpg","text":"TemporaryFile(/tmp/multipartBody7933233490221339102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792482839,"filename":"image_22112025_07_18_04_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679239","file1":"1395679235","file0":"1395679232","file4":"1395679253","file5":"1395679258","file3":"1395679241"},"map_files_photo_id_array":[{"photo_id":"1395679258","filename":"file5"},{"photo_id":"1395679239","filename":"file2"},{"photo_id":"1395679253","filename":"file4"},{"photo_id":"1395679235","filename":"file1"},{"photo_id":"1395679232","filename":"file0"},{"photo_id":"1395679241","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679258":["hashtag1","hashtag2"]},{"1395679239":["hashtag1","hashtag2"]},{"1395679241":["hashtag1","hashtag2"]},{"1395679253":["hashtag1","hashtag2"]},{"1395679232":["hashtag1","hashtag2"]},{"1395679235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679258, 1395679239, 1395679241, 1395679253, 1395679232, 1395679235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95913815498352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:21:03.045507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_19_3840.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_07_3016.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_13_2618.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_16_3565.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_22_2802.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_25_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/18/image_22112025_07_18_19_3840.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_07_3016.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_13_2618.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_16_3565.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_22_2802.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_25_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679264","1395679263","1395679266","1395679269","1395679260","1395679262"],"photo_ids_order":["1395679260","1395679262","1395679263","1395679264","1395679266","1395679269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82d2d4b0e0908692dd17d32e35011f67.jpg","text":"TemporaryFile(/tmp/multipartBody1544690614458670137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792523874,"filename":"image_22112025_07_19_16_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/781438e055c1e9052d1c5dc71761bef6.jpg","text":"TemporaryFile(/tmp/multipartBody8570636542905097985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792523874,"filename":"image_22112025_07_19_13_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60b864f332415cca6475da5b3ba427dd.jpg","text":"TemporaryFile(/tmp/multipartBody5254572423748652661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792523874,"filename":"image_22112025_07_19_22_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae80af4e26affc59651edc108271add1.jpg","text":"TemporaryFile(/tmp/multipartBody4125304617637570938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792523874,"filename":"image_22112025_07_19_25_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19d6d3fad50bad459e4f67d259215467.jpg","text":"TemporaryFile(/tmp/multipartBody467629432125676672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792523874,"filename":"image_22112025_07_18_19_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ac2cb4e1e9533bc75dd65d435c63165.jpg","text":"TemporaryFile(/tmp/multipartBody6466861011052491166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792523874,"filename":"image_22112025_07_19_07_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679263","file1":"1395679262","file0":"1395679260","file4":"1395679266","file5":"1395679269","file3":"1395679264"},"map_files_photo_id_array":[{"photo_id":"1395679269","filename":"file5"},{"photo_id":"1395679263","filename":"file2"},{"photo_id":"1395679266","filename":"file4"},{"photo_id":"1395679262","filename":"file1"},{"photo_id":"1395679260","filename":"file0"},{"photo_id":"1395679264","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679264":["hashtag1","hashtag2"]},{"1395679263":["hashtag1","hashtag2"]},{"1395679266":["hashtag1","hashtag2"]},{"1395679269":["hashtag1","hashtag2"]},{"1395679260":["hashtag1","hashtag2"]},{"1395679262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679264, 1395679263, 1395679266, 1395679269, 1395679260, 1395679262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6602303981781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:21:42.418960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_31_2796.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_35_3657.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_37_2665.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_40_2561.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_44_3810.jpg', '/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_46_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_31_2796.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_35_3657.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_37_2665.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_40_2561.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_44_3810.jpg
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_46_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679282","1395679276","1395679281","1395679284","1395679280","1395679283"],"photo_ids_order":["1395679276","1395679280","1395679281","1395679282","1395679283","1395679284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03a25f959bc1501c1b639e8673cbfdb8.jpg","text":"TemporaryFile(/tmp/multipartBody4293524974644754023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792563100,"filename":"image_22112025_07_19_40_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b170f1c75fcc74a8eb72d1f307bcfd8b.jpg","text":"TemporaryFile(/tmp/multipartBody182450117616604180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792563100,"filename":"image_22112025_07_19_31_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11f59c1219a821cdc4ed9cc701047fb7.jpg","text":"TemporaryFile(/tmp/multipartBody8480698876174521593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792563100,"filename":"image_22112025_07_19_37_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c7454e027edc401d9d812d81a10638f.jpg","text":"TemporaryFile(/tmp/multipartBody2143658663098448549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792563100,"filename":"image_22112025_07_19_46_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a854e43d1905edf6f5740069512c8872.jpg","text":"TemporaryFile(/tmp/multipartBody2765441480963118088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792563100,"filename":"image_22112025_07_19_35_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1da76ce92c15dda06a43e385631c729d.jpg","text":"TemporaryFile(/tmp/multipartBody4168244321686233900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792563100,"filename":"image_22112025_07_19_44_3810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679281","file1":"1395679280","file0":"1395679276","file4":"1395679283","file5":"1395679284","file3":"1395679282"},"map_files_photo_id_array":[{"photo_id":"1395679284","filename":"file5"},{"photo_id":"1395679281","filename":"file2"},{"photo_id":"1395679283","filename":"file4"},{"photo_id":"1395679280","filename":"file1"},{"photo_id":"1395679276","filename":"file0"},{"photo_id":"1395679282","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679282":["hashtag1","hashtag2"]},{"1395679276":["hashtag1","hashtag2"]},{"1395679281":["hashtag1","hashtag2"]},{"1395679284":["hashtag1","hashtag2"]},{"1395679280":["hashtag1","hashtag2"]},{"1395679283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679282, 1395679276, 1395679281, 1395679284, 1395679280, 1395679283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.977622985839844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:22:22.741456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_49_2596.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_07_3011.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_10_3579.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_13_2642.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_16_3571.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_19_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/19/image_22112025_07_19_49_2596.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_07_3011.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_10_3579.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_13_2642.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_16_3571.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_19_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679300","1395679287","1395679292","1395679305","1395679289","1395679297"],"photo_ids_order":["1395679287","1395679289","1395679292","1395679297","1395679300","1395679305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f77795eac53152317f97198d5f2518db.jpg","text":"TemporaryFile(/tmp/multipartBody3772290164810389866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792603475,"filename":"image_22112025_07_21_16_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c0e28a1adabc5077af13b4b8bae7290.jpg","text":"TemporaryFile(/tmp/multipartBody620851507201643137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792603475,"filename":"image_22112025_07_19_49_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c19d1988951ca818276b5eee6e8e94d4.jpg","text":"TemporaryFile(/tmp/multipartBody7685997501796493613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792603475,"filename":"image_22112025_07_21_10_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb1dbaea0c3b2c08a5fbe1ddf14ccc2e.jpg","text":"TemporaryFile(/tmp/multipartBody7275660031022396519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792603475,"filename":"image_22112025_07_21_19_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95f3e4340b33a7a55d9bb1e7a56a3769.jpg","text":"TemporaryFile(/tmp/multipartBody3799514951878706098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792603475,"filename":"image_22112025_07_21_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86dff4b7f7483ab56ce2de29b233e20e.jpg","text":"TemporaryFile(/tmp/multipartBody4892173004507038695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792603475,"filename":"image_22112025_07_21_13_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679292","file1":"1395679289","file0":"1395679287","file4":"1395679300","file5":"1395679305","file3":"1395679297"},"map_files_photo_id_array":[{"photo_id":"1395679305","filename":"file5"},{"photo_id":"1395679292","filename":"file2"},{"photo_id":"1395679300","filename":"file4"},{"photo_id":"1395679289","filename":"file1"},{"photo_id":"1395679287","filename":"file0"},{"photo_id":"1395679297","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679300":["hashtag1","hashtag2"]},{"1395679287":["hashtag1","hashtag2"]},{"1395679292":["hashtag1","hashtag2"]},{"1395679305":["hashtag1","hashtag2"]},{"1395679289":["hashtag1","hashtag2"]},{"1395679297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679300, 1395679287, 1395679292, 1395679305, 1395679289, 1395679297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94832468032837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:23:02.444485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_22_2669.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_26_3782.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_28_2669.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_31_2629.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_34_3629.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_37_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_22_2669.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_26_3782.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_28_2669.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_31_2629.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_34_3629.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_37_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679330","1395679327","1395679332","1395679326","1395679325","1395679328"],"photo_ids_order":["1395679325","1395679326","1395679327","1395679328","1395679330","1395679332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72ccb8751510044d24d23ecd4ca71910.jpg","text":"TemporaryFile(/tmp/multipartBody2452051842217573590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792643230,"filename":"image_22112025_07_21_34_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2936f9c6b3cfaff5ec2e8253959f4a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3148430136920655685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792643230,"filename":"image_22112025_07_21_28_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6241e5d924d6783777936920e927e810.jpg","text":"TemporaryFile(/tmp/multipartBody4974663975283384775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792643230,"filename":"image_22112025_07_21_37_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3743e3fcb9ea8d11a7ec04803656915e.jpg","text":"TemporaryFile(/tmp/multipartBody4954070780139688828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792643230,"filename":"image_22112025_07_21_26_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/242c1ec11dd5e78d336c5a912e047aa3.jpg","text":"TemporaryFile(/tmp/multipartBody7839126639798935940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792643230,"filename":"image_22112025_07_21_22_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce3aa4203095c0f82a1b6814f6ddbab5.jpg","text":"TemporaryFile(/tmp/multipartBody2320834844620833143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792643230,"filename":"image_22112025_07_21_31_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679327","file1":"1395679326","file0":"1395679325","file4":"1395679330","file5":"1395679332","file3":"1395679328"},"map_files_photo_id_array":[{"photo_id":"1395679332","filename":"file5"},{"photo_id":"1395679327","filename":"file2"},{"photo_id":"1395679330","filename":"file4"},{"photo_id":"1395679326","filename":"file1"},{"photo_id":"1395679325","filename":"file0"},{"photo_id":"1395679328","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679330":["hashtag1","hashtag2"]},{"1395679327":["hashtag1","hashtag2"]},{"1395679332":["hashtag1","hashtag2"]},{"1395679326":["hashtag1","hashtag2"]},{"1395679325":["hashtag1","hashtag2"]},{"1395679328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679330, 1395679327, 1395679332, 1395679326, 1395679325, 1395679328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.800538301467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:23:41.869527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_40_2724.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_43_3515.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_46_2679.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_52_2835.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_55_3764.jpg', '/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_58_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_40_2724.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_43_3515.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_46_2679.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_52_2835.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_55_3764.jpg
/home/pi/Desktop/images/22112025/07/21/image_22112025_07_21_58_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679354","1395679348","1395679357","1395679350","1395679341","1395679346"],"photo_ids_order":["1395679341","1395679346","1395679348","1395679350","1395679354","1395679357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bf03cce876cd81fe1dd713fabe4d142.jpg","text":"TemporaryFile(/tmp/multipartBody561161877163133965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792682553,"filename":"image_22112025_07_21_55_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a368c4d840551e9049bc450854b9b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1427968799360289615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792682553,"filename":"image_22112025_07_21_46_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/630724439bc278a0efe0a3323d7dfb29.jpg","text":"TemporaryFile(/tmp/multipartBody4001426051414174854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792682553,"filename":"image_22112025_07_21_58_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f3bb684f9985e9a4429a650ffd4cca7.jpg","text":"TemporaryFile(/tmp/multipartBody4489977598928410860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792682553,"filename":"image_22112025_07_21_52_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e97e782a39b56373267c4a194a8c807.jpg","text":"TemporaryFile(/tmp/multipartBody9089112093666052042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792682553,"filename":"image_22112025_07_21_40_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c536a9441ab6a80ab9b07f72bf8840c.jpg","text":"TemporaryFile(/tmp/multipartBody78011055612350646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792682553,"filename":"image_22112025_07_21_43_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679348","file1":"1395679346","file0":"1395679341","file4":"1395679354","file5":"1395679357","file3":"1395679350"},"map_files_photo_id_array":[{"photo_id":"1395679357","filename":"file5"},{"photo_id":"1395679348","filename":"file2"},{"photo_id":"1395679354","filename":"file4"},{"photo_id":"1395679346","filename":"file1"},{"photo_id":"1395679341","filename":"file0"},{"photo_id":"1395679350","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679354":["hashtag1","hashtag2"]},{"1395679348":["hashtag1","hashtag2"]},{"1395679357":["hashtag1","hashtag2"]},{"1395679350":["hashtag1","hashtag2"]},{"1395679341":["hashtag1","hashtag2"]},{"1395679346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679354, 1395679348, 1395679357, 1395679350, 1395679341, 1395679346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37684679031372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:24:22.172811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/22/image_22112025_07_22_01_2594.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_07_3018.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_13_2716.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_20_3548.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_22_2729.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_25_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/22/image_22112025_07_22_01_2594.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_07_3018.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_13_2716.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_20_3548.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_22_2729.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_25_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679373","1395679382","1395679376","1395679379","1395679370","1395679384"],"photo_ids_order":["1395679370","1395679373","1395679376","1395679379","1395679382","1395679384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d447814177590c6ac05f0372b723457a.jpg","text":"TemporaryFile(/tmp/multipartBody9528270424455751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792722921,"filename":"image_22112025_07_23_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc329808815e3128cb6948dea467b72d.jpg","text":"TemporaryFile(/tmp/multipartBody6249678699113520446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792722921,"filename":"image_22112025_07_23_22_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ba97d30c48105bd77d8c0a02097d6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6017543325767997505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792722921,"filename":"image_22112025_07_23_13_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a7ee532a9b4c0d82a0290ac800f812a.jpg","text":"TemporaryFile(/tmp/multipartBody3207339696578937131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792722921,"filename":"image_22112025_07_23_20_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75cfe2888a688cc107aca9feceac5a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2093803664358806748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792722921,"filename":"image_22112025_07_22_01_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5200edb6de5c7b5e1233cf7d0a8031d9.jpg","text":"TemporaryFile(/tmp/multipartBody4815821015692150365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792722921,"filename":"image_22112025_07_23_25_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679376","file1":"1395679373","file0":"1395679370","file4":"1395679382","file5":"1395679384","file3":"1395679379"},"map_files_photo_id_array":[{"photo_id":"1395679384","filename":"file5"},{"photo_id":"1395679376","filename":"file2"},{"photo_id":"1395679382","filename":"file4"},{"photo_id":"1395679373","filename":"file1"},{"photo_id":"1395679370","filename":"file0"},{"photo_id":"1395679379","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679373":["hashtag1","hashtag2"]},{"1395679382":["hashtag1","hashtag2"]},{"1395679376":["hashtag1","hashtag2"]},{"1395679379":["hashtag1","hashtag2"]},{"1395679370":["hashtag1","hashtag2"]},{"1395679384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679373, 1395679382, 1395679376, 1395679379, 1395679370, 1395679384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68343758583069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:25:03.100419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_29_3747.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_32_2928.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_34_2530.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_38_3573.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_40_2565.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_44_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_29_3747.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_32_2928.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_34_2530.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_38_3573.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_40_2565.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_44_3515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679392","1395679395","1395679389","1395679386","1395679388","1395679390"],"photo_ids_order":["1395679386","1395679388","1395679389","1395679390","1395679392","1395679395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f70296b5befe5fe3056ef8b246c378a.jpg","text":"TemporaryFile(/tmp/multipartBody544012898211108782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792763898,"filename":"image_22112025_07_23_40_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d01d38f7c07f73d06b74660214771131.jpg","text":"TemporaryFile(/tmp/multipartBody5465572068467651448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792763898,"filename":"image_22112025_07_23_44_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af3083d2a93e0f4c83db36e44a106b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7843253160918117077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792763898,"filename":"image_22112025_07_23_34_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6909557bc2f5ca299f9571249cb35a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8963352552719950460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792763898,"filename":"image_22112025_07_23_29_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcd5b47c75dd180ce8832b5852e08168.jpg","text":"TemporaryFile(/tmp/multipartBody644309060294614886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792763898,"filename":"image_22112025_07_23_32_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cfdfbcc8e43e924642aac0ede88f292.jpg","text":"TemporaryFile(/tmp/multipartBody3724502264107679001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792763898,"filename":"image_22112025_07_23_38_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679389","file1":"1395679388","file0":"1395679386","file4":"1395679392","file5":"1395679395","file3":"1395679390"},"map_files_photo_id_array":[{"photo_id":"1395679395","filename":"file5"},{"photo_id":"1395679389","filename":"file2"},{"photo_id":"1395679392","filename":"file4"},{"photo_id":"1395679388","filename":"file1"},{"photo_id":"1395679386","filename":"file0"},{"photo_id":"1395679390","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679392":["hashtag1","hashtag2"]},{"1395679395":["hashtag1","hashtag2"]},{"1395679389":["hashtag1","hashtag2"]},{"1395679386":["hashtag1","hashtag2"]},{"1395679388":["hashtag1","hashtag2"]},{"1395679390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679392, 1395679395, 1395679389, 1395679386, 1395679388, 1395679390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18067169189453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:25:42.338965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_46_2616.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_49_2602.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_53_3737.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_56_2859.jpg', '/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_58_2628.jpg', '/home/pi/Desktop/images/22112025/07/24/image_22112025_07_24_01_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_46_2616.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_49_2602.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_53_3737.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_56_2859.jpg
/home/pi/Desktop/images/22112025/07/23/image_22112025_07_23_58_2628.jpg
/home/pi/Desktop/images/22112025/07/24/image_22112025_07_24_01_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679411","1395679408","1395679410","1395679404","1395679412","1395679409"],"photo_ids_order":["1395679404","1395679408","1395679409","1395679410","1395679411","1395679412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/937f9bcbcac321e0e6834c31640812cd.jpg","text":"TemporaryFile(/tmp/multipartBody4367181261829586190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792803016,"filename":"image_22112025_07_23_58_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c14158a49b7455d6117520966b0d894.jpg","text":"TemporaryFile(/tmp/multipartBody8922416591538783307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792803016,"filename":"image_22112025_07_23_49_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/362f971fe90ac812180f5b5e8ec3b2a3.jpg","text":"TemporaryFile(/tmp/multipartBody3541555355292426435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792803016,"filename":"image_22112025_07_23_56_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/156f590d15781fb9fc3c0a3c15d1ec8d.jpg","text":"TemporaryFile(/tmp/multipartBody207308749204220435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792803016,"filename":"image_22112025_07_23_46_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89cfc0b0a44fa3c06f1b0be0e7fc1fb8.jpg","text":"TemporaryFile(/tmp/multipartBody7277838172506085019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792803016,"filename":"image_22112025_07_24_01_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/152bdf011b3c5691fdeec17def5672f2.jpg","text":"TemporaryFile(/tmp/multipartBody174872865279967526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792803016,"filename":"image_22112025_07_23_53_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679409","file1":"1395679408","file0":"1395679404","file4":"1395679411","file5":"1395679412","file3":"1395679410"},"map_files_photo_id_array":[{"photo_id":"1395679412","filename":"file5"},{"photo_id":"1395679409","filename":"file2"},{"photo_id":"1395679411","filename":"file4"},{"photo_id":"1395679408","filename":"file1"},{"photo_id":"1395679404","filename":"file0"},{"photo_id":"1395679410","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679411":["hashtag1","hashtag2"]},{"1395679408":["hashtag1","hashtag2"]},{"1395679410":["hashtag1","hashtag2"]},{"1395679404":["hashtag1","hashtag2"]},{"1395679412":["hashtag1","hashtag2"]},{"1395679409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679411, 1395679408, 1395679410, 1395679404, 1395679412, 1395679409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10061836242676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:26:22.582955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/24/image_22112025_07_24_05_3764.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_07_3014.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_10_3639.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_13_2742.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_16_2688.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_19_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/24/image_22112025_07_24_05_3764.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_07_3014.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_10_3639.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_13_2742.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_16_2688.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_19_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679425","1395679419","1395679422","1395679416","1395679430","1395679427"],"photo_ids_order":["1395679416","1395679419","1395679422","1395679425","1395679427","1395679430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c232407ce28e99b019058f737821ef78.jpg","text":"TemporaryFile(/tmp/multipartBody1423402887432542768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792843293,"filename":"image_22112025_07_25_13_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/942efe503afec91bcd7f8be542a9bb6c.jpg","text":"TemporaryFile(/tmp/multipartBody438577729374395237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792843293,"filename":"image_22112025_07_25_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6daa5b17e611b01163167466bbfb4b0c.jpg","text":"TemporaryFile(/tmp/multipartBody7495469504896822431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792843293,"filename":"image_22112025_07_25_10_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccb0edc0d24be28e4e37e1d13cf1de5f.jpg","text":"TemporaryFile(/tmp/multipartBody7051177397145577991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792843293,"filename":"image_22112025_07_24_05_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67e9a18039860ff852eb9484c96e8ec8.jpg","text":"TemporaryFile(/tmp/multipartBody6591956958206789277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792843293,"filename":"image_22112025_07_25_19_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84f4d66d9fb23f519244d463399c75a0.jpg","text":"TemporaryFile(/tmp/multipartBody1919449730554474177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792843293,"filename":"image_22112025_07_25_16_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679422","file1":"1395679419","file0":"1395679416","file4":"1395679427","file5":"1395679430","file3":"1395679425"},"map_files_photo_id_array":[{"photo_id":"1395679430","filename":"file5"},{"photo_id":"1395679422","filename":"file2"},{"photo_id":"1395679427","filename":"file4"},{"photo_id":"1395679419","filename":"file1"},{"photo_id":"1395679416","filename":"file0"},{"photo_id":"1395679425","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679425":["hashtag1","hashtag2"]},{"1395679419":["hashtag1","hashtag2"]},{"1395679422":["hashtag1","hashtag2"]},{"1395679416":["hashtag1","hashtag2"]},{"1395679430":["hashtag1","hashtag2"]},{"1395679427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679425, 1395679419, 1395679422, 1395679416, 1395679430, 1395679427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82930898666382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:27:02.588605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_22_2520.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_28_2780.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_40_2522.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_43_2614.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_46_3579.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_49_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_22_2520.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_28_2780.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_40_2522.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_43_2614.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_46_3579.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_49_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679432","1395679431","1395679440","1395679434","1395679436","1395679433"],"photo_ids_order":["1395679431","1395679432","1395679433","1395679434","1395679436","1395679440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ca3e7856499c44101193af61bb5de2e.jpg","text":"TemporaryFile(/tmp/multipartBody4422171172736793891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792883374,"filename":"image_22112025_07_25_28_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/490fbf8a3f0891d38e7c1f652c3b5057.jpg","text":"TemporaryFile(/tmp/multipartBody1425616693933838515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792883374,"filename":"image_22112025_07_25_22_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bce225351f67785a3465b62cab616c4.jpg","text":"TemporaryFile(/tmp/multipartBody5271664801581213320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792883374,"filename":"image_22112025_07_25_49_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a9a25c752bc02c8988bf863e2788221.jpg","text":"TemporaryFile(/tmp/multipartBody1949792000855488040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792883374,"filename":"image_22112025_07_25_43_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45e6a99b3c4af7a5c5dd4cb5d4f8e599.jpg","text":"TemporaryFile(/tmp/multipartBody2191538796474887240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792883374,"filename":"image_22112025_07_25_46_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56a5eac4d0dd7eece9a637d05ab988e0.jpg","text":"TemporaryFile(/tmp/multipartBody2537460271827066869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792883374,"filename":"image_22112025_07_25_40_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679433","file1":"1395679432","file0":"1395679431","file4":"1395679436","file5":"1395679440","file3":"1395679434"},"map_files_photo_id_array":[{"photo_id":"1395679440","filename":"file5"},{"photo_id":"1395679433","filename":"file2"},{"photo_id":"1395679436","filename":"file4"},{"photo_id":"1395679432","filename":"file1"},{"photo_id":"1395679431","filename":"file0"},{"photo_id":"1395679434","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679432":["hashtag1","hashtag2"]},{"1395679431":["hashtag1","hashtag2"]},{"1395679440":["hashtag1","hashtag2"]},{"1395679434":["hashtag1","hashtag2"]},{"1395679436":["hashtag1","hashtag2"]},{"1395679433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679432, 1395679431, 1395679440, 1395679434, 1395679436, 1395679433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.067402839660645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:27:41.959943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_52_3593.jpg', '/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_58_2666.jpg', '/home/pi/Desktop/images/22112025/07/26/image_22112025_07_26_01_2701.jpg', '/home/pi/Desktop/images/22112025/07/26/image_22112025_07_26_04_3749.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_07_3017.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_11_3803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_52_3593.jpg
/home/pi/Desktop/images/22112025/07/25/image_22112025_07_25_58_2666.jpg
/home/pi/Desktop/images/22112025/07/26/image_22112025_07_26_01_2701.jpg
/home/pi/Desktop/images/22112025/07/26/image_22112025_07_26_04_3749.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_07_3017.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_11_3803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679453","1395679456","1395679455","1395679452","1395679454","1395679448"],"photo_ids_order":["1395679448","1395679452","1395679453","1395679454","1395679455","1395679456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/637829c157fac8010117dd6bee4243fd.jpg","text":"TemporaryFile(/tmp/multipartBody6168383940761463525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792922666,"filename":"image_22112025_07_26_01_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a169554bd9ace8e51172c72a0057a949.jpg","text":"TemporaryFile(/tmp/multipartBody4452489815662977958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792922666,"filename":"image_22112025_07_27_11_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/242a3931de372fb6ccdcd8f18e4ab05b.jpg","text":"TemporaryFile(/tmp/multipartBody1128525599958272126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792922666,"filename":"image_22112025_07_27_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1b09b57fd778319d1c2fd62f6438465.jpg","text":"TemporaryFile(/tmp/multipartBody2468031307784455038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792922666,"filename":"image_22112025_07_25_58_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71f504cb04471014f20d3e59c7c3bc91.jpg","text":"TemporaryFile(/tmp/multipartBody3576205004672465587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792922666,"filename":"image_22112025_07_26_04_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/560bebe06ce251dc7653f5ef3c3a9551.jpg","text":"TemporaryFile(/tmp/multipartBody7770563102214552211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792922666,"filename":"image_22112025_07_25_52_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679453","file1":"1395679452","file0":"1395679448","file4":"1395679455","file5":"1395679456","file3":"1395679454"},"map_files_photo_id_array":[{"photo_id":"1395679456","filename":"file5"},{"photo_id":"1395679453","filename":"file2"},{"photo_id":"1395679455","filename":"file4"},{"photo_id":"1395679452","filename":"file1"},{"photo_id":"1395679448","filename":"file0"},{"photo_id":"1395679454","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679453":["hashtag1","hashtag2"]},{"1395679456":["hashtag1","hashtag2"]},{"1395679455":["hashtag1","hashtag2"]},{"1395679452":["hashtag1","hashtag2"]},{"1395679454":["hashtag1","hashtag2"]},{"1395679448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679453, 1395679456, 1395679455, 1395679452, 1395679454, 1395679448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49961996078491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:28:22.195633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_13_2624.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_16_2638.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_20_3817.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_22_2600.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_29_3792.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_31_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_13_2624.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_16_2638.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_20_3817.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_22_2600.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_29_3792.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_31_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679462","1395679473","1395679476","1395679470","1395679460","1395679465"],"photo_ids_order":["1395679460","1395679462","1395679465","1395679470","1395679473","1395679476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f4bcedb4a60e7fdc91dfd49dd01a891.jpg","text":"TemporaryFile(/tmp/multipartBody6565442303972341950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792962946,"filename":"image_22112025_07_27_16_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98952a701d200512ab5c2425f8a73cbd.jpg","text":"TemporaryFile(/tmp/multipartBody6556095352410834626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792962946,"filename":"image_22112025_07_27_29_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39517d8a97552f50cbcaf17d815c50c4.jpg","text":"TemporaryFile(/tmp/multipartBody2362527938382409111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792962946,"filename":"image_22112025_07_27_31_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/365574626867177a605964ec92aa3222.jpg","text":"TemporaryFile(/tmp/multipartBody8209712584475420954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792962946,"filename":"image_22112025_07_27_22_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89d8663fbc5c9490eae918ebc6d95cbf.jpg","text":"TemporaryFile(/tmp/multipartBody403885723000714537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792962946,"filename":"image_22112025_07_27_13_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62e4d640b959d2e3d9bebc85dbadbf87.jpg","text":"TemporaryFile(/tmp/multipartBody8076149849399185302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763792962946,"filename":"image_22112025_07_27_20_3817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679465","file1":"1395679462","file0":"1395679460","file4":"1395679473","file5":"1395679476","file3":"1395679470"},"map_files_photo_id_array":[{"photo_id":"1395679476","filename":"file5"},{"photo_id":"1395679465","filename":"file2"},{"photo_id":"1395679473","filename":"file4"},{"photo_id":"1395679462","filename":"file1"},{"photo_id":"1395679460","filename":"file0"},{"photo_id":"1395679470","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679462":["hashtag1","hashtag2"]},{"1395679473":["hashtag1","hashtag2"]},{"1395679476":["hashtag1","hashtag2"]},{"1395679470":["hashtag1","hashtag2"]},{"1395679460":["hashtag1","hashtag2"]},{"1395679465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679462, 1395679473, 1395679476, 1395679470, 1395679460, 1395679465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.577038288116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:29:03.708420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_34_2708.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_38_3736.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_40_2623.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_43_2697.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_47_3628.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_49_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_34_2708.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_38_3736.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_40_2623.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_43_2697.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_47_3628.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_49_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679480","1395679482","1395679479","1395679484","1395679487","1395679478"],"photo_ids_order":["1395679478","1395679479","1395679480","1395679482","1395679484","1395679487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba6aa3afd599099f75b1834df6bec612.jpg","text":"TemporaryFile(/tmp/multipartBody2812549808248892387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793004526,"filename":"image_22112025_07_27_40_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/568199d872a9a425d5544cba21526a3e.jpg","text":"TemporaryFile(/tmp/multipartBody8334844132021960769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793004526,"filename":"image_22112025_07_27_43_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90e3c57a480d9bad04b5caa7b5aad0d5.jpg","text":"TemporaryFile(/tmp/multipartBody1701160033498160378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793004526,"filename":"image_22112025_07_27_38_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cb2ce11d0ca35555bd12abcc9640bb1.jpg","text":"TemporaryFile(/tmp/multipartBody8820232659132121817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793004526,"filename":"image_22112025_07_27_47_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6126b28c8ebedd66ddfe144b62c78179.jpg","text":"TemporaryFile(/tmp/multipartBody7946629705681494857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793004526,"filename":"image_22112025_07_27_49_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/395da6981a6758705d750c0771660097.jpg","text":"TemporaryFile(/tmp/multipartBody8684902371041411159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793004526,"filename":"image_22112025_07_27_34_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679480","file1":"1395679479","file0":"1395679478","file4":"1395679484","file5":"1395679487","file3":"1395679482"},"map_files_photo_id_array":[{"photo_id":"1395679487","filename":"file5"},{"photo_id":"1395679480","filename":"file2"},{"photo_id":"1395679484","filename":"file4"},{"photo_id":"1395679479","filename":"file1"},{"photo_id":"1395679478","filename":"file0"},{"photo_id":"1395679482","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679480":["hashtag1","hashtag2"]},{"1395679482":["hashtag1","hashtag2"]},{"1395679479":["hashtag1","hashtag2"]},{"1395679484":["hashtag1","hashtag2"]},{"1395679487":["hashtag1","hashtag2"]},{"1395679478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679480, 1395679482, 1395679479, 1395679484, 1395679487, 1395679478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.365697383880615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:29:42.791163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_52_2708.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_55_2764.jpg', '/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_58_3674.jpg', '/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_01_2569.jpg', '/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_04_2707.jpg', '/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_07_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_52_2708.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_55_2764.jpg
/home/pi/Desktop/images/22112025/07/27/image_22112025_07_27_58_3674.jpg
/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_01_2569.jpg
/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_04_2707.jpg
/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_07_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679501","1395679504","1395679509","1395679503","1395679502","1395679498"],"photo_ids_order":["1395679498","1395679501","1395679502","1395679503","1395679504","1395679509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f6a04c90589659a8389696ebeeb63dc.jpg","text":"TemporaryFile(/tmp/multipartBody1400224313904023731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793043550,"filename":"image_22112025_07_27_55_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d38a48cc3af3df85460f668706969bf.jpg","text":"TemporaryFile(/tmp/multipartBody3114719139026077085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793043550,"filename":"image_22112025_07_28_04_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fad9a5585dafe5c610a10bb478b311d9.jpg","text":"TemporaryFile(/tmp/multipartBody7418200553942441410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793043550,"filename":"image_22112025_07_28_07_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5235ea270ef748d86c1a563f43dc6661.jpg","text":"TemporaryFile(/tmp/multipartBody6402826900305996981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793043550,"filename":"image_22112025_07_28_01_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cacc1c0ea9c2c23cbb32655c193621d1.jpg","text":"TemporaryFile(/tmp/multipartBody4865423449296000992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793043550,"filename":"image_22112025_07_27_58_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41d2311409136724cd421e4432ea7378.jpg","text":"TemporaryFile(/tmp/multipartBody4810824412230280812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793043550,"filename":"image_22112025_07_27_52_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679502","file1":"1395679501","file0":"1395679498","file4":"1395679504","file5":"1395679509","file3":"1395679503"},"map_files_photo_id_array":[{"photo_id":"1395679509","filename":"file5"},{"photo_id":"1395679502","filename":"file2"},{"photo_id":"1395679504","filename":"file4"},{"photo_id":"1395679501","filename":"file1"},{"photo_id":"1395679498","filename":"file0"},{"photo_id":"1395679503","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679501":["hashtag1","hashtag2"]},{"1395679504":["hashtag1","hashtag2"]},{"1395679509":["hashtag1","hashtag2"]},{"1395679503":["hashtag1","hashtag2"]},{"1395679502":["hashtag1","hashtag2"]},{"1395679498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679501, 1395679504, 1395679509, 1395679503, 1395679502, 1395679498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.737420082092285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:30:22.039914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_10_2667.jpg', '/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_13_2655.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_06_3017.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_10_3681.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_13_2594.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_16_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_10_2667.jpg
/home/pi/Desktop/images/22112025/07/28/image_22112025_07_28_13_2655.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_06_3017.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_10_3681.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_13_2594.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_16_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679513","1395679522","1395679510","1395679517","1395679526","1395679514"],"photo_ids_order":["1395679510","1395679513","1395679514","1395679517","1395679522","1395679526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e23116beac491880474ddbdcae6126b5.jpg","text":"TemporaryFile(/tmp/multipartBody1511365100408775021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793082825,"filename":"image_22112025_07_28_13_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fdeb6159843f0da4ed8276503b95c49.jpg","text":"TemporaryFile(/tmp/multipartBody1784073422164419420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793082825,"filename":"image_22112025_07_29_13_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/300427180bf3b0bb6decde945936c10f.jpg","text":"TemporaryFile(/tmp/multipartBody3005893064665484980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793082825,"filename":"image_22112025_07_28_10_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfffd7b535ab9d4455f07d5d0b50f430.jpg","text":"TemporaryFile(/tmp/multipartBody3510039073975369094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793082825,"filename":"image_22112025_07_29_10_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32d206acf9c21d845ade9e6accc3ebae.jpg","text":"TemporaryFile(/tmp/multipartBody1908750816719448588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793082825,"filename":"image_22112025_07_29_16_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/512d873ef6b9d11b10a03c0490589b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7831974764201999603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793082825,"filename":"image_22112025_07_29_06_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679514","file1":"1395679513","file0":"1395679510","file4":"1395679522","file5":"1395679526","file3":"1395679517"},"map_files_photo_id_array":[{"photo_id":"1395679526","filename":"file5"},{"photo_id":"1395679514","filename":"file2"},{"photo_id":"1395679522","filename":"file4"},{"photo_id":"1395679513","filename":"file1"},{"photo_id":"1395679510","filename":"file0"},{"photo_id":"1395679517","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679513":["hashtag1","hashtag2"]},{"1395679522":["hashtag1","hashtag2"]},{"1395679510":["hashtag1","hashtag2"]},{"1395679517":["hashtag1","hashtag2"]},{"1395679526":["hashtag1","hashtag2"]},{"1395679514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679513, 1395679522, 1395679510, 1395679517, 1395679526, 1395679514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64537954330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:31:02.796197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_19_2592.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_28_2624.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_30_2599.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_34_3719.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_37_2560.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_39_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_19_2592.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_28_2624.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_30_2599.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_34_3719.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_37_2560.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_39_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679531","1395679537","1395679530","1395679533","1395679535","1395679532"],"photo_ids_order":["1395679530","1395679531","1395679532","1395679533","1395679535","1395679537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e647cf10795981eaca250b510ac3e0f4.jpg","text":"TemporaryFile(/tmp/multipartBody7240060614824458732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793123583,"filename":"image_22112025_07_29_28_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3beab69226f7d913cc379237a33e71a8.jpg","text":"TemporaryFile(/tmp/multipartBody4643940226767177680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793123583,"filename":"image_22112025_07_29_39_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b97577636734a7e2f740508ba5a5e4bc.jpg","text":"TemporaryFile(/tmp/multipartBody6666481394486054040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793123583,"filename":"image_22112025_07_29_19_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1670c365a58846090d2e5a2122d1d90d.jpg","text":"TemporaryFile(/tmp/multipartBody8768525906215034772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793123583,"filename":"image_22112025_07_29_34_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/035b69631ff74f186643f59c89702c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8210086400395674105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793123583,"filename":"image_22112025_07_29_37_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b6e61934699b2bcbcab81cca1910e4c.jpg","text":"TemporaryFile(/tmp/multipartBody8054132795320941491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793123583,"filename":"image_22112025_07_29_30_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679532","file1":"1395679531","file0":"1395679530","file4":"1395679535","file5":"1395679537","file3":"1395679533"},"map_files_photo_id_array":[{"photo_id":"1395679537","filename":"file5"},{"photo_id":"1395679532","filename":"file2"},{"photo_id":"1395679535","filename":"file4"},{"photo_id":"1395679531","filename":"file1"},{"photo_id":"1395679530","filename":"file0"},{"photo_id":"1395679533","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679531":["hashtag1","hashtag2"]},{"1395679537":["hashtag1","hashtag2"]},{"1395679530":["hashtag1","hashtag2"]},{"1395679533":["hashtag1","hashtag2"]},{"1395679535":["hashtag1","hashtag2"]},{"1395679532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679531, 1395679537, 1395679530, 1395679533, 1395679535, 1395679532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21502161026001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:31:42.315642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_43_3658.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_46_2673.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_49_3573.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_52_2879.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_55_2700.jpg', '/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_58_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_43_3658.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_46_2673.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_49_3573.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_52_2879.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_55_2700.jpg
/home/pi/Desktop/images/22112025/07/29/image_22112025_07_29_58_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679552","1395679546","1395679554","1395679556","1395679550","1395679558"],"photo_ids_order":["1395679546","1395679550","1395679552","1395679554","1395679556","1395679558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd1e76b7f4f03247c219dd2872548f4e.jpg","text":"TemporaryFile(/tmp/multipartBody1614702863523221727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793163000,"filename":"image_22112025_07_29_49_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7ad2c9ced3fa1550665a2d5b919fd08.jpg","text":"TemporaryFile(/tmp/multipartBody5789736566062018643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793163000,"filename":"image_22112025_07_29_43_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b2ffaaf76a24aad696060d4f048d466.jpg","text":"TemporaryFile(/tmp/multipartBody8289004939513633922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793163000,"filename":"image_22112025_07_29_52_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2d6add829e3b80827d08825937757e1.jpg","text":"TemporaryFile(/tmp/multipartBody1588677254073758128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793163000,"filename":"image_22112025_07_29_55_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69433f31e0e371dee648417e84ea0ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1274418324081799094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793163000,"filename":"image_22112025_07_29_46_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ee43e4d88aaee9a2a84f687b5a0101b.jpg","text":"TemporaryFile(/tmp/multipartBody4819702677931089233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793163000,"filename":"image_22112025_07_29_58_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679552","file1":"1395679550","file0":"1395679546","file4":"1395679556","file5":"1395679558","file3":"1395679554"},"map_files_photo_id_array":[{"photo_id":"1395679558","filename":"file5"},{"photo_id":"1395679552","filename":"file2"},{"photo_id":"1395679556","filename":"file4"},{"photo_id":"1395679550","filename":"file1"},{"photo_id":"1395679546","filename":"file0"},{"photo_id":"1395679554","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679552":["hashtag1","hashtag2"]},{"1395679546":["hashtag1","hashtag2"]},{"1395679554":["hashtag1","hashtag2"]},{"1395679556":["hashtag1","hashtag2"]},{"1395679550":["hashtag1","hashtag2"]},{"1395679558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679552, 1395679546, 1395679554, 1395679556, 1395679550, 1395679558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.833993673324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:32:22.604327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_06_3011.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_10_3611.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_13_2887.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_15_2567.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_19_3515.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_21_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_06_3011.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_10_3611.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_13_2887.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_15_2567.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_19_3515.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_21_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679573","1395679569","1395679571","1395679565","1395679562","1395679576"],"photo_ids_order":["1395679562","1395679565","1395679569","1395679571","1395679573","1395679576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de26a8f6a812aa46baf6d646756ae929.jpg","text":"TemporaryFile(/tmp/multipartBody9080317277557706548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793203290,"filename":"image_22112025_07_31_19_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8debf739e1d0d056285d2a1615f3acb.jpg","text":"TemporaryFile(/tmp/multipartBody5516345723909855557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793203290,"filename":"image_22112025_07_31_13_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e51ac373b5de8d05d48066009afda94b.jpg","text":"TemporaryFile(/tmp/multipartBody3263793142540720123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793203290,"filename":"image_22112025_07_31_15_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/402635c46e7e91dcb3d12918bba8dcbf.jpg","text":"TemporaryFile(/tmp/multipartBody6092412189160030570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793203290,"filename":"image_22112025_07_31_10_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30b6b220088643bb17952e603c8607f7.jpg","text":"TemporaryFile(/tmp/multipartBody6163492480486327946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793203290,"filename":"image_22112025_07_31_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/055f310e55a62778a6c07db75e1095ae.jpg","text":"TemporaryFile(/tmp/multipartBody5551912456035523525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793203290,"filename":"image_22112025_07_31_21_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679569","file1":"1395679565","file0":"1395679562","file4":"1395679573","file5":"1395679576","file3":"1395679571"},"map_files_photo_id_array":[{"photo_id":"1395679576","filename":"file5"},{"photo_id":"1395679569","filename":"file2"},{"photo_id":"1395679573","filename":"file4"},{"photo_id":"1395679565","filename":"file1"},{"photo_id":"1395679562","filename":"file0"},{"photo_id":"1395679571","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679573":["hashtag1","hashtag2"]},{"1395679569":["hashtag1","hashtag2"]},{"1395679571":["hashtag1","hashtag2"]},{"1395679565":["hashtag1","hashtag2"]},{"1395679562":["hashtag1","hashtag2"]},{"1395679576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679573, 1395679569, 1395679571, 1395679565, 1395679562, 1395679576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67360496520996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:33:02.623536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_25_3691.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_28_2648.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_30_2582.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_34_3717.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_37_2670.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_40_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_25_3691.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_28_2648.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_30_2582.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_34_3717.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_37_2670.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_40_2838.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679578","1395679586","1395679580","1395679577","1395679582","1395679579"],"photo_ids_order":["1395679577","1395679578","1395679579","1395679580","1395679582","1395679586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86242b4825349bd583939f678abb7bb4.jpg","text":"TemporaryFile(/tmp/multipartBody1560618538641992725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793243456,"filename":"image_22112025_07_31_28_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9678fd83c5c3c38f69050406834cd8fc.jpg","text":"TemporaryFile(/tmp/multipartBody5732733809221014048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793243456,"filename":"image_22112025_07_31_40_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85cc3ee1fc11997f110059a6ba3e82c5.jpg","text":"TemporaryFile(/tmp/multipartBody5166979794172251656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793243456,"filename":"image_22112025_07_31_34_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cae9f25e13311e6e763f9d21458a2286.jpg","text":"TemporaryFile(/tmp/multipartBody5003268663529441231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793243456,"filename":"image_22112025_07_31_25_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c1f2372f8f9c32881eb06f6d6279de4.jpg","text":"TemporaryFile(/tmp/multipartBody5373100399887997068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793243456,"filename":"image_22112025_07_31_37_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee793715571b66a3895ca9547cd538c5.jpg","text":"TemporaryFile(/tmp/multipartBody9070108764996512792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793243456,"filename":"image_22112025_07_31_30_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679579","file1":"1395679578","file0":"1395679577","file4":"1395679582","file5":"1395679586","file3":"1395679580"},"map_files_photo_id_array":[{"photo_id":"1395679586","filename":"file5"},{"photo_id":"1395679579","filename":"file2"},{"photo_id":"1395679582","filename":"file4"},{"photo_id":"1395679578","filename":"file1"},{"photo_id":"1395679577","filename":"file0"},{"photo_id":"1395679580","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679578":["hashtag1","hashtag2"]},{"1395679586":["hashtag1","hashtag2"]},{"1395679580":["hashtag1","hashtag2"]},{"1395679577":["hashtag1","hashtag2"]},{"1395679582":["hashtag1","hashtag2"]},{"1395679579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679578, 1395679586, 1395679580, 1395679577, 1395679582, 1395679579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28592848777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:33:41.940229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_42_2748.jpg', '/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_46_3777.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_07_3011.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_10_3616.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_13_2608.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_17_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_42_2748.jpg
/home/pi/Desktop/images/22112025/07/31/image_22112025_07_31_46_3777.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_07_3011.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_10_3616.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_13_2608.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_17_3742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679593","1395679596","1395679595","1395679598","1395679594","1395679591"],"photo_ids_order":["1395679591","1395679593","1395679594","1395679595","1395679596","1395679598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79f551d51c8a7591b3d7f8d2e426edd5.jpg","text":"TemporaryFile(/tmp/multipartBody5753018674960627431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793282680,"filename":"image_22112025_07_31_46_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/885f16c6e97e09a16720b11022f1d4d8.jpg","text":"TemporaryFile(/tmp/multipartBody8435130060309094283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793282680,"filename":"image_22112025_07_33_13_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/589c0e764ab3f4a52c39a9f5dc98dced.jpg","text":"TemporaryFile(/tmp/multipartBody6852920583427156967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793282680,"filename":"image_22112025_07_33_10_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a012c370d72a470178f9b87cc844e24.jpg","text":"TemporaryFile(/tmp/multipartBody1560651661589661935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793282680,"filename":"image_22112025_07_33_17_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc6952ddd58b6eae15cc03506faaeb80.jpg","text":"TemporaryFile(/tmp/multipartBody724844546125686639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793282680,"filename":"image_22112025_07_33_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f06acb43831188a297895ec398d9bc59.jpg","text":"TemporaryFile(/tmp/multipartBody2511458068300326773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793282680,"filename":"image_22112025_07_31_42_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679594","file1":"1395679593","file0":"1395679591","file4":"1395679596","file5":"1395679598","file3":"1395679595"},"map_files_photo_id_array":[{"photo_id":"1395679598","filename":"file5"},{"photo_id":"1395679594","filename":"file2"},{"photo_id":"1395679596","filename":"file4"},{"photo_id":"1395679593","filename":"file1"},{"photo_id":"1395679591","filename":"file0"},{"photo_id":"1395679595","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679593":["hashtag1","hashtag2"]},{"1395679596":["hashtag1","hashtag2"]},{"1395679595":["hashtag1","hashtag2"]},{"1395679598":["hashtag1","hashtag2"]},{"1395679594":["hashtag1","hashtag2"]},{"1395679591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679593, 1395679596, 1395679595, 1395679598, 1395679594, 1395679591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.590622901916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:34:22.293486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_28_2864.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_31_3747.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_34_2615.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_43_2771.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_46_2589.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_49_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_28_2864.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_31_3747.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_34_2615.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_43_2771.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_46_2589.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_49_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679612","1395679606","1395679609","1395679603","1395679614","1395679616"],"photo_ids_order":["1395679603","1395679606","1395679609","1395679612","1395679614","1395679616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3719e34409d479722e14e2b4b60ff25f.jpg","text":"TemporaryFile(/tmp/multipartBody6920598382361654920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793323048,"filename":"image_22112025_07_33_43_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a8d76ee8c582ceb49230ee0420e1f4c.jpg","text":"TemporaryFile(/tmp/multipartBody1300590096148708440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793323048,"filename":"image_22112025_07_33_31_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73311a3c7ad7208835f776bf413646e9.jpg","text":"TemporaryFile(/tmp/multipartBody6554946880055580560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793323048,"filename":"image_22112025_07_33_34_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47515536ef87a8984023724d543b8819.jpg","text":"TemporaryFile(/tmp/multipartBody4483952633397271304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793323048,"filename":"image_22112025_07_33_28_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f914bfffa65087821e4df92114fedfe.jpg","text":"TemporaryFile(/tmp/multipartBody2094909771466805430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793323048,"filename":"image_22112025_07_33_46_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d313428ef3581e4a1a39e6f09d8fbb4.jpg","text":"TemporaryFile(/tmp/multipartBody8871943785322058816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793323048,"filename":"image_22112025_07_33_49_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679609","file1":"1395679606","file0":"1395679603","file4":"1395679614","file5":"1395679616","file3":"1395679612"},"map_files_photo_id_array":[{"photo_id":"1395679616","filename":"file5"},{"photo_id":"1395679609","filename":"file2"},{"photo_id":"1395679614","filename":"file4"},{"photo_id":"1395679606","filename":"file1"},{"photo_id":"1395679603","filename":"file0"},{"photo_id":"1395679612","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679612":["hashtag1","hashtag2"]},{"1395679606":["hashtag1","hashtag2"]},{"1395679609":["hashtag1","hashtag2"]},{"1395679603":["hashtag1","hashtag2"]},{"1395679614":["hashtag1","hashtag2"]},{"1395679616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679612, 1395679606, 1395679609, 1395679603, 1395679614, 1395679616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.622488260269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:35:03.077565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_52_3714.jpg', '/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_55_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_52_3714.jpg
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_55_2593.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679618","1395679619"],"photo_ids_order":["1395679618","1395679619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f6b7593f5ff487e4dfb6102c556efcf.jpg","text":"TemporaryFile(/tmp/multipartBody9117962941707110309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793363692,"filename":"image_22112025_07_33_52_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf4cd37a72f9246b21520316b8739151.jpg","text":"TemporaryFile(/tmp/multipartBody8411097613313597428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793363692,"filename":"image_22112025_07_33_55_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395679619","file0":"1395679618"},"map_files_photo_id_array":[{"photo_id":"1395679619","filename":"file1"},{"photo_id":"1395679618","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679618":["hashtag1","hashtag2"]},{"1395679619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679618, 1395679619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.474313974380493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:35:22.334028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_58_2666.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_07_3012.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_13_2542.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_16_2820.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_19_3777.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_22_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/33/image_22112025_07_33_58_2666.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_07_3012.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_13_2542.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_16_2820.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_19_3777.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_22_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679633","1395679635","1395679623","1395679626","1395679629","1395679631"],"photo_ids_order":["1395679623","1395679626","1395679629","1395679631","1395679633","1395679635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9f662b208e22b3826f91781a285f250.jpg","text":"TemporaryFile(/tmp/multipartBody2996960480537812736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793383071,"filename":"image_22112025_07_35_19_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08293c60a02501c5282c70ced280622d.jpg","text":"TemporaryFile(/tmp/multipartBody6487471719074166323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793383071,"filename":"image_22112025_07_35_22_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b037d7c50d677312561762e609609d6.jpg","text":"TemporaryFile(/tmp/multipartBody3377269811507902841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793383071,"filename":"image_22112025_07_33_58_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5c8449f9c3e4d460afcd33afac8de84.jpg","text":"TemporaryFile(/tmp/multipartBody8769999546682769556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793383071,"filename":"image_22112025_07_35_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d7ba62ca2eda6321b837ef8a8194d0d.jpg","text":"TemporaryFile(/tmp/multipartBody7107159706853343424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793383071,"filename":"image_22112025_07_35_13_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78270b33d6a805b26a87fb2df3a76583.jpg","text":"TemporaryFile(/tmp/multipartBody2907282995767114611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793383071,"filename":"image_22112025_07_35_16_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679629","file1":"1395679626","file0":"1395679623","file4":"1395679633","file5":"1395679635","file3":"1395679631"},"map_files_photo_id_array":[{"photo_id":"1395679635","filename":"file5"},{"photo_id":"1395679629","filename":"file2"},{"photo_id":"1395679633","filename":"file4"},{"photo_id":"1395679626","filename":"file1"},{"photo_id":"1395679623","filename":"file0"},{"photo_id":"1395679631","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679633":["hashtag1","hashtag2"]},{"1395679635":["hashtag1","hashtag2"]},{"1395679623":["hashtag1","hashtag2"]},{"1395679626":["hashtag1","hashtag2"]},{"1395679629":["hashtag1","hashtag2"]},{"1395679631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679633, 1395679635, 1395679623, 1395679626, 1395679629, 1395679631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41918992996216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:36:03.043426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_25_2817.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_29_3596.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_31_2603.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_34_2781.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_37_2620.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_40_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_25_2817.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_29_3596.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_31_2603.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_34_2781.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_37_2620.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_40_3624.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6138443946838379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:36:22.650770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_25_2817.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_29_3596.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_31_2603.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_34_2781.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_37_2620.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_40_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_25_2817.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_29_3596.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_31_2603.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_34_2781.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_37_2620.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_40_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679653","1395679662","1395679656","1395679665","1395679650","1395679647"],"photo_ids_order":["1395679647","1395679650","1395679653","1395679656","1395679662","1395679665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2c3e955b69deae92b286ee26910e008.jpg","text":"TemporaryFile(/tmp/multipartBody8476521803324140086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793443376,"filename":"image_22112025_07_35_31_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b378c2715e111f256d04fcc2ad39607.jpg","text":"TemporaryFile(/tmp/multipartBody34070817523167950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793443376,"filename":"image_22112025_07_35_37_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d1fd5f928459d6725b475c79451b515.jpg","text":"TemporaryFile(/tmp/multipartBody2520795398009910567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793443376,"filename":"image_22112025_07_35_34_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7f4f3bc26d8ce9eb6d003f2b633727a.jpg","text":"TemporaryFile(/tmp/multipartBody38850232790135279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793443376,"filename":"image_22112025_07_35_40_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d58b1f350d9b50ba5e91c1153e35b241.jpg","text":"TemporaryFile(/tmp/multipartBody143960263071908093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793443376,"filename":"image_22112025_07_35_29_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34b280175c1d7e858eb526beae99a16e.jpg","text":"TemporaryFile(/tmp/multipartBody4921691980103476099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793443376,"filename":"image_22112025_07_35_25_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679653","file1":"1395679650","file0":"1395679647","file4":"1395679662","file5":"1395679665","file3":"1395679656"},"map_files_photo_id_array":[{"photo_id":"1395679665","filename":"file5"},{"photo_id":"1395679653","filename":"file2"},{"photo_id":"1395679662","filename":"file4"},{"photo_id":"1395679650","filename":"file1"},{"photo_id":"1395679647","filename":"file0"},{"photo_id":"1395679656","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679653":["hashtag1","hashtag2"]},{"1395679662":["hashtag1","hashtag2"]},{"1395679656":["hashtag1","hashtag2"]},{"1395679665":["hashtag1","hashtag2"]},{"1395679650":["hashtag1","hashtag2"]},{"1395679647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679653, 1395679662, 1395679656, 1395679665, 1395679650, 1395679647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58105230331421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:37:02.512114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_43_2600.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_49_2775.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_52_2800.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_55_2602.jpg', '/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_58_3609.jpg', '/home/pi/Desktop/images/22112025/07/36/image_22112025_07_36_01_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_43_2600.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_49_2775.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_52_2800.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_55_2602.jpg
/home/pi/Desktop/images/22112025/07/35/image_22112025_07_35_58_3609.jpg
/home/pi/Desktop/images/22112025/07/36/image_22112025_07_36_01_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679666","1395679671","1395679674","1395679668","1395679667","1395679669"],"photo_ids_order":["1395679666","1395679667","1395679668","1395679669","1395679671","1395679674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/622ecae6941f1a79d154f06e023e8e18.jpg","text":"TemporaryFile(/tmp/multipartBody2726544867446992892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793483449,"filename":"image_22112025_07_35_43_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a32975e2c4161e6732c3c8421d9150d.jpg","text":"TemporaryFile(/tmp/multipartBody3052361215452112875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793483449,"filename":"image_22112025_07_35_58_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72dae51dc7c39a5ca30e169205ac98d4.jpg","text":"TemporaryFile(/tmp/multipartBody7319013004165916148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793483449,"filename":"image_22112025_07_36_01_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a15b8c2bff842719be8b59a20069bd6f.jpg","text":"TemporaryFile(/tmp/multipartBody3528759329237836496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793483449,"filename":"image_22112025_07_35_52_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c88c65065289d1c541d678b71e30b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2037346563997942252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793483449,"filename":"image_22112025_07_35_49_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69d4d945f9abcf9955a783cdf5edd6b4.jpg","text":"TemporaryFile(/tmp/multipartBody2039126669394637929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793483449,"filename":"image_22112025_07_35_55_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679668","file1":"1395679667","file0":"1395679666","file4":"1395679671","file5":"1395679674","file3":"1395679669"},"map_files_photo_id_array":[{"photo_id":"1395679674","filename":"file5"},{"photo_id":"1395679668","filename":"file2"},{"photo_id":"1395679671","filename":"file4"},{"photo_id":"1395679667","filename":"file1"},{"photo_id":"1395679666","filename":"file0"},{"photo_id":"1395679669","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679666":["hashtag1","hashtag2"]},{"1395679671":["hashtag1","hashtag2"]},{"1395679674":["hashtag1","hashtag2"]},{"1395679668":["hashtag1","hashtag2"]},{"1395679667":["hashtag1","hashtag2"]},{"1395679669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679666, 1395679671, 1395679674, 1395679668, 1395679667, 1395679669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46211051940918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:37:41.896414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/36/image_22112025_07_36_04_2847.jpg', '/home/pi/Desktop/images/22112025/07/36/image_22112025_07_36_07_3592.jpg', '/home/pi/Desktop/images/22112025/07/36/image_22112025_07_36_10_2664.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_07_3017.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_11_3777.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_13_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/36/image_22112025_07_36_04_2847.jpg
/home/pi/Desktop/images/22112025/07/36/image_22112025_07_36_07_3592.jpg
/home/pi/Desktop/images/22112025/07/36/image_22112025_07_36_10_2664.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_07_3017.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_11_3777.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_13_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679686","1395679689","1395679688","1395679687","1395679681","1395679684"],"photo_ids_order":["1395679681","1395679684","1395679686","1395679687","1395679688","1395679689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/654202c2719382240cd94b4d11da06dd.jpg","text":"TemporaryFile(/tmp/multipartBody6645805274550136207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793522626,"filename":"image_22112025_07_36_10_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6d7c47602790a80a7594e9039286657.jpg","text":"TemporaryFile(/tmp/multipartBody847588731317847327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793522626,"filename":"image_22112025_07_37_13_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d89c37f49ee5c755477f3d777f26277.jpg","text":"TemporaryFile(/tmp/multipartBody4144138736807643101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793522626,"filename":"image_22112025_07_37_11_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53d488e2ee84f1a022658e01507847e4.jpg","text":"TemporaryFile(/tmp/multipartBody1914405929446926126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793522626,"filename":"image_22112025_07_37_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbe91aa611d75a653cf1075fb9903d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1857366126615670681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793522626,"filename":"image_22112025_07_36_04_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b2d52245cd8dc2e6d484d702797f5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2979048201531471288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793522626,"filename":"image_22112025_07_36_07_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679686","file1":"1395679684","file0":"1395679681","file4":"1395679688","file5":"1395679689","file3":"1395679687"},"map_files_photo_id_array":[{"photo_id":"1395679689","filename":"file5"},{"photo_id":"1395679686","filename":"file2"},{"photo_id":"1395679688","filename":"file4"},{"photo_id":"1395679684","filename":"file1"},{"photo_id":"1395679681","filename":"file0"},{"photo_id":"1395679687","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679686":["hashtag1","hashtag2"]},{"1395679689":["hashtag1","hashtag2"]},{"1395679688":["hashtag1","hashtag2"]},{"1395679687":["hashtag1","hashtag2"]},{"1395679681":["hashtag1","hashtag2"]},{"1395679684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679686, 1395679689, 1395679688, 1395679687, 1395679681, 1395679684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99437713623047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:38:22.251335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_16_2776.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_20_3532.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_22_2579.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_25_2589.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_29_3680.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_31_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_16_2776.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_20_3532.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_22_2579.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_25_2589.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_29_3680.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_31_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679707","1395679691","1395679703","1395679693","1395679696","1395679699"],"photo_ids_order":["1395679691","1395679693","1395679696","1395679699","1395679703","1395679707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7aa384056bba7d3ea57fd4f0f4abbcb4.jpg","text":"TemporaryFile(/tmp/multipartBody6109932419118983077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793563010,"filename":"image_22112025_07_37_31_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca4d6544d742a899ad6d4b06f741e8dc.jpg","text":"TemporaryFile(/tmp/multipartBody1779738447968275404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793563010,"filename":"image_22112025_07_37_16_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe5b8130731e97b6479691d2a5a807bc.jpg","text":"TemporaryFile(/tmp/multipartBody7473544267946713993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793563010,"filename":"image_22112025_07_37_29_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/348d91b6786fe4f74090e8f730899e79.jpg","text":"TemporaryFile(/tmp/multipartBody1801828480317579571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793563010,"filename":"image_22112025_07_37_20_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9a532e45d19c79a8b93a0fb6f175115.jpg","text":"TemporaryFile(/tmp/multipartBody6642884635656548694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793563010,"filename":"image_22112025_07_37_22_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abd610f1aa823484a892d901c72260a6.jpg","text":"TemporaryFile(/tmp/multipartBody2245335173327898221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793563010,"filename":"image_22112025_07_37_25_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679696","file1":"1395679693","file0":"1395679691","file4":"1395679703","file5":"1395679707","file3":"1395679699"},"map_files_photo_id_array":[{"photo_id":"1395679707","filename":"file5"},{"photo_id":"1395679696","filename":"file2"},{"photo_id":"1395679703","filename":"file4"},{"photo_id":"1395679693","filename":"file1"},{"photo_id":"1395679691","filename":"file0"},{"photo_id":"1395679699","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679707":["hashtag1","hashtag2"]},{"1395679691":["hashtag1","hashtag2"]},{"1395679703":["hashtag1","hashtag2"]},{"1395679693":["hashtag1","hashtag2"]},{"1395679696":["hashtag1","hashtag2"]},{"1395679699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679707, 1395679691, 1395679703, 1395679693, 1395679696, 1395679699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7901668548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:39:03.109915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_35_3558.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_37_2709.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_40_2680.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_46_2556.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_49_2552.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_53_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_35_3558.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_37_2709.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_40_2680.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_46_2556.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_49_2552.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_53_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679711","1395679708","1395679716","1395679710","1395679713","1395679709"],"photo_ids_order":["1395679708","1395679709","1395679710","1395679711","1395679713","1395679716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f510f39ebfc1354859df19b635f5544.jpg","text":"TemporaryFile(/tmp/multipartBody544705043824738313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793604005,"filename":"image_22112025_07_37_46_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4908bd54757eb1e65290c38ce518b123.jpg","text":"TemporaryFile(/tmp/multipartBody3568675682940903144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793604005,"filename":"image_22112025_07_37_35_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d4345e9db025bb8138b33848f19f3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2927271544634876281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793604005,"filename":"image_22112025_07_37_53_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14a7b92dfc0ef24ff5ea056a104b0d87.jpg","text":"TemporaryFile(/tmp/multipartBody3664683661339208626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793604005,"filename":"image_22112025_07_37_40_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca2bc203276b114897b7f09f178768b7.jpg","text":"TemporaryFile(/tmp/multipartBody7521666158159901854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793604005,"filename":"image_22112025_07_37_49_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/086f0f56c2c5e9cf43091ca2a4d7c5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3459700584285521222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793604005,"filename":"image_22112025_07_37_37_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679710","file1":"1395679709","file0":"1395679708","file4":"1395679713","file5":"1395679716","file3":"1395679711"},"map_files_photo_id_array":[{"photo_id":"1395679716","filename":"file5"},{"photo_id":"1395679710","filename":"file2"},{"photo_id":"1395679713","filename":"file4"},{"photo_id":"1395679709","filename":"file1"},{"photo_id":"1395679708","filename":"file0"},{"photo_id":"1395679711","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679711":["hashtag1","hashtag2"]},{"1395679708":["hashtag1","hashtag2"]},{"1395679716":["hashtag1","hashtag2"]},{"1395679710":["hashtag1","hashtag2"]},{"1395679713":["hashtag1","hashtag2"]},{"1395679709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679711, 1395679708, 1395679716, 1395679710, 1395679713, 1395679709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.750736474990845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:39:42.148631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_55_2667.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_58_2647.jpg', '/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_02_3855.jpg', '/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_07_2594.jpg', '/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_11_3843.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_06_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_55_2667.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_58_2647.jpg
/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_02_3855.jpg
/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_07_2594.jpg
/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_11_3843.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_06_3017.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6146965026855469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:40:02.818100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_55_2667.jpg', '/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_58_2647.jpg', '/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_02_3855.jpg', '/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_07_2594.jpg', '/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_11_3843.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_06_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_55_2667.jpg
/home/pi/Desktop/images/22112025/07/37/image_22112025_07_37_58_2647.jpg
/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_02_3855.jpg
/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_07_2594.jpg
/home/pi/Desktop/images/22112025/07/38/image_22112025_07_38_11_3843.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_06_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679732","1395679735","1395679740","1395679731","1395679733","1395679730"],"photo_ids_order":["1395679730","1395679731","1395679732","1395679733","1395679735","1395679740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1ba60e487fc0127fb9d1ce1cb349e77.jpg","text":"TemporaryFile(/tmp/multipartBody1200931397614811181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793663585,"filename":"image_22112025_07_38_02_3855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5997ece94623662237f5dd5fe5d70475.jpg","text":"TemporaryFile(/tmp/multipartBody4860275702464913616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793663585,"filename":"image_22112025_07_38_11_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c466345255dbafe89f93a895153104b.jpg","text":"TemporaryFile(/tmp/multipartBody1994511802067786840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793663585,"filename":"image_22112025_07_39_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf39310d9ec908a70c523fce56feee59.jpg","text":"TemporaryFile(/tmp/multipartBody8823697145985574569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793663585,"filename":"image_22112025_07_37_58_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33919162ad8870a38e4282f1de99fcef.jpg","text":"TemporaryFile(/tmp/multipartBody6848120134346161177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793663585,"filename":"image_22112025_07_38_07_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc4b7f880d7a7510256377f3ab0a8b0e.jpg","text":"TemporaryFile(/tmp/multipartBody5376218539597224124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793663585,"filename":"image_22112025_07_37_55_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679732","file1":"1395679731","file0":"1395679730","file4":"1395679735","file5":"1395679740","file3":"1395679733"},"map_files_photo_id_array":[{"photo_id":"1395679740","filename":"file5"},{"photo_id":"1395679732","filename":"file2"},{"photo_id":"1395679735","filename":"file4"},{"photo_id":"1395679731","filename":"file1"},{"photo_id":"1395679730","filename":"file0"},{"photo_id":"1395679733","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679732":["hashtag1","hashtag2"]},{"1395679735":["hashtag1","hashtag2"]},{"1395679740":["hashtag1","hashtag2"]},{"1395679731":["hashtag1","hashtag2"]},{"1395679733":["hashtag1","hashtag2"]},{"1395679730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679732, 1395679735, 1395679740, 1395679731, 1395679733, 1395679730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79946541786194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:40:42.392792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_10_3841.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_16_3519.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_19_2749.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_22_2554.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_25_3524.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_28_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_10_3841.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_16_3519.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_19_2749.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_22_2554.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_25_3524.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_28_2546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679750","1395679753","1395679752","1395679755","1395679754","1395679756"],"photo_ids_order":["1395679750","1395679752","1395679753","1395679754","1395679755","1395679756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4988f2e0b1f95fdac4765b882cc2c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody6158133950124776136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793703088,"filename":"image_22112025_07_39_10_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1822a3a8f28b0ccc1f44ff6f7085b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4641454997787640675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793703088,"filename":"image_22112025_07_39_19_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2b6d15a02276452a840d3ffb7c57298.jpg","text":"TemporaryFile(/tmp/multipartBody6153627678924316599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793703088,"filename":"image_22112025_07_39_16_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76285bd7d05f08792f2f390644288b36.jpg","text":"TemporaryFile(/tmp/multipartBody5154310780085102501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793703088,"filename":"image_22112025_07_39_25_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95d89708340aeb971b36230ab3d20b05.jpg","text":"TemporaryFile(/tmp/multipartBody6670983502329315200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793703088,"filename":"image_22112025_07_39_22_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37a2499de0596fd257eb7a4fd09bab80.jpg","text":"TemporaryFile(/tmp/multipartBody7877498968709778047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793703088,"filename":"image_22112025_07_39_28_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679753","file1":"1395679752","file0":"1395679750","file4":"1395679755","file5":"1395679756","file3":"1395679754"},"map_files_photo_id_array":[{"photo_id":"1395679756","filename":"file5"},{"photo_id":"1395679753","filename":"file2"},{"photo_id":"1395679755","filename":"file4"},{"photo_id":"1395679752","filename":"file1"},{"photo_id":"1395679750","filename":"file0"},{"photo_id":"1395679754","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679750":["hashtag1","hashtag2"]},{"1395679753":["hashtag1","hashtag2"]},{"1395679752":["hashtag1","hashtag2"]},{"1395679755":["hashtag1","hashtag2"]},{"1395679754":["hashtag1","hashtag2"]},{"1395679756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679750, 1395679753, 1395679752, 1395679755, 1395679754, 1395679756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51553297042847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:41:20.993842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_30_2687.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_37_2736.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_40_2717.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_43_3669.jpg', '/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_46_2593.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_30_2687.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_37_2736.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_40_2717.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_43_3669.jpg
/home/pi/Desktop/images/22112025/07/39/image_22112025_07_39_46_2593.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679770","1395679773","1395679764","1395679766","1395679760","1395679768"],"photo_ids_order":["1395679760","1395679764","1395679766","1395679768","1395679770","1395679773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a42b8222eb9f26057f525473794140db.jpg","text":"TemporaryFile(/tmp/multipartBody4545578743876725046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793741782,"filename":"image_22112025_07_39_46_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/775159f612f13f7e47c749b65764a99d.jpg","text":"TemporaryFile(/tmp/multipartBody2434988380250837159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793741782,"filename":"image_22112025_07_41_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ea6baaedd39a907d894f5bee05671e4.jpg","text":"TemporaryFile(/tmp/multipartBody499309160441384667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793741782,"filename":"image_22112025_07_39_37_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9edad5cc82799f1147134dc723163426.jpg","text":"TemporaryFile(/tmp/multipartBody1222713040309472500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793741782,"filename":"image_22112025_07_39_40_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b23c6a74ed8f03e0edaa277b997659a.jpg","text":"TemporaryFile(/tmp/multipartBody9221801286168483742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793741782,"filename":"image_22112025_07_39_30_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0d33387a3d5ef8fd26a12176fc38b40.jpg","text":"TemporaryFile(/tmp/multipartBody2454167634190365776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793741782,"filename":"image_22112025_07_39_43_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679766","file1":"1395679764","file0":"1395679760","file4":"1395679770","file5":"1395679773","file3":"1395679768"},"map_files_photo_id_array":[{"photo_id":"1395679773","filename":"file5"},{"photo_id":"1395679766","filename":"file2"},{"photo_id":"1395679770","filename":"file4"},{"photo_id":"1395679764","filename":"file1"},{"photo_id":"1395679760","filename":"file0"},{"photo_id":"1395679768","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679770":["hashtag1","hashtag2"]},{"1395679773":["hashtag1","hashtag2"]},{"1395679764":["hashtag1","hashtag2"]},{"1395679766":["hashtag1","hashtag2"]},{"1395679760":["hashtag1","hashtag2"]},{"1395679768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679770, 1395679773, 1395679764, 1395679766, 1395679760, 1395679768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7411687374115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:42:02.566225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_11_3822.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_16_2933.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_19_2656.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_23_3688.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_25_2571.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_28_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_11_3822.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_16_2933.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_19_2656.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_23_3688.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_25_2571.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_28_2625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6375203132629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:42:22.100324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_11_3822.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_16_2933.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_19_2656.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_23_3688.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_25_2571.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_28_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_11_3822.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_16_2933.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_19_2656.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_23_3688.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_25_2571.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_28_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679797","1395679794","1395679788","1395679790","1395679792","1395679786"],"photo_ids_order":["1395679786","1395679788","1395679790","1395679792","1395679794","1395679797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4454d3042784d8dc16c36b482c42ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody4707133504329164950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793802807,"filename":"image_22112025_07_41_28_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7319f09c459bef3afe7a752aee1f218.jpg","text":"TemporaryFile(/tmp/multipartBody4778750374993574133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793802807,"filename":"image_22112025_07_41_25_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3729866bdd780a957d7f495210a5c5b.jpg","text":"TemporaryFile(/tmp/multipartBody9190311486720418262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793802807,"filename":"image_22112025_07_41_16_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2fb6a6721778d32dd15a98048a73ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2145227880587171671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793802807,"filename":"image_22112025_07_41_19_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec8f56eefe71f74a7b1db4e3f617f9f7.jpg","text":"TemporaryFile(/tmp/multipartBody5283585365463515772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793802807,"filename":"image_22112025_07_41_23_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1066fd8aebebc1e8c4df1f97aa4633c0.jpg","text":"TemporaryFile(/tmp/multipartBody1301407011118207072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793802807,"filename":"image_22112025_07_41_11_3822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679790","file1":"1395679788","file0":"1395679786","file4":"1395679794","file5":"1395679797","file3":"1395679792"},"map_files_photo_id_array":[{"photo_id":"1395679797","filename":"file5"},{"photo_id":"1395679790","filename":"file2"},{"photo_id":"1395679794","filename":"file4"},{"photo_id":"1395679788","filename":"file1"},{"photo_id":"1395679786","filename":"file0"},{"photo_id":"1395679792","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679797":["hashtag1","hashtag2"]},{"1395679794":["hashtag1","hashtag2"]},{"1395679788":["hashtag1","hashtag2"]},{"1395679790":["hashtag1","hashtag2"]},{"1395679792":["hashtag1","hashtag2"]},{"1395679786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679797, 1395679794, 1395679788, 1395679790, 1395679792, 1395679786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54495978355408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:43:02.917696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_32_3818.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_34_2611.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_37_2630.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_43_2821.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_46_2697.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_50_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_32_3818.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_34_2611.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_37_2630.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_43_2821.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_46_2697.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_50_3553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679804","1395679807","1395679801","1395679800","1395679799","1395679802"],"photo_ids_order":["1395679799","1395679800","1395679801","1395679802","1395679804","1395679807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c58a63a6fc1ea655bce98dea3ddaaaa.jpg","text":"TemporaryFile(/tmp/multipartBody6684457866928175137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793843725,"filename":"image_22112025_07_41_46_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1a74cf487f0e849ac81f5c4bc11f109.jpg","text":"TemporaryFile(/tmp/multipartBody8216787185947115526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793843725,"filename":"image_22112025_07_41_50_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05a446600d3b9f2c0ff098b577815aca.jpg","text":"TemporaryFile(/tmp/multipartBody6531596010605996730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793843725,"filename":"image_22112025_07_41_37_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13673b2042ca6fd20a24dcb92814b1e7.jpg","text":"TemporaryFile(/tmp/multipartBody7337681558696399661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793843725,"filename":"image_22112025_07_41_34_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f9fbe6b90d7533bbafb5fc4d176e8a1.jpg","text":"TemporaryFile(/tmp/multipartBody4842967857796369904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793843725,"filename":"image_22112025_07_41_32_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63d8330f70d70c890ffa383d5cdd2821.jpg","text":"TemporaryFile(/tmp/multipartBody3134475929166081863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793843725,"filename":"image_22112025_07_41_43_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679801","file1":"1395679800","file0":"1395679799","file4":"1395679804","file5":"1395679807","file3":"1395679802"},"map_files_photo_id_array":[{"photo_id":"1395679807","filename":"file5"},{"photo_id":"1395679801","filename":"file2"},{"photo_id":"1395679804","filename":"file4"},{"photo_id":"1395679800","filename":"file1"},{"photo_id":"1395679799","filename":"file0"},{"photo_id":"1395679802","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679804":["hashtag1","hashtag2"]},{"1395679807":["hashtag1","hashtag2"]},{"1395679801":["hashtag1","hashtag2"]},{"1395679800":["hashtag1","hashtag2"]},{"1395679799":["hashtag1","hashtag2"]},{"1395679802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679804, 1395679807, 1395679801, 1395679800, 1395679799, 1395679802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11355209350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:43:42.254391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_52_2846.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_55_2775.jpg', '/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_58_2587.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_06_3011.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_10_3718.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_15_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_52_2846.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_55_2775.jpg
/home/pi/Desktop/images/22112025/07/41/image_22112025_07_41_58_2587.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_06_3011.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_10_3718.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_15_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679819","1395679813","1395679816","1395679818","1395679820","1395679817"],"photo_ids_order":["1395679813","1395679816","1395679817","1395679818","1395679819","1395679820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c144f542e2c9a94a79b71c79d602308b.jpg","text":"TemporaryFile(/tmp/multipartBody9183848072488379922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793882991,"filename":"image_22112025_07_43_10_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21d8e13cfbfaac222d06a4bec6a0cdc0.jpg","text":"TemporaryFile(/tmp/multipartBody3779658261504721904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793882991,"filename":"image_22112025_07_41_52_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c2cbe0e919205f3f20548dfd9d076ef.jpg","text":"TemporaryFile(/tmp/multipartBody4424319777517163513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793882991,"filename":"image_22112025_07_41_55_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/691d8fc4455a45a9dbf83cd3bb87dd0b.jpg","text":"TemporaryFile(/tmp/multipartBody3923538206441024166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793882991,"filename":"image_22112025_07_43_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66c71de7918767d4eee8fb5370ac83e9.jpg","text":"TemporaryFile(/tmp/multipartBody5657132555520558237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793882991,"filename":"image_22112025_07_43_15_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/109f5ec9b85a06d9b1f4a187dc972996.jpg","text":"TemporaryFile(/tmp/multipartBody4720425498679523198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793882991,"filename":"image_22112025_07_41_58_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679817","file1":"1395679816","file0":"1395679813","file4":"1395679819","file5":"1395679820","file3":"1395679818"},"map_files_photo_id_array":[{"photo_id":"1395679820","filename":"file5"},{"photo_id":"1395679817","filename":"file2"},{"photo_id":"1395679819","filename":"file4"},{"photo_id":"1395679816","filename":"file1"},{"photo_id":"1395679813","filename":"file0"},{"photo_id":"1395679818","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679819":["hashtag1","hashtag2"]},{"1395679813":["hashtag1","hashtag2"]},{"1395679816":["hashtag1","hashtag2"]},{"1395679818":["hashtag1","hashtag2"]},{"1395679820":["hashtag1","hashtag2"]},{"1395679817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679819, 1395679813, 1395679816, 1395679818, 1395679820, 1395679817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10677361488342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:44:22.487016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_19_3568.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_22_2658.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_25_3530.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_28_2698.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_37_3782.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_40_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_19_3568.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_22_2658.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_25_3530.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_28_2698.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_37_3782.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_40_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679837","1395679831","1395679834","1395679828","1395679842","1395679824"],"photo_ids_order":["1395679824","1395679828","1395679831","1395679834","1395679837","1395679842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/462f5e8e87dd34fe8b8f968677c1793b.jpg","text":"TemporaryFile(/tmp/multipartBody4365503940030923261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793923219,"filename":"image_22112025_07_43_37_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f13b60a56264aaaa31a474e244ec842.jpg","text":"TemporaryFile(/tmp/multipartBody9133263521313855818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793923219,"filename":"image_22112025_07_43_25_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6d5564a3f81106ae38aeac9a62fcd85.jpg","text":"TemporaryFile(/tmp/multipartBody1149155970551041478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793923219,"filename":"image_22112025_07_43_28_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4aaf067b444090460c9afc86fd1af320.jpg","text":"TemporaryFile(/tmp/multipartBody1284740704571700840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793923219,"filename":"image_22112025_07_43_22_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c0c6619c50127540ee909628b2f7508.jpg","text":"TemporaryFile(/tmp/multipartBody6544022748345799353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793923219,"filename":"image_22112025_07_43_40_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/423a230d5b15f64d557074210889f876.jpg","text":"TemporaryFile(/tmp/multipartBody4051078961819061837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793923219,"filename":"image_22112025_07_43_19_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679831","file1":"1395679828","file0":"1395679824","file4":"1395679837","file5":"1395679842","file3":"1395679834"},"map_files_photo_id_array":[{"photo_id":"1395679842","filename":"file5"},{"photo_id":"1395679831","filename":"file2"},{"photo_id":"1395679837","filename":"file4"},{"photo_id":"1395679828","filename":"file1"},{"photo_id":"1395679824","filename":"file0"},{"photo_id":"1395679834","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679837":["hashtag1","hashtag2"]},{"1395679831":["hashtag1","hashtag2"]},{"1395679834":["hashtag1","hashtag2"]},{"1395679828":["hashtag1","hashtag2"]},{"1395679842":["hashtag1","hashtag2"]},{"1395679824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679837, 1395679831, 1395679834, 1395679828, 1395679842, 1395679824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.860337018966675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:45:03.430650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_43_3546.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_46_2665.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_49_2653.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_52_3694.jpg', '/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_55_2736.jpg', '/home/pi/Desktop/images/22112025/07/44/image_22112025_07_44_01_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_43_3546.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_46_2665.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_49_2653.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_52_3694.jpg
/home/pi/Desktop/images/22112025/07/43/image_22112025_07_43_55_2736.jpg
/home/pi/Desktop/images/22112025/07/44/image_22112025_07_44_01_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679846","1395679845","1395679844","1395679853","1395679847","1395679849"],"photo_ids_order":["1395679844","1395679845","1395679846","1395679847","1395679849","1395679853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/709ecfe35eb0e008e093122ee3826baa.jpg","text":"TemporaryFile(/tmp/multipartBody541480139928122028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793964224,"filename":"image_22112025_07_43_49_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/037a77b1cbb571d6dac86bfe761dd8e5.jpg","text":"TemporaryFile(/tmp/multipartBody5377404451207473072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793964224,"filename":"image_22112025_07_43_46_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ab3717c819e34f2a6f38478fdcdc03d.jpg","text":"TemporaryFile(/tmp/multipartBody1567195087185225549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793964224,"filename":"image_22112025_07_43_43_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bae9fb40c4a143c64166c80e63c55e14.jpg","text":"TemporaryFile(/tmp/multipartBody4053858261595898032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793964224,"filename":"image_22112025_07_44_01_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3102cd6299bb29538fdacfb77f4ae1be.jpg","text":"TemporaryFile(/tmp/multipartBody8610955178420115731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793964224,"filename":"image_22112025_07_43_52_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60644ae2128814fd2aaab0d879135540.jpg","text":"TemporaryFile(/tmp/multipartBody5733042127882966808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763793964224,"filename":"image_22112025_07_43_55_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679846","file1":"1395679845","file0":"1395679844","file4":"1395679849","file5":"1395679853","file3":"1395679847"},"map_files_photo_id_array":[{"photo_id":"1395679853","filename":"file5"},{"photo_id":"1395679846","filename":"file2"},{"photo_id":"1395679849","filename":"file4"},{"photo_id":"1395679845","filename":"file1"},{"photo_id":"1395679844","filename":"file0"},{"photo_id":"1395679847","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679846":["hashtag1","hashtag2"]},{"1395679845":["hashtag1","hashtag2"]},{"1395679844":["hashtag1","hashtag2"]},{"1395679853":["hashtag1","hashtag2"]},{"1395679847":["hashtag1","hashtag2"]},{"1395679849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679846, 1395679845, 1395679844, 1395679853, 1395679847, 1395679849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99323797225952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:45:42.721342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/44/image_22112025_07_44_04_3693.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_07_3018.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_11_3808.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_14_2821.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_16_2587.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_19_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/44/image_22112025_07_44_04_3693.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_07_3018.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_11_3808.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_14_2821.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_16_2587.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_19_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679864","1395679863","1395679865","1395679859","1395679867","1395679861"],"photo_ids_order":["1395679859","1395679861","1395679863","1395679864","1395679865","1395679867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83643d23c81801e50465cf2028768f52.jpg","text":"TemporaryFile(/tmp/multipartBody4434381467621904614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794003424,"filename":"image_22112025_07_45_14_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a81542b6d123d3cda2333fe465ee83c.jpg","text":"TemporaryFile(/tmp/multipartBody7798374925993536141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794003424,"filename":"image_22112025_07_45_11_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d96977ddab0419b58bfe40d050b00b9e.jpg","text":"TemporaryFile(/tmp/multipartBody9046611099576644256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794003424,"filename":"image_22112025_07_45_16_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0ae100b0d4433f700c407280e4b8836.jpg","text":"TemporaryFile(/tmp/multipartBody3347300399975861368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794003424,"filename":"image_22112025_07_44_04_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bf950584191c46e003d7a64bef86897.jpg","text":"TemporaryFile(/tmp/multipartBody5584959576446743672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794003424,"filename":"image_22112025_07_45_19_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/383c23f9979cd7eda0cbd10a972672d2.jpg","text":"TemporaryFile(/tmp/multipartBody2178148735977443584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794003424,"filename":"image_22112025_07_45_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679863","file1":"1395679861","file0":"1395679859","file4":"1395679865","file5":"1395679867","file3":"1395679864"},"map_files_photo_id_array":[{"photo_id":"1395679867","filename":"file5"},{"photo_id":"1395679863","filename":"file2"},{"photo_id":"1395679865","filename":"file4"},{"photo_id":"1395679861","filename":"file1"},{"photo_id":"1395679859","filename":"file0"},{"photo_id":"1395679864","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679864":["hashtag1","hashtag2"]},{"1395679863":["hashtag1","hashtag2"]},{"1395679865":["hashtag1","hashtag2"]},{"1395679859":["hashtag1","hashtag2"]},{"1395679867":["hashtag1","hashtag2"]},{"1395679861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679864, 1395679863, 1395679865, 1395679859, 1395679867, 1395679861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.197447538375854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:46:22.077634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_23_3592.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_25_2652.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_29_3649.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_34_2555.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_38_3616.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_41_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_23_3592.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_25_2652.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_29_3649.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_34_2555.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_38_3616.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_41_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679900","1395679878","1395679902","1395679905","1395679898","1395679894"],"photo_ids_order":["1395679878","1395679894","1395679898","1395679900","1395679902","1395679905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dc7b06162127bd997ef5a79a9e5e25b.jpg","text":"TemporaryFile(/tmp/multipartBody3115294438537341365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794042865,"filename":"image_22112025_07_45_34_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2381b4ae646fa33de0558472d42aa6c7.jpg","text":"TemporaryFile(/tmp/multipartBody6145944900119962078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794042865,"filename":"image_22112025_07_45_23_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc5c6da5a0360ffde89a87bcc75e722e.jpg","text":"TemporaryFile(/tmp/multipartBody1680163701574810525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794042865,"filename":"image_22112025_07_45_38_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f87fde3e10746ba58f794a24977f0831.jpg","text":"TemporaryFile(/tmp/multipartBody7101028291491270364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794042865,"filename":"image_22112025_07_45_41_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfd1f94be031bbdbba254e56310fe767.jpg","text":"TemporaryFile(/tmp/multipartBody7106305028428898888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794042865,"filename":"image_22112025_07_45_29_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7448e192f326fce4ab4ce43e54fe69d8.jpg","text":"TemporaryFile(/tmp/multipartBody3041999057494834931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794042865,"filename":"image_22112025_07_45_25_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679898","file1":"1395679894","file0":"1395679878","file4":"1395679902","file5":"1395679905","file3":"1395679900"},"map_files_photo_id_array":[{"photo_id":"1395679905","filename":"file5"},{"photo_id":"1395679898","filename":"file2"},{"photo_id":"1395679902","filename":"file4"},{"photo_id":"1395679894","filename":"file1"},{"photo_id":"1395679878","filename":"file0"},{"photo_id":"1395679900","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679900":["hashtag1","hashtag2"]},{"1395679878":["hashtag1","hashtag2"]},{"1395679902":["hashtag1","hashtag2"]},{"1395679905":["hashtag1","hashtag2"]},{"1395679898":["hashtag1","hashtag2"]},{"1395679894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679900, 1395679878, 1395679902, 1395679905, 1395679898, 1395679894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26910042762756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:47:02.715446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_43_2587.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_47_3620.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_52_2813.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_56_3595.jpg', '/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_59_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_43_2587.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_47_3620.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_52_2813.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_56_3595.jpg
/home/pi/Desktop/images/22112025/07/45/image_22112025_07_45_59_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679912","1395679909","1395679908","1395679910","1395679907"],"photo_ids_order":["1395679907","1395679908","1395679909","1395679910","1395679912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f9434dadcf1a92384170111397e741e.jpg","text":"TemporaryFile(/tmp/multipartBody5895232918839780851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794083469,"filename":"image_22112025_07_45_59_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee19b91b607c80c11e556e7dd6abfb7f.jpg","text":"TemporaryFile(/tmp/multipartBody7910996551532109610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794083469,"filename":"image_22112025_07_45_52_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83ab2674078d8608a19f98729b796a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8820870443365382854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794083469,"filename":"image_22112025_07_45_47_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab26422dc3d3e4d30f554b59c99f37ad.jpg","text":"TemporaryFile(/tmp/multipartBody32889579709934405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794083469,"filename":"image_22112025_07_45_56_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46bb69dc852127f8d0c62237c544b423.jpg","text":"TemporaryFile(/tmp/multipartBody2332864033634233541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794083469,"filename":"image_22112025_07_45_43_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679909","file1":"1395679908","file0":"1395679907","file4":"1395679912","file3":"1395679910"},"map_files_photo_id_array":[{"photo_id":"1395679909","filename":"file2"},{"photo_id":"1395679912","filename":"file4"},{"photo_id":"1395679908","filename":"file1"},{"photo_id":"1395679907","filename":"file0"},{"photo_id":"1395679910","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679912":["hashtag1","hashtag2"]},{"1395679909":["hashtag1","hashtag2"]},{"1395679908":["hashtag1","hashtag2"]},{"1395679910":["hashtag1","hashtag2"]},{"1395679907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679912, 1395679909, 1395679908, 1395679910, 1395679907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.1871976852417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:47:41.919501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/46/image_22112025_07_46_01_2575.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_06_3017.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_10_3830.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_13_2631.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_18_2855.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_25_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/46/image_22112025_07_46_01_2575.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_06_3017.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_10_3830.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_13_2631.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_18_2855.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_25_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679933","1395679926","1395679935","1395679929","1395679923","1395679928"],"photo_ids_order":["1395679923","1395679926","1395679928","1395679929","1395679933","1395679935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08fd155f28125860fe86d03a46b560fa.jpg","text":"TemporaryFile(/tmp/multipartBody8799051964958232886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794122626,"filename":"image_22112025_07_47_18_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af69379ebf0d31fa13c7ddf0745a5c58.jpg","text":"TemporaryFile(/tmp/multipartBody6655743086663762940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794122626,"filename":"image_22112025_07_47_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32afe4cb89ddb32bfc8c062de7409541.jpg","text":"TemporaryFile(/tmp/multipartBody7706946372258187459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794122626,"filename":"image_22112025_07_47_25_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f2e1771139c48ce7466a9c123d7259f.jpg","text":"TemporaryFile(/tmp/multipartBody4804095975414935376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794122626,"filename":"image_22112025_07_47_13_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6a86f5959283f3db5ce26c20b3443e9.jpg","text":"TemporaryFile(/tmp/multipartBody1281942464446416858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794122626,"filename":"image_22112025_07_46_01_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/079535a6242daec94776e8dd248631d0.jpg","text":"TemporaryFile(/tmp/multipartBody7485144934027478405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794122626,"filename":"image_22112025_07_47_10_3830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679928","file1":"1395679926","file0":"1395679923","file4":"1395679933","file5":"1395679935","file3":"1395679929"},"map_files_photo_id_array":[{"photo_id":"1395679935","filename":"file5"},{"photo_id":"1395679928","filename":"file2"},{"photo_id":"1395679933","filename":"file4"},{"photo_id":"1395679926","filename":"file1"},{"photo_id":"1395679923","filename":"file0"},{"photo_id":"1395679929","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679933":["hashtag1","hashtag2"]},{"1395679926":["hashtag1","hashtag2"]},{"1395679935":["hashtag1","hashtag2"]},{"1395679929":["hashtag1","hashtag2"]},{"1395679923":["hashtag1","hashtag2"]},{"1395679928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679933, 1395679926, 1395679935, 1395679929, 1395679923, 1395679928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.663424015045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:48:22.146722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_27_2573.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_31_3638.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_34_2605.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_38_4495.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_40_1782.jpg', '/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_43_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_27_2573.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_31_3638.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_34_2605.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_38_4495.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_40_1782.jpg
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_43_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679944","1395679947","1395679937","1395679952","1395679949","1395679940"],"photo_ids_order":["1395679937","1395679940","1395679944","1395679947","1395679949","1395679952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8baa9f19aa891e902c391890119d2357.jpg","text":"TemporaryFile(/tmp/multipartBody8167454401795600041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794162850,"filename":"image_22112025_07_47_34_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0354f89619cdbe6f514023632b8e85f.jpg","text":"TemporaryFile(/tmp/multipartBody3384924713173870933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794162850,"filename":"image_22112025_07_47_38_4495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e04213f050e1aa5c1e2a67ac31a5562.jpg","text":"TemporaryFile(/tmp/multipartBody2017116384189065076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794162850,"filename":"image_22112025_07_47_27_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89dadcea8f5a5986eea4fa2f3820b309.jpg","text":"TemporaryFile(/tmp/multipartBody615227730440199143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794162850,"filename":"image_22112025_07_47_43_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbbd8b1b91af40511346137611d4dce4.jpg","text":"TemporaryFile(/tmp/multipartBody3914351116336476627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794162850,"filename":"image_22112025_07_47_40_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a986e16a0161f36f34efbf5a42fe190.jpg","text":"TemporaryFile(/tmp/multipartBody6726220557512111535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794162850,"filename":"image_22112025_07_47_31_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679944","file1":"1395679940","file0":"1395679937","file4":"1395679949","file5":"1395679952","file3":"1395679947"},"map_files_photo_id_array":[{"photo_id":"1395679952","filename":"file5"},{"photo_id":"1395679944","filename":"file2"},{"photo_id":"1395679949","filename":"file4"},{"photo_id":"1395679940","filename":"file1"},{"photo_id":"1395679937","filename":"file0"},{"photo_id":"1395679947","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679944":["hashtag1","hashtag2"]},{"1395679947":["hashtag1","hashtag2"]},{"1395679937":["hashtag1","hashtag2"]},{"1395679952":["hashtag1","hashtag2"]},{"1395679949":["hashtag1","hashtag2"]},{"1395679940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679944, 1395679947, 1395679937, 1395679952, 1395679949, 1395679940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46004772186279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:49:03.655365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_46_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_46_3555.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679954"],"photo_id":"1395679954","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc40924a6a94a703b84052aaa6f5cbf1.jpg","text":"TemporaryFile(/tmp/multipartBody4014479301522190196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794204244,"filename":"image_22112025_07_47_46_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395679954"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395679954"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.235200643539429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:49:22.373320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_49_2645.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_06_3012.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_13_2649.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_16_2680.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_19_3633.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_22_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/47/image_22112025_07_47_49_2645.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_06_3012.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_13_2649.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_16_2680.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_19_3633.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_22_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679963","1395679957","1395679965","1395679967","1395679972","1395679960"],"photo_ids_order":["1395679957","1395679960","1395679963","1395679965","1395679967","1395679972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75b662161af870847b7f0f9cf3038ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3524890736847101786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794223130,"filename":"image_22112025_07_49_13_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d40a9976318f07bb5bd74b2591a247b9.jpg","text":"TemporaryFile(/tmp/multipartBody760056575957672897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794223130,"filename":"image_22112025_07_47_49_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6cd0a9cf888f8039af2ea2fe0dcd743.jpg","text":"TemporaryFile(/tmp/multipartBody5255041681583331229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794223130,"filename":"image_22112025_07_49_16_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5795311499c41c66ebd84778b971027.jpg","text":"TemporaryFile(/tmp/multipartBody7400131639623287824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794223130,"filename":"image_22112025_07_49_19_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bfd809407e54cef0ac35306728e0ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5774924276278506468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794223130,"filename":"image_22112025_07_49_22_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b99ef4e947afb241c0a897bc266b2dd2.jpg","text":"TemporaryFile(/tmp/multipartBody1599004742838588208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794223130,"filename":"image_22112025_07_49_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679963","file1":"1395679960","file0":"1395679957","file4":"1395679967","file5":"1395679972","file3":"1395679965"},"map_files_photo_id_array":[{"photo_id":"1395679972","filename":"file5"},{"photo_id":"1395679963","filename":"file2"},{"photo_id":"1395679967","filename":"file4"},{"photo_id":"1395679960","filename":"file1"},{"photo_id":"1395679957","filename":"file0"},{"photo_id":"1395679965","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679963":["hashtag1","hashtag2"]},{"1395679957":["hashtag1","hashtag2"]},{"1395679965":["hashtag1","hashtag2"]},{"1395679967":["hashtag1","hashtag2"]},{"1395679972":["hashtag1","hashtag2"]},{"1395679960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679963, 1395679957, 1395679965, 1395679967, 1395679972, 1395679960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.567384243011475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:50:03.117419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_28_3789.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_43_2818.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_46_2661.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_52_3687.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_55_2733.jpg', '/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_58_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_28_3789.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_43_2818.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_46_2661.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_52_3687.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_55_2733.jpg
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_49_58_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395679980","1395679974","1395679973","1395679976","1395679978","1395679975"],"photo_ids_order":["1395679973","1395679974","1395679975","1395679976","1395679978","1395679980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5da8db2ff88ae5034b2480880c47282f.jpg","text":"TemporaryFile(/tmp/multipartBody778311458114641713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794263863,"filename":"image_22112025_07_49_58_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44b54b10802ff8802fe8795660040b51.jpg","text":"TemporaryFile(/tmp/multipartBody2155619807289781714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794263863,"filename":"image_22112025_07_49_43_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b8af944fd1900e7092b2c32838e5d48.jpg","text":"TemporaryFile(/tmp/multipartBody325092299482658704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794263863,"filename":"image_22112025_07_49_28_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c9687b45ada8a0cac460ff44d3cd347.jpg","text":"TemporaryFile(/tmp/multipartBody6512756821241069571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794263863,"filename":"image_22112025_07_49_52_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/caa786f96fb0997fbc5f807fd0befcba.jpg","text":"TemporaryFile(/tmp/multipartBody6998477693566694831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794263863,"filename":"image_22112025_07_49_55_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b7e45798fcc4bd309fb6bdf065fccef.jpg","text":"TemporaryFile(/tmp/multipartBody1933064328057246497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794263863,"filename":"image_22112025_07_49_46_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679975","file1":"1395679974","file0":"1395679973","file4":"1395679978","file5":"1395679980","file3":"1395679976"},"map_files_photo_id_array":[{"photo_id":"1395679980","filename":"file5"},{"photo_id":"1395679975","filename":"file2"},{"photo_id":"1395679978","filename":"file4"},{"photo_id":"1395679974","filename":"file1"},{"photo_id":"1395679973","filename":"file0"},{"photo_id":"1395679976","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395679980":["hashtag1","hashtag2"]},{"1395679974":["hashtag1","hashtag2"]},{"1395679973":["hashtag1","hashtag2"]},{"1395679976":["hashtag1","hashtag2"]},{"1395679978":["hashtag1","hashtag2"]},{"1395679975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395679980, 1395679974, 1395679973, 1395679976, 1395679978, 1395679975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.290804624557495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:50:42.581867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_16_2731.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_20_3572.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_23_2807.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_26_2864.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_28_2912.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_32_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_16_2731.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_20_3572.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_23_2807.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_26_2864.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_28_2912.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_32_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680000","1395680003","1395679998","1395679991","1395679994","1395679996"],"photo_ids_order":["1395679991","1395679994","1395679996","1395679998","1395680000","1395680003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aaade47d6d4cd4f1c696d71995a44cb4.jpg","text":"TemporaryFile(/tmp/multipartBody783189100207534089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794304862,"filename":"image_30102025_18_01_28_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61355bd85ff38d72a4bfa4502a38b598.jpg","text":"TemporaryFile(/tmp/multipartBody1544368925497947871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794304862,"filename":"image_30102025_18_01_32_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79c2aec9d0ace0d00efeed4f76db3f7f.jpg","text":"TemporaryFile(/tmp/multipartBody7619465929564520156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794304862,"filename":"image_30102025_18_01_26_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5803114e574d61ca02335437e4ff1be1.jpg","text":"TemporaryFile(/tmp/multipartBody5737491305633072774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794304862,"filename":"image_30102025_18_01_16_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6756f2462ac4d2a5babcb30e1345289.jpg","text":"TemporaryFile(/tmp/multipartBody151195153560611749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794304862,"filename":"image_30102025_18_01_20_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/915fb4384c613d637966a5a0394ca7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2238395862032927780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794304862,"filename":"image_30102025_18_01_23_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395679996","file1":"1395679994","file0":"1395679991","file4":"1395680000","file5":"1395680003","file3":"1395679998"},"map_files_photo_id_array":[{"photo_id":"1395680003","filename":"file5"},{"photo_id":"1395679996","filename":"file2"},{"photo_id":"1395680000","filename":"file4"},{"photo_id":"1395679994","filename":"file1"},{"photo_id":"1395679991","filename":"file0"},{"photo_id":"1395679998","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395680000":["hashtag1","hashtag2"]},{"1395680003":["hashtag1","hashtag2"]},{"1395679998":["hashtag1","hashtag2"]},{"1395679991":["hashtag1","hashtag2"]},{"1395679994":["hashtag1","hashtag2"]},{"1395679996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395680000, 1395680003, 1395679998, 1395679991, 1395679994, 1395679996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18347358703613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:51:21.785147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/49/image_22112025_07_50_01_3647.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_11_3697.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_20_3579.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_25_2855.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_28_2669.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_34_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/49/image_22112025_07_50_01_3647.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_11_3697.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_20_3579.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_25_2855.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_28_2669.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_34_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680047","1395680017","1395680020","1395680007","1395680054","1395680012"],"photo_ids_order":["1395680007","1395680012","1395680017","1395680020","1395680047","1395680054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ae615331de79f72d420b95c177e0355.jpg","text":"TemporaryFile(/tmp/multipartBody3871037557033523633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794342553,"filename":"image_22112025_07_51_28_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/572c98bb87df05faf48ba5b5608407ea.jpg","text":"TemporaryFile(/tmp/multipartBody8365479280945298210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794342553,"filename":"image_22112025_07_51_20_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb43bfc10a109ef68de3e6e59239ef16.jpg","text":"TemporaryFile(/tmp/multipartBody8919919705965154263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794342553,"filename":"image_22112025_07_51_25_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0399cf86842e2483397cd9eac6777057.jpg","text":"TemporaryFile(/tmp/multipartBody5654353410798676362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794342553,"filename":"image_22112025_07_50_01_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97db09d9574946da0759e719302b6ef9.jpg","text":"TemporaryFile(/tmp/multipartBody1717993506049360473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794342553,"filename":"image_22112025_07_51_34_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bddeaf4a516f379babbcab9468343b10.jpg","text":"TemporaryFile(/tmp/multipartBody2728352082431249674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794342553,"filename":"image_22112025_07_51_11_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680017","file1":"1395680012","file0":"1395680007","file4":"1395680047","file5":"1395680054","file3":"1395680020"},"map_files_photo_id_array":[{"photo_id":"1395680054","filename":"file5"},{"photo_id":"1395680017","filename":"file2"},{"photo_id":"1395680047","filename":"file4"},{"photo_id":"1395680012","filename":"file1"},{"photo_id":"1395680007","filename":"file0"},{"photo_id":"1395680020","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680047":["hashtag1","hashtag2"]},{"1395680017":["hashtag1","hashtag2"]},{"1395680020":["hashtag1","hashtag2"]},{"1395680007":["hashtag1","hashtag2"]},{"1395680054":["hashtag1","hashtag2"]},{"1395680012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680047, 1395680017, 1395680020, 1395680007, 1395680054, 1395680012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.450287103652954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:52:02.542175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_37_2710.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_40_2822.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_44_3666.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_46_2712.jpg', '/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_53_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_37_2710.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_40_2822.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_44_3666.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_46_2712.jpg
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_53_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680056","1395680059","1395680058","1395680061","1395680057"],"photo_ids_order":["1395680056","1395680057","1395680058","1395680059","1395680061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc8e799ba0bfb9bcae93d2c2eb0aa89a.jpg","text":"TemporaryFile(/tmp/multipartBody4739858626538675521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794383252,"filename":"image_22112025_07_51_37_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cd1caf20892516817c0eac3243a200d.jpg","text":"TemporaryFile(/tmp/multipartBody4661860303118169891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794383252,"filename":"image_22112025_07_51_46_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abb9d13b166300af03b8ad9fec7567f4.jpg","text":"TemporaryFile(/tmp/multipartBody9091834678303977710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794383252,"filename":"image_22112025_07_51_44_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/446f68634b961f1190f8f946acbcaf14.jpg","text":"TemporaryFile(/tmp/multipartBody7297730232322276705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794383252,"filename":"image_22112025_07_51_53_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40566d47a4982fe858467c30076fc27b.jpg","text":"TemporaryFile(/tmp/multipartBody6407042681899549572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794383252,"filename":"image_22112025_07_51_40_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680058","file1":"1395680057","file0":"1395680056","file4":"1395680061","file3":"1395680059"},"map_files_photo_id_array":[{"photo_id":"1395680058","filename":"file2"},{"photo_id":"1395680061","filename":"file4"},{"photo_id":"1395680057","filename":"file1"},{"photo_id":"1395680056","filename":"file0"},{"photo_id":"1395680059","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680056":["hashtag1","hashtag2"]},{"1395680059":["hashtag1","hashtag2"]},{"1395680058":["hashtag1","hashtag2"]},{"1395680061":["hashtag1","hashtag2"]},{"1395680057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680056, 1395680059, 1395680058, 1395680061, 1395680057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.075160026550293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:52:42.063350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_55_2657.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_02_3695.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_05_2734.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_11_3692.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_13_2579.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_16_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/51/image_22112025_07_51_55_2657.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_02_3695.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_05_2734.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_11_3692.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_13_2579.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_16_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680074","1395680077","1395680076","1395680075","1395680078","1395680072"],"photo_ids_order":["1395680072","1395680074","1395680075","1395680076","1395680077","1395680078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcd0691ae4548d7903bb92757b62cdc8.jpg","text":"TemporaryFile(/tmp/multipartBody41546823741827164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794422763,"filename":"image_22112025_07_52_02_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9fe9d387681152f69a7997daaf75ca8.jpg","text":"TemporaryFile(/tmp/multipartBody1168167022983471035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794422763,"filename":"image_22112025_07_52_13_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb560b5186de731d33e509c5729d7d78.jpg","text":"TemporaryFile(/tmp/multipartBody1958682744826716073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794422763,"filename":"image_22112025_07_52_11_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9dbff9e657cac6856ecab3b1b8e714f8.jpg","text":"TemporaryFile(/tmp/multipartBody6135118899673793250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794422763,"filename":"image_22112025_07_52_05_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83edbe39fbb3b9c17900460b4e184f5c.jpg","text":"TemporaryFile(/tmp/multipartBody7258604565254284231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794422763,"filename":"image_22112025_07_52_16_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26ae190a5bdb4e24e3e243e84702960b.jpg","text":"TemporaryFile(/tmp/multipartBody6237206459385647074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794422763,"filename":"image_22112025_07_51_55_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680075","file1":"1395680074","file0":"1395680072","file4":"1395680077","file5":"1395680078","file3":"1395680076"},"map_files_photo_id_array":[{"photo_id":"1395680078","filename":"file5"},{"photo_id":"1395680075","filename":"file2"},{"photo_id":"1395680077","filename":"file4"},{"photo_id":"1395680074","filename":"file1"},{"photo_id":"1395680072","filename":"file0"},{"photo_id":"1395680076","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680074":["hashtag1","hashtag2"]},{"1395680077":["hashtag1","hashtag2"]},{"1395680076":["hashtag1","hashtag2"]},{"1395680075":["hashtag1","hashtag2"]},{"1395680078":["hashtag1","hashtag2"]},{"1395680072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680074, 1395680077, 1395680076, 1395680075, 1395680078, 1395680072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.859598875045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:53:22.296491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_19_2686.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_25_2693.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_28_2660.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_31_3611.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_34_2625.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_37_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_19_2686.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_25_2693.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_28_2660.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_31_3611.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_34_2625.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_37_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680092","1395680095","1395680082","1395680085","1395680087","1395680090"],"photo_ids_order":["1395680082","1395680085","1395680087","1395680090","1395680092","1395680095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7637eb22b26f333bea11651737f90963.jpg","text":"TemporaryFile(/tmp/multipartBody2982165241826794028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794463032,"filename":"image_22112025_07_52_34_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79f15ab8a982ba0ec7720ac547bce46e.jpg","text":"TemporaryFile(/tmp/multipartBody3106801201000269740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794463032,"filename":"image_22112025_07_52_37_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09bf4ccb04a3816ee686368c112ef570.jpg","text":"TemporaryFile(/tmp/multipartBody2761389375698641900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794463032,"filename":"image_22112025_07_52_19_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8b1637e3d635281d11977510c613bba.jpg","text":"TemporaryFile(/tmp/multipartBody2754848346873234439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794463032,"filename":"image_22112025_07_52_25_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b294f7d99bbddcccc2088461191c823d.jpg","text":"TemporaryFile(/tmp/multipartBody2056872197978445064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794463032,"filename":"image_22112025_07_52_28_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbac37eab2191aa0e89cab66d8d07208.jpg","text":"TemporaryFile(/tmp/multipartBody161644594031002761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794463032,"filename":"image_22112025_07_52_31_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680087","file1":"1395680085","file0":"1395680082","file4":"1395680092","file5":"1395680095","file3":"1395680090"},"map_files_photo_id_array":[{"photo_id":"1395680095","filename":"file5"},{"photo_id":"1395680087","filename":"file2"},{"photo_id":"1395680092","filename":"file4"},{"photo_id":"1395680085","filename":"file1"},{"photo_id":"1395680082","filename":"file0"},{"photo_id":"1395680090","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680092":["hashtag1","hashtag2"]},{"1395680095":["hashtag1","hashtag2"]},{"1395680082":["hashtag1","hashtag2"]},{"1395680085":["hashtag1","hashtag2"]},{"1395680087":["hashtag1","hashtag2"]},{"1395680090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680092, 1395680095, 1395680082, 1395680085, 1395680087, 1395680090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46478772163391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:54:03.202840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_43_2734.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_46_2577.jpg', '/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_50_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_43_2734.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_46_2577.jpg
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_50_3728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680104","1395680103","1395680105"],"photo_ids_order":["1395680103","1395680104","1395680105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4bb88b1bff9b47fef3c95ee161a39c7.jpg","text":"TemporaryFile(/tmp/multipartBody376840118098694393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794503848,"filename":"image_22112025_07_52_46_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebf9d58e927d643d442217487c74febd.jpg","text":"TemporaryFile(/tmp/multipartBody5060789658525308970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794503848,"filename":"image_22112025_07_52_43_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e747027e62197ba38cbe9a4c2c8c07e.jpg","text":"TemporaryFile(/tmp/multipartBody6439733547163390447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794503848,"filename":"image_22112025_07_52_50_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680105","file1":"1395680104","file0":"1395680103"},"map_files_photo_id_array":[{"photo_id":"1395680105","filename":"file2"},{"photo_id":"1395680104","filename":"file1"},{"photo_id":"1395680103","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680104":["hashtag1","hashtag2"]},{"1395680103":["hashtag1","hashtag2"]},{"1395680105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680104, 1395680103, 1395680105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.054585695266724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:54:42.475599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_59_3578.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_13_2638.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_19_2819.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_22_2807.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_25_2633.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_29_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/52/image_22112025_07_52_59_3578.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_13_2638.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_19_2819.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_22_2807.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_25_2633.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_29_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680120","1395680122","1395680116","1395680119","1395680121","1395680118"],"photo_ids_order":["1395680116","1395680118","1395680119","1395680120","1395680121","1395680122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf86aff5d1754d7f1e6f02628cca02c3.jpg","text":"TemporaryFile(/tmp/multipartBody285436541568563719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794543181,"filename":"image_22112025_07_54_22_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ff4c4e79a13f404859a604ec0fb962d.jpg","text":"TemporaryFile(/tmp/multipartBody5906453547240278144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794543181,"filename":"image_22112025_07_54_29_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/131b7993d9b0494d50709822ba1a60e4.jpg","text":"TemporaryFile(/tmp/multipartBody3050596167297146596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794543181,"filename":"image_22112025_07_52_59_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e31efdd0eea57aec00bf7a1730f318af.jpg","text":"TemporaryFile(/tmp/multipartBody5995904950480660586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794543181,"filename":"image_22112025_07_54_19_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a17a0ea2f35ea2d2c64dc7f8df1ad5c7.jpg","text":"TemporaryFile(/tmp/multipartBody774310887247103777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794543181,"filename":"image_22112025_07_54_25_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13964e0527c5920eb763d4f96b2fe65a.jpg","text":"TemporaryFile(/tmp/multipartBody1516756149385564734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794543181,"filename":"image_22112025_07_54_13_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680119","file1":"1395680118","file0":"1395680116","file4":"1395680121","file5":"1395680122","file3":"1395680120"},"map_files_photo_id_array":[{"photo_id":"1395680122","filename":"file5"},{"photo_id":"1395680119","filename":"file2"},{"photo_id":"1395680121","filename":"file4"},{"photo_id":"1395680118","filename":"file1"},{"photo_id":"1395680116","filename":"file0"},{"photo_id":"1395680120","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680120":["hashtag1","hashtag2"]},{"1395680122":["hashtag1","hashtag2"]},{"1395680116":["hashtag1","hashtag2"]},{"1395680119":["hashtag1","hashtag2"]},{"1395680121":["hashtag1","hashtag2"]},{"1395680118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680120, 1395680122, 1395680116, 1395680119, 1395680121, 1395680118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66783809661865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:55:22.737415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_31_2713.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_34_2701.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_38_3609.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_41_2960.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_43_2832.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_46_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_31_2713.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_34_2701.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_38_3609.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_41_2960.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_43_2832.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_46_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680135","1395680129","1395680131","1395680133","1395680138","1395680126"],"photo_ids_order":["1395680126","1395680129","1395680131","1395680133","1395680135","1395680138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe60eae26f95746882d7e0eb095c9b41.jpg","text":"TemporaryFile(/tmp/multipartBody3308601871017411769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794583510,"filename":"image_22112025_07_54_43_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd60140748790a8395a0fce5409a6742.jpg","text":"TemporaryFile(/tmp/multipartBody2456456870327864932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794583510,"filename":"image_22112025_07_54_34_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92f3e64535a44dcd459041764797693a.jpg","text":"TemporaryFile(/tmp/multipartBody2419996586601245095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794583510,"filename":"image_22112025_07_54_38_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c3e3f9a83cd61974e8037dd1804e6a9.jpg","text":"TemporaryFile(/tmp/multipartBody2503078260017057132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794583510,"filename":"image_22112025_07_54_41_2960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9c102854e881d33fe9b3789d8a6342c.jpg","text":"TemporaryFile(/tmp/multipartBody2855740571045032952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794583510,"filename":"image_22112025_07_54_46_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea06515478501cc6c201b4e8f09c887a.jpg","text":"TemporaryFile(/tmp/multipartBody1275685010230208158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794583510,"filename":"image_22112025_07_54_31_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680131","file1":"1395680129","file0":"1395680126","file4":"1395680135","file5":"1395680138","file3":"1395680133"},"map_files_photo_id_array":[{"photo_id":"1395680138","filename":"file5"},{"photo_id":"1395680131","filename":"file2"},{"photo_id":"1395680135","filename":"file4"},{"photo_id":"1395680129","filename":"file1"},{"photo_id":"1395680126","filename":"file0"},{"photo_id":"1395680133","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680135":["hashtag1","hashtag2"]},{"1395680129":["hashtag1","hashtag2"]},{"1395680131":["hashtag1","hashtag2"]},{"1395680133":["hashtag1","hashtag2"]},{"1395680138":["hashtag1","hashtag2"]},{"1395680126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680135, 1395680129, 1395680131, 1395680133, 1395680138, 1395680126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.758910179138184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:56:02.417336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_52_2706.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_55_2612.jpg', '/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_58_3687.jpg', '/home/pi/Desktop/images/22112025/07/55/image_22112025_07_55_01_2622.jpg', '/home/pi/Desktop/images/22112025/07/55/image_22112025_07_55_10_2584.jpg', '/home/pi/Desktop/images/22112025/07/55/image_22112025_07_55_13_2796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_52_2706.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_55_2612.jpg
/home/pi/Desktop/images/22112025/07/54/image_22112025_07_54_58_3687.jpg
/home/pi/Desktop/images/22112025/07/55/image_22112025_07_55_01_2622.jpg
/home/pi/Desktop/images/22112025/07/55/image_22112025_07_55_10_2584.jpg
/home/pi/Desktop/images/22112025/07/55/image_22112025_07_55_13_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680140","1395680143","1395680145","1395680142","1395680141","1395680147"],"photo_ids_order":["1395680140","1395680141","1395680142","1395680143","1395680145","1395680147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b07363c82502239f7585a32cc40c15f8.jpg","text":"TemporaryFile(/tmp/multipartBody8053915030008706960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794623203,"filename":"image_22112025_07_54_52_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4f95058cc7abce19a03dcf224f82237.jpg","text":"TemporaryFile(/tmp/multipartBody6635957347042614365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794623203,"filename":"image_22112025_07_55_01_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be3d4e299cbb8e48d1aae6d270a5b5f3.jpg","text":"TemporaryFile(/tmp/multipartBody4018353383956774032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794623203,"filename":"image_22112025_07_55_10_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a15e84769a1c02cd1750e7f7e208efde.jpg","text":"TemporaryFile(/tmp/multipartBody5808009895631858717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794623203,"filename":"image_22112025_07_54_58_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a016673aaed459a48a688ffa27a59241.jpg","text":"TemporaryFile(/tmp/multipartBody4114063624907422528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794623203,"filename":"image_22112025_07_54_55_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c22d2d9102c9f7d39d6f652192792c0.jpg","text":"TemporaryFile(/tmp/multipartBody2490396195556043919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794623203,"filename":"image_22112025_07_55_13_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680142","file1":"1395680141","file0":"1395680140","file4":"1395680145","file5":"1395680147","file3":"1395680143"},"map_files_photo_id_array":[{"photo_id":"1395680147","filename":"file5"},{"photo_id":"1395680142","filename":"file2"},{"photo_id":"1395680145","filename":"file4"},{"photo_id":"1395680141","filename":"file1"},{"photo_id":"1395680140","filename":"file0"},{"photo_id":"1395680143","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680140":["hashtag1","hashtag2"]},{"1395680143":["hashtag1","hashtag2"]},{"1395680145":["hashtag1","hashtag2"]},{"1395680142":["hashtag1","hashtag2"]},{"1395680141":["hashtag1","hashtag2"]},{"1395680147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680140, 1395680143, 1395680145, 1395680142, 1395680141, 1395680147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61926770210266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:56:41.952899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/55/image_22112025_07_55_16_3631.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_07_3018.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_11_3726.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_14_2620.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_16_2785.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_20_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/55/image_22112025_07_55_16_3631.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_07_3018.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_11_3726.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_14_2620.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_16_2785.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_20_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680161","1395680155","1395680163","1395680160","1395680168","1395680165"],"photo_ids_order":["1395680155","1395680160","1395680161","1395680163","1395680165","1395680168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b32a306b0b9fa184eafe68eaab61a11.jpg","text":"TemporaryFile(/tmp/multipartBody7065540851754019116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794662649,"filename":"image_22112025_07_56_11_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4ca5ab1f023727157d8627c4574d976.jpg","text":"TemporaryFile(/tmp/multipartBody3855417731927985176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794662649,"filename":"image_22112025_07_55_16_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7380580e8a3b1c90b4ec2e20da8d53c5.jpg","text":"TemporaryFile(/tmp/multipartBody6217378432494352972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794662649,"filename":"image_22112025_07_56_14_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/827765f65c3493cf8119b523c5d9c092.jpg","text":"TemporaryFile(/tmp/multipartBody8446517004893893372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794662649,"filename":"image_22112025_07_56_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f80db3059fde2971a621fc6661f04263.jpg","text":"TemporaryFile(/tmp/multipartBody1927807046357569948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794662649,"filename":"image_22112025_07_56_20_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8b44ff18b5d1c5cbb6f6d3303c598c7.jpg","text":"TemporaryFile(/tmp/multipartBody6386490226835456644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794662649,"filename":"image_22112025_07_56_16_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680161","file1":"1395680160","file0":"1395680155","file4":"1395680165","file5":"1395680168","file3":"1395680163"},"map_files_photo_id_array":[{"photo_id":"1395680168","filename":"file5"},{"photo_id":"1395680161","filename":"file2"},{"photo_id":"1395680165","filename":"file4"},{"photo_id":"1395680160","filename":"file1"},{"photo_id":"1395680155","filename":"file0"},{"photo_id":"1395680163","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680161":["hashtag1","hashtag2"]},{"1395680155":["hashtag1","hashtag2"]},{"1395680163":["hashtag1","hashtag2"]},{"1395680160":["hashtag1","hashtag2"]},{"1395680168":["hashtag1","hashtag2"]},{"1395680165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680161, 1395680155, 1395680163, 1395680160, 1395680168, 1395680165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69163274765015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:57:22.206803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_25_2850.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_29_3660.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_32_2576.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_34_2638.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_47_3542.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_50_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_25_2850.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_29_3660.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_32_2576.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_34_2638.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_47_3542.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_50_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680179","1395680181","1395680184","1395680186","1395680174","1395680183"],"photo_ids_order":["1395680174","1395680179","1395680181","1395680183","1395680184","1395680186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c879f4d343f61be0b9bd5d6b6560662a.jpg","text":"TemporaryFile(/tmp/multipartBody8792034741095689628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794702940,"filename":"image_22112025_07_56_29_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7854dc2d4745c01e7983a84e3de42add.jpg","text":"TemporaryFile(/tmp/multipartBody4633390712649853417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794702940,"filename":"image_22112025_07_56_32_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ceb6144c47187dd57c2a9ae08048ad15.jpg","text":"TemporaryFile(/tmp/multipartBody686451809586895900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794702940,"filename":"image_22112025_07_56_47_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a5a7f199134cdfc54bf2dcab3d89d64.jpg","text":"TemporaryFile(/tmp/multipartBody1969358479111649235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794702940,"filename":"image_22112025_07_56_50_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6684971344c17ca021855aa6482ea7f.jpg","text":"TemporaryFile(/tmp/multipartBody7687877089983941939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794702940,"filename":"image_22112025_07_56_25_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce0bd71539d0965dfa56cca19236cc4a.jpg","text":"TemporaryFile(/tmp/multipartBody1360359764211275485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794702940,"filename":"image_22112025_07_56_34_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680181","file1":"1395680179","file0":"1395680174","file4":"1395680184","file5":"1395680186","file3":"1395680183"},"map_files_photo_id_array":[{"photo_id":"1395680186","filename":"file5"},{"photo_id":"1395680181","filename":"file2"},{"photo_id":"1395680184","filename":"file4"},{"photo_id":"1395680179","filename":"file1"},{"photo_id":"1395680174","filename":"file0"},{"photo_id":"1395680183","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680179":["hashtag1","hashtag2"]},{"1395680181":["hashtag1","hashtag2"]},{"1395680184":["hashtag1","hashtag2"]},{"1395680186":["hashtag1","hashtag2"]},{"1395680174":["hashtag1","hashtag2"]},{"1395680183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680179, 1395680181, 1395680184, 1395680186, 1395680174, 1395680183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30616044998169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 07:59:03.773385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_52_2618.jpg', '/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_56_3650.jpg', '/home/pi/Desktop/images/22112025/07/57/image_22112025_07_57_05_3786.jpg', '/home/pi/Desktop/images/22112025/07/57/image_22112025_07_57_08_2655.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_07_3018.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_10_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_52_2618.jpg
/home/pi/Desktop/images/22112025/07/56/image_22112025_07_56_56_3650.jpg
/home/pi/Desktop/images/22112025/07/57/image_22112025_07_57_05_3786.jpg
/home/pi/Desktop/images/22112025/07/57/image_22112025_07_57_08_2655.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_07_3018.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_10_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680215","1395680209","1395680218","1395680206","1395680211","1395680204"],"photo_ids_order":["1395680204","1395680206","1395680209","1395680211","1395680215","1395680218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a475982d0be7fafa4a4de6985595177.jpg","text":"TemporaryFile(/tmp/multipartBody9145837743811033455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794804620,"filename":"image_22112025_07_58_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/703d7af5f4193d3d07165570154afd68.jpg","text":"TemporaryFile(/tmp/multipartBody6763745364953707506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794804620,"filename":"image_22112025_07_57_05_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/840f37548de6e283b831f183c6ce6d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5387473511229250883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794804620,"filename":"image_22112025_07_58_10_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8427b9d2bda588e2c75d07366828d6b.jpg","text":"TemporaryFile(/tmp/multipartBody864326556037783381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794804620,"filename":"image_22112025_07_56_56_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58d74f3eba84773e44623fb6ec79ee82.jpg","text":"TemporaryFile(/tmp/multipartBody7452708038261449008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794804620,"filename":"image_22112025_07_57_08_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f831fd0c89ef3bc961cf7bbdbefdc92.jpg","text":"TemporaryFile(/tmp/multipartBody3881851774049493826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794804620,"filename":"image_22112025_07_56_52_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680209","file1":"1395680206","file0":"1395680204","file4":"1395680215","file5":"1395680218","file3":"1395680211"},"map_files_photo_id_array":[{"photo_id":"1395680218","filename":"file5"},{"photo_id":"1395680209","filename":"file2"},{"photo_id":"1395680215","filename":"file4"},{"photo_id":"1395680206","filename":"file1"},{"photo_id":"1395680204","filename":"file0"},{"photo_id":"1395680211","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680215":["hashtag1","hashtag2"]},{"1395680209":["hashtag1","hashtag2"]},{"1395680218":["hashtag1","hashtag2"]},{"1395680206":["hashtag1","hashtag2"]},{"1395680211":["hashtag1","hashtag2"]},{"1395680204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680215, 1395680209, 1395680218, 1395680206, 1395680211, 1395680204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.574077129364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 07:59:42.657168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_13_2633.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_17_3652.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_19_2721.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_22_2589.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_26_3659.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_31_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_13_2633.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_17_3652.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_19_2721.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_22_2589.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_26_3659.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_31_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680228","1395680230","1395680238","1395680235","1395680231","1395680225"],"photo_ids_order":["1395680225","1395680228","1395680230","1395680231","1395680235","1395680238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77c9cda27eec099c7cb12f41640f26ff.jpg","text":"TemporaryFile(/tmp/multipartBody3712451952612112497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794843348,"filename":"image_22112025_07_58_17_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4559ddd6a85888db740ef6ec15141052.jpg","text":"TemporaryFile(/tmp/multipartBody2970221368174872359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794843348,"filename":"image_22112025_07_58_19_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7174a8f5329ebb35fa8af552e29ce20e.jpg","text":"TemporaryFile(/tmp/multipartBody3601516600441954170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794843348,"filename":"image_22112025_07_58_31_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1ceb87272dd0105e3e06ff8d1107904.jpg","text":"TemporaryFile(/tmp/multipartBody1514351034110832587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794843348,"filename":"image_22112025_07_58_26_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20da6dc350d01b6f22ebdd78baa5e3bc.jpg","text":"TemporaryFile(/tmp/multipartBody7324696783656038079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794843348,"filename":"image_22112025_07_58_22_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57fb0bdffbe3caa4112690f896a8aa34.jpg","text":"TemporaryFile(/tmp/multipartBody5496436413719461425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794843348,"filename":"image_22112025_07_58_13_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680230","file1":"1395680228","file0":"1395680225","file4":"1395680235","file5":"1395680238","file3":"1395680231"},"map_files_photo_id_array":[{"photo_id":"1395680238","filename":"file5"},{"photo_id":"1395680230","filename":"file2"},{"photo_id":"1395680235","filename":"file4"},{"photo_id":"1395680228","filename":"file1"},{"photo_id":"1395680225","filename":"file0"},{"photo_id":"1395680231","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680228":["hashtag1","hashtag2"]},{"1395680230":["hashtag1","hashtag2"]},{"1395680238":["hashtag1","hashtag2"]},{"1395680235":["hashtag1","hashtag2"]},{"1395680231":["hashtag1","hashtag2"]},{"1395680225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680228, 1395680230, 1395680238, 1395680235, 1395680231, 1395680225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04293394088745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:00:21.841325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_34_2750.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_38_3684.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_40_2647.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_43_2634.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_47_3708.jpg', '/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_58_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_34_2750.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_38_3684.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_40_2647.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_43_2634.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_47_3708.jpg
/home/pi/Desktop/images/22112025/07/58/image_22112025_07_58_58_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680254","1395680250","1395680244","1395680247","1395680240","1395680252"],"photo_ids_order":["1395680240","1395680244","1395680247","1395680250","1395680252","1395680254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ec375e8c1a8e75497b4c17860a31ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1563227226136590002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794882569,"filename":"image_22112025_07_58_58_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9abca7ff7f1a4725225c443fe518e0b8.jpg","text":"TemporaryFile(/tmp/multipartBody8630301353038062599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794882569,"filename":"image_22112025_07_58_43_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8af2dd0ddc54a7b50231e4214ae1f37e.jpg","text":"TemporaryFile(/tmp/multipartBody5748543438885596798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794882569,"filename":"image_22112025_07_58_38_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6a3cafdd904d152b87d48432bd39a53.jpg","text":"TemporaryFile(/tmp/multipartBody5418556021119826325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794882569,"filename":"image_22112025_07_58_40_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a63a2bac75b35d2ba5af181738e14364.jpg","text":"TemporaryFile(/tmp/multipartBody8136604525537464680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794882569,"filename":"image_22112025_07_58_34_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83c06a1f7e86bfacb32eabba4c2868f4.jpg","text":"TemporaryFile(/tmp/multipartBody4355558508410789286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794882569,"filename":"image_22112025_07_58_47_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680247","file1":"1395680244","file0":"1395680240","file4":"1395680252","file5":"1395680254","file3":"1395680250"},"map_files_photo_id_array":[{"photo_id":"1395680254","filename":"file5"},{"photo_id":"1395680247","filename":"file2"},{"photo_id":"1395680252","filename":"file4"},{"photo_id":"1395680244","filename":"file1"},{"photo_id":"1395680240","filename":"file0"},{"photo_id":"1395680250","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680254":["hashtag1","hashtag2"]},{"1395680250":["hashtag1","hashtag2"]},{"1395680244":["hashtag1","hashtag2"]},{"1395680247":["hashtag1","hashtag2"]},{"1395680240":["hashtag1","hashtag2"]},{"1395680252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680254, 1395680250, 1395680244, 1395680247, 1395680240, 1395680252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16303539276123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:01:02.701504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/07/59/image_22112025_07_59_04_2871.jpg', '/home/pi/Desktop/images/22112025/07/59/image_22112025_07_59_07_3641.jpg', '/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_08_3018.jpg', '/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_11_3576.jpg', '/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_14_2790.jpg', '/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_18_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/07/59/image_22112025_07_59_04_2871.jpg
/home/pi/Desktop/images/22112025/07/59/image_22112025_07_59_07_3641.jpg
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_08_3018.jpg
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_11_3576.jpg
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_14_2790.jpg
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_18_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680281","1395680295","1395680289","1395680259","1395680297","1395680291"],"photo_ids_order":["1395680259","1395680281","1395680289","1395680291","1395680295","1395680297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb4a38287707dde6aa1b29d49cfaf338.jpg","text":"TemporaryFile(/tmp/multipartBody78277269959154227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794923484,"filename":"image_22112025_07_59_07_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c1a09dcb8143630aa0f2b30426d3e39.jpg","text":"TemporaryFile(/tmp/multipartBody8974449949142466184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794923484,"filename":"image_22112025_08_00_14_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50b0c56debf6ae4aeb1fe8151380af37.jpg","text":"TemporaryFile(/tmp/multipartBody2451663897868475524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794923484,"filename":"image_22112025_08_00_08_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b4192be6e62e1c906b94b0e262d5102.jpg","text":"TemporaryFile(/tmp/multipartBody7507014798569591678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794923484,"filename":"image_22112025_07_59_04_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96821f330e43cb1399f0d1438996b548.jpg","text":"TemporaryFile(/tmp/multipartBody4614258579349181077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794923484,"filename":"image_22112025_08_00_18_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84674d4bb91fee10ad0613d324ead47a.jpg","text":"TemporaryFile(/tmp/multipartBody4712650560241842644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794923484,"filename":"image_22112025_08_00_11_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680289","file1":"1395680281","file0":"1395680259","file4":"1395680295","file5":"1395680297","file3":"1395680291"},"map_files_photo_id_array":[{"photo_id":"1395680297","filename":"file5"},{"photo_id":"1395680289","filename":"file2"},{"photo_id":"1395680295","filename":"file4"},{"photo_id":"1395680281","filename":"file1"},{"photo_id":"1395680259","filename":"file0"},{"photo_id":"1395680291","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680281":["hashtag1","hashtag2"]},{"1395680295":["hashtag1","hashtag2"]},{"1395680289":["hashtag1","hashtag2"]},{"1395680259":["hashtag1","hashtag2"]},{"1395680297":["hashtag1","hashtag2"]},{"1395680291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680281, 1395680295, 1395680289, 1395680259, 1395680297, 1395680291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3432674407959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:01:41.954661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_21_2785.jpg', '/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_23_2823.jpg', '/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_26_2596.jpg', '/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_35_2570.jpg', '/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_41_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_21_2785.jpg
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_23_2823.jpg
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_26_2596.jpg
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_35_2570.jpg
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_41_2555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680309","1395680299","1395680302","1395680307","1395680304"],"photo_ids_order":["1395680299","1395680302","1395680304","1395680307","1395680309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46ede2c3e65edbab7f839c56b3d5f217.jpg","text":"TemporaryFile(/tmp/multipartBody2371352501296250336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794962616,"filename":"image_22112025_08_00_41_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbd47d70371e52b71801fd0ee1292987.jpg","text":"TemporaryFile(/tmp/multipartBody5897811720237533677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794962616,"filename":"image_22112025_08_00_21_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf63edb4e98fd63adc243b94a52ec354.jpg","text":"TemporaryFile(/tmp/multipartBody2994096729144685496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794962616,"filename":"image_22112025_08_00_23_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/942abd7956217c04dfea685779799b8f.jpg","text":"TemporaryFile(/tmp/multipartBody2190580009698841407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794962616,"filename":"image_22112025_08_00_35_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c3d6ffca1cae7a8187ac1baf01e8cbc.jpg","text":"TemporaryFile(/tmp/multipartBody1903219730941633445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763794962616,"filename":"image_22112025_08_00_26_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680304","file1":"1395680302","file0":"1395680299","file4":"1395680309","file3":"1395680307"},"map_files_photo_id_array":[{"photo_id":"1395680304","filename":"file2"},{"photo_id":"1395680309","filename":"file4"},{"photo_id":"1395680302","filename":"file1"},{"photo_id":"1395680299","filename":"file0"},{"photo_id":"1395680307","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680309":["hashtag1","hashtag2"]},{"1395680299":["hashtag1","hashtag2"]},{"1395680302":["hashtag1","hashtag2"]},{"1395680307":["hashtag1","hashtag2"]},{"1395680304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680309, 1395680299, 1395680302, 1395680307, 1395680304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.881327867507935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:02:22.200390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_45_3654.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_10_3628.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_16_2686.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_19_3560.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_22_2608.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_26_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/00/image_22112025_08_00_45_3654.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_10_3628.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_16_2686.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_19_3560.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_22_2608.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_26_3623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680328","1395680313","1395680321","1395680315","1395680324","1395680318"],"photo_ids_order":["1395680313","1395680315","1395680318","1395680321","1395680324","1395680328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15a8fd1fbd6c2bec2365f9c4239646fb.jpg","text":"TemporaryFile(/tmp/multipartBody1835186901476517259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795002925,"filename":"image_22112025_08_02_26_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ddd0920748f6fc2191981a1c9d1f883.jpg","text":"TemporaryFile(/tmp/multipartBody2846737931368878403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795002925,"filename":"image_22112025_08_00_45_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4c987556590dd1782a6fb3fb5e0fa87.jpg","text":"TemporaryFile(/tmp/multipartBody6768031531712258407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795002925,"filename":"image_22112025_08_02_19_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0eef324f950b6b30747d432e381a1165.jpg","text":"TemporaryFile(/tmp/multipartBody5030175233458709705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795002925,"filename":"image_22112025_08_02_10_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8038ca903fef3a34e380f8c3f6f334b.jpg","text":"TemporaryFile(/tmp/multipartBody9052706141250340601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795002925,"filename":"image_22112025_08_02_22_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1050e142176d7d20dec1ecebe4eec69d.jpg","text":"TemporaryFile(/tmp/multipartBody485404883884703797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795002925,"filename":"image_22112025_08_02_16_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680318","file1":"1395680315","file0":"1395680313","file4":"1395680324","file5":"1395680328","file3":"1395680321"},"map_files_photo_id_array":[{"photo_id":"1395680328","filename":"file5"},{"photo_id":"1395680318","filename":"file2"},{"photo_id":"1395680324","filename":"file4"},{"photo_id":"1395680315","filename":"file1"},{"photo_id":"1395680313","filename":"file0"},{"photo_id":"1395680321","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680328":["hashtag1","hashtag2"]},{"1395680313":["hashtag1","hashtag2"]},{"1395680321":["hashtag1","hashtag2"]},{"1395680315":["hashtag1","hashtag2"]},{"1395680324":["hashtag1","hashtag2"]},{"1395680318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680328, 1395680313, 1395680321, 1395680315, 1395680324, 1395680318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.160781383514404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:03:03.223141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_28_2594.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_31_2681.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_35_3707.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_40_2658.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_44_3606.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_46_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_28_2594.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_31_2681.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_35_3707.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_40_2658.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_44_3606.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_46_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680338","1395680343","1395680337","1395680340","1395680334","1395680336"],"photo_ids_order":["1395680334","1395680336","1395680337","1395680338","1395680340","1395680343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83c7596401e13cce582b8a28e6c6bd21.jpg","text":"TemporaryFile(/tmp/multipartBody4080583301923717727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795044009,"filename":"image_22112025_08_02_40_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf2be780d0f0c732593c0b8597e19c56.jpg","text":"TemporaryFile(/tmp/multipartBody8685679599809564766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795044009,"filename":"image_22112025_08_02_46_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1baa7a334d2744b7e2450b7c9f627226.jpg","text":"TemporaryFile(/tmp/multipartBody4227505829477442842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795044009,"filename":"image_22112025_08_02_35_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39e338647650133c714d8faab598a788.jpg","text":"TemporaryFile(/tmp/multipartBody5037588739310580338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795044009,"filename":"image_22112025_08_02_44_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4bc5cd0f7221a290d373ca3615f2341.jpg","text":"TemporaryFile(/tmp/multipartBody2162697998645978533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795044009,"filename":"image_22112025_08_02_28_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91cae4189245b6661b9760b502c073ab.jpg","text":"TemporaryFile(/tmp/multipartBody4636882276211657283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795044009,"filename":"image_22112025_08_02_31_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680337","file1":"1395680336","file0":"1395680334","file4":"1395680340","file5":"1395680343","file3":"1395680338"},"map_files_photo_id_array":[{"photo_id":"1395680343","filename":"file5"},{"photo_id":"1395680337","filename":"file2"},{"photo_id":"1395680340","filename":"file4"},{"photo_id":"1395680336","filename":"file1"},{"photo_id":"1395680334","filename":"file0"},{"photo_id":"1395680338","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680338":["hashtag1","hashtag2"]},{"1395680343":["hashtag1","hashtag2"]},{"1395680337":["hashtag1","hashtag2"]},{"1395680340":["hashtag1","hashtag2"]},{"1395680334":["hashtag1","hashtag2"]},{"1395680336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680338, 1395680343, 1395680337, 1395680340, 1395680334, 1395680336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31775736808777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:03:42.479535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_49_2518.jpg', '/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_52_3695.jpg', '/home/pi/Desktop/images/22112025/08/03/image_22112025_08_03_02_3969.jpg', '/home/pi/Desktop/images/22112025/08/03/image_22112025_08_03_04_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_49_2518.jpg
/home/pi/Desktop/images/22112025/08/02/image_22112025_08_02_52_3695.jpg
/home/pi/Desktop/images/22112025/08/03/image_22112025_08_03_02_3969.jpg
/home/pi/Desktop/images/22112025/08/03/image_22112025_08_03_04_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680353","1395680356","1395680355","1395680351"],"photo_ids_order":["1395680351","1395680353","1395680355","1395680356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74df8956e747479bfe5dbbbfcfd0a469.jpg","text":"TemporaryFile(/tmp/multipartBody3087113880437092819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795083099,"filename":"image_22112025_08_02_52_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6418837494b4958c90194854f3a2e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody790908751220204879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795083099,"filename":"image_22112025_08_03_04_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1efd2c45bf86971873571accbbb3399b.jpg","text":"TemporaryFile(/tmp/multipartBody2538850702064192082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795083099,"filename":"image_22112025_08_03_02_3969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06305c8fb4046199340b007b39e2aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody8652359643722290591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795083099,"filename":"image_22112025_08_02_49_2518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680355","file1":"1395680353","file0":"1395680351","file3":"1395680356"},"map_files_photo_id_array":[{"photo_id":"1395680355","filename":"file2"},{"photo_id":"1395680353","filename":"file1"},{"photo_id":"1395680351","filename":"file0"},{"photo_id":"1395680356","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680353":["hashtag1","hashtag2"]},{"1395680356":["hashtag1","hashtag2"]},{"1395680355":["hashtag1","hashtag2"]},{"1395680351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680353, 1395680356, 1395680355, 1395680351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.242137670516968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:04:22.761555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/03/image_22112025_08_03_07_2746.jpg', '/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_07_3018.jpg', '/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_16_2737.jpg', '/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_23_2546.jpg', '/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_29_3524.jpg', '/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_32_3073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/03/image_22112025_08_03_07_2746.jpg
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_07_3018.jpg
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_16_2737.jpg
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_23_2546.jpg
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_29_3524.jpg
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_32_3073.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680386","1395680373","1395680361","1395680384","1395680366","1395680363"],"photo_ids_order":["1395680361","1395680363","1395680366","1395680373","1395680384","1395680386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba0d1ee63774f3bf4db1c932511704c1.jpg","text":"TemporaryFile(/tmp/multipartBody1059983142660438970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795123494,"filename":"image_22112025_08_04_32_3073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26d821c034e8f29ebdd4be4021aee6a3.jpg","text":"TemporaryFile(/tmp/multipartBody3072408653867760331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795123494,"filename":"image_22112025_08_04_23_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/378f9cb20714479321b9c7a990f3b47a.jpg","text":"TemporaryFile(/tmp/multipartBody3960483586284736969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795123494,"filename":"image_22112025_08_03_07_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ded81387a7160c2b6444417f5222e482.jpg","text":"TemporaryFile(/tmp/multipartBody7216635232488606265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795123494,"filename":"image_22112025_08_04_29_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed23fe1b6edc4d368af9eb2c2d2d1880.jpg","text":"TemporaryFile(/tmp/multipartBody7163467026546315677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795123494,"filename":"image_22112025_08_04_16_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74b7934590d1d6f8ae5befefdc255f58.jpg","text":"TemporaryFile(/tmp/multipartBody8002414436865045151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795123494,"filename":"image_22112025_08_04_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680366","file1":"1395680363","file0":"1395680361","file4":"1395680384","file5":"1395680386","file3":"1395680373"},"map_files_photo_id_array":[{"photo_id":"1395680386","filename":"file5"},{"photo_id":"1395680366","filename":"file2"},{"photo_id":"1395680384","filename":"file4"},{"photo_id":"1395680363","filename":"file1"},{"photo_id":"1395680361","filename":"file0"},{"photo_id":"1395680373","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680386":["hashtag1","hashtag2"]},{"1395680373":["hashtag1","hashtag2"]},{"1395680361":["hashtag1","hashtag2"]},{"1395680384":["hashtag1","hashtag2"]},{"1395680366":["hashtag1","hashtag2"]},{"1395680363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680386, 1395680373, 1395680361, 1395680384, 1395680366, 1395680363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86137533187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:05:22.020382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_34_2490.jpg', '/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_43_2556.jpg', '/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_47_3789.jpg', '/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_59_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_34_2490.jpg
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_43_2556.jpg
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_47_3789.jpg
/home/pi/Desktop/images/22112025/08/04/image_22112025_08_04_59_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680395","1395680389","1395680398","1395680392"],"photo_ids_order":["1395680389","1395680392","1395680395","1395680398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae05d8bf9c338040037ecfa66578917b.jpg","text":"TemporaryFile(/tmp/multipartBody8380663140703337208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795182678,"filename":"image_22112025_08_04_47_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/579228084979219e88c68c3ee90a9cdb.jpg","text":"TemporaryFile(/tmp/multipartBody1665318470436349195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795182678,"filename":"image_22112025_08_04_34_2490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d97d0554188417c7d6e5b68f6ea2a89.jpg","text":"TemporaryFile(/tmp/multipartBody3418813799256993185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795182678,"filename":"image_22112025_08_04_59_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df68ca307a045e8553b702a44b233e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6254361366075162753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795182678,"filename":"image_22112025_08_04_43_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680395","file1":"1395680392","file0":"1395680389","file3":"1395680398"},"map_files_photo_id_array":[{"photo_id":"1395680395","filename":"file2"},{"photo_id":"1395680392","filename":"file1"},{"photo_id":"1395680389","filename":"file0"},{"photo_id":"1395680398","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680395":["hashtag1","hashtag2"]},{"1395680389":["hashtag1","hashtag2"]},{"1395680398":["hashtag1","hashtag2"]},{"1395680392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680395, 1395680389, 1395680398, 1395680392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.780875205993652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:06:02.637053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_26_3623.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_31_2626.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_35_3612.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_40_2671.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_44_3634.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_50_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_26_3623.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_31_2626.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_35_3612.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_40_2671.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_44_3634.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_50_3655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8140685558319092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:06:22.154191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/05/image_22112025_08_05_01_2748.jpg', '/home/pi/Desktop/images/22112025/08/06/image_22112025_08_06_40_3658.jpg', '/home/pi/Desktop/images/22112025/08/06/image_22112025_08_06_46_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/05/image_22112025_08_05_01_2748.jpg
/home/pi/Desktop/images/22112025/08/06/image_22112025_08_06_40_3658.jpg
/home/pi/Desktop/images/22112025/08/06/image_22112025_08_06_46_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680413","1395680420","1395680417"],"photo_ids_order":["1395680413","1395680417","1395680420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c430f08bc6060ea23aa19ac01b3af32.jpg","text":"TemporaryFile(/tmp/multipartBody3131617433151276004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795242754,"filename":"image_22112025_08_05_01_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25893c51aec64e21348379bddd76d2a7.jpg","text":"TemporaryFile(/tmp/multipartBody6573818380678035464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795242754,"filename":"image_22112025_08_06_46_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5438a3654bae2cb504567178953fd35.jpg","text":"TemporaryFile(/tmp/multipartBody6867374179935127206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795242754,"filename":"image_22112025_08_06_40_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680420","file1":"1395680417","file0":"1395680413"},"map_files_photo_id_array":[{"photo_id":"1395680420","filename":"file2"},{"photo_id":"1395680417","filename":"file1"},{"photo_id":"1395680413","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680413":["hashtag1","hashtag2"]},{"1395680420":["hashtag1","hashtag2"]},{"1395680417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680413, 1395680420, 1395680417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.21238398551941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:07:02.993009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_26_3623.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_31_2626.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_35_3612.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_40_2671.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_44_3634.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_50_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_26_3623.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_31_2626.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_35_3612.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_40_2671.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_44_3634.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_50_3655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680443","1395680446","1395680445","1395680450","1395680453","1395680444"],"photo_ids_order":["1395680443","1395680444","1395680445","1395680446","1395680450","1395680453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6ab739ae2b3ada1ffe428eca2842489.jpg","text":"TemporaryFile(/tmp/multipartBody7807847473340172447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795284843,"filename":"image_19112025_23_57_26_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1374df0dd4b4e1db2b3fc826e9cf0de.jpg","text":"TemporaryFile(/tmp/multipartBody7706710235204898494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795284843,"filename":"image_19112025_23_57_40_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cbd2f19ff90a187ad427b688dab7e3d.jpg","text":"TemporaryFile(/tmp/multipartBody3149463917383620149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795284843,"filename":"image_19112025_23_57_35_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/157b556ffcc5bd01421b6a9a33f04f62.jpg","text":"TemporaryFile(/tmp/multipartBody387342168530903244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795284843,"filename":"image_19112025_23_57_44_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ec3eb939a647b2c79613bbf1f6826d2.jpg","text":"TemporaryFile(/tmp/multipartBody7175921862361638370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795284843,"filename":"image_19112025_23_57_50_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/caf7c3f1703f5fc1bce2ede90fc18d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4856922637757880751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795284843,"filename":"image_19112025_23_57_31_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680445","file1":"1395680444","file0":"1395680443","file4":"1395680450","file5":"1395680453","file3":"1395680446"},"map_files_photo_id_array":[{"photo_id":"1395680453","filename":"file5"},{"photo_id":"1395680445","filename":"file2"},{"photo_id":"1395680450","filename":"file4"},{"photo_id":"1395680444","filename":"file1"},{"photo_id":"1395680443","filename":"file0"},{"photo_id":"1395680446","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395680443":["hashtag1","hashtag2"]},{"1395680446":["hashtag1","hashtag2"]},{"1395680445":["hashtag1","hashtag2"]},{"1395680450":["hashtag1","hashtag2"]},{"1395680453":["hashtag1","hashtag2"]},{"1395680444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395680443, 1395680446, 1395680445, 1395680450, 1395680453, 1395680444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.724281311035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:07:42.443985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/06/image_22112025_08_06_52_3853.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_16_2552.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_19_3546.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_22_2689.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_28_3629.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_33_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/06/image_22112025_08_06_52_3853.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_16_2552.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_19_3546.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_22_2689.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_28_3629.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_33_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680464","1395680467","1395680466","1395680460","1395680463","1395680465"],"photo_ids_order":["1395680460","1395680463","1395680464","1395680465","1395680466","1395680467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f9670134be57d302f77d7c752fc2a92.jpg","text":"TemporaryFile(/tmp/multipartBody2019811025018710133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795323152,"filename":"image_22112025_08_07_19_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d354cac001a41823796e7d2c767b6168.jpg","text":"TemporaryFile(/tmp/multipartBody910023886475600519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795323152,"filename":"image_22112025_08_07_33_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08683cd6a2e02401db2142490dd6c89b.jpg","text":"TemporaryFile(/tmp/multipartBody332690187441660069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795323152,"filename":"image_22112025_08_07_28_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/763cb0ed50c665bd7d3c5a439bac9755.jpg","text":"TemporaryFile(/tmp/multipartBody805915027913564323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795323152,"filename":"image_22112025_08_06_52_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97eb372e63a08d2d4cf3c214d8b74c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2757005563283663856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795323152,"filename":"image_22112025_08_07_16_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65d0fca5d83ec6b2ed8f4af69b57ca9c.jpg","text":"TemporaryFile(/tmp/multipartBody6408905185512233380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795323152,"filename":"image_22112025_08_07_22_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680464","file1":"1395680463","file0":"1395680460","file4":"1395680466","file5":"1395680467","file3":"1395680465"},"map_files_photo_id_array":[{"photo_id":"1395680467","filename":"file5"},{"photo_id":"1395680464","filename":"file2"},{"photo_id":"1395680466","filename":"file4"},{"photo_id":"1395680463","filename":"file1"},{"photo_id":"1395680460","filename":"file0"},{"photo_id":"1395680465","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680464":["hashtag1","hashtag2"]},{"1395680467":["hashtag1","hashtag2"]},{"1395680466":["hashtag1","hashtag2"]},{"1395680460":["hashtag1","hashtag2"]},{"1395680463":["hashtag1","hashtag2"]},{"1395680465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680464, 1395680467, 1395680466, 1395680460, 1395680463, 1395680465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13640737533569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:08:22.753761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_42_2680.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_46_3971.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_49_2669.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_55_3654.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_58_2585.jpg', '/home/pi/Desktop/images/22112025/08/07/image_22112025_08_08_00_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_42_2680.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_46_3971.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_49_2669.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_55_3654.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_07_58_2585.jpg
/home/pi/Desktop/images/22112025/08/07/image_22112025_08_08_00_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680470","1395680472","1395680483","1395680477","1395680480","1395680474"],"photo_ids_order":["1395680470","1395680472","1395680474","1395680477","1395680480","1395680483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70b822e68b489e7ab2df61ad1400e12e.jpg","text":"TemporaryFile(/tmp/multipartBody4216797140399664740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795363512,"filename":"image_22112025_08_07_42_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44b80bd6506b5f8ac3f0b07f7977be60.jpg","text":"TemporaryFile(/tmp/multipartBody5879159273330805048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795363512,"filename":"image_22112025_08_07_46_3971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/914b3d0fabe240b14e4855956558ba39.jpg","text":"TemporaryFile(/tmp/multipartBody8371614657425326246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795363512,"filename":"image_22112025_08_08_00_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/741ab1ee3dfb5c5948f8498803b6a757.jpg","text":"TemporaryFile(/tmp/multipartBody3296481315025408086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795363512,"filename":"image_22112025_08_07_55_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c9a6eccec2e1364d1f008040f9e66c4.jpg","text":"TemporaryFile(/tmp/multipartBody1105614089886366057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795363512,"filename":"image_22112025_08_07_58_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/443faf55c161df194f1495de7f440ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6937356914710383784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795363512,"filename":"image_22112025_08_07_49_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680474","file1":"1395680472","file0":"1395680470","file4":"1395680480","file5":"1395680483","file3":"1395680477"},"map_files_photo_id_array":[{"photo_id":"1395680483","filename":"file5"},{"photo_id":"1395680474","filename":"file2"},{"photo_id":"1395680480","filename":"file4"},{"photo_id":"1395680472","filename":"file1"},{"photo_id":"1395680470","filename":"file0"},{"photo_id":"1395680477","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680470":["hashtag1","hashtag2"]},{"1395680472":["hashtag1","hashtag2"]},{"1395680483":["hashtag1","hashtag2"]},{"1395680477":["hashtag1","hashtag2"]},{"1395680480":["hashtag1","hashtag2"]},{"1395680474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680470, 1395680472, 1395680483, 1395680477, 1395680480, 1395680474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20420503616333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:09:02.934710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_07_2714.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_16_2799.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_19_2783.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_21_2773.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_25_3637.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_28_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_07_2714.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_16_2799.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_19_2783.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_21_2773.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_25_3637.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_28_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680485","1395680484","1395680487","1395680492","1395680486","1395680489"],"photo_ids_order":["1395680484","1395680485","1395680486","1395680487","1395680489","1395680492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/995d4cd573500dbf83d774ecab3112e0.jpg","text":"TemporaryFile(/tmp/multipartBody4610541883687797142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795403883,"filename":"image_22112025_08_08_16_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0049aa67269a20a4f317da4d616b632.jpg","text":"TemporaryFile(/tmp/multipartBody6132157710723054250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795403883,"filename":"image_22112025_08_08_07_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5dbf74d73dc45830cdf81b0c39cf6675.jpg","text":"TemporaryFile(/tmp/multipartBody837789036042118423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795403883,"filename":"image_22112025_08_08_21_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec88862c0a4040717427efc8aa20f075.jpg","text":"TemporaryFile(/tmp/multipartBody6085712660179073942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795403883,"filename":"image_22112025_08_08_28_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdcfa38f33f95ef530ceab924db6b454.jpg","text":"TemporaryFile(/tmp/multipartBody7064148546043244789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795403883,"filename":"image_22112025_08_08_19_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99b9918cf166cb1c37378e6fce516a56.jpg","text":"TemporaryFile(/tmp/multipartBody3476835776341324695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795403883,"filename":"image_22112025_08_08_25_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680486","file1":"1395680485","file0":"1395680484","file4":"1395680489","file5":"1395680492","file3":"1395680487"},"map_files_photo_id_array":[{"photo_id":"1395680492","filename":"file5"},{"photo_id":"1395680486","filename":"file2"},{"photo_id":"1395680489","filename":"file4"},{"photo_id":"1395680485","filename":"file1"},{"photo_id":"1395680484","filename":"file0"},{"photo_id":"1395680487","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680485":["hashtag1","hashtag2"]},{"1395680484":["hashtag1","hashtag2"]},{"1395680487":["hashtag1","hashtag2"]},{"1395680492":["hashtag1","hashtag2"]},{"1395680486":["hashtag1","hashtag2"]},{"1395680489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680485, 1395680484, 1395680487, 1395680492, 1395680486, 1395680489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.792022705078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:09:41.955069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_31_2970.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_33_2649.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_37_3720.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_40_2781.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_49_2633.jpg', '/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_55_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_31_2970.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_33_2649.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_37_3720.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_40_2781.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_49_2633.jpg
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_55_3586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680497","1395680506","1395680499","1395680503","1395680502","1395680501"],"photo_ids_order":["1395680497","1395680499","1395680501","1395680502","1395680503","1395680506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e129ccca5dc71ee01e923b8384f29fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2804295462123871745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795442658,"filename":"image_22112025_08_08_31_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37322f027d13c36c002b8dc5609404c8.jpg","text":"TemporaryFile(/tmp/multipartBody6449081831634044231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795442658,"filename":"image_22112025_08_08_55_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c4046cbc7b351666dc5d17373d7352a.jpg","text":"TemporaryFile(/tmp/multipartBody3977974450779871451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795442658,"filename":"image_22112025_08_08_33_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/601ba19c08748f14d084ebcf601f7341.jpg","text":"TemporaryFile(/tmp/multipartBody8793329960754912128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795442658,"filename":"image_22112025_08_08_49_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fb0263ea9692278e15e23bbceeb4cdf.jpg","text":"TemporaryFile(/tmp/multipartBody6424687710990792514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795442658,"filename":"image_22112025_08_08_40_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99f3fe226da73d7e9b721a8f6f57f490.jpg","text":"TemporaryFile(/tmp/multipartBody5997798475027234854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795442658,"filename":"image_22112025_08_08_37_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680501","file1":"1395680499","file0":"1395680497","file4":"1395680503","file5":"1395680506","file3":"1395680502"},"map_files_photo_id_array":[{"photo_id":"1395680506","filename":"file5"},{"photo_id":"1395680501","filename":"file2"},{"photo_id":"1395680503","filename":"file4"},{"photo_id":"1395680499","filename":"file1"},{"photo_id":"1395680497","filename":"file0"},{"photo_id":"1395680502","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680497":["hashtag1","hashtag2"]},{"1395680506":["hashtag1","hashtag2"]},{"1395680499":["hashtag1","hashtag2"]},{"1395680503":["hashtag1","hashtag2"]},{"1395680502":["hashtag1","hashtag2"]},{"1395680501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680497, 1395680506, 1395680499, 1395680503, 1395680502, 1395680501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76811218261719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:10:22.197795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_58_2792.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_07_3011.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_11_3708.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_14_2785.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_16_2711.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_20_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/08/image_22112025_08_08_58_2792.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_07_3011.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_11_3708.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_14_2785.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_16_2711.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_20_3704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680512","1395680521","1395680518","1395680511","1395680514","1395680516"],"photo_ids_order":["1395680511","1395680512","1395680514","1395680516","1395680518","1395680521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6249f266cbeb331a1d1c67d27cf38b33.jpg","text":"TemporaryFile(/tmp/multipartBody2105405524065598126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795482948,"filename":"image_22112025_08_10_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61b9e711442e9938ebb2505f6cd595d0.jpg","text":"TemporaryFile(/tmp/multipartBody2099877867126957501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795482948,"filename":"image_22112025_08_10_20_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b11595be2175edea6583eb97ce208a28.jpg","text":"TemporaryFile(/tmp/multipartBody4481987386183717476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795482948,"filename":"image_22112025_08_10_16_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64aaf82b586e4dc96a32334dd0c9c3c3.jpg","text":"TemporaryFile(/tmp/multipartBody506614566532240257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795482948,"filename":"image_22112025_08_08_58_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e1d64a0e216430d1989412a50a8ae64.jpg","text":"TemporaryFile(/tmp/multipartBody8750329462904588818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795482948,"filename":"image_22112025_08_10_11_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9cabb0d5c5602dc17d0421f4ad5a29e6.jpg","text":"TemporaryFile(/tmp/multipartBody1166363410747240618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795482948,"filename":"image_22112025_08_10_14_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680514","file1":"1395680512","file0":"1395680511","file4":"1395680518","file5":"1395680521","file3":"1395680516"},"map_files_photo_id_array":[{"photo_id":"1395680521","filename":"file5"},{"photo_id":"1395680514","filename":"file2"},{"photo_id":"1395680518","filename":"file4"},{"photo_id":"1395680512","filename":"file1"},{"photo_id":"1395680511","filename":"file0"},{"photo_id":"1395680516","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680512":["hashtag1","hashtag2"]},{"1395680521":["hashtag1","hashtag2"]},{"1395680518":["hashtag1","hashtag2"]},{"1395680511":["hashtag1","hashtag2"]},{"1395680514":["hashtag1","hashtag2"]},{"1395680516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680512, 1395680521, 1395680518, 1395680511, 1395680514, 1395680516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2644317150116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:11:03.222129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_23_2705.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_26_2696.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_32_3596.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_35_2610.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_37_2689.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_41_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_23_2705.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_26_2696.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_32_3596.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_35_2610.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_37_2689.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_41_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680525","1395680524","1395680523","1395680531","1395680528","1395680522"],"photo_ids_order":["1395680522","1395680523","1395680524","1395680525","1395680528","1395680531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfa2a87936081238a072d3ea4d430aec.jpg","text":"TemporaryFile(/tmp/multipartBody5716288814535179666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795524005,"filename":"image_22112025_08_10_35_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9944f0b49d7c56c0f242d9c836e1bcd6.jpg","text":"TemporaryFile(/tmp/multipartBody480890897570103661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795524005,"filename":"image_22112025_08_10_32_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c21f086f0809ee74312751de47b3c508.jpg","text":"TemporaryFile(/tmp/multipartBody497787836337534737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795524005,"filename":"image_22112025_08_10_26_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25ae21456e519c971025165934ea6afb.jpg","text":"TemporaryFile(/tmp/multipartBody8946954382542145955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795524005,"filename":"image_22112025_08_10_41_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b3f531d91841400ba9838e0e8efaf52.jpg","text":"TemporaryFile(/tmp/multipartBody1608700196639230532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795524005,"filename":"image_22112025_08_10_37_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cb9f38b7e2a4cb2f47c8f43d81b7ca5.jpg","text":"TemporaryFile(/tmp/multipartBody3851009267163586501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795524005,"filename":"image_22112025_08_10_23_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680524","file1":"1395680523","file0":"1395680522","file4":"1395680528","file5":"1395680531","file3":"1395680525"},"map_files_photo_id_array":[{"photo_id":"1395680531","filename":"file5"},{"photo_id":"1395680524","filename":"file2"},{"photo_id":"1395680528","filename":"file4"},{"photo_id":"1395680523","filename":"file1"},{"photo_id":"1395680522","filename":"file0"},{"photo_id":"1395680525","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680525":["hashtag1","hashtag2"]},{"1395680524":["hashtag1","hashtag2"]},{"1395680523":["hashtag1","hashtag2"]},{"1395680531":["hashtag1","hashtag2"]},{"1395680528":["hashtag1","hashtag2"]},{"1395680522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680525, 1395680524, 1395680523, 1395680531, 1395680528, 1395680522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96980929374695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:11:42.474817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_44_2687.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_46_2562.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_50_3778.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_53_2649.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_56_3546.jpg', '/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_59_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_44_2687.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_46_2562.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_50_3778.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_53_2649.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_56_3546.jpg
/home/pi/Desktop/images/22112025/08/10/image_22112025_08_10_59_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680542","1395680545","1395680539","1395680544","1395680549","1395680543"],"photo_ids_order":["1395680539","1395680542","1395680543","1395680544","1395680545","1395680549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/675054f9aa3f8a2a5e72b255dc65f85e.jpg","text":"TemporaryFile(/tmp/multipartBody1696514032408433603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795563244,"filename":"image_22112025_08_10_46_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8afe640fad19294343febec4f0d8b249.jpg","text":"TemporaryFile(/tmp/multipartBody6394256280934384733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795563244,"filename":"image_22112025_08_10_56_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06c613c4da05e05d7110e416201b7b03.jpg","text":"TemporaryFile(/tmp/multipartBody8800583750477798295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795563244,"filename":"image_22112025_08_10_44_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7b5000875d3c18a8a1259e73bb8b5fc.jpg","text":"TemporaryFile(/tmp/multipartBody1612749975654013176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795563244,"filename":"image_22112025_08_10_53_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5da589c712f9543534be30206eaa9b7e.jpg","text":"TemporaryFile(/tmp/multipartBody6134835857556450030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795563244,"filename":"image_22112025_08_10_59_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/103cbc4be47d5c722bbb765e65e6598b.jpg","text":"TemporaryFile(/tmp/multipartBody5394098046380056408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795563244,"filename":"image_22112025_08_10_50_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680543","file1":"1395680542","file0":"1395680539","file4":"1395680545","file5":"1395680549","file3":"1395680544"},"map_files_photo_id_array":[{"photo_id":"1395680549","filename":"file5"},{"photo_id":"1395680543","filename":"file2"},{"photo_id":"1395680545","filename":"file4"},{"photo_id":"1395680542","filename":"file1"},{"photo_id":"1395680539","filename":"file0"},{"photo_id":"1395680544","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680542":["hashtag1","hashtag2"]},{"1395680545":["hashtag1","hashtag2"]},{"1395680539":["hashtag1","hashtag2"]},{"1395680544":["hashtag1","hashtag2"]},{"1395680549":["hashtag1","hashtag2"]},{"1395680543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680542, 1395680545, 1395680539, 1395680544, 1395680549, 1395680543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77974557876587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:12:22.711681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_01_2772.jpg', '/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_04_2716.jpg', '/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_08_3699.jpg', '/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_11_2663.jpg', '/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_13_2668.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_11_3861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_01_2772.jpg
/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_04_2716.jpg
/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_08_3699.jpg
/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_11_2663.jpg
/home/pi/Desktop/images/22112025/08/11/image_22112025_08_11_13_2668.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_11_3861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680560","1395680563","1395680557","1395680565","1395680553","1395680567"],"photo_ids_order":["1395680553","1395680557","1395680560","1395680563","1395680565","1395680567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdbb07c286d7d674903b4b1464634737.jpg","text":"TemporaryFile(/tmp/multipartBody6027080132690477885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795603503,"filename":"image_22112025_08_11_08_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/268ae61684b91f7ea0dc3f538c2b3ecd.jpg","text":"TemporaryFile(/tmp/multipartBody1612454592352264449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795603503,"filename":"image_22112025_08_11_11_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f502082f96bbd97990ec64b307dbd7fa.jpg","text":"TemporaryFile(/tmp/multipartBody1874837601799772367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795603503,"filename":"image_22112025_08_11_04_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b62691cfa9fcd4b108cb2a065f11203.jpg","text":"TemporaryFile(/tmp/multipartBody1659036131304588155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795603503,"filename":"image_22112025_08_11_13_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc1cbecdd1a36677713e1d99dbf25c92.jpg","text":"TemporaryFile(/tmp/multipartBody8276478267396079523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795603503,"filename":"image_22112025_08_11_01_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db35d44fbc56732c260592abe97e413a.jpg","text":"TemporaryFile(/tmp/multipartBody8207664696375880132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795603503,"filename":"image_22112025_08_12_11_3861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680560","file1":"1395680557","file0":"1395680553","file4":"1395680565","file5":"1395680567","file3":"1395680563"},"map_files_photo_id_array":[{"photo_id":"1395680567","filename":"file5"},{"photo_id":"1395680560","filename":"file2"},{"photo_id":"1395680565","filename":"file4"},{"photo_id":"1395680557","filename":"file1"},{"photo_id":"1395680553","filename":"file0"},{"photo_id":"1395680563","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680560":["hashtag1","hashtag2"]},{"1395680563":["hashtag1","hashtag2"]},{"1395680557":["hashtag1","hashtag2"]},{"1395680565":["hashtag1","hashtag2"]},{"1395680553":["hashtag1","hashtag2"]},{"1395680567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680560, 1395680563, 1395680557, 1395680565, 1395680553, 1395680567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.399296283721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:13:02.659471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_14_2617.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_16_2571.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_23_2715.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_28_2754.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_32_3640.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_37_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_14_2617.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_16_2571.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_23_2715.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_28_2754.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_32_3640.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_37_2881.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680569","1395680571","1395680568","1395680576","1395680570","1395680573"],"photo_ids_order":["1395680568","1395680569","1395680570","1395680571","1395680573","1395680576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1de83335acd1526eb32870fcd559548.jpg","text":"TemporaryFile(/tmp/multipartBody3793249250287081343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795643446,"filename":"image_22112025_08_12_16_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff978453c7eec11695cca587bf266443.jpg","text":"TemporaryFile(/tmp/multipartBody50362971346508155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795643446,"filename":"image_22112025_08_12_28_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aca61f3d206c21b9217296c149e8a40b.jpg","text":"TemporaryFile(/tmp/multipartBody8450715820938402424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795643446,"filename":"image_22112025_08_12_14_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfb40ecaf4a548d0cf584576bee97485.jpg","text":"TemporaryFile(/tmp/multipartBody7577104267264965641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795643446,"filename":"image_22112025_08_12_37_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16e0bc2ec7a4d970d4b532e8961bafef.jpg","text":"TemporaryFile(/tmp/multipartBody7924314630914436048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795643446,"filename":"image_22112025_08_12_23_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da37c7938143adac0333ddbf16a7b274.jpg","text":"TemporaryFile(/tmp/multipartBody5032262483022400528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795643446,"filename":"image_22112025_08_12_32_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680570","file1":"1395680569","file0":"1395680568","file4":"1395680573","file5":"1395680576","file3":"1395680571"},"map_files_photo_id_array":[{"photo_id":"1395680576","filename":"file5"},{"photo_id":"1395680570","filename":"file2"},{"photo_id":"1395680573","filename":"file4"},{"photo_id":"1395680569","filename":"file1"},{"photo_id":"1395680568","filename":"file0"},{"photo_id":"1395680571","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680569":["hashtag1","hashtag2"]},{"1395680571":["hashtag1","hashtag2"]},{"1395680568":["hashtag1","hashtag2"]},{"1395680576":["hashtag1","hashtag2"]},{"1395680570":["hashtag1","hashtag2"]},{"1395680573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680569, 1395680571, 1395680568, 1395680576, 1395680570, 1395680573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20970678329468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:13:41.856352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_41_3523.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_43_2612.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_50_3556.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_52_2632.jpg', '/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_58_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_41_3523.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_43_2612.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_50_3556.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_52_2632.jpg
/home/pi/Desktop/images/22112025/08/12/image_22112025_08_12_58_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680590","1395680592","1395680591","1395680585","1395680588"],"photo_ids_order":["1395680585","1395680588","1395680590","1395680591","1395680592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/784c518e434be7e45bb08a6e73b90ade.jpg","text":"TemporaryFile(/tmp/multipartBody8170510225722506287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795682531,"filename":"image_22112025_08_12_50_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d981552194e946d489b319917988502.jpg","text":"TemporaryFile(/tmp/multipartBody7871144154365684041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795682531,"filename":"image_22112025_08_12_58_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0f4b33d3bf7f7be9142e37615f830e9.jpg","text":"TemporaryFile(/tmp/multipartBody5770431619305272500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795682531,"filename":"image_22112025_08_12_52_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e2d66b036371bcc2dca8207bc952af4.jpg","text":"TemporaryFile(/tmp/multipartBody9104513434565638466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795682531,"filename":"image_22112025_08_12_41_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6aec7ef7b9b698c700f43dc68550f2de.jpg","text":"TemporaryFile(/tmp/multipartBody8607449183396709345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795682531,"filename":"image_22112025_08_12_43_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680590","file1":"1395680588","file0":"1395680585","file4":"1395680592","file3":"1395680591"},"map_files_photo_id_array":[{"photo_id":"1395680590","filename":"file2"},{"photo_id":"1395680592","filename":"file4"},{"photo_id":"1395680588","filename":"file1"},{"photo_id":"1395680585","filename":"file0"},{"photo_id":"1395680591","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680590":["hashtag1","hashtag2"]},{"1395680592":["hashtag1","hashtag2"]},{"1395680591":["hashtag1","hashtag2"]},{"1395680585":["hashtag1","hashtag2"]},{"1395680588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680590, 1395680592, 1395680591, 1395680585, 1395680588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.664567708969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:14:22.126575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/13/image_22112025_08_13_01_2593.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_07_3019.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_16_2761.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_19_3587.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_22_2810.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_34_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/13/image_22112025_08_13_01_2593.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_07_3019.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_16_2761.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_19_3587.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_22_2810.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_34_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680596","1395680611","1395680614","1395680608","1395680604","1395680600"],"photo_ids_order":["1395680596","1395680600","1395680604","1395680608","1395680611","1395680614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2dd11d88e1f314d127fa89b70c0c16b.jpg","text":"TemporaryFile(/tmp/multipartBody1599681261541559035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795722920,"filename":"image_22112025_08_13_01_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33d1b2736929f886bf5912aebd77b38d.jpg","text":"TemporaryFile(/tmp/multipartBody7634516468811382640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795722920,"filename":"image_22112025_08_14_22_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2145c0b4a603f3903c010c924a4603f.jpg","text":"TemporaryFile(/tmp/multipartBody5939089006805988339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795722920,"filename":"image_22112025_08_14_34_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5465b7dc95b9408e05630fed20813d15.jpg","text":"TemporaryFile(/tmp/multipartBody8910155642552009183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795722920,"filename":"image_22112025_08_14_19_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8ef10951d4f7d62612279018c38e8e9.jpg","text":"TemporaryFile(/tmp/multipartBody2079946907266581639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795722920,"filename":"image_22112025_08_14_16_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fda3a6633f55440fe3a0bc0d6d47f8e3.jpg","text":"TemporaryFile(/tmp/multipartBody3734529142364362869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795722920,"filename":"image_22112025_08_14_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680604","file1":"1395680600","file0":"1395680596","file4":"1395680611","file5":"1395680614","file3":"1395680608"},"map_files_photo_id_array":[{"photo_id":"1395680614","filename":"file5"},{"photo_id":"1395680604","filename":"file2"},{"photo_id":"1395680611","filename":"file4"},{"photo_id":"1395680600","filename":"file1"},{"photo_id":"1395680596","filename":"file0"},{"photo_id":"1395680608","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680596":["hashtag1","hashtag2"]},{"1395680611":["hashtag1","hashtag2"]},{"1395680614":["hashtag1","hashtag2"]},{"1395680608":["hashtag1","hashtag2"]},{"1395680604":["hashtag1","hashtag2"]},{"1395680600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680596, 1395680611, 1395680614, 1395680608, 1395680604, 1395680600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.376792192459106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:15:03.114765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_37_3685.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_43_2647.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_46_3692.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_49_2688.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_52_2756.jpg', '/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_55_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_37_3685.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_43_2647.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_46_3692.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_49_2688.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_52_2756.jpg
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_55_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680624","1395680620","1395680622","1395680619","1395680627","1395680621"],"photo_ids_order":["1395680619","1395680620","1395680621","1395680622","1395680624","1395680627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0b901af9e501ea10e075a2f4c645539.jpg","text":"TemporaryFile(/tmp/multipartBody2161016861575332363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795763907,"filename":"image_22112025_08_14_52_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc7250832a291528eee291e40d7b8056.jpg","text":"TemporaryFile(/tmp/multipartBody1875818620346366970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795763907,"filename":"image_22112025_08_14_43_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13ac68b7b21966fa3a994cd17b912e05.jpg","text":"TemporaryFile(/tmp/multipartBody6264363351741771047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795763907,"filename":"image_22112025_08_14_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/184a6bc2fc7ef3a9a0e8b5c9776fa635.jpg","text":"TemporaryFile(/tmp/multipartBody7052501724420534387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795763907,"filename":"image_22112025_08_14_37_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19cd94d2029ad90741cc0a11434823b3.jpg","text":"TemporaryFile(/tmp/multipartBody2297389448429202187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795763907,"filename":"image_22112025_08_14_55_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f17e0377ea339399a55c8665aa1fac6a.jpg","text":"TemporaryFile(/tmp/multipartBody3608923973012585333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795763907,"filename":"image_22112025_08_14_46_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680621","file1":"1395680620","file0":"1395680619","file4":"1395680624","file5":"1395680627","file3":"1395680622"},"map_files_photo_id_array":[{"photo_id":"1395680627","filename":"file5"},{"photo_id":"1395680621","filename":"file2"},{"photo_id":"1395680624","filename":"file4"},{"photo_id":"1395680620","filename":"file1"},{"photo_id":"1395680619","filename":"file0"},{"photo_id":"1395680622","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680624":["hashtag1","hashtag2"]},{"1395680620":["hashtag1","hashtag2"]},{"1395680622":["hashtag1","hashtag2"]},{"1395680619":["hashtag1","hashtag2"]},{"1395680627":["hashtag1","hashtag2"]},{"1395680621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680624, 1395680620, 1395680622, 1395680619, 1395680627, 1395680621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25943088531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:15:42.497744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_58_2675.jpg', '/home/pi/Desktop/images/22112025/08/15/image_22112025_08_15_01_2671.jpg', '/home/pi/Desktop/images/22112025/08/15/image_22112025_08_15_04_3638.jpg', '/home/pi/Desktop/images/22112025/08/15/image_22112025_08_15_07_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/14/image_22112025_08_14_58_2675.jpg
/home/pi/Desktop/images/22112025/08/15/image_22112025_08_15_01_2671.jpg
/home/pi/Desktop/images/22112025/08/15/image_22112025_08_15_04_3638.jpg
/home/pi/Desktop/images/22112025/08/15/image_22112025_08_15_07_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680644","1395680635","1395680640","1395680642"],"photo_ids_order":["1395680635","1395680640","1395680642","1395680644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fa90603274796fbfd2af7b1cf9db5b9.jpg","text":"TemporaryFile(/tmp/multipartBody8447877423876222513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795803130,"filename":"image_22112025_08_15_07_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c88abf93955583cb84392e941efc21a4.jpg","text":"TemporaryFile(/tmp/multipartBody5915673074341161157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795803130,"filename":"image_22112025_08_14_58_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b91e06deabc0ee991b88ec0f631fd8c.jpg","text":"TemporaryFile(/tmp/multipartBody4172256883246172420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795803130,"filename":"image_22112025_08_15_01_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eee423aafc0d21c92ff66208a1d0d8e0.jpg","text":"TemporaryFile(/tmp/multipartBody5416584436033498641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795803130,"filename":"image_22112025_08_15_04_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680642","file1":"1395680640","file0":"1395680635","file3":"1395680644"},"map_files_photo_id_array":[{"photo_id":"1395680642","filename":"file2"},{"photo_id":"1395680640","filename":"file1"},{"photo_id":"1395680635","filename":"file0"},{"photo_id":"1395680644","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680644":["hashtag1","hashtag2"]},{"1395680635":["hashtag1","hashtag2"]},{"1395680640":["hashtag1","hashtag2"]},{"1395680642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680644, 1395680635, 1395680640, 1395680642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.109119415283203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:16:22.723952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/15/image_22112025_08_15_13_3642.jpg', '/home/pi/Desktop/images/22112025/08/16/image_22112025_08_16_11_3877.jpg', '/home/pi/Desktop/images/22112025/08/16/image_22112025_08_16_38_3627.jpg', '/home/pi/Desktop/images/22112025/08/16/image_22112025_08_16_40_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/15/image_22112025_08_15_13_3642.jpg
/home/pi/Desktop/images/22112025/08/16/image_22112025_08_16_11_3877.jpg
/home/pi/Desktop/images/22112025/08/16/image_22112025_08_16_38_3627.jpg
/home/pi/Desktop/images/22112025/08/16/image_22112025_08_16_40_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680686","1395680676","1395680696","1395680699"],"photo_ids_order":["1395680676","1395680686","1395680696","1395680699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bca4ba286325783cf78106774bac2d3.jpg","text":"TemporaryFile(/tmp/multipartBody4238218178556319517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795843384,"filename":"image_22112025_08_16_11_3877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c37e50bf52077f36e9b0491d7aad6884.jpg","text":"TemporaryFile(/tmp/multipartBody884743253882180861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795843384,"filename":"image_22112025_08_15_13_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51ba114efe619692d754ce9169fc4f53.jpg","text":"TemporaryFile(/tmp/multipartBody2189102707026169631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795843384,"filename":"image_22112025_08_16_38_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63f5bbd55c7a6547861f8e2eaa8323cf.jpg","text":"TemporaryFile(/tmp/multipartBody1612208330444734438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795843384,"filename":"image_22112025_08_16_40_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680696","file1":"1395680686","file0":"1395680676","file3":"1395680699"},"map_files_photo_id_array":[{"photo_id":"1395680696","filename":"file2"},{"photo_id":"1395680686","filename":"file1"},{"photo_id":"1395680676","filename":"file0"},{"photo_id":"1395680699","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680686":["hashtag1","hashtag2"]},{"1395680676":["hashtag1","hashtag2"]},{"1395680696":["hashtag1","hashtag2"]},{"1395680699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680686, 1395680676, 1395680696, 1395680699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.12697696685791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:17:02.713788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_53_2966.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_56_2692.jpg', '/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_58_2599.jpg', '/home/pi/Desktop/images/19112025/23/58/image_19112025_23_58_02_3676.jpg', '/home/pi/Desktop/images/19112025/23/58/image_19112025_23_58_04_2624.jpg', '/home/pi/Desktop/images/19112025/23/59/image_19112025_23_59_31_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_53_2966.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_56_2692.jpg
/home/pi/Desktop/images/19112025/23/57/image_19112025_23_57_58_2599.jpg
/home/pi/Desktop/images/19112025/23/58/image_19112025_23_58_02_3676.jpg
/home/pi/Desktop/images/19112025/23/58/image_19112025_23_58_04_2624.jpg
/home/pi/Desktop/images/19112025/23/59/image_19112025_23_59_31_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680702","1395680705","1395680710","1395680704","1395680713","1395680706"],"photo_ids_order":["1395680702","1395680704","1395680705","1395680706","1395680710","1395680713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bb934fbc6ddea1f6ef9b84be5151952.jpg","text":"TemporaryFile(/tmp/multipartBody1384345048226856654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795884646,"filename":"image_19112025_23_57_53_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bcb30e3cb2b7683289c3ef8bc89b6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4951420492293302558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795884646,"filename":"image_19112025_23_57_58_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13d5f8c14b4c259b2ac588f6961e7614.jpg","text":"TemporaryFile(/tmp/multipartBody4599642101843370638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795884646,"filename":"image_19112025_23_58_04_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae0f2deedb41cf61bf34542f697d56b3.jpg","text":"TemporaryFile(/tmp/multipartBody997557693737323006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795884646,"filename":"image_19112025_23_57_56_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dfbd58ae0bcaa0387d5470d702b582f.jpg","text":"TemporaryFile(/tmp/multipartBody1850385352638092201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795884646,"filename":"image_19112025_23_59_31_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/756a9e58a37187a6ab9ed23da9ec58f2.jpg","text":"TemporaryFile(/tmp/multipartBody7404524326099783996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795884646,"filename":"image_19112025_23_58_02_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680705","file1":"1395680704","file0":"1395680702","file4":"1395680710","file5":"1395680713","file3":"1395680706"},"map_files_photo_id_array":[{"photo_id":"1395680713","filename":"file5"},{"photo_id":"1395680705","filename":"file2"},{"photo_id":"1395680710","filename":"file4"},{"photo_id":"1395680704","filename":"file1"},{"photo_id":"1395680702","filename":"file0"},{"photo_id":"1395680706","filename":"file3"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395680702":["hashtag1","hashtag2"]},{"1395680705":["hashtag1","hashtag2"]},{"1395680710":["hashtag1","hashtag2"]},{"1395680704":["hashtag1","hashtag2"]},{"1395680713":["hashtag1","hashtag2"]},{"1395680706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395680702, 1395680705, 1395680710, 1395680704, 1395680713, 1395680706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04525136947632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:17:42.051212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/16/image_22112025_08_16_52_2590.jpg', '/home/pi/Desktop/images/22112025/08/17/image_22112025_08_17_05_3675.jpg', '/home/pi/Desktop/images/22112025/08/17/image_22112025_08_17_08_2687.jpg', '/home/pi/Desktop/images/22112025/08/17/image_22112025_08_17_10_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/16/image_22112025_08_16_52_2590.jpg
/home/pi/Desktop/images/22112025/08/17/image_22112025_08_17_05_3675.jpg
/home/pi/Desktop/images/22112025/08/17/image_22112025_08_17_08_2687.jpg
/home/pi/Desktop/images/22112025/08/17/image_22112025_08_17_10_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680723","1395680722","1395680719","1395680724"],"photo_ids_order":["1395680719","1395680722","1395680723","1395680724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcea452f1608600c9319215b5485678a.jpg","text":"TemporaryFile(/tmp/multipartBody5338538226968106673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795922684,"filename":"image_22112025_08_17_08_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5662d631da1b600ad186053e466c7c0e.jpg","text":"TemporaryFile(/tmp/multipartBody6707905788787332090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795922684,"filename":"image_22112025_08_17_05_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbc0154e4a66f63c3ab8a27556bab78e.jpg","text":"TemporaryFile(/tmp/multipartBody634674860694290143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795922684,"filename":"image_22112025_08_16_52_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c0b23a6db2efce93fac0c287f6b3a25.jpg","text":"TemporaryFile(/tmp/multipartBody7217136791079835541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795922684,"filename":"image_22112025_08_17_10_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680723","file1":"1395680722","file0":"1395680719","file3":"1395680724"},"map_files_photo_id_array":[{"photo_id":"1395680723","filename":"file2"},{"photo_id":"1395680722","filename":"file1"},{"photo_id":"1395680719","filename":"file0"},{"photo_id":"1395680724","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680723":["hashtag1","hashtag2"]},{"1395680722":["hashtag1","hashtag2"]},{"1395680719":["hashtag1","hashtag2"]},{"1395680724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680723, 1395680722, 1395680719, 1395680724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.917770385742188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:18:22.296336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/17/image_22112025_08_17_14_3581.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_07_3019.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_10_3722.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_13_2531.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_16_2874.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_19_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/17/image_22112025_08_17_14_3581.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_07_3019.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_10_3722.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_13_2531.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_16_2874.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_19_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680740","1395680731","1395680745","1395680733","1395680742","1395680736"],"photo_ids_order":["1395680731","1395680733","1395680736","1395680740","1395680742","1395680745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2da3aebdfc2717423c725691c8ddf42.jpg","text":"TemporaryFile(/tmp/multipartBody5603131615565745685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795963033,"filename":"image_22112025_08_18_13_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc3fce1b2c34945a0dd2c4a1efc7d1c5.jpg","text":"TemporaryFile(/tmp/multipartBody7812517262980696097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795963033,"filename":"image_22112025_08_17_14_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1eab33d2900082be258813b26e73520.jpg","text":"TemporaryFile(/tmp/multipartBody3078321328474226969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795963033,"filename":"image_22112025_08_18_19_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88225bcb9b6d4e24c19c526bb4cde412.jpg","text":"TemporaryFile(/tmp/multipartBody3947505835768441609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795963033,"filename":"image_22112025_08_18_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efb2f5b6225ec31a0b09b6454d389b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7409231978179840318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795963033,"filename":"image_22112025_08_18_16_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71b11c6e5190872e6da090a95a5a7769.jpg","text":"TemporaryFile(/tmp/multipartBody5211051840055678331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763795963033,"filename":"image_22112025_08_18_10_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680736","file1":"1395680733","file0":"1395680731","file4":"1395680742","file5":"1395680745","file3":"1395680740"},"map_files_photo_id_array":[{"photo_id":"1395680745","filename":"file5"},{"photo_id":"1395680736","filename":"file2"},{"photo_id":"1395680742","filename":"file4"},{"photo_id":"1395680733","filename":"file1"},{"photo_id":"1395680731","filename":"file0"},{"photo_id":"1395680740","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680740":["hashtag1","hashtag2"]},{"1395680731":["hashtag1","hashtag2"]},{"1395680745":["hashtag1","hashtag2"]},{"1395680733":["hashtag1","hashtag2"]},{"1395680742":["hashtag1","hashtag2"]},{"1395680736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680740, 1395680731, 1395680745, 1395680733, 1395680742, 1395680736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22929787635803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:19:03.307162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_28_3537.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_31_2678.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_34_2814.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_37_3723.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_40_2701.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_43_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_28_3537.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_31_2678.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_34_2814.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_37_3723.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_40_2701.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_43_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680749","1395680748","1395680756","1395680750","1395680753","1395680747"],"photo_ids_order":["1395680747","1395680748","1395680749","1395680750","1395680753","1395680756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/035f1b1b0aa310a43fc889186d1a6ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3685926160137942502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796004339,"filename":"image_22112025_08_18_34_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/202345d03a08d2f10ab71e1f28425702.jpg","text":"TemporaryFile(/tmp/multipartBody2453093730868761367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796004339,"filename":"image_22112025_08_18_31_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/351ff2a49846872698ccca064492b229.jpg","text":"TemporaryFile(/tmp/multipartBody1441945092018396331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796004339,"filename":"image_22112025_08_18_43_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67e6d07153cef5c6b7301613b995b28a.jpg","text":"TemporaryFile(/tmp/multipartBody2874533414987595186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796004339,"filename":"image_22112025_08_18_37_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c48fffb3b48326a19618789ecc616ecd.jpg","text":"TemporaryFile(/tmp/multipartBody3995496215305474064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796004339,"filename":"image_22112025_08_18_40_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d3d74b09caadfb306a2b2158608b65c.jpg","text":"TemporaryFile(/tmp/multipartBody1194254309706819468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796004339,"filename":"image_22112025_08_18_28_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680749","file1":"1395680748","file0":"1395680747","file4":"1395680753","file5":"1395680756","file3":"1395680750"},"map_files_photo_id_array":[{"photo_id":"1395680756","filename":"file5"},{"photo_id":"1395680749","filename":"file2"},{"photo_id":"1395680753","filename":"file4"},{"photo_id":"1395680748","filename":"file1"},{"photo_id":"1395680747","filename":"file0"},{"photo_id":"1395680750","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680749":["hashtag1","hashtag2"]},{"1395680748":["hashtag1","hashtag2"]},{"1395680756":["hashtag1","hashtag2"]},{"1395680750":["hashtag1","hashtag2"]},{"1395680753":["hashtag1","hashtag2"]},{"1395680747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680749, 1395680748, 1395680756, 1395680750, 1395680753, 1395680747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.843010902404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:19:42.467054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_46_2836.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_49_3728.jpg', '/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_52_2668.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_04_2584.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_07_2742.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_10_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_46_2836.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_49_3728.jpg
/home/pi/Desktop/images/22112025/08/18/image_22112025_08_18_52_2668.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_04_2584.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_07_2742.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_10_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680770","1395680772","1395680769","1395680768","1395680771","1395680765"],"photo_ids_order":["1395680765","1395680768","1395680769","1395680770","1395680771","1395680772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5037d612c459c2439de97243a4b79d44.jpg","text":"TemporaryFile(/tmp/multipartBody6204349297613752932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796043174,"filename":"image_22112025_08_19_04_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d6216200b27f8078f640f6427b7689e.jpg","text":"TemporaryFile(/tmp/multipartBody457144163765509638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796043174,"filename":"image_22112025_08_19_10_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce6548965518d6dad367f36a01d46237.jpg","text":"TemporaryFile(/tmp/multipartBody2373332244111751920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796043174,"filename":"image_22112025_08_18_52_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/148939c0abf2b231b18357de089f718d.jpg","text":"TemporaryFile(/tmp/multipartBody6348629067496151274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796043174,"filename":"image_22112025_08_18_49_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e62a32fef2bbc8f7c674e2eb663c7535.jpg","text":"TemporaryFile(/tmp/multipartBody2124108987057604697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796043174,"filename":"image_22112025_08_19_07_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0de9100ba2ace1b0a0fef80e0bc7fb07.jpg","text":"TemporaryFile(/tmp/multipartBody1551251005848538240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796043174,"filename":"image_22112025_08_18_46_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680769","file1":"1395680768","file0":"1395680765","file4":"1395680771","file5":"1395680772","file3":"1395680770"},"map_files_photo_id_array":[{"photo_id":"1395680772","filename":"file5"},{"photo_id":"1395680769","filename":"file2"},{"photo_id":"1395680771","filename":"file4"},{"photo_id":"1395680768","filename":"file1"},{"photo_id":"1395680765","filename":"file0"},{"photo_id":"1395680770","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680770":["hashtag1","hashtag2"]},{"1395680772":["hashtag1","hashtag2"]},{"1395680769":["hashtag1","hashtag2"]},{"1395680768":["hashtag1","hashtag2"]},{"1395680771":["hashtag1","hashtag2"]},{"1395680765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680770, 1395680772, 1395680769, 1395680768, 1395680771, 1395680765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.403666734695435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:20:22.731001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_13_2613.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_19_2630.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_21_2608.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_25_3602.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_31_3545.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_34_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_13_2613.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_19_2630.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_21_2608.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_25_3602.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_31_3545.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_34_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680779","1395680782","1395680776","1395680793","1395680789","1395680797"],"photo_ids_order":["1395680776","1395680779","1395680782","1395680789","1395680793","1395680797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f2491079abbe51cfa4aad771a700f52.jpg","text":"TemporaryFile(/tmp/multipartBody1548609328638683939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796083472,"filename":"image_22112025_08_19_19_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/251ff5d876885e9cbc3f0cd778694fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5993356768507788527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796083472,"filename":"image_22112025_08_19_21_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c515b1d99da764ee8af94a8a5c84ce8f.jpg","text":"TemporaryFile(/tmp/multipartBody8200869094306840440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796083472,"filename":"image_22112025_08_19_13_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6693e7d63ad62717d37e84e0c2a5142.jpg","text":"TemporaryFile(/tmp/multipartBody8294397650026478402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796083472,"filename":"image_22112025_08_19_31_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30546778fec02cf652b94815ab2929ab.jpg","text":"TemporaryFile(/tmp/multipartBody8536024819406734048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796083472,"filename":"image_22112025_08_19_25_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acae1ac808106a01858615a1362c7073.jpg","text":"TemporaryFile(/tmp/multipartBody6163026379178320235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796083472,"filename":"image_22112025_08_19_34_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680782","file1":"1395680779","file0":"1395680776","file4":"1395680793","file5":"1395680797","file3":"1395680789"},"map_files_photo_id_array":[{"photo_id":"1395680797","filename":"file5"},{"photo_id":"1395680782","filename":"file2"},{"photo_id":"1395680793","filename":"file4"},{"photo_id":"1395680779","filename":"file1"},{"photo_id":"1395680776","filename":"file0"},{"photo_id":"1395680789","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680779":["hashtag1","hashtag2"]},{"1395680782":["hashtag1","hashtag2"]},{"1395680776":["hashtag1","hashtag2"]},{"1395680793":["hashtag1","hashtag2"]},{"1395680789":["hashtag1","hashtag2"]},{"1395680797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680779, 1395680782, 1395680776, 1395680793, 1395680789, 1395680797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.834261894226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:21:21.969817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_37_2638.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_40_3732.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_43_2908.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_52_3758.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_55_2687.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_58_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_37_2638.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_40_3732.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_43_2908.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_52_3758.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_55_2687.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_58_2580.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6709182262420654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:21:41.925830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_37_2638.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_40_3732.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_43_2908.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_52_3758.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_55_2687.jpg', '/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_58_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_37_2638.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_40_3732.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_43_2908.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_52_3758.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_55_2687.jpg
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_19_58_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680860","1395680863","1395680862","1395680865","1395680850","1395680864"],"photo_ids_order":["1395680850","1395680860","1395680862","1395680863","1395680864","1395680865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cc8ccdf15a2c5f8ae9c2bc255f09334.jpg","text":"TemporaryFile(/tmp/multipartBody5296360114752650018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796162711,"filename":"image_22112025_08_19_40_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3968a67a717bcf24bdf9f9c6406b139e.jpg","text":"TemporaryFile(/tmp/multipartBody7208293875843916380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796162711,"filename":"image_22112025_08_19_52_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9258ff7e24ec6d0908275218cbc9fd21.jpg","text":"TemporaryFile(/tmp/multipartBody5907464706168970641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796162711,"filename":"image_22112025_08_19_43_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44da9a3e89a583cd4e3a33513d21f13a.jpg","text":"TemporaryFile(/tmp/multipartBody7850627106218656021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796162711,"filename":"image_22112025_08_19_58_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b740ab4eacb5cbb4d6dbc2e825c9963.jpg","text":"TemporaryFile(/tmp/multipartBody8225527402027759241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796162711,"filename":"image_22112025_08_19_37_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e295d5378b6b694f8e1f44257a30666.jpg","text":"TemporaryFile(/tmp/multipartBody7611713974053906040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796162711,"filename":"image_22112025_08_19_55_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680862","file1":"1395680860","file0":"1395680850","file4":"1395680864","file5":"1395680865","file3":"1395680863"},"map_files_photo_id_array":[{"photo_id":"1395680865","filename":"file5"},{"photo_id":"1395680862","filename":"file2"},{"photo_id":"1395680864","filename":"file4"},{"photo_id":"1395680860","filename":"file1"},{"photo_id":"1395680850","filename":"file0"},{"photo_id":"1395680863","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680860":["hashtag1","hashtag2"]},{"1395680863":["hashtag1","hashtag2"]},{"1395680862":["hashtag1","hashtag2"]},{"1395680865":["hashtag1","hashtag2"]},{"1395680850":["hashtag1","hashtag2"]},{"1395680864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680860, 1395680863, 1395680862, 1395680865, 1395680850, 1395680864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.958341121673584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:22:22.260400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/19/image_22112025_08_20_00_2822.jpg', '/home/pi/Desktop/images/22112025/08/20/image_22112025_08_20_04_3732.jpg', '/home/pi/Desktop/images/22112025/08/20/image_22112025_08_20_07_2613.jpg', '/home/pi/Desktop/images/22112025/08/20/image_22112025_08_20_09_2593.jpg', '/home/pi/Desktop/images/22112025/08/20/image_22112025_08_20_13_3674.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/19/image_22112025_08_20_00_2822.jpg
/home/pi/Desktop/images/22112025/08/20/image_22112025_08_20_04_3732.jpg
/home/pi/Desktop/images/22112025/08/20/image_22112025_08_20_07_2613.jpg
/home/pi/Desktop/images/22112025/08/20/image_22112025_08_20_09_2593.jpg
/home/pi/Desktop/images/22112025/08/20/image_22112025_08_20_13_3674.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680889","1395680880","1395680871","1395680874","1395680868","1395680885"],"photo_ids_order":["1395680868","1395680871","1395680874","1395680880","1395680885","1395680889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad8def2395b0efbd7f494b3d1823987c.jpg","text":"TemporaryFile(/tmp/multipartBody417489157552054285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796202963,"filename":"image_22112025_08_21_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2812b42a31199b09b633ba84bd9011d8.jpg","text":"TemporaryFile(/tmp/multipartBody663239549628687681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796202963,"filename":"image_22112025_08_20_09_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5c70c378d5d918f323ea33ae170f978.jpg","text":"TemporaryFile(/tmp/multipartBody2098299141496817266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796202963,"filename":"image_22112025_08_20_04_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/451ac95a28b1cb0d5ace34f00faea728.jpg","text":"TemporaryFile(/tmp/multipartBody5922742296968787836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796202963,"filename":"image_22112025_08_20_07_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50faff32aac9bb9fa287fac697e99142.jpg","text":"TemporaryFile(/tmp/multipartBody2343616928345315609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796202963,"filename":"image_22112025_08_20_00_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43268659159e05d7e8f987c63b25905b.jpg","text":"TemporaryFile(/tmp/multipartBody6857097587085823165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796202963,"filename":"image_22112025_08_20_13_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680874","file1":"1395680871","file0":"1395680868","file4":"1395680885","file5":"1395680889","file3":"1395680880"},"map_files_photo_id_array":[{"photo_id":"1395680889","filename":"file5"},{"photo_id":"1395680874","filename":"file2"},{"photo_id":"1395680885","filename":"file4"},{"photo_id":"1395680871","filename":"file1"},{"photo_id":"1395680868","filename":"file0"},{"photo_id":"1395680880","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680889":["hashtag1","hashtag2"]},{"1395680880":["hashtag1","hashtag2"]},{"1395680871":["hashtag1","hashtag2"]},{"1395680874":["hashtag1","hashtag2"]},{"1395680868":["hashtag1","hashtag2"]},{"1395680885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680889, 1395680880, 1395680871, 1395680874, 1395680868, 1395680885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30231952667236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:23:03.102746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_11_3656.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_13_2655.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_16_2776.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_20_3851.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_23_2734.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_29_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_11_3656.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_13_2655.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_16_2776.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_20_3851.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_23_2734.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_29_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680900","1395680898","1395680904","1395680894","1395680897","1395680896"],"photo_ids_order":["1395680894","1395680896","1395680897","1395680898","1395680900","1395680904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/789d9d21ad1ab1931830e069e9f331ef.jpg","text":"TemporaryFile(/tmp/multipartBody6505548741361392445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796243978,"filename":"image_22112025_08_21_23_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7391cfcce633fe2970adec52dbff978d.jpg","text":"TemporaryFile(/tmp/multipartBody5210566428581030714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796243978,"filename":"image_22112025_08_21_20_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0523a6d588421c2bb86182c5c1e276e.jpg","text":"TemporaryFile(/tmp/multipartBody5637964390021746160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796243978,"filename":"image_22112025_08_21_29_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b07b7e4b20a493588ca494aca2103185.jpg","text":"TemporaryFile(/tmp/multipartBody2160137286536487096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796243978,"filename":"image_22112025_08_21_11_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be686fd1596643dd73b66324f09c0c23.jpg","text":"TemporaryFile(/tmp/multipartBody805701278768795830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796243978,"filename":"image_22112025_08_21_16_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3189b728a3a8c01e4704d10bac8f33cb.jpg","text":"TemporaryFile(/tmp/multipartBody4779689970818979812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796243978,"filename":"image_22112025_08_21_13_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680897","file1":"1395680896","file0":"1395680894","file4":"1395680900","file5":"1395680904","file3":"1395680898"},"map_files_photo_id_array":[{"photo_id":"1395680904","filename":"file5"},{"photo_id":"1395680897","filename":"file2"},{"photo_id":"1395680900","filename":"file4"},{"photo_id":"1395680896","filename":"file1"},{"photo_id":"1395680894","filename":"file0"},{"photo_id":"1395680898","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680900":["hashtag1","hashtag2"]},{"1395680898":["hashtag1","hashtag2"]},{"1395680904":["hashtag1","hashtag2"]},{"1395680894":["hashtag1","hashtag2"]},{"1395680897":["hashtag1","hashtag2"]},{"1395680896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680900, 1395680898, 1395680904, 1395680894, 1395680897, 1395680896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70023727416992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:23:42.567800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_31_2608.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_34_2557.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_38_3607.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_40_2880.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_43_2598.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_47_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_31_2608.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_34_2557.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_38_3607.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_40_2880.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_43_2598.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_47_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680915","1395680913","1395680916","1395680924","1395680918","1395680912"],"photo_ids_order":["1395680912","1395680913","1395680915","1395680916","1395680918","1395680924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dabdaa339af97cf56fdbb370228f234e.jpg","text":"TemporaryFile(/tmp/multipartBody1022129194871191435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796283267,"filename":"image_22112025_08_21_38_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35802192cc3d04ba3b7d0a66e1c79c97.jpg","text":"TemporaryFile(/tmp/multipartBody1449138811789257607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796283267,"filename":"image_22112025_08_21_34_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89c0dd2ae7d58c28241b7893073637ee.jpg","text":"TemporaryFile(/tmp/multipartBody1319970952103369236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796283267,"filename":"image_22112025_08_21_40_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e9ae81a5b56ad6dc53913789bf6f3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8763392532349090634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796283267,"filename":"image_22112025_08_21_47_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f51c7fbe0c8124d5df78a1854642e0d8.jpg","text":"TemporaryFile(/tmp/multipartBody8853389938619080159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796283267,"filename":"image_22112025_08_21_43_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08eb9e9493b9f93936d2290f538f8139.jpg","text":"TemporaryFile(/tmp/multipartBody8381082163948647785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796283267,"filename":"image_22112025_08_21_31_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680915","file1":"1395680913","file0":"1395680912","file4":"1395680918","file5":"1395680924","file3":"1395680916"},"map_files_photo_id_array":[{"photo_id":"1395680924","filename":"file5"},{"photo_id":"1395680915","filename":"file2"},{"photo_id":"1395680918","filename":"file4"},{"photo_id":"1395680913","filename":"file1"},{"photo_id":"1395680912","filename":"file0"},{"photo_id":"1395680916","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680915":["hashtag1","hashtag2"]},{"1395680913":["hashtag1","hashtag2"]},{"1395680916":["hashtag1","hashtag2"]},{"1395680924":["hashtag1","hashtag2"]},{"1395680918":["hashtag1","hashtag2"]},{"1395680912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680915, 1395680913, 1395680916, 1395680924, 1395680918, 1395680912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38440918922424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:24:22.864578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_49_2565.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_52_2803.jpg', '/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_56_3659.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_06_3011.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_10_3539.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_13_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_49_2565.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_52_2803.jpg
/home/pi/Desktop/images/22112025/08/21/image_22112025_08_21_56_3659.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_06_3011.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_10_3539.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_13_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680932","1395680941","1395680935","1395680929","1395680944","1395680939"],"photo_ids_order":["1395680929","1395680932","1395680935","1395680939","1395680941","1395680944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7db4b99058d359c1799dbc4692d81d8.jpg","text":"TemporaryFile(/tmp/multipartBody5564253023361142355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796323582,"filename":"image_22112025_08_21_52_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b960e9b09c9893c841320f10e9e273f.jpg","text":"TemporaryFile(/tmp/multipartBody1027695241651907669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796323582,"filename":"image_22112025_08_23_10_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/248c3ecb1ca8776952548e576903a1c3.jpg","text":"TemporaryFile(/tmp/multipartBody3394826504453687357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796323582,"filename":"image_22112025_08_21_56_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40cc5a440aa5c27f48e1b2b4428004bb.jpg","text":"TemporaryFile(/tmp/multipartBody2216717132263143250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796323582,"filename":"image_22112025_08_21_49_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfa7fc99fbe668dfd2691af6f4493f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4284228352346846192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796323582,"filename":"image_22112025_08_23_13_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82b0679ec75a706846a0b6646c625e30.jpg","text":"TemporaryFile(/tmp/multipartBody4071448129819630913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796323582,"filename":"image_22112025_08_23_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680935","file1":"1395680932","file0":"1395680929","file4":"1395680941","file5":"1395680944","file3":"1395680939"},"map_files_photo_id_array":[{"photo_id":"1395680944","filename":"file5"},{"photo_id":"1395680935","filename":"file2"},{"photo_id":"1395680941","filename":"file4"},{"photo_id":"1395680932","filename":"file1"},{"photo_id":"1395680929","filename":"file0"},{"photo_id":"1395680939","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680932":["hashtag1","hashtag2"]},{"1395680941":["hashtag1","hashtag2"]},{"1395680935":["hashtag1","hashtag2"]},{"1395680929":["hashtag1","hashtag2"]},{"1395680944":["hashtag1","hashtag2"]},{"1395680939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680932, 1395680941, 1395680935, 1395680929, 1395680944, 1395680939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.013904094696045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:25:02.670223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_15_2841.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_19_3706.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_22_2579.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_24_2675.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_28_3777.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_31_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_15_2841.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_19_3706.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_22_2579.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_24_2675.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_28_3777.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_31_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680950","1395680947","1395680952","1395680949","1395680948","1395680945"],"photo_ids_order":["1395680945","1395680947","1395680948","1395680949","1395680950","1395680952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b92e9b2d6dca262999ac61cba2e5029e.jpg","text":"TemporaryFile(/tmp/multipartBody585182645578977517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796363465,"filename":"image_22112025_08_23_28_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/275ab1946368b5816c616ca65ee4c1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1532180633661752698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796363465,"filename":"image_22112025_08_23_19_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f65a40e53c3aff47f2f79d50fff5e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2377310812938058456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796363465,"filename":"image_22112025_08_23_31_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ad4927adccf1f8d6f8d94ea0552f75e.jpg","text":"TemporaryFile(/tmp/multipartBody7957727728096013511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796363465,"filename":"image_22112025_08_23_24_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f9eabe7c870b7c48358ae45f4c618f2.jpg","text":"TemporaryFile(/tmp/multipartBody415416130166097079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796363465,"filename":"image_22112025_08_23_22_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e07303cbc2743dde7e8c8139784748f.jpg","text":"TemporaryFile(/tmp/multipartBody4851585901190489740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796363465,"filename":"image_22112025_08_23_15_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680948","file1":"1395680947","file0":"1395680945","file4":"1395680950","file5":"1395680952","file3":"1395680949"},"map_files_photo_id_array":[{"photo_id":"1395680952","filename":"file5"},{"photo_id":"1395680948","filename":"file2"},{"photo_id":"1395680950","filename":"file4"},{"photo_id":"1395680947","filename":"file1"},{"photo_id":"1395680945","filename":"file0"},{"photo_id":"1395680949","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680950":["hashtag1","hashtag2"]},{"1395680947":["hashtag1","hashtag2"]},{"1395680952":["hashtag1","hashtag2"]},{"1395680949":["hashtag1","hashtag2"]},{"1395680948":["hashtag1","hashtag2"]},{"1395680945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680950, 1395680947, 1395680952, 1395680949, 1395680948, 1395680945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87533521652222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:25:41.977088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_34_2778.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_37_3637.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_40_2780.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_43_2890.jpg', '/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_45_2545.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_07_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_34_2778.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_37_3637.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_40_2780.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_43_2890.jpg
/home/pi/Desktop/images/22112025/08/23/image_22112025_08_23_45_2545.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_07_3014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680965","1395680968","1395680970","1395680967","1395680969","1395680960"],"photo_ids_order":["1395680960","1395680965","1395680967","1395680968","1395680969","1395680970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6e822900da0202d2ce28d9bfe60c92e.jpg","text":"TemporaryFile(/tmp/multipartBody8258328319084496400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796402707,"filename":"image_22112025_08_23_37_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c451868af800414ba31c576e6f7e85a.jpg","text":"TemporaryFile(/tmp/multipartBody1236206192678823524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796402707,"filename":"image_22112025_08_23_43_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18430e00e4dc3ff5fb1179e26285e488.jpg","text":"TemporaryFile(/tmp/multipartBody8591959719146870792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796402707,"filename":"image_22112025_08_25_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a32de392ce05855df6248cefeacfe1d8.jpg","text":"TemporaryFile(/tmp/multipartBody4527407351331150884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796402707,"filename":"image_22112025_08_23_40_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fab55baa2fc7e49fef3705d25d3b3f11.jpg","text":"TemporaryFile(/tmp/multipartBody7172836529411881480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796402707,"filename":"image_22112025_08_23_45_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47fcb733572deaa7bc2919bb9fad24e3.jpg","text":"TemporaryFile(/tmp/multipartBody8666784826283401586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796402707,"filename":"image_22112025_08_23_34_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680967","file1":"1395680965","file0":"1395680960","file4":"1395680969","file5":"1395680970","file3":"1395680968"},"map_files_photo_id_array":[{"photo_id":"1395680970","filename":"file5"},{"photo_id":"1395680967","filename":"file2"},{"photo_id":"1395680969","filename":"file4"},{"photo_id":"1395680965","filename":"file1"},{"photo_id":"1395680960","filename":"file0"},{"photo_id":"1395680968","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680965":["hashtag1","hashtag2"]},{"1395680968":["hashtag1","hashtag2"]},{"1395680970":["hashtag1","hashtag2"]},{"1395680967":["hashtag1","hashtag2"]},{"1395680969":["hashtag1","hashtag2"]},{"1395680960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680965, 1395680968, 1395680970, 1395680967, 1395680969, 1395680960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92663311958313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:26:22.207338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_11_3552.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_14_2650.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_17_3646.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_20_2738.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_23_2806.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_25_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_11_3552.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_14_2650.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_17_3646.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_20_2738.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_23_2806.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_25_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395680998","1395681007","1395681003","1395680993","1395680996","1395681011"],"photo_ids_order":["1395680993","1395680996","1395680998","1395681003","1395681007","1395681011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/500baefe45e3907fd8bb38fb3477e4f4.jpg","text":"TemporaryFile(/tmp/multipartBody2443161071272714596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796442906,"filename":"image_22112025_08_25_17_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c5c1d5305eca6709279eb37642397a3.jpg","text":"TemporaryFile(/tmp/multipartBody3079148087946678163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796442906,"filename":"image_22112025_08_25_23_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a379eefa1fe5524670931bceba86460.jpg","text":"TemporaryFile(/tmp/multipartBody3309253193218704222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796442906,"filename":"image_22112025_08_25_20_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27aa3ff8c76af5331477d6ffb8365f67.jpg","text":"TemporaryFile(/tmp/multipartBody3762795212467652879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796442906,"filename":"image_22112025_08_25_11_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5462c5fa72247565c11387470ec51647.jpg","text":"TemporaryFile(/tmp/multipartBody3732054699425884639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796442906,"filename":"image_22112025_08_25_14_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d859e8dc1412738b0119e82aa189ed76.jpg","text":"TemporaryFile(/tmp/multipartBody9194611567017784547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796442906,"filename":"image_22112025_08_25_25_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395680998","file1":"1395680996","file0":"1395680993","file4":"1395681007","file5":"1395681011","file3":"1395681003"},"map_files_photo_id_array":[{"photo_id":"1395681011","filename":"file5"},{"photo_id":"1395680998","filename":"file2"},{"photo_id":"1395681007","filename":"file4"},{"photo_id":"1395680996","filename":"file1"},{"photo_id":"1395680993","filename":"file0"},{"photo_id":"1395681003","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395680998":["hashtag1","hashtag2"]},{"1395681007":["hashtag1","hashtag2"]},{"1395681003":["hashtag1","hashtag2"]},{"1395680993":["hashtag1","hashtag2"]},{"1395680996":["hashtag1","hashtag2"]},{"1395681011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395680998, 1395681007, 1395681003, 1395680993, 1395680996, 1395681011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.129581451416016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:27:03.222619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_32_2813.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_34_2658.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_38_3742.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_44_2950.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_46_2768.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_49_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_32_2813.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_34_2658.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_38_3742.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_44_2950.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_46_2768.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_49_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681016","1395681019","1395681024","1395681021","1395681015","1395681017"],"photo_ids_order":["1395681015","1395681016","1395681017","1395681019","1395681021","1395681024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d84a5099da404db89af099a2f408e426.jpg","text":"TemporaryFile(/tmp/multipartBody7773001015201440649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796484037,"filename":"image_22112025_08_25_34_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/390235398ed6f9c06b7257b3f4efb232.jpg","text":"TemporaryFile(/tmp/multipartBody9120785707109725852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796484037,"filename":"image_22112025_08_25_44_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39e8151c9fd3c3715cd53cbbfdf61f6e.jpg","text":"TemporaryFile(/tmp/multipartBody1694197125452257180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796484037,"filename":"image_22112025_08_25_49_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24e598860e34bbf265b98bee6003ca27.jpg","text":"TemporaryFile(/tmp/multipartBody5453760429034773802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796484037,"filename":"image_22112025_08_25_46_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/334c388bef20a1e6798343178ebbc93f.jpg","text":"TemporaryFile(/tmp/multipartBody5252489972802332404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796484037,"filename":"image_22112025_08_25_32_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a2db989327ae429014725d8043fca7e.jpg","text":"TemporaryFile(/tmp/multipartBody1825971704201112685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796484037,"filename":"image_22112025_08_25_38_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681017","file1":"1395681016","file0":"1395681015","file4":"1395681021","file5":"1395681024","file3":"1395681019"},"map_files_photo_id_array":[{"photo_id":"1395681024","filename":"file5"},{"photo_id":"1395681017","filename":"file2"},{"photo_id":"1395681021","filename":"file4"},{"photo_id":"1395681016","filename":"file1"},{"photo_id":"1395681015","filename":"file0"},{"photo_id":"1395681019","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681016":["hashtag1","hashtag2"]},{"1395681019":["hashtag1","hashtag2"]},{"1395681024":["hashtag1","hashtag2"]},{"1395681021":["hashtag1","hashtag2"]},{"1395681015":["hashtag1","hashtag2"]},{"1395681017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681016, 1395681019, 1395681024, 1395681021, 1395681015, 1395681017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42402005195618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:27:42.427061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_55_2631.jpg', '/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_59_3666.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_06_3011.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_10_3632.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_13_2632.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_16_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_55_2631.jpg
/home/pi/Desktop/images/22112025/08/25/image_22112025_08_25_59_3666.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_06_3011.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_10_3632.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_13_2632.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_16_3575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681037","1395681039","1395681033","1395681041","1395681035","1395681029"],"photo_ids_order":["1395681029","1395681033","1395681035","1395681037","1395681039","1395681041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f831355ccf54e7cd3d23ac5dbe9b5109.jpg","text":"TemporaryFile(/tmp/multipartBody8784239859175997035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796523119,"filename":"image_22112025_08_27_10_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c0c44574576f546d7f267ec39881cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1111822063610489083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796523119,"filename":"image_22112025_08_27_13_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/260646f6d42dfbcbc902d0bb219aa662.jpg","text":"TemporaryFile(/tmp/multipartBody4587582084716390945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796523119,"filename":"image_22112025_08_25_59_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8adb7c79ce6afc3dfde5547dbd3766b.jpg","text":"TemporaryFile(/tmp/multipartBody4836506487637362712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796523119,"filename":"image_22112025_08_27_16_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d619f01633112c48fbd1a6c9d47e8e6.jpg","text":"TemporaryFile(/tmp/multipartBody5119000605931348890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796523119,"filename":"image_22112025_08_27_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1581204e07e4a5fddd4a48b196cf2b38.jpg","text":"TemporaryFile(/tmp/multipartBody226093289648116447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796523119,"filename":"image_22112025_08_25_55_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681035","file1":"1395681033","file0":"1395681029","file4":"1395681039","file5":"1395681041","file3":"1395681037"},"map_files_photo_id_array":[{"photo_id":"1395681041","filename":"file5"},{"photo_id":"1395681035","filename":"file2"},{"photo_id":"1395681039","filename":"file4"},{"photo_id":"1395681033","filename":"file1"},{"photo_id":"1395681029","filename":"file0"},{"photo_id":"1395681037","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681037":["hashtag1","hashtag2"]},{"1395681039":["hashtag1","hashtag2"]},{"1395681033":["hashtag1","hashtag2"]},{"1395681041":["hashtag1","hashtag2"]},{"1395681035":["hashtag1","hashtag2"]},{"1395681029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681037, 1395681039, 1395681033, 1395681041, 1395681035, 1395681029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.132598876953125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:28:22.837879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_22_2638.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_24_2881.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_31_2587.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_33_2677.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_40_2523.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_43_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_22_2638.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_24_2881.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_31_2587.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_33_2677.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_40_2523.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_43_3614.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6212563514709473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:28:42.759723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_22_2638.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_24_2881.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_31_2587.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_33_2677.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_40_2523.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_43_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_22_2638.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_24_2881.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_31_2587.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_33_2677.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_40_2523.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_43_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681061","1395681060","1395681057","1395681062","1395681059","1395681058"],"photo_ids_order":["1395681057","1395681058","1395681059","1395681060","1395681061","1395681062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d2e1424cc0cc23dd00815e25dee65dc.jpg","text":"TemporaryFile(/tmp/multipartBody6110833218087255703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796583451,"filename":"image_22112025_08_27_40_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/664d5e14ca8bebf5d6b2d8000ecb6bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5959479275026820416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796583451,"filename":"image_22112025_08_27_33_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/606bed5a16cca6597708ead70d07ea01.jpg","text":"TemporaryFile(/tmp/multipartBody2061567403375111394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796583451,"filename":"image_22112025_08_27_22_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd063441ae3a78960a8263b0d903a4a4.jpg","text":"TemporaryFile(/tmp/multipartBody1216035956913110706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796583451,"filename":"image_22112025_08_27_43_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ee4bb8f0605ff70828a9e911a261a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3594819038907925327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796583451,"filename":"image_22112025_08_27_31_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54192ecc43296b475ada63e61998ce89.jpg","text":"TemporaryFile(/tmp/multipartBody8380935585254400015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796583451,"filename":"image_22112025_08_27_24_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681059","file1":"1395681058","file0":"1395681057","file4":"1395681061","file5":"1395681062","file3":"1395681060"},"map_files_photo_id_array":[{"photo_id":"1395681062","filename":"file5"},{"photo_id":"1395681059","filename":"file2"},{"photo_id":"1395681061","filename":"file4"},{"photo_id":"1395681058","filename":"file1"},{"photo_id":"1395681057","filename":"file0"},{"photo_id":"1395681060","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681061":["hashtag1","hashtag2"]},{"1395681060":["hashtag1","hashtag2"]},{"1395681057":["hashtag1","hashtag2"]},{"1395681062":["hashtag1","hashtag2"]},{"1395681059":["hashtag1","hashtag2"]},{"1395681058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681061, 1395681060, 1395681057, 1395681062, 1395681059, 1395681058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2100727558136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:29:22.119213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_46_2655.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_48_2541.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_52_3694.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_55_2886.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_58_2679.jpg', '/home/pi/Desktop/images/22112025/08/27/image_22112025_08_28_00_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_46_2655.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_48_2541.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_52_3694.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_55_2886.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_27_58_2679.jpg
/home/pi/Desktop/images/22112025/08/27/image_22112025_08_28_00_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681073","1395681069","1395681066","1395681071","1395681076","1395681064"],"photo_ids_order":["1395681064","1395681066","1395681069","1395681071","1395681073","1395681076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf2425ed044f24ca33951783afdc1fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8193912405156323659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796622849,"filename":"image_22112025_08_27_58_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91ad70185d0a1647e500071eeac645a2.jpg","text":"TemporaryFile(/tmp/multipartBody5626858130384652928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796622849,"filename":"image_22112025_08_27_52_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/046016b66775b9ad5eaf35c8dd30c400.jpg","text":"TemporaryFile(/tmp/multipartBody3263179134915609691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796622849,"filename":"image_22112025_08_27_48_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7530181f020191cb8d0a4b334d89e49e.jpg","text":"TemporaryFile(/tmp/multipartBody6266699016137259912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796622849,"filename":"image_22112025_08_27_55_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/000d598f49bf2d8b1c899e1f925548dc.jpg","text":"TemporaryFile(/tmp/multipartBody6059724177633314856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796622849,"filename":"image_22112025_08_28_00_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6464ad88f19527264c46c34eb7a3cce9.jpg","text":"TemporaryFile(/tmp/multipartBody2110082843827527514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796622849,"filename":"image_22112025_08_27_46_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681069","file1":"1395681066","file0":"1395681064","file4":"1395681073","file5":"1395681076","file3":"1395681071"},"map_files_photo_id_array":[{"photo_id":"1395681076","filename":"file5"},{"photo_id":"1395681069","filename":"file2"},{"photo_id":"1395681073","filename":"file4"},{"photo_id":"1395681066","filename":"file1"},{"photo_id":"1395681064","filename":"file0"},{"photo_id":"1395681071","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681073":["hashtag1","hashtag2"]},{"1395681069":["hashtag1","hashtag2"]},{"1395681066":["hashtag1","hashtag2"]},{"1395681071":["hashtag1","hashtag2"]},{"1395681076":["hashtag1","hashtag2"]},{"1395681064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681073, 1395681069, 1395681066, 1395681071, 1395681076, 1395681064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05637454986572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:30:02.685303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/28/image_22112025_08_28_04_3697.jpg', '/home/pi/Desktop/images/22112025/08/28/image_22112025_08_28_07_2675.jpg', '/home/pi/Desktop/images/22112025/08/28/image_22112025_08_28_09_2733.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_07_3017.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_11_3734.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_13_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/28/image_22112025_08_28_04_3697.jpg
/home/pi/Desktop/images/22112025/08/28/image_22112025_08_28_07_2675.jpg
/home/pi/Desktop/images/22112025/08/28/image_22112025_08_28_09_2733.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_07_3017.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_11_3734.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_13_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681087","1395681084","1395681086","1395681089","1395681080","1395681085"],"photo_ids_order":["1395681080","1395681084","1395681085","1395681086","1395681087","1395681089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80bbc0b55d7111ba2afed65627884b05.jpg","text":"TemporaryFile(/tmp/multipartBody8568043094857553042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796663503,"filename":"image_22112025_08_29_11_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/178a0c6743e6b6f199630152753b49cf.jpg","text":"TemporaryFile(/tmp/multipartBody7912162083245050644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796663503,"filename":"image_22112025_08_28_07_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edf12b9ecfe4d4df20822ed20addc389.jpg","text":"TemporaryFile(/tmp/multipartBody5776738968399008290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796663503,"filename":"image_22112025_08_29_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1344539f3021a2ed5aeccebd1f2b9152.jpg","text":"TemporaryFile(/tmp/multipartBody3921683576791634224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796663503,"filename":"image_22112025_08_29_13_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d25a446461f73f6a923040357fa9b9d.jpg","text":"TemporaryFile(/tmp/multipartBody5028613648969128639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796663503,"filename":"image_22112025_08_28_04_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55bc25d1fa3e1c8834bb95e5d39904cb.jpg","text":"TemporaryFile(/tmp/multipartBody6072946571038565925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796663503,"filename":"image_22112025_08_28_09_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681085","file1":"1395681084","file0":"1395681080","file4":"1395681087","file5":"1395681089","file3":"1395681086"},"map_files_photo_id_array":[{"photo_id":"1395681089","filename":"file5"},{"photo_id":"1395681085","filename":"file2"},{"photo_id":"1395681087","filename":"file4"},{"photo_id":"1395681084","filename":"file1"},{"photo_id":"1395681080","filename":"file0"},{"photo_id":"1395681086","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681087":["hashtag1","hashtag2"]},{"1395681084":["hashtag1","hashtag2"]},{"1395681086":["hashtag1","hashtag2"]},{"1395681089":["hashtag1","hashtag2"]},{"1395681080":["hashtag1","hashtag2"]},{"1395681085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681087, 1395681084, 1395681086, 1395681089, 1395681080, 1395681085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54990100860596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:30:42.270013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_20_3546.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_25_2627.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_37_2695.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_43_2605.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_46_2671.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_50_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_20_3546.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_25_2627.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_37_2695.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_43_2605.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_46_2671.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_50_3721.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6058616638183594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:31:03.339820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_20_3546.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_25_2627.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_37_2695.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_43_2605.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_46_2671.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_50_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_20_3546.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_25_2627.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_37_2695.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_43_2605.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_46_2671.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_50_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681103","1395681105","1395681102","1395681101","1395681104","1395681107"],"photo_ids_order":["1395681101","1395681102","1395681103","1395681104","1395681105","1395681107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42dbda25e74cf5797bd3178eeff43ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7435427127325420554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796724117,"filename":"image_22112025_08_29_37_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a44d2ff9ba0ebe1c9fba1cf38aca8540.jpg","text":"TemporaryFile(/tmp/multipartBody2145876057426551964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796724117,"filename":"image_22112025_08_29_46_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9af5ba7f626553eb9e7eaa7d3ea8e42d.jpg","text":"TemporaryFile(/tmp/multipartBody814330497723211664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796724117,"filename":"image_22112025_08_29_25_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/673863bf93dd69be7ab900fb5734b02e.jpg","text":"TemporaryFile(/tmp/multipartBody7711361970676242278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796724117,"filename":"image_22112025_08_29_20_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/810a39f0d42818580261259e9dd694ff.jpg","text":"TemporaryFile(/tmp/multipartBody29478197386608680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796724117,"filename":"image_22112025_08_29_43_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee09700504261ffcad7981c69275280c.jpg","text":"TemporaryFile(/tmp/multipartBody1060731793678204471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796724117,"filename":"image_22112025_08_29_50_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681103","file1":"1395681102","file0":"1395681101","file4":"1395681105","file5":"1395681107","file3":"1395681104"},"map_files_photo_id_array":[{"photo_id":"1395681107","filename":"file5"},{"photo_id":"1395681103","filename":"file2"},{"photo_id":"1395681105","filename":"file4"},{"photo_id":"1395681102","filename":"file1"},{"photo_id":"1395681101","filename":"file0"},{"photo_id":"1395681104","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681103":["hashtag1","hashtag2"]},{"1395681105":["hashtag1","hashtag2"]},{"1395681102":["hashtag1","hashtag2"]},{"1395681101":["hashtag1","hashtag2"]},{"1395681104":["hashtag1","hashtag2"]},{"1395681107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681103, 1395681105, 1395681102, 1395681101, 1395681104, 1395681107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0289671421051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:31:42.505017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_52_2665.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_55_2577.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_59_3739.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_07_3012.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_10_3714.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_16_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_52_2665.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_55_2577.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_59_3739.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_07_3012.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_10_3714.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_16_2636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5693604946136475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:32:03.242443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_52_2665.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_55_2577.jpg', '/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_59_3739.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_07_3012.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_10_3714.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_16_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_52_2665.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_55_2577.jpg
/home/pi/Desktop/images/22112025/08/29/image_22112025_08_29_59_3739.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_07_3012.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_10_3714.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_16_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681121","1395681124","1395681123","1395681126","1395681120","1395681122"],"photo_ids_order":["1395681120","1395681121","1395681122","1395681123","1395681124","1395681126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44e0eacfe4b2f6848ac07c3539ad2eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1273235079620159625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796783970,"filename":"image_22112025_08_29_55_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc514b9955f7b867adcb5b1b5c3bf877.jpg","text":"TemporaryFile(/tmp/multipartBody3729513913423605319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796783970,"filename":"image_22112025_08_30_10_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8d04503b844a6efe67b80d27736c5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5476309839692430080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796783970,"filename":"image_22112025_08_30_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b18f05f5dd4464a44826d522c28f12d.jpg","text":"TemporaryFile(/tmp/multipartBody4620415167528614424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796783970,"filename":"image_22112025_08_30_16_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1856ed3a91a407818d05473dd0d6cfa1.jpg","text":"TemporaryFile(/tmp/multipartBody1081508905466419053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796783970,"filename":"image_22112025_08_29_52_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d436ec9b075495b4be663dbf5fb1c2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8793255901000718468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796783970,"filename":"image_22112025_08_29_59_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681122","file1":"1395681121","file0":"1395681120","file4":"1395681124","file5":"1395681126","file3":"1395681123"},"map_files_photo_id_array":[{"photo_id":"1395681126","filename":"file5"},{"photo_id":"1395681122","filename":"file2"},{"photo_id":"1395681124","filename":"file4"},{"photo_id":"1395681121","filename":"file1"},{"photo_id":"1395681120","filename":"file0"},{"photo_id":"1395681123","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681121":["hashtag1","hashtag2"]},{"1395681124":["hashtag1","hashtag2"]},{"1395681123":["hashtag1","hashtag2"]},{"1395681126":["hashtag1","hashtag2"]},{"1395681120":["hashtag1","hashtag2"]},{"1395681122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681121, 1395681124, 1395681123, 1395681126, 1395681120, 1395681122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.035744190216064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:32:42.721432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_19_3635.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_22_2793.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_26_3548.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_28_2604.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_31_2584.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_35_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_19_3635.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_22_2793.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_26_3548.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_28_2604.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_31_2584.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_35_3749.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6253478527069092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:33:02.685002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_19_3635.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_22_2793.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_26_3548.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_28_2604.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_31_2584.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_35_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_19_3635.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_22_2793.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_26_3548.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_28_2604.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_31_2584.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_35_3749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681139","1395681141","1395681138","1395681140","1395681143","1395681137"],"photo_ids_order":["1395681137","1395681138","1395681139","1395681140","1395681141","1395681143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05732b88f7714712945557c9cbb31058.jpg","text":"TemporaryFile(/tmp/multipartBody5700142573354967907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796843479,"filename":"image_22112025_08_30_26_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7aa3c84f9f76c1f682fa282977e3de5c.jpg","text":"TemporaryFile(/tmp/multipartBody8101317888747522960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796843479,"filename":"image_22112025_08_30_31_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ecb06fa4301e512077e341092aa7d65.jpg","text":"TemporaryFile(/tmp/multipartBody7158753997986554339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796843479,"filename":"image_22112025_08_30_22_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/896a5bd4f816ebe6b2f94482c664275d.jpg","text":"TemporaryFile(/tmp/multipartBody8139661641713336712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796843479,"filename":"image_22112025_08_30_28_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa50fb20992bd7ad76b3a760b510c846.jpg","text":"TemporaryFile(/tmp/multipartBody5561467106646890354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796843479,"filename":"image_22112025_08_30_35_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/633995a0c0cc05e112f459357cfbb1ae.jpg","text":"TemporaryFile(/tmp/multipartBody8420244286963807272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796843479,"filename":"image_22112025_08_30_19_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681139","file1":"1395681138","file0":"1395681137","file4":"1395681141","file5":"1395681143","file3":"1395681140"},"map_files_photo_id_array":[{"photo_id":"1395681143","filename":"file5"},{"photo_id":"1395681139","filename":"file2"},{"photo_id":"1395681141","filename":"file4"},{"photo_id":"1395681138","filename":"file1"},{"photo_id":"1395681137","filename":"file0"},{"photo_id":"1395681140","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681139":["hashtag1","hashtag2"]},{"1395681141":["hashtag1","hashtag2"]},{"1395681138":["hashtag1","hashtag2"]},{"1395681140":["hashtag1","hashtag2"]},{"1395681143":["hashtag1","hashtag2"]},{"1395681137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681139, 1395681141, 1395681138, 1395681140, 1395681143, 1395681137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25219750404358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:33:41.932192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_37_2638.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_46_2668.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_49_2653.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_53_3617.jpg', '/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_55_2680.jpg', '/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_01_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_37_2638.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_46_2668.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_49_2653.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_53_3617.jpg
/home/pi/Desktop/images/22112025/08/30/image_22112025_08_30_55_2680.jpg
/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_01_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681151","1395681154","1395681148","1395681153","1395681156","1395681155"],"photo_ids_order":["1395681148","1395681151","1395681153","1395681154","1395681155","1395681156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfbdb393657769393f31599890967e68.jpg","text":"TemporaryFile(/tmp/multipartBody6757603029633038091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796882604,"filename":"image_22112025_08_30_46_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ffe70a355125bc67be019dffaf208e5.jpg","text":"TemporaryFile(/tmp/multipartBody8278431946505976107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796882604,"filename":"image_22112025_08_30_53_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09178715f134f6c63a5146ff0c652a72.jpg","text":"TemporaryFile(/tmp/multipartBody5375318520476974713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796882604,"filename":"image_22112025_08_30_37_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df502b42e6e3a36ed24f4a145f84ead7.jpg","text":"TemporaryFile(/tmp/multipartBody466569788954701599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796882604,"filename":"image_22112025_08_30_49_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35450c31264dff71c92c693912e0d011.jpg","text":"TemporaryFile(/tmp/multipartBody2430223222332393022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796882604,"filename":"image_22112025_08_31_01_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6924ea27c1d6214bc0a841d6e3e137f6.jpg","text":"TemporaryFile(/tmp/multipartBody3261531312821894011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796882604,"filename":"image_22112025_08_30_55_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681153","file1":"1395681151","file0":"1395681148","file4":"1395681155","file5":"1395681156","file3":"1395681154"},"map_files_photo_id_array":[{"photo_id":"1395681156","filename":"file5"},{"photo_id":"1395681153","filename":"file2"},{"photo_id":"1395681155","filename":"file4"},{"photo_id":"1395681151","filename":"file1"},{"photo_id":"1395681148","filename":"file0"},{"photo_id":"1395681154","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681151":["hashtag1","hashtag2"]},{"1395681154":["hashtag1","hashtag2"]},{"1395681148":["hashtag1","hashtag2"]},{"1395681153":["hashtag1","hashtag2"]},{"1395681156":["hashtag1","hashtag2"]},{"1395681155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681151, 1395681154, 1395681148, 1395681153, 1395681156, 1395681155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21274757385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:34:22.165790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_04_3745.jpg', '/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_07_2520.jpg', '/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_11_3694.jpg', '/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_13_2808.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_07_3018.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_11_3798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_04_3745.jpg
/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_07_2520.jpg
/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_11_3694.jpg
/home/pi/Desktop/images/22112025/08/31/image_22112025_08_31_13_2808.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_07_3018.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_11_3798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681165","1395681159","1395681170","1395681167","1395681161","1395681163"],"photo_ids_order":["1395681159","1395681161","1395681163","1395681165","1395681167","1395681170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1f075269ff4fd552ec5d0b7bb6a706f.jpg","text":"TemporaryFile(/tmp/multipartBody311383877471519231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796922880,"filename":"image_22112025_08_31_13_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf74390e7c005ad4582ae8ca38fc2164.jpg","text":"TemporaryFile(/tmp/multipartBody8671567517321135253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796922880,"filename":"image_22112025_08_31_04_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd16f40e279a862157f9f1070e3074d2.jpg","text":"TemporaryFile(/tmp/multipartBody6549641969379127851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796922880,"filename":"image_22112025_08_32_11_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/111dbc5aea356c338ac462f6813bf1d3.jpg","text":"TemporaryFile(/tmp/multipartBody3722321824937769315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796922880,"filename":"image_22112025_08_32_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5503c7daa83994416caf7ffe42355e6.jpg","text":"TemporaryFile(/tmp/multipartBody6525813129224068779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796922880,"filename":"image_22112025_08_31_07_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b586d6d30a89f62c88ec2aef4b9bd64.jpg","text":"TemporaryFile(/tmp/multipartBody6662100575807619734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796922880,"filename":"image_22112025_08_31_11_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681163","file1":"1395681161","file0":"1395681159","file4":"1395681167","file5":"1395681170","file3":"1395681165"},"map_files_photo_id_array":[{"photo_id":"1395681170","filename":"file5"},{"photo_id":"1395681163","filename":"file2"},{"photo_id":"1395681167","filename":"file4"},{"photo_id":"1395681161","filename":"file1"},{"photo_id":"1395681159","filename":"file0"},{"photo_id":"1395681165","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681165":["hashtag1","hashtag2"]},{"1395681159":["hashtag1","hashtag2"]},{"1395681170":["hashtag1","hashtag2"]},{"1395681167":["hashtag1","hashtag2"]},{"1395681161":["hashtag1","hashtag2"]},{"1395681163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681165, 1395681159, 1395681170, 1395681167, 1395681161, 1395681163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89089369773865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:35:03.199336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_14_2830.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_17_2590.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_20_3692.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_23_2735.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_26_2792.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_28_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_14_2830.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_17_2590.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_20_3692.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_23_2735.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_26_2792.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_28_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681172","1395681171","1395681174","1395681177","1395681173","1395681175"],"photo_ids_order":["1395681171","1395681172","1395681173","1395681174","1395681175","1395681177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cfb6177c7384d5c74461ae11afa0d60.jpg","text":"TemporaryFile(/tmp/multipartBody4918420618907536689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796963924,"filename":"image_22112025_08_32_17_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c25b513639f2a05e37135678513f2771.jpg","text":"TemporaryFile(/tmp/multipartBody2485863922556493536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796963924,"filename":"image_22112025_08_32_14_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98f4b9e4285049caaba7cdf8e4f4e1f7.jpg","text":"TemporaryFile(/tmp/multipartBody4496376791355618755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796963924,"filename":"image_22112025_08_32_23_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa895dd90d6c4b7eb1607041414bf79c.jpg","text":"TemporaryFile(/tmp/multipartBody4201497210660971829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796963924,"filename":"image_22112025_08_32_28_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bd6acf3fe0e7a080b83077f8caf0240.jpg","text":"TemporaryFile(/tmp/multipartBody5818383412480843351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796963924,"filename":"image_22112025_08_32_20_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f3c416ac1cf3f9e633c896653fe80f6.jpg","text":"TemporaryFile(/tmp/multipartBody6655525516871755900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763796963924,"filename":"image_22112025_08_32_26_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681173","file1":"1395681172","file0":"1395681171","file4":"1395681175","file5":"1395681177","file3":"1395681174"},"map_files_photo_id_array":[{"photo_id":"1395681177","filename":"file5"},{"photo_id":"1395681173","filename":"file2"},{"photo_id":"1395681175","filename":"file4"},{"photo_id":"1395681172","filename":"file1"},{"photo_id":"1395681171","filename":"file0"},{"photo_id":"1395681174","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681172":["hashtag1","hashtag2"]},{"1395681171":["hashtag1","hashtag2"]},{"1395681174":["hashtag1","hashtag2"]},{"1395681177":["hashtag1","hashtag2"]},{"1395681173":["hashtag1","hashtag2"]},{"1395681175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681172, 1395681171, 1395681174, 1395681177, 1395681173, 1395681175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80981421470642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:35:42.400918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_32_3730.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_35_2578.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_37_2659.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_41_3566.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_44_2780.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_46_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_32_3730.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_35_2578.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_37_2659.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_41_3566.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_44_2780.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_46_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681187","1395681186","1395681183","1395681194","1395681188","1395681190"],"photo_ids_order":["1395681183","1395681186","1395681187","1395681188","1395681190","1395681194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09ee4c78aff0d7ae8ccf99a096c01395.jpg","text":"TemporaryFile(/tmp/multipartBody2700293449940283637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797003046,"filename":"image_22112025_08_32_37_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11792cd6a7406a11ebf6389da6514235.jpg","text":"TemporaryFile(/tmp/multipartBody6794498758379443756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797003046,"filename":"image_22112025_08_32_35_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0974870c898c0eaa30d9a1a569bd097.jpg","text":"TemporaryFile(/tmp/multipartBody2579538680822834870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797003046,"filename":"image_22112025_08_32_32_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f76a96276d511835fef605c2ab79d0c0.jpg","text":"TemporaryFile(/tmp/multipartBody2321484080609556261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797003046,"filename":"image_22112025_08_32_46_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ebaffadd4e2e459c90c5e1b1d818df0.jpg","text":"TemporaryFile(/tmp/multipartBody7731940990894473619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797003046,"filename":"image_22112025_08_32_41_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54ffe59d85df6315f6ce460ebeb203b7.jpg","text":"TemporaryFile(/tmp/multipartBody3280877163516399804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797003046,"filename":"image_22112025_08_32_44_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681187","file1":"1395681186","file0":"1395681183","file4":"1395681190","file5":"1395681194","file3":"1395681188"},"map_files_photo_id_array":[{"photo_id":"1395681194","filename":"file5"},{"photo_id":"1395681187","filename":"file2"},{"photo_id":"1395681190","filename":"file4"},{"photo_id":"1395681186","filename":"file1"},{"photo_id":"1395681183","filename":"file0"},{"photo_id":"1395681188","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681187":["hashtag1","hashtag2"]},{"1395681186":["hashtag1","hashtag2"]},{"1395681183":["hashtag1","hashtag2"]},{"1395681194":["hashtag1","hashtag2"]},{"1395681188":["hashtag1","hashtag2"]},{"1395681190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681187, 1395681186, 1395681183, 1395681194, 1395681188, 1395681190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34182620048523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:36:22.646700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_50_3593.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_53_2737.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_55_2664.jpg', '/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_59_3725.jpg', '/home/pi/Desktop/images/22112025/08/33/image_22112025_08_33_02_2655.jpg', '/home/pi/Desktop/images/22112025/08/33/image_22112025_08_33_04_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_50_3593.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_53_2737.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_55_2664.jpg
/home/pi/Desktop/images/22112025/08/32/image_22112025_08_32_59_3725.jpg
/home/pi/Desktop/images/22112025/08/33/image_22112025_08_33_02_2655.jpg
/home/pi/Desktop/images/22112025/08/33/image_22112025_08_33_04_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681198","1395681202","1395681204","1395681207","1395681200","1395681196"],"photo_ids_order":["1395681196","1395681198","1395681200","1395681202","1395681204","1395681207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ce86a76686284c681be10d8e5c9f195.jpg","text":"TemporaryFile(/tmp/multipartBody1871383259380518109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797043334,"filename":"image_22112025_08_32_53_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/249cd3833d365ad528c6b8d3caecf7cb.jpg","text":"TemporaryFile(/tmp/multipartBody2545119484456181497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797043334,"filename":"image_22112025_08_32_59_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c97e54d93499237eedb2a8c86c69c8dc.jpg","text":"TemporaryFile(/tmp/multipartBody6066352218675691429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797043334,"filename":"image_22112025_08_33_02_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b2eb34d039985c9133e2508556ffb7b.jpg","text":"TemporaryFile(/tmp/multipartBody7120251789851240249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797043334,"filename":"image_22112025_08_33_04_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f42db142f4952e3aaf7e5a4ca5fd5173.jpg","text":"TemporaryFile(/tmp/multipartBody4429936516459731313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797043334,"filename":"image_22112025_08_32_55_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f258649a08b8391ce75a0505162ca9f0.jpg","text":"TemporaryFile(/tmp/multipartBody3311349576278480015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797043334,"filename":"image_22112025_08_32_50_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681200","file1":"1395681198","file0":"1395681196","file4":"1395681204","file5":"1395681207","file3":"1395681202"},"map_files_photo_id_array":[{"photo_id":"1395681207","filename":"file5"},{"photo_id":"1395681200","filename":"file2"},{"photo_id":"1395681204","filename":"file4"},{"photo_id":"1395681198","filename":"file1"},{"photo_id":"1395681196","filename":"file0"},{"photo_id":"1395681202","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681198":["hashtag1","hashtag2"]},{"1395681202":["hashtag1","hashtag2"]},{"1395681204":["hashtag1","hashtag2"]},{"1395681207":["hashtag1","hashtag2"]},{"1395681200":["hashtag1","hashtag2"]},{"1395681196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681198, 1395681202, 1395681204, 1395681207, 1395681200, 1395681196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92135047912598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:37:02.417231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_07_3018.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_10_3563.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_13_2727.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_17_3652.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_19_2707.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_22_2497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_07_3018.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_10_3563.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_13_2727.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_17_3652.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_19_2707.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_22_2497.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681211","1395681214","1395681208","1395681210","1395681209","1395681212"],"photo_ids_order":["1395681208","1395681209","1395681210","1395681211","1395681212","1395681214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55bf0623719dd7558a370c1bd461fca8.jpg","text":"TemporaryFile(/tmp/multipartBody8240204721523023576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797083169,"filename":"image_22112025_08_34_17_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d4d1d2291563032644a7b7a0cadb05c.jpg","text":"TemporaryFile(/tmp/multipartBody1076036887972757227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797083169,"filename":"image_22112025_08_34_22_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95b1c664a8030a130a220805d8b5feac.jpg","text":"TemporaryFile(/tmp/multipartBody5716282418087144728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797083169,"filename":"image_22112025_08_34_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57a061989e9ebb5c0a8f44f062dedaa0.jpg","text":"TemporaryFile(/tmp/multipartBody1024356859834349054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797083169,"filename":"image_22112025_08_34_13_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ac78736dbcbae95437b2d202013e08a.jpg","text":"TemporaryFile(/tmp/multipartBody951860341890587500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797083169,"filename":"image_22112025_08_34_10_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99e1e38d557ccff824f613b78f0e8e67.jpg","text":"TemporaryFile(/tmp/multipartBody179174446980252738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797083169,"filename":"image_22112025_08_34_19_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681210","file1":"1395681209","file0":"1395681208","file4":"1395681212","file5":"1395681214","file3":"1395681211"},"map_files_photo_id_array":[{"photo_id":"1395681214","filename":"file5"},{"photo_id":"1395681210","filename":"file2"},{"photo_id":"1395681212","filename":"file4"},{"photo_id":"1395681209","filename":"file1"},{"photo_id":"1395681208","filename":"file0"},{"photo_id":"1395681211","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681211":["hashtag1","hashtag2"]},{"1395681214":["hashtag1","hashtag2"]},{"1395681208":["hashtag1","hashtag2"]},{"1395681210":["hashtag1","hashtag2"]},{"1395681209":["hashtag1","hashtag2"]},{"1395681212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681211, 1395681214, 1395681208, 1395681210, 1395681209, 1395681212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35058569908142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:37:41.810399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_25_3699.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_28_2780.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_31_2647.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_34_3519.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_37_2571.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_40_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_25_3699.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_28_2780.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_31_2647.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_34_3519.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_37_2571.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_40_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681226","1395681222","1395681225","1395681219","1395681227","1395681224"],"photo_ids_order":["1395681219","1395681222","1395681224","1395681225","1395681226","1395681227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b71c24101b4d03f09e1a5c6c41f1d599.jpg","text":"TemporaryFile(/tmp/multipartBody882362184566574910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797122453,"filename":"image_22112025_08_34_37_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a0a83b8682043883e801a03b2d31b41.jpg","text":"TemporaryFile(/tmp/multipartBody6204620305869100938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797122453,"filename":"image_22112025_08_34_28_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fbab4d8cc63d9a16c1e9f4eddf81c24.jpg","text":"TemporaryFile(/tmp/multipartBody4902198041564229519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797122453,"filename":"image_22112025_08_34_34_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e97054da77337ecbaaf692d096891748.jpg","text":"TemporaryFile(/tmp/multipartBody2837310485537552516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797122453,"filename":"image_22112025_08_34_25_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12f1926f038b6bd75dc371f1be55cf91.jpg","text":"TemporaryFile(/tmp/multipartBody526254332263030647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797122453,"filename":"image_22112025_08_34_40_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c8736158f530fd3244888bc4c71fcf7.jpg","text":"TemporaryFile(/tmp/multipartBody5973303830770579244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797122453,"filename":"image_22112025_08_34_31_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681224","file1":"1395681222","file0":"1395681219","file4":"1395681226","file5":"1395681227","file3":"1395681225"},"map_files_photo_id_array":[{"photo_id":"1395681227","filename":"file5"},{"photo_id":"1395681224","filename":"file2"},{"photo_id":"1395681226","filename":"file4"},{"photo_id":"1395681222","filename":"file1"},{"photo_id":"1395681219","filename":"file0"},{"photo_id":"1395681225","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681226":["hashtag1","hashtag2"]},{"1395681222":["hashtag1","hashtag2"]},{"1395681225":["hashtag1","hashtag2"]},{"1395681219":["hashtag1","hashtag2"]},{"1395681227":["hashtag1","hashtag2"]},{"1395681224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681226, 1395681222, 1395681225, 1395681219, 1395681227, 1395681224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67649722099304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:38:22.422206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_43_3697.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_46_2549.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_07_3011.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_11_3729.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_13_2543.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_23_3358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_43_3697.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_46_2549.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_07_3011.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_11_3729.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_13_2543.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_23_3358.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5350537300109863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:38:42.499356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_43_3697.jpg', '/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_46_2549.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_07_3011.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_11_3729.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_13_2543.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_23_3358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_43_3697.jpg
/home/pi/Desktop/images/22112025/08/34/image_22112025_08_34_46_2549.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_07_3011.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_11_3729.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_13_2543.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_23_3358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681244","1395681238","1395681241","1395681243","1395681245","1395681242"],"photo_ids_order":["1395681238","1395681241","1395681242","1395681243","1395681244","1395681245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59438038dae0cd711ba505315f08f6d7.jpg","text":"TemporaryFile(/tmp/multipartBody9087129304556636662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797183204,"filename":"image_22112025_08_36_13_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86d699ec63ba830f17f7b230319cb54c.jpg","text":"TemporaryFile(/tmp/multipartBody4368709931686645168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797183204,"filename":"image_22112025_08_34_43_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66d938d2e9cfa4f6c88d3f1c83063a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3489729381212684789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797183204,"filename":"image_22112025_08_34_46_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0c8b72be5323c867fe3ff1da3757b46.jpg","text":"TemporaryFile(/tmp/multipartBody5675947281600651876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797183204,"filename":"image_22112025_08_36_11_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/031992b4972aceae8ef484a15c1e5d17.jpg","text":"TemporaryFile(/tmp/multipartBody983788392385416498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797183204,"filename":"image_22112025_08_36_23_3358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/930ef1ccd1b936784d430e6794aa9341.jpg","text":"TemporaryFile(/tmp/multipartBody3329883896409493065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797183204,"filename":"image_22112025_08_36_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681242","file1":"1395681241","file0":"1395681238","file4":"1395681244","file5":"1395681245","file3":"1395681243"},"map_files_photo_id_array":[{"photo_id":"1395681245","filename":"file5"},{"photo_id":"1395681242","filename":"file2"},{"photo_id":"1395681244","filename":"file4"},{"photo_id":"1395681241","filename":"file1"},{"photo_id":"1395681238","filename":"file0"},{"photo_id":"1395681243","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681244":["hashtag1","hashtag2"]},{"1395681238":["hashtag1","hashtag2"]},{"1395681241":["hashtag1","hashtag2"]},{"1395681243":["hashtag1","hashtag2"]},{"1395681245":["hashtag1","hashtag2"]},{"1395681242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681244, 1395681238, 1395681241, 1395681243, 1395681245, 1395681242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.041574001312256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:39:22.669626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_25_2555.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_29_3725.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_32_2754.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_34_2625.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_37_2589.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_41_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_25_2555.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_29_3725.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_32_2754.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_34_2625.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_37_2589.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_41_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681253","1395681247","1395681249","1395681246","1395681251","1395681257"],"photo_ids_order":["1395681246","1395681247","1395681249","1395681251","1395681253","1395681257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d802fb6be38452d3bf2f0ac2fb2f05f5.jpg","text":"TemporaryFile(/tmp/multipartBody8439265232011604755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797223347,"filename":"image_22112025_08_36_37_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a27846c84a505fdb8ec2dcb527e2dfaf.jpg","text":"TemporaryFile(/tmp/multipartBody5831212512427678439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797223347,"filename":"image_22112025_08_36_29_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d89da88d2e9d0ab52b10db8508be1da8.jpg","text":"TemporaryFile(/tmp/multipartBody4434373539761586797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797223347,"filename":"image_22112025_08_36_32_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5962df127241112d5932c8bdc5fa391c.jpg","text":"TemporaryFile(/tmp/multipartBody4150727610268061538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797223347,"filename":"image_22112025_08_36_25_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7711be63e637aaf33962e088299b0c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5792443082357128191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797223347,"filename":"image_22112025_08_36_34_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db9557c7c228595faac8c5b20929cd26.jpg","text":"TemporaryFile(/tmp/multipartBody1786322646134197088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797223347,"filename":"image_22112025_08_36_41_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681249","file1":"1395681247","file0":"1395681246","file4":"1395681253","file5":"1395681257","file3":"1395681251"},"map_files_photo_id_array":[{"photo_id":"1395681257","filename":"file5"},{"photo_id":"1395681249","filename":"file2"},{"photo_id":"1395681253","filename":"file4"},{"photo_id":"1395681247","filename":"file1"},{"photo_id":"1395681246","filename":"file0"},{"photo_id":"1395681251","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681253":["hashtag1","hashtag2"]},{"1395681247":["hashtag1","hashtag2"]},{"1395681249":["hashtag1","hashtag2"]},{"1395681246":["hashtag1","hashtag2"]},{"1395681251":["hashtag1","hashtag2"]},{"1395681257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681253, 1395681247, 1395681249, 1395681246, 1395681251, 1395681257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.067561864852905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:40:02.346282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_43_2758.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_46_2666.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_50_3669.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_52_2640.jpg', '/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_56_3579.jpg', '/home/pi/Desktop/images/22112025/08/37/image_22112025_08_37_02_6422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_43_2758.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_46_2666.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_50_3669.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_52_2640.jpg
/home/pi/Desktop/images/22112025/08/36/image_22112025_08_36_56_3579.jpg
/home/pi/Desktop/images/22112025/08/37/image_22112025_08_37_02_6422.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681279","1395681270","1395681267","1395681264","1395681266","1395681268"],"photo_ids_order":["1395681264","1395681266","1395681267","1395681268","1395681270","1395681279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb515ee9e87e7c4348d1bacb654346b5.jpg","text":"TemporaryFile(/tmp/multipartBody3600189865775793752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797263048,"filename":"image_22112025_08_37_02_6422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83588bb50cd0f9d157fe3d02b3d9dc91.jpg","text":"TemporaryFile(/tmp/multipartBody568794043340846734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797263048,"filename":"image_22112025_08_36_56_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00e6da13e081cdd5654fdee8d35a4752.jpg","text":"TemporaryFile(/tmp/multipartBody1083675002779327114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797263048,"filename":"image_22112025_08_36_50_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb6edd3593436a0160a97a5bb7eab046.jpg","text":"TemporaryFile(/tmp/multipartBody8401510075458156509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797263048,"filename":"image_22112025_08_36_43_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77d9e7b7f224e93044cfb2f4a4873c7c.jpg","text":"TemporaryFile(/tmp/multipartBody8798984356117360565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797263048,"filename":"image_22112025_08_36_46_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/968ca8d4469225deb10a6f7d85048a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2900446371483128460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797263048,"filename":"image_22112025_08_36_52_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681267","file1":"1395681266","file0":"1395681264","file4":"1395681270","file5":"1395681279","file3":"1395681268"},"map_files_photo_id_array":[{"photo_id":"1395681279","filename":"file5"},{"photo_id":"1395681267","filename":"file2"},{"photo_id":"1395681270","filename":"file4"},{"photo_id":"1395681266","filename":"file1"},{"photo_id":"1395681264","filename":"file0"},{"photo_id":"1395681268","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681279":["hashtag1","hashtag2"]},{"1395681270":["hashtag1","hashtag2"]},{"1395681267":["hashtag1","hashtag2"]},{"1395681264":["hashtag1","hashtag2"]},{"1395681266":["hashtag1","hashtag2"]},{"1395681268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681279, 1395681270, 1395681267, 1395681264, 1395681266, 1395681268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16606688499451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:40:41.847599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/37/image_22112025_08_37_04_1615.jpg', '/home/pi/Desktop/images/22112025/08/37/image_22112025_08_37_06_1614.jpg', '/home/pi/Desktop/images/22112025/08/37/image_22112025_08_37_11_3625.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_07_3018.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_10_3808.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_13_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/37/image_22112025_08_37_04_1615.jpg
/home/pi/Desktop/images/22112025/08/37/image_22112025_08_37_06_1614.jpg
/home/pi/Desktop/images/22112025/08/37/image_22112025_08_37_11_3625.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_07_3018.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_10_3808.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_13_2775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681288","1395681290","1395681284","1395681287","1395681286","1395681289"],"photo_ids_order":["1395681284","1395681286","1395681287","1395681288","1395681289","1395681290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9aaba082addd5c3b7bebdbb74febfc20.jpg","text":"TemporaryFile(/tmp/multipartBody3272081323727531444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797302504,"filename":"image_22112025_08_38_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d44d6b672d8a417eb291c6c9be8fe69e.jpg","text":"TemporaryFile(/tmp/multipartBody7908032168670446620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797302504,"filename":"image_22112025_08_38_13_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3c1f780415eceef6d6c8f2da1abef4c.jpg","text":"TemporaryFile(/tmp/multipartBody1446257440554525323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797302504,"filename":"image_22112025_08_37_04_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/666d3224a97fdd48fea204e78fc06c4a.jpg","text":"TemporaryFile(/tmp/multipartBody2106560715421465451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797302504,"filename":"image_22112025_08_37_11_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a05234e802ea305e8b920b5fd6aa093.jpg","text":"TemporaryFile(/tmp/multipartBody7473085363655798148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797302504,"filename":"image_22112025_08_37_06_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab8fcfed521bd7bd3cdc010e18cb81f7.jpg","text":"TemporaryFile(/tmp/multipartBody8168548975745180632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797302504,"filename":"image_22112025_08_38_10_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681287","file1":"1395681286","file0":"1395681284","file4":"1395681289","file5":"1395681290","file3":"1395681288"},"map_files_photo_id_array":[{"photo_id":"1395681290","filename":"file5"},{"photo_id":"1395681287","filename":"file2"},{"photo_id":"1395681289","filename":"file4"},{"photo_id":"1395681286","filename":"file1"},{"photo_id":"1395681284","filename":"file0"},{"photo_id":"1395681288","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681288":["hashtag1","hashtag2"]},{"1395681290":["hashtag1","hashtag2"]},{"1395681284":["hashtag1","hashtag2"]},{"1395681287":["hashtag1","hashtag2"]},{"1395681286":["hashtag1","hashtag2"]},{"1395681289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681288, 1395681290, 1395681284, 1395681287, 1395681286, 1395681289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94226121902466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:41:22.160655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_16_2627.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_20_3727.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_22_2687.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_25_2658.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_28_3589.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_31_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_16_2627.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_20_3727.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_22_2687.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_25_2658.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_28_3589.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_31_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681297","1395681301","1395681304","1395681299","1395681293","1395681295"],"photo_ids_order":["1395681293","1395681295","1395681297","1395681299","1395681301","1395681304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7d4bcc2825a1ee7bcf6f6fef90873f2.jpg","text":"TemporaryFile(/tmp/multipartBody4220602732136515006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797342833,"filename":"image_22112025_08_38_22_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d8130c04c60e4735aa1ccdee13a3f97.jpg","text":"TemporaryFile(/tmp/multipartBody5823497122192092494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797342833,"filename":"image_22112025_08_38_28_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ab1522f930f7e017e97bb47743f7eee.jpg","text":"TemporaryFile(/tmp/multipartBody2516587317853021432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797342833,"filename":"image_22112025_08_38_31_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/219cc35fa2de795a6765585afa052e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4414718953316648728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797342833,"filename":"image_22112025_08_38_25_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c94073f33e49c25ea8e2a4320ee59172.jpg","text":"TemporaryFile(/tmp/multipartBody9070099760048919573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797342833,"filename":"image_22112025_08_38_16_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c98f1848441944578ef71819e7d7f16.jpg","text":"TemporaryFile(/tmp/multipartBody5936809092626358839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797342833,"filename":"image_22112025_08_38_20_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681297","file1":"1395681295","file0":"1395681293","file4":"1395681301","file5":"1395681304","file3":"1395681299"},"map_files_photo_id_array":[{"photo_id":"1395681304","filename":"file5"},{"photo_id":"1395681297","filename":"file2"},{"photo_id":"1395681301","filename":"file4"},{"photo_id":"1395681295","filename":"file1"},{"photo_id":"1395681293","filename":"file0"},{"photo_id":"1395681299","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681297":["hashtag1","hashtag2"]},{"1395681301":["hashtag1","hashtag2"]},{"1395681304":["hashtag1","hashtag2"]},{"1395681299":["hashtag1","hashtag2"]},{"1395681293":["hashtag1","hashtag2"]},{"1395681295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681297, 1395681301, 1395681304, 1395681299, 1395681293, 1395681295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.971481800079346 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:42:26.854091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_34_2576.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_37_3539.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_40_2683.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_44_3553.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_49_1581.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_52_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_34_2576.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_37_3539.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_40_2683.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_44_3553.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_49_1581.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_52_3723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681313","1395681321","1395681315","1395681320","1395681317","1395681311"],"photo_ids_order":["1395681311","1395681313","1395681315","1395681317","1395681320","1395681321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fef81051dd82682eb0f94bc692058615.jpg","text":"TemporaryFile(/tmp/multipartBody2472915354403243201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797407529,"filename":"image_22112025_08_38_37_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78d8020335f108e36e279980769158ac.jpg","text":"TemporaryFile(/tmp/multipartBody301726642888713382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797407529,"filename":"image_22112025_08_38_52_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2545f62cd373b65b795c5872b1c8730d.jpg","text":"TemporaryFile(/tmp/multipartBody4822392898511388180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797407529,"filename":"image_22112025_08_38_40_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51b18bfd84cdfd0e40d0e02db1778bd2.jpg","text":"TemporaryFile(/tmp/multipartBody2420676537406206699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797407529,"filename":"image_22112025_08_38_49_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/629dcd1efef275c70f94a14ee3538d0b.jpg","text":"TemporaryFile(/tmp/multipartBody3689127513641306248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797407529,"filename":"image_22112025_08_38_44_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ff3a813903049cf975066ced06084eb.jpg","text":"TemporaryFile(/tmp/multipartBody2578224984860376884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797407529,"filename":"image_22112025_08_38_34_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681315","file1":"1395681313","file0":"1395681311","file4":"1395681320","file5":"1395681321","file3":"1395681317"},"map_files_photo_id_array":[{"photo_id":"1395681321","filename":"file5"},{"photo_id":"1395681315","filename":"file2"},{"photo_id":"1395681320","filename":"file4"},{"photo_id":"1395681313","filename":"file1"},{"photo_id":"1395681311","filename":"file0"},{"photo_id":"1395681317","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681313":["hashtag1","hashtag2"]},{"1395681321":["hashtag1","hashtag2"]},{"1395681315":["hashtag1","hashtag2"]},{"1395681320":["hashtag1","hashtag2"]},{"1395681317":["hashtag1","hashtag2"]},{"1395681311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681313, 1395681321, 1395681315, 1395681320, 1395681317, 1395681311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.418705463409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:43:22.056350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_55_2685.jpg', '/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_58_3139.jpg', '/home/pi/Desktop/images/22112025/08/39/image_22112025_08_39_01_2549.jpg', '/home/pi/Desktop/images/22112025/08/39/image_22112025_08_39_04_2829.jpg', '/home/pi/Desktop/images/22112025/08/39/image_22112025_08_39_10_6591.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_55_2685.jpg
/home/pi/Desktop/images/22112025/08/38/image_22112025_08_38_58_3139.jpg
/home/pi/Desktop/images/22112025/08/39/image_22112025_08_39_01_2549.jpg
/home/pi/Desktop/images/22112025/08/39/image_22112025_08_39_04_2829.jpg
/home/pi/Desktop/images/22112025/08/39/image_22112025_08_39_10_6591.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_07_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681331","1395681325","1395681334","1395681330","1395681327","1395681323"],"photo_ids_order":["1395681323","1395681325","1395681327","1395681330","1395681331","1395681334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e473bb113ea1ecc302df8b6b651cb8c5.jpg","text":"TemporaryFile(/tmp/multipartBody7602778759124462499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797462695,"filename":"image_22112025_08_39_10_6591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c2b21f8954effc74640897452482901.jpg","text":"TemporaryFile(/tmp/multipartBody5821873145743328504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797462695,"filename":"image_22112025_08_38_58_3139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14acdc0371f6bdd6a707a1e1e87fee21.jpg","text":"TemporaryFile(/tmp/multipartBody1484039644356190009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797462695,"filename":"image_22112025_08_40_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f4754154c89f042a31297f9874f06a6.jpg","text":"TemporaryFile(/tmp/multipartBody6756965305290976425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797462695,"filename":"image_22112025_08_39_04_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5effe8750bf7b092749efe6265719024.jpg","text":"TemporaryFile(/tmp/multipartBody320571639344568624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797462695,"filename":"image_22112025_08_39_01_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81294e4bd2c3015d1331afbf5ced8a04.jpg","text":"TemporaryFile(/tmp/multipartBody6661555421423057814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797462695,"filename":"image_22112025_08_38_55_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681327","file1":"1395681325","file0":"1395681323","file4":"1395681331","file5":"1395681334","file3":"1395681330"},"map_files_photo_id_array":[{"photo_id":"1395681334","filename":"file5"},{"photo_id":"1395681327","filename":"file2"},{"photo_id":"1395681331","filename":"file4"},{"photo_id":"1395681325","filename":"file1"},{"photo_id":"1395681323","filename":"file0"},{"photo_id":"1395681330","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681331":["hashtag1","hashtag2"]},{"1395681325":["hashtag1","hashtag2"]},{"1395681334":["hashtag1","hashtag2"]},{"1395681330":["hashtag1","hashtag2"]},{"1395681327":["hashtag1","hashtag2"]},{"1395681323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681331, 1395681325, 1395681334, 1395681330, 1395681327, 1395681323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89751100540161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:44:02.826137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_11_3676.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_15_4137.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_17_1575.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_19_2572.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_23_3513.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_26_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_11_3676.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_15_4137.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_17_1575.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_19_2572.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_23_3513.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_26_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681337","1395681340","1395681342","1395681345","1395681341","1395681338"],"photo_ids_order":["1395681337","1395681338","1395681340","1395681341","1395681342","1395681345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a22b7a30348096d5ba9e26f23b8a78a.jpg","text":"TemporaryFile(/tmp/multipartBody2825439312571706121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797503642,"filename":"image_22112025_08_40_11_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3efbed1d47539e364527e39f97f247f6.jpg","text":"TemporaryFile(/tmp/multipartBody6067349794866691168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797503642,"filename":"image_22112025_08_40_17_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b24923c8975d9453b38a2b4782afb94.jpg","text":"TemporaryFile(/tmp/multipartBody3742042300510954474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797503642,"filename":"image_22112025_08_40_23_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c0593ca10fc689a28641fad2d4157a8.jpg","text":"TemporaryFile(/tmp/multipartBody5899014780196242622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797503642,"filename":"image_22112025_08_40_26_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bd075b0664795e6f6cbc38238106eb0.jpg","text":"TemporaryFile(/tmp/multipartBody1528922257834970551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797503642,"filename":"image_22112025_08_40_19_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b267d862ee7587728a3d4cc231892cf1.jpg","text":"TemporaryFile(/tmp/multipartBody7702104008233765774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797503642,"filename":"image_22112025_08_40_15_4137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681340","file1":"1395681338","file0":"1395681337","file4":"1395681342","file5":"1395681345","file3":"1395681341"},"map_files_photo_id_array":[{"photo_id":"1395681345","filename":"file5"},{"photo_id":"1395681340","filename":"file2"},{"photo_id":"1395681342","filename":"file4"},{"photo_id":"1395681338","filename":"file1"},{"photo_id":"1395681337","filename":"file0"},{"photo_id":"1395681341","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681337":["hashtag1","hashtag2"]},{"1395681340":["hashtag1","hashtag2"]},{"1395681342":["hashtag1","hashtag2"]},{"1395681345":["hashtag1","hashtag2"]},{"1395681341":["hashtag1","hashtag2"]},{"1395681338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681337, 1395681340, 1395681342, 1395681345, 1395681341, 1395681338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85964751243591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:44:42.209218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_28_2760.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_32_3557.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_42_9918.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_44_1734.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_45_1648.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_47_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_28_2760.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_32_3557.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_42_9918.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_44_1734.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_45_1648.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_47_1652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681354","1395681357","1395681350","1395681353","1395681356","1395681355"],"photo_ids_order":["1395681350","1395681353","1395681354","1395681355","1395681356","1395681357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddf6bef62115ff957d62d2f63eff0c74.jpg","text":"TemporaryFile(/tmp/multipartBody2931713637440056595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797542880,"filename":"image_22112025_08_40_42_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/077a3bab7c4a596e0f73f7d0f0dd00ba.jpg","text":"TemporaryFile(/tmp/multipartBody8323655123660645460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797542880,"filename":"image_22112025_08_40_47_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9de3a383d77303219492230029c82c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2796973914956114239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797542880,"filename":"image_22112025_08_40_28_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a09b8b653dde88a8d316465c2a7c1f3b.jpg","text":"TemporaryFile(/tmp/multipartBody4356910442401043471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797542880,"filename":"image_22112025_08_40_32_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06ea942fa3294eb614118caf7573c6e9.jpg","text":"TemporaryFile(/tmp/multipartBody6402897361728630969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797542880,"filename":"image_22112025_08_40_45_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24b2291466e7f0ff00d4827db14f56c4.jpg","text":"TemporaryFile(/tmp/multipartBody7228487875818780039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797542880,"filename":"image_22112025_08_40_44_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681354","file1":"1395681353","file0":"1395681350","file4":"1395681356","file5":"1395681357","file3":"1395681355"},"map_files_photo_id_array":[{"photo_id":"1395681357","filename":"file5"},{"photo_id":"1395681354","filename":"file2"},{"photo_id":"1395681356","filename":"file4"},{"photo_id":"1395681353","filename":"file1"},{"photo_id":"1395681350","filename":"file0"},{"photo_id":"1395681355","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681354":["hashtag1","hashtag2"]},{"1395681357":["hashtag1","hashtag2"]},{"1395681350":["hashtag1","hashtag2"]},{"1395681353":["hashtag1","hashtag2"]},{"1395681356":["hashtag1","hashtag2"]},{"1395681355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681354, 1395681357, 1395681350, 1395681353, 1395681356, 1395681355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36405301094055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:45:22.447245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_49_1708.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_50_1606.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_53_2587.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_56_2780.jpg', '/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_59_3591.jpg', '/home/pi/Desktop/images/22112025/08/41/image_22112025_08_41_02_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_49_1708.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_50_1606.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_53_2587.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_56_2780.jpg
/home/pi/Desktop/images/22112025/08/40/image_22112025_08_40_59_3591.jpg
/home/pi/Desktop/images/22112025/08/41/image_22112025_08_41_02_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681364","1395681358","1395681366","1395681369","1395681360","1395681362"],"photo_ids_order":["1395681358","1395681360","1395681362","1395681364","1395681366","1395681369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86032f348e0ddfd0c32f5ec731eed6f2.jpg","text":"TemporaryFile(/tmp/multipartBody4899723225609958726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797583103,"filename":"image_22112025_08_40_56_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28a1bae38e8f870988a7f0dd4a3a0a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1136162839257229652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797583103,"filename":"image_22112025_08_40_49_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4eb8afaeb8fd305b3fa3d5e5f817628.jpg","text":"TemporaryFile(/tmp/multipartBody295461681905316807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797583103,"filename":"image_22112025_08_40_59_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/789edbee76f330615b38ed7af6dee2a1.jpg","text":"TemporaryFile(/tmp/multipartBody1016681577466790186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797583103,"filename":"image_22112025_08_41_02_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bd13094825e1e4c0977becfddcfa62b.jpg","text":"TemporaryFile(/tmp/multipartBody6972631818175361387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797583103,"filename":"image_22112025_08_40_50_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb31ef126cf867cd6e01d85107b384c0.jpg","text":"TemporaryFile(/tmp/multipartBody2725457977417613920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797583103,"filename":"image_22112025_08_40_53_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681362","file1":"1395681360","file0":"1395681358","file4":"1395681366","file5":"1395681369","file3":"1395681364"},"map_files_photo_id_array":[{"photo_id":"1395681369","filename":"file5"},{"photo_id":"1395681362","filename":"file2"},{"photo_id":"1395681366","filename":"file4"},{"photo_id":"1395681360","filename":"file1"},{"photo_id":"1395681358","filename":"file0"},{"photo_id":"1395681364","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681364":["hashtag1","hashtag2"]},{"1395681358":["hashtag1","hashtag2"]},{"1395681366":["hashtag1","hashtag2"]},{"1395681369":["hashtag1","hashtag2"]},{"1395681360":["hashtag1","hashtag2"]},{"1395681362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681364, 1395681358, 1395681366, 1395681369, 1395681360, 1395681362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.864802837371826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:46:03.164972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_07_3018.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_11_3896.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_13_2684.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_16_2755.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_20_3549.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_22_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_07_3018.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_11_3896.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_13_2684.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_16_2755.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_20_3549.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_22_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681378","1395681372","1395681375","1395681374","1395681373","1395681376"],"photo_ids_order":["1395681372","1395681373","1395681374","1395681375","1395681376","1395681378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2c25f581a9494f55148da2bba033b24.jpg","text":"TemporaryFile(/tmp/multipartBody6472841768298297890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797623860,"filename":"image_22112025_08_42_22_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb7c033d16fceab2d311e8e0428cc2d6.jpg","text":"TemporaryFile(/tmp/multipartBody5796844335152135342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797623860,"filename":"image_22112025_08_42_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d398f572617182dbbbb7a953ee76f3e.jpg","text":"TemporaryFile(/tmp/multipartBody860474946720296794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797623860,"filename":"image_22112025_08_42_16_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ff93d5646de6b7d4c404d063cf75140.jpg","text":"TemporaryFile(/tmp/multipartBody2280562437064030840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797623860,"filename":"image_22112025_08_42_13_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66d992732b906cb55e13b60124963104.jpg","text":"TemporaryFile(/tmp/multipartBody5483605579478645592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797623860,"filename":"image_22112025_08_42_11_3896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6cc4b7e8ae4288f010646c7ede6e2b3f.jpg","text":"TemporaryFile(/tmp/multipartBody8205227936079979683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797623860,"filename":"image_22112025_08_42_20_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681374","file1":"1395681373","file0":"1395681372","file4":"1395681376","file5":"1395681378","file3":"1395681375"},"map_files_photo_id_array":[{"photo_id":"1395681378","filename":"file5"},{"photo_id":"1395681374","filename":"file2"},{"photo_id":"1395681376","filename":"file4"},{"photo_id":"1395681373","filename":"file1"},{"photo_id":"1395681372","filename":"file0"},{"photo_id":"1395681375","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681378":["hashtag1","hashtag2"]},{"1395681372":["hashtag1","hashtag2"]},{"1395681375":["hashtag1","hashtag2"]},{"1395681374":["hashtag1","hashtag2"]},{"1395681373":["hashtag1","hashtag2"]},{"1395681376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681378, 1395681372, 1395681375, 1395681374, 1395681373, 1395681376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97901797294617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:46:42.815632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_25_2600.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_28_3587.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_31_2481.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_34_3001.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_38_3582.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_40_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_25_2600.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_28_3587.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_31_2481.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_34_3001.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_38_3582.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_40_2516.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5488204956054688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:47:02.753523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_25_2600.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_28_3587.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_31_2481.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_34_3001.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_38_3582.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_40_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_25_2600.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_28_3587.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_31_2481.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_34_3001.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_38_3582.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_40_2516.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681421","1395681420","1395681423","1395681417","1395681419","1395681404"],"photo_ids_order":["1395681404","1395681417","1395681419","1395681420","1395681421","1395681423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09b1395d196debdf93f6fc12094720fe.jpg","text":"TemporaryFile(/tmp/multipartBody411501915693298549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797683498,"filename":"image_22112025_08_42_38_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77a5b7fa628668905a4647df5196360c.jpg","text":"TemporaryFile(/tmp/multipartBody104399085575185666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797683498,"filename":"image_22112025_08_42_34_3001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0798f0ebe9515b5f79d8f341e2439377.jpg","text":"TemporaryFile(/tmp/multipartBody7641968274021699972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797683498,"filename":"image_22112025_08_42_40_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c7499f28f1221fa83d3cd70a7ef9992.jpg","text":"TemporaryFile(/tmp/multipartBody5532426048262890899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797683498,"filename":"image_22112025_08_42_28_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5c3a7cfa615af2c85517dcb35f3a1eb.jpg","text":"TemporaryFile(/tmp/multipartBody3754006265897530674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797683498,"filename":"image_22112025_08_42_31_2481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fad9a0f0e576bc1e2d30298d824e98e2.jpg","text":"TemporaryFile(/tmp/multipartBody8020069212976086319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797683498,"filename":"image_22112025_08_42_25_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681419","file1":"1395681417","file0":"1395681404","file4":"1395681421","file5":"1395681423","file3":"1395681420"},"map_files_photo_id_array":[{"photo_id":"1395681423","filename":"file5"},{"photo_id":"1395681419","filename":"file2"},{"photo_id":"1395681421","filename":"file4"},{"photo_id":"1395681417","filename":"file1"},{"photo_id":"1395681404","filename":"file0"},{"photo_id":"1395681420","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681421":["hashtag1","hashtag2"]},{"1395681420":["hashtag1","hashtag2"]},{"1395681423":["hashtag1","hashtag2"]},{"1395681417":["hashtag1","hashtag2"]},{"1395681419":["hashtag1","hashtag2"]},{"1395681404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681421, 1395681420, 1395681423, 1395681417, 1395681419, 1395681404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.699108839035034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:47:42.115502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_43_2733.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_46_3679.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_49_2615.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_52_2650.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_55_3687.jpg', '/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_58_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_43_2733.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_46_3679.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_49_2615.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_52_2650.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_55_3687.jpg
/home/pi/Desktop/images/22112025/08/42/image_22112025_08_42_58_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681432","1395681435","1395681438","1395681434","1395681428","1395681437"],"photo_ids_order":["1395681428","1395681432","1395681434","1395681435","1395681437","1395681438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0166d6b2177f21e3a7c0bf2c47ada6be.jpg","text":"TemporaryFile(/tmp/multipartBody1903813996617118923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797722753,"filename":"image_22112025_08_42_46_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d787bbccbbbc9c5065a5ec332b30f68.jpg","text":"TemporaryFile(/tmp/multipartBody1505839373494686770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797722753,"filename":"image_22112025_08_42_52_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0da0b9a1d4934d1a4fc9417192df9c4.jpg","text":"TemporaryFile(/tmp/multipartBody593689622241432935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797722753,"filename":"image_22112025_08_42_58_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e72a8cca168c6d82aed4c54aca7cfe90.jpg","text":"TemporaryFile(/tmp/multipartBody6365796612622832165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797722753,"filename":"image_22112025_08_42_49_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f195835979482a5cbd733473a7d882b.jpg","text":"TemporaryFile(/tmp/multipartBody3744019650578632943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797722753,"filename":"image_22112025_08_42_43_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/640cfcf9c8da8a625855d0f1ebb994c3.jpg","text":"TemporaryFile(/tmp/multipartBody3413036770570250383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797722753,"filename":"image_22112025_08_42_55_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681434","file1":"1395681432","file0":"1395681428","file4":"1395681437","file5":"1395681438","file3":"1395681435"},"map_files_photo_id_array":[{"photo_id":"1395681438","filename":"file5"},{"photo_id":"1395681434","filename":"file2"},{"photo_id":"1395681437","filename":"file4"},{"photo_id":"1395681432","filename":"file1"},{"photo_id":"1395681428","filename":"file0"},{"photo_id":"1395681435","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681432":["hashtag1","hashtag2"]},{"1395681435":["hashtag1","hashtag2"]},{"1395681438":["hashtag1","hashtag2"]},{"1395681434":["hashtag1","hashtag2"]},{"1395681428":["hashtag1","hashtag2"]},{"1395681437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681432, 1395681435, 1395681438, 1395681434, 1395681428, 1395681437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08546996116638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:48:22.110037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/43/image_22112025_08_43_01_2632.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_06_3012.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_10_3563.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_13_2671.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_16_3724.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_19_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/43/image_22112025_08_43_01_2632.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_06_3012.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_10_3563.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_13_2671.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_16_3724.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_19_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681445","1395681439","1395681450","1395681447","1395681441","1395681443"],"photo_ids_order":["1395681439","1395681441","1395681443","1395681445","1395681447","1395681450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e48ed935a7d8ebb3ec4a86666e320396.jpg","text":"TemporaryFile(/tmp/multipartBody3790420361031358246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797762774,"filename":"image_22112025_08_44_13_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09537ec692ecba6ff02485f6486b25f7.jpg","text":"TemporaryFile(/tmp/multipartBody7992873656545379850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797762774,"filename":"image_22112025_08_43_01_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba02ee16c8cc5e318200a94100134f03.jpg","text":"TemporaryFile(/tmp/multipartBody7626768478298221526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797762774,"filename":"image_22112025_08_44_19_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f7addefae1e90124d37afdd6ba3d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2801108716124597812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797762774,"filename":"image_22112025_08_44_16_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f67e96b271ede2ddaec72e65bb3f751e.jpg","text":"TemporaryFile(/tmp/multipartBody4324472881263147124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797762774,"filename":"image_22112025_08_44_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26f4a9084bd75b67d9a9cf910f5405ac.jpg","text":"TemporaryFile(/tmp/multipartBody6504697538256797719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797762774,"filename":"image_22112025_08_44_10_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681443","file1":"1395681441","file0":"1395681439","file4":"1395681447","file5":"1395681450","file3":"1395681445"},"map_files_photo_id_array":[{"photo_id":"1395681450","filename":"file5"},{"photo_id":"1395681443","filename":"file2"},{"photo_id":"1395681447","filename":"file4"},{"photo_id":"1395681441","filename":"file1"},{"photo_id":"1395681439","filename":"file0"},{"photo_id":"1395681445","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681445":["hashtag1","hashtag2"]},{"1395681439":["hashtag1","hashtag2"]},{"1395681450":["hashtag1","hashtag2"]},{"1395681447":["hashtag1","hashtag2"]},{"1395681441":["hashtag1","hashtag2"]},{"1395681443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681445, 1395681439, 1395681450, 1395681447, 1395681441, 1395681443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.200966596603394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:49:03.020657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_22_2521.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_25_3634.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_28_2716.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_31_3529.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_34_2683.jpg', '/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_37_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_22_2521.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_25_3634.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_28_2716.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_31_3529.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_34_2683.jpg
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_37_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681457","1395681451","1395681453","1395681452","1395681455","1395681454"],"photo_ids_order":["1395681451","1395681452","1395681453","1395681454","1395681455","1395681457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4d2ab448b2e568c74364ddf3bba1891.jpg","text":"TemporaryFile(/tmp/multipartBody9159384946592734372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797803854,"filename":"image_22112025_08_44_37_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54304aef92fde1d99033167709828b8f.jpg","text":"TemporaryFile(/tmp/multipartBody6603711123772762595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797803854,"filename":"image_22112025_08_44_22_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7766c8d66fac750731a8f3a7f126da11.jpg","text":"TemporaryFile(/tmp/multipartBody6329627309711676112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797803854,"filename":"image_22112025_08_44_28_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2cda7c6dd33609d4e612a9dbdb8ba9e.jpg","text":"TemporaryFile(/tmp/multipartBody1369034176671378670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797803854,"filename":"image_22112025_08_44_25_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9569ed055304f969447a2a21d593e992.jpg","text":"TemporaryFile(/tmp/multipartBody692999778738651409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797803854,"filename":"image_22112025_08_44_34_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1d9cd498cef3816542b9a9c80346d6b.jpg","text":"TemporaryFile(/tmp/multipartBody913595399040994177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797803854,"filename":"image_22112025_08_44_31_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681453","file1":"1395681452","file0":"1395681451","file4":"1395681455","file5":"1395681457","file3":"1395681454"},"map_files_photo_id_array":[{"photo_id":"1395681457","filename":"file5"},{"photo_id":"1395681453","filename":"file2"},{"photo_id":"1395681455","filename":"file4"},{"photo_id":"1395681452","filename":"file1"},{"photo_id":"1395681451","filename":"file0"},{"photo_id":"1395681454","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681457":["hashtag1","hashtag2"]},{"1395681451":["hashtag1","hashtag2"]},{"1395681453":["hashtag1","hashtag2"]},{"1395681452":["hashtag1","hashtag2"]},{"1395681455":["hashtag1","hashtag2"]},{"1395681454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681457, 1395681451, 1395681453, 1395681452, 1395681455, 1395681454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98734927177429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:49:42.157039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_40_3550.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_07_3011.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_11_3623.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_14_3722.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_17_2560.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_19_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/44/image_22112025_08_44_40_3550.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_07_3011.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_11_3623.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_14_3722.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_17_2560.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_19_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681465","1395681468","1395681462","1395681470","1395681467","1395681469"],"photo_ids_order":["1395681462","1395681465","1395681467","1395681468","1395681469","1395681470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/178a67875b398553d22c64d99ee0b841.jpg","text":"TemporaryFile(/tmp/multipartBody4408157968046505770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797842794,"filename":"image_22112025_08_46_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae06190b51c1a85cde402b48bc3d30ba.jpg","text":"TemporaryFile(/tmp/multipartBody7965668205193252785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797842794,"filename":"image_22112025_08_46_14_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/202c31dd0b572882ac2e9640ff29c093.jpg","text":"TemporaryFile(/tmp/multipartBody3667466883926836645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797842794,"filename":"image_22112025_08_44_40_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbed9989007a6734896c5771fdb0df06.jpg","text":"TemporaryFile(/tmp/multipartBody6175639836793876381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797842794,"filename":"image_22112025_08_46_19_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58dc642c5227654699b8aaea71b4d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody1777569682543215961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797842794,"filename":"image_22112025_08_46_11_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3730fe946613c97b66563c11d9e70767.jpg","text":"TemporaryFile(/tmp/multipartBody6896390947424759403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797842794,"filename":"image_22112025_08_46_17_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681467","file1":"1395681465","file0":"1395681462","file4":"1395681469","file5":"1395681470","file3":"1395681468"},"map_files_photo_id_array":[{"photo_id":"1395681470","filename":"file5"},{"photo_id":"1395681467","filename":"file2"},{"photo_id":"1395681469","filename":"file4"},{"photo_id":"1395681465","filename":"file1"},{"photo_id":"1395681462","filename":"file0"},{"photo_id":"1395681468","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681465":["hashtag1","hashtag2"]},{"1395681468":["hashtag1","hashtag2"]},{"1395681462":["hashtag1","hashtag2"]},{"1395681470":["hashtag1","hashtag2"]},{"1395681467":["hashtag1","hashtag2"]},{"1395681469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681465, 1395681468, 1395681462, 1395681470, 1395681467, 1395681469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97129678726196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:50:22.469478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_22_2681.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_26_3733.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_29_2906.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_31_2556.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_34_2761.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_38_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_22_2681.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_26_3733.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_29_2906.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_31_2556.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_34_2761.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_38_3790.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5345513820648193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:50:42.484477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_22_2681.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_26_3733.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_29_2906.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_31_2556.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_34_2761.jpg', '/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_38_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_22_2681.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_26_3733.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_29_2906.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_31_2556.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_34_2761.jpg
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_38_3790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681495","1395681498","1395681494","1395681497","1395681491","1395681496"],"photo_ids_order":["1395681491","1395681494","1395681495","1395681496","1395681497","1395681498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c145720f12b35b41f4a4b3ba131fb73c.jpg","text":"TemporaryFile(/tmp/multipartBody5896618270768973508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797903157,"filename":"image_22112025_08_46_29_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a8602bd53c17ceb8c7da4209ae643fb.jpg","text":"TemporaryFile(/tmp/multipartBody1849526721819089940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797903157,"filename":"image_22112025_08_46_38_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/221397d5a828c817d51bfe3be2fee88a.jpg","text":"TemporaryFile(/tmp/multipartBody1158093202305912058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797903157,"filename":"image_22112025_08_46_26_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/827359266af32a8dc594b06b8a20af90.jpg","text":"TemporaryFile(/tmp/multipartBody2853756076985276766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797903157,"filename":"image_22112025_08_46_34_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/715f38f85dd526c95901f04012108fc4.jpg","text":"TemporaryFile(/tmp/multipartBody4916343711485170006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797903157,"filename":"image_22112025_08_46_22_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0721cc123d2e3d1fe09b3d61f63e03e5.jpg","text":"TemporaryFile(/tmp/multipartBody5038649245407297431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797903157,"filename":"image_22112025_08_46_31_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681495","file1":"1395681494","file0":"1395681491","file4":"1395681497","file5":"1395681498","file3":"1395681496"},"map_files_photo_id_array":[{"photo_id":"1395681498","filename":"file5"},{"photo_id":"1395681495","filename":"file2"},{"photo_id":"1395681497","filename":"file4"},{"photo_id":"1395681494","filename":"file1"},{"photo_id":"1395681491","filename":"file0"},{"photo_id":"1395681496","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681495":["hashtag1","hashtag2"]},{"1395681498":["hashtag1","hashtag2"]},{"1395681494":["hashtag1","hashtag2"]},{"1395681497":["hashtag1","hashtag2"]},{"1395681491":["hashtag1","hashtag2"]},{"1395681496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681495, 1395681498, 1395681494, 1395681497, 1395681491, 1395681496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83467221260071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:51:22.632979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_41_2795.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_07_3011.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_10_3624.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_13_2799.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_16_2559.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_19_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/46/image_22112025_08_46_41_2795.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_07_3011.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_10_3624.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_13_2799.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_16_2559.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_19_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681502","1395681508","1395681510","1395681504","1395681506","1395681500"],"photo_ids_order":["1395681500","1395681502","1395681504","1395681506","1395681508","1395681510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/717b85cb2a2298e5579d96f8fc5b3481.jpg","text":"TemporaryFile(/tmp/multipartBody7027157788717163811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797943299,"filename":"image_22112025_08_48_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c67dfd0041af05e65033412fc1276e9f.jpg","text":"TemporaryFile(/tmp/multipartBody235976984364219807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797943299,"filename":"image_22112025_08_48_16_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6833315d7a42013e5c46950d7384bf4b.jpg","text":"TemporaryFile(/tmp/multipartBody5004709881411616754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797943299,"filename":"image_22112025_08_48_19_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c8116fcd1ba542d1bba0442baa1ad2f.jpg","text":"TemporaryFile(/tmp/multipartBody8550451072437069547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797943299,"filename":"image_22112025_08_48_10_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b223a732dd5c05966de100fb0f361ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7613925600844419737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797943299,"filename":"image_22112025_08_48_13_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/970cd2c269aa40e68e6da710e6c4bccd.jpg","text":"TemporaryFile(/tmp/multipartBody7412313681791775736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797943299,"filename":"image_22112025_08_46_41_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681504","file1":"1395681502","file0":"1395681500","file4":"1395681508","file5":"1395681510","file3":"1395681506"},"map_files_photo_id_array":[{"photo_id":"1395681510","filename":"file5"},{"photo_id":"1395681504","filename":"file2"},{"photo_id":"1395681508","filename":"file4"},{"photo_id":"1395681502","filename":"file1"},{"photo_id":"1395681500","filename":"file0"},{"photo_id":"1395681506","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681502":["hashtag1","hashtag2"]},{"1395681508":["hashtag1","hashtag2"]},{"1395681510":["hashtag1","hashtag2"]},{"1395681504":["hashtag1","hashtag2"]},{"1395681506":["hashtag1","hashtag2"]},{"1395681500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681502, 1395681508, 1395681510, 1395681504, 1395681506, 1395681500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72098112106323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:52:02.418904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_22_2625.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_26_3607.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_28_2667.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_31_2681.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_35_3623.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_37_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_22_2625.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_26_3607.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_28_2667.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_31_2681.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_35_3623.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_37_2526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681511","1395681514","1395681516","1395681518","1395681521","1395681515"],"photo_ids_order":["1395681511","1395681514","1395681515","1395681516","1395681518","1395681521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f4d8beb7e71ff77bac234c85aacaa95.jpg","text":"TemporaryFile(/tmp/multipartBody7268630766970605954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797983103,"filename":"image_22112025_08_48_22_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/172b9dbdb6313c9673e78d5d57ccae85.jpg","text":"TemporaryFile(/tmp/multipartBody6329389824774935683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797983103,"filename":"image_22112025_08_48_26_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35b8004c8be6f1958fc557b80016c6e3.jpg","text":"TemporaryFile(/tmp/multipartBody8974947475228900928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797983103,"filename":"image_22112025_08_48_31_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fafb0510a3795fdbdb1f149a3661aea.jpg","text":"TemporaryFile(/tmp/multipartBody6078672357582064652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797983103,"filename":"image_22112025_08_48_35_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7685ee72ff8fa9189cf5232d2d124015.jpg","text":"TemporaryFile(/tmp/multipartBody8121735970834192157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797983103,"filename":"image_22112025_08_48_37_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ec4aaefd79736fb60a443cb7fa56fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1802556452849162153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763797983103,"filename":"image_22112025_08_48_28_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681515","file1":"1395681514","file0":"1395681511","file4":"1395681518","file5":"1395681521","file3":"1395681516"},"map_files_photo_id_array":[{"photo_id":"1395681521","filename":"file5"},{"photo_id":"1395681515","filename":"file2"},{"photo_id":"1395681518","filename":"file4"},{"photo_id":"1395681514","filename":"file1"},{"photo_id":"1395681511","filename":"file0"},{"photo_id":"1395681516","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681511":["hashtag1","hashtag2"]},{"1395681514":["hashtag1","hashtag2"]},{"1395681516":["hashtag1","hashtag2"]},{"1395681518":["hashtag1","hashtag2"]},{"1395681521":["hashtag1","hashtag2"]},{"1395681515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681511, 1395681514, 1395681516, 1395681518, 1395681521, 1395681515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.265721797943115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:52:41.830622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_40_3023.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_44_3595.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_46_2569.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_49_2595.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_53_3602.jpg', '/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_55_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_40_3023.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_44_3595.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_46_2569.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_49_2595.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_53_3602.jpg
/home/pi/Desktop/images/22112025/08/48/image_22112025_08_48_55_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681550","1395681532","1395681531","1395681528","1395681530","1395681533"],"photo_ids_order":["1395681528","1395681530","1395681531","1395681532","1395681533","1395681550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/648c4e7d65ae8ba5859f2f3eeae90fba.jpg","text":"TemporaryFile(/tmp/multipartBody2562496744656968996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798022469,"filename":"image_22112025_08_48_55_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c56195e7b9999f7a0d6d1c00703d15f8.jpg","text":"TemporaryFile(/tmp/multipartBody776687901206714489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798022469,"filename":"image_22112025_08_48_49_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f86d4573cb2c80f7f92296fac1efe887.jpg","text":"TemporaryFile(/tmp/multipartBody4479512452816876704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798022469,"filename":"image_22112025_08_48_46_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/857b4841518cd40c3576b05c6ce179cd.jpg","text":"TemporaryFile(/tmp/multipartBody4798627150267475993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798022469,"filename":"image_22112025_08_48_40_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82978c4a14f6f6b08066d3d2358dcb3b.jpg","text":"TemporaryFile(/tmp/multipartBody7270855539984046993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798022469,"filename":"image_22112025_08_48_44_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bd80e8914496ab28b3a9aff7dc4ac5e.jpg","text":"TemporaryFile(/tmp/multipartBody1663491952776609817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798022469,"filename":"image_22112025_08_48_53_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681531","file1":"1395681530","file0":"1395681528","file4":"1395681533","file5":"1395681550","file3":"1395681532"},"map_files_photo_id_array":[{"photo_id":"1395681550","filename":"file5"},{"photo_id":"1395681531","filename":"file2"},{"photo_id":"1395681533","filename":"file4"},{"photo_id":"1395681530","filename":"file1"},{"photo_id":"1395681528","filename":"file0"},{"photo_id":"1395681532","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681550":["hashtag1","hashtag2"]},{"1395681532":["hashtag1","hashtag2"]},{"1395681531":["hashtag1","hashtag2"]},{"1395681528":["hashtag1","hashtag2"]},{"1395681530":["hashtag1","hashtag2"]},{"1395681533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681550, 1395681532, 1395681531, 1395681528, 1395681530, 1395681533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4113335609436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:53:22.007469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_07_3011.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_11_3647.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_14_2633.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_17_3508.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_20_2555.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_23_3499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_07_3011.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_11_3647.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_14_2633.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_17_3508.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_20_2555.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_23_3499.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681562","1395681556","1395681559","1395681565","1395681568","1395681553"],"photo_ids_order":["1395681553","1395681556","1395681559","1395681562","1395681565","1395681568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7018af600381c948046bf5beee29bb2.jpg","text":"TemporaryFile(/tmp/multipartBody4720605739563122473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798062675,"filename":"image_22112025_08_50_17_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f3fe58d210397848ccceeeb2d2e5a65.jpg","text":"TemporaryFile(/tmp/multipartBody1123751797979183322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798062675,"filename":"image_22112025_08_50_11_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00f3e743f55e6bac7f62ac70aa7b65cc.jpg","text":"TemporaryFile(/tmp/multipartBody7437625097812452048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798062675,"filename":"image_22112025_08_50_14_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8c82880d0a5c590a6b9b873763ac402.jpg","text":"TemporaryFile(/tmp/multipartBody2318151076256899206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798062675,"filename":"image_22112025_08_50_20_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c0c6d4101010b9a9211bd2e4c44078a.jpg","text":"TemporaryFile(/tmp/multipartBody4597631365554337578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798062675,"filename":"image_22112025_08_50_23_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8d0759b9bcea2167775a2b6e16c9c91.jpg","text":"TemporaryFile(/tmp/multipartBody8447526575246325499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798062675,"filename":"image_22112025_08_50_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681559","file1":"1395681556","file0":"1395681553","file4":"1395681565","file5":"1395681568","file3":"1395681562"},"map_files_photo_id_array":[{"photo_id":"1395681568","filename":"file5"},{"photo_id":"1395681559","filename":"file2"},{"photo_id":"1395681565","filename":"file4"},{"photo_id":"1395681556","filename":"file1"},{"photo_id":"1395681553","filename":"file0"},{"photo_id":"1395681562","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681562":["hashtag1","hashtag2"]},{"1395681556":["hashtag1","hashtag2"]},{"1395681559":["hashtag1","hashtag2"]},{"1395681565":["hashtag1","hashtag2"]},{"1395681568":["hashtag1","hashtag2"]},{"1395681553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681562, 1395681556, 1395681559, 1395681565, 1395681568, 1395681553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59791851043701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:54:03.302691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_26_2465.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_28_2818.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_32_3769.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_35_2494.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_38_2766.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_41_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_26_2465.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_28_2818.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_32_3769.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_35_2494.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_38_2766.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_41_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681577","1395681576","1395681575","1395681578","1395681583","1395681580"],"photo_ids_order":["1395681575","1395681576","1395681577","1395681578","1395681580","1395681583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0926f81c5005e37613cb6a74d71ba5e8.jpg","text":"TemporaryFile(/tmp/multipartBody693483183968123497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798104033,"filename":"image_22112025_08_50_32_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf55d7231f5e8da889f25b000754e7e6.jpg","text":"TemporaryFile(/tmp/multipartBody1156007855612279480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798104033,"filename":"image_22112025_08_50_28_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02dd30bf3565698070ce024d1c56ea3e.jpg","text":"TemporaryFile(/tmp/multipartBody2248120749428751754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798104033,"filename":"image_22112025_08_50_26_2465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff8fd369a8f3592aa20688bbcf3da8fc.jpg","text":"TemporaryFile(/tmp/multipartBody7321404131582166977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798104033,"filename":"image_22112025_08_50_35_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81954b3c72a75ccef0cec1dd19f0756a.jpg","text":"TemporaryFile(/tmp/multipartBody542480857115542964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798104033,"filename":"image_22112025_08_50_41_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18165f4908f57884079a1cdf773c9eff.jpg","text":"TemporaryFile(/tmp/multipartBody229654086992816678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798104033,"filename":"image_22112025_08_50_38_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681577","file1":"1395681576","file0":"1395681575","file4":"1395681580","file5":"1395681583","file3":"1395681578"},"map_files_photo_id_array":[{"photo_id":"1395681583","filename":"file5"},{"photo_id":"1395681577","filename":"file2"},{"photo_id":"1395681580","filename":"file4"},{"photo_id":"1395681576","filename":"file1"},{"photo_id":"1395681575","filename":"file0"},{"photo_id":"1395681578","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681577":["hashtag1","hashtag2"]},{"1395681576":["hashtag1","hashtag2"]},{"1395681575":["hashtag1","hashtag2"]},{"1395681578":["hashtag1","hashtag2"]},{"1395681583":["hashtag1","hashtag2"]},{"1395681580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681577, 1395681576, 1395681575, 1395681578, 1395681583, 1395681580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53023958206177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:54:42.561879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_44_2632.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_46_2618.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_52_5876.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_54_1605.jpg', '/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_56_1762.jpg', '/home/pi/Desktop/images/22112025/08/51/image_22112025_08_51_01_5503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_44_2632.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_46_2618.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_52_5876.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_54_1605.jpg
/home/pi/Desktop/images/22112025/08/50/image_22112025_08_50_56_1762.jpg
/home/pi/Desktop/images/22112025/08/51/image_22112025_08_51_01_5503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681594","1395681597","1395681593","1395681596","1395681592","1395681595"],"photo_ids_order":["1395681592","1395681593","1395681594","1395681595","1395681596","1395681597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77ad042a84c2c57b3e24b703052734c1.jpg","text":"TemporaryFile(/tmp/multipartBody3770472305263848980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798143195,"filename":"image_22112025_08_50_52_5876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46291f41a0bd4027e49232775554eea3.jpg","text":"TemporaryFile(/tmp/multipartBody4718188391628423928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798143195,"filename":"image_22112025_08_51_01_5503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e50076c8c3b517df7140bb38a72826e.jpg","text":"TemporaryFile(/tmp/multipartBody6612697241145948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798143195,"filename":"image_22112025_08_50_46_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92b064472de3b8665e2c4e02e1f3f2d3.jpg","text":"TemporaryFile(/tmp/multipartBody6871063482912714676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798143195,"filename":"image_22112025_08_50_56_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05f37068e0c6f45b198f200e3293b081.jpg","text":"TemporaryFile(/tmp/multipartBody9085139704293994983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798143195,"filename":"image_22112025_08_50_44_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b783ee440275bfaf2cc1feb57fe52ac6.jpg","text":"TemporaryFile(/tmp/multipartBody7420539025837490326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798143195,"filename":"image_22112025_08_50_54_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681594","file1":"1395681593","file0":"1395681592","file4":"1395681596","file5":"1395681597","file3":"1395681595"},"map_files_photo_id_array":[{"photo_id":"1395681597","filename":"file5"},{"photo_id":"1395681594","filename":"file2"},{"photo_id":"1395681596","filename":"file4"},{"photo_id":"1395681593","filename":"file1"},{"photo_id":"1395681592","filename":"file0"},{"photo_id":"1395681595","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681594":["hashtag1","hashtag2"]},{"1395681597":["hashtag1","hashtag2"]},{"1395681593":["hashtag1","hashtag2"]},{"1395681596":["hashtag1","hashtag2"]},{"1395681592":["hashtag1","hashtag2"]},{"1395681595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681594, 1395681597, 1395681593, 1395681596, 1395681592, 1395681595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.673917055130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:55:21.759692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_07_3018.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_11_3771.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_14_2703.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_16_2860.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_20_3585.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_23_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_07_3018.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_11_3771.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_14_2703.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_16_2860.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_20_3585.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_23_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681604","1395681609","1395681600","1395681603","1395681606","1395681598"],"photo_ids_order":["1395681598","1395681600","1395681603","1395681604","1395681606","1395681609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25f7f8cc8aa0754fe4cc128b9b1ea545.jpg","text":"TemporaryFile(/tmp/multipartBody2565692685483549274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798182391,"filename":"image_22112025_08_52_16_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/611fd04e92b6591210e22948b9ef9b4e.jpg","text":"TemporaryFile(/tmp/multipartBody317280707775313567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798182391,"filename":"image_22112025_08_52_23_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2dd7a1b840b0fb86d79b8337b45719c.jpg","text":"TemporaryFile(/tmp/multipartBody1911810794988951361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798182391,"filename":"image_22112025_08_52_11_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4e567aa0df16b20a8489005c0f1f1f8.jpg","text":"TemporaryFile(/tmp/multipartBody8511875049590266859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798182391,"filename":"image_22112025_08_52_14_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63a6bf412231ff91c979724a1b626ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1616612445812049637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798182391,"filename":"image_22112025_08_52_20_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/031ab4e2f69a265546325e2c90ab4eee.jpg","text":"TemporaryFile(/tmp/multipartBody7500234676467527832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798182391,"filename":"image_22112025_08_52_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681603","file1":"1395681600","file0":"1395681598","file4":"1395681606","file5":"1395681609","file3":"1395681604"},"map_files_photo_id_array":[{"photo_id":"1395681609","filename":"file5"},{"photo_id":"1395681603","filename":"file2"},{"photo_id":"1395681606","filename":"file4"},{"photo_id":"1395681600","filename":"file1"},{"photo_id":"1395681598","filename":"file0"},{"photo_id":"1395681604","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681604":["hashtag1","hashtag2"]},{"1395681609":["hashtag1","hashtag2"]},{"1395681600":["hashtag1","hashtag2"]},{"1395681603":["hashtag1","hashtag2"]},{"1395681606":["hashtag1","hashtag2"]},{"1395681598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681604, 1395681609, 1395681600, 1395681603, 1395681606, 1395681598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.194586992263794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:56:02.598318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_25_2782.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_28_2592.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_32_3545.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_34_2679.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_37_2854.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_41_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_25_2782.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_28_2592.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_32_3545.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_34_2679.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_37_2854.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_41_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681613","1395681612","1395681615","1395681617","1395681611","1395681614"],"photo_ids_order":["1395681611","1395681612","1395681613","1395681614","1395681615","1395681617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d43e59f99c45737274916dfd80a38d3.jpg","text":"TemporaryFile(/tmp/multipartBody8689705936412114339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798223266,"filename":"image_22112025_08_52_32_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0072b939bb6fc95106b0eaec92306dc8.jpg","text":"TemporaryFile(/tmp/multipartBody5179340182279525575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798223266,"filename":"image_22112025_08_52_28_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5952234472c4c031afc154d5642d9ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7472067750596927726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798223266,"filename":"image_22112025_08_52_37_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31ce05324237b09a998807f579fb27d4.jpg","text":"TemporaryFile(/tmp/multipartBody1536393890334617368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798223266,"filename":"image_22112025_08_52_41_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b5be10abc37222c170770f6c985a41c.jpg","text":"TemporaryFile(/tmp/multipartBody8452736357230515843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798223266,"filename":"image_22112025_08_52_25_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3bb83b03daebf144610026b62b8dba0.jpg","text":"TemporaryFile(/tmp/multipartBody2882882769311072367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798223266,"filename":"image_22112025_08_52_34_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681613","file1":"1395681612","file0":"1395681611","file4":"1395681615","file5":"1395681617","file3":"1395681614"},"map_files_photo_id_array":[{"photo_id":"1395681617","filename":"file5"},{"photo_id":"1395681613","filename":"file2"},{"photo_id":"1395681615","filename":"file4"},{"photo_id":"1395681612","filename":"file1"},{"photo_id":"1395681611","filename":"file0"},{"photo_id":"1395681614","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681613":["hashtag1","hashtag2"]},{"1395681612":["hashtag1","hashtag2"]},{"1395681615":["hashtag1","hashtag2"]},{"1395681617":["hashtag1","hashtag2"]},{"1395681611":["hashtag1","hashtag2"]},{"1395681614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681613, 1395681612, 1395681615, 1395681617, 1395681611, 1395681614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21675157546997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:56:42.213162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_43_2569.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_47_3690.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_50_2770.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_52_2577.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_55_2680.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_59_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_43_2569.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_47_3690.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_50_2770.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_52_2577.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_55_2680.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_59_3658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5509145259857178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:57:03.050507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_43_2569.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_47_3690.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_50_2770.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_52_2577.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_55_2680.jpg', '/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_59_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_43_2569.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_47_3690.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_50_2770.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_52_2577.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_55_2680.jpg
/home/pi/Desktop/images/22112025/08/52/image_22112025_08_52_59_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681640","1395681643","1395681642","1395681641","1395681644","1395681646"],"photo_ids_order":["1395681640","1395681641","1395681642","1395681643","1395681644","1395681646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d02ee899a96c1094034c0f3e1abf898.jpg","text":"TemporaryFile(/tmp/multipartBody7069086349745450656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798283781,"filename":"image_22112025_08_52_43_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63fac93d45699ef88ce9e3694184c5d6.jpg","text":"TemporaryFile(/tmp/multipartBody5057680805249505343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798283781,"filename":"image_22112025_08_52_52_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15e2f699c9ef7f246cd4032415577e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4607760774625735716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798283781,"filename":"image_22112025_08_52_50_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fb90174de8ce1d4280aa8aa9b81bd90.jpg","text":"TemporaryFile(/tmp/multipartBody1320756276649015883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798283781,"filename":"image_22112025_08_52_47_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c94d6ec0791f6a0e4d70ab98793cff2c.jpg","text":"TemporaryFile(/tmp/multipartBody7065150825369127637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798283781,"filename":"image_22112025_08_52_55_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8e6d27c1342d01598bbd5ba0507517b.jpg","text":"TemporaryFile(/tmp/multipartBody868485912932294148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798283781,"filename":"image_22112025_08_52_59_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681642","file1":"1395681641","file0":"1395681640","file4":"1395681644","file5":"1395681646","file3":"1395681643"},"map_files_photo_id_array":[{"photo_id":"1395681646","filename":"file5"},{"photo_id":"1395681642","filename":"file2"},{"photo_id":"1395681644","filename":"file4"},{"photo_id":"1395681641","filename":"file1"},{"photo_id":"1395681640","filename":"file0"},{"photo_id":"1395681643","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681640":["hashtag1","hashtag2"]},{"1395681643":["hashtag1","hashtag2"]},{"1395681642":["hashtag1","hashtag2"]},{"1395681641":["hashtag1","hashtag2"]},{"1395681644":["hashtag1","hashtag2"]},{"1395681646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681640, 1395681643, 1395681642, 1395681641, 1395681644, 1395681646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96191143989563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:57:42.477702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/53/image_22112025_08_53_01_2655.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_07_3020.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_10_3881.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_13_2621.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_16_2654.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_19_3480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/53/image_22112025_08_53_01_2655.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_07_3020.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_10_3881.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_13_2621.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_16_2654.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_19_3480.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5589816570281982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 08:59:02.724176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/53/image_22112025_08_53_01_2655.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_07_3020.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_10_3881.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_13_2621.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_16_2654.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_19_3480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/53/image_22112025_08_53_01_2655.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_07_3020.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_10_3881.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_13_2621.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_16_2654.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_19_3480.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681661","1395681663","1395681666","1395681668","1395681659","1395681670"],"photo_ids_order":["1395681659","1395681661","1395681663","1395681666","1395681668","1395681670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4b849027e767794bbd6d547b3d298e3.jpg","text":"TemporaryFile(/tmp/multipartBody2732957331874393154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798403487,"filename":"image_22112025_08_54_07_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7860bb5b81be40d8e85afa596310efef.jpg","text":"TemporaryFile(/tmp/multipartBody7165903123444972141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798403487,"filename":"image_22112025_08_54_10_3881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac96d61bce5f0fa304b24fc82f2ec35b.jpg","text":"TemporaryFile(/tmp/multipartBody8907368966406404916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798403487,"filename":"image_22112025_08_54_13_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e6cfff47e1f95b89d5276b66488cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody8581367813803772429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798403487,"filename":"image_22112025_08_54_16_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dc1d1d1adbbf6bdc183ee41bcf5c566.jpg","text":"TemporaryFile(/tmp/multipartBody1047601444966232921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798403487,"filename":"image_22112025_08_53_01_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6465936907e5b3a2185d58eed2108fb.jpg","text":"TemporaryFile(/tmp/multipartBody1874752375887566848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798403487,"filename":"image_22112025_08_54_19_3480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681663","file1":"1395681661","file0":"1395681659","file4":"1395681668","file5":"1395681670","file3":"1395681666"},"map_files_photo_id_array":[{"photo_id":"1395681670","filename":"file5"},{"photo_id":"1395681663","filename":"file2"},{"photo_id":"1395681668","filename":"file4"},{"photo_id":"1395681661","filename":"file1"},{"photo_id":"1395681659","filename":"file0"},{"photo_id":"1395681666","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681661":["hashtag1","hashtag2"]},{"1395681663":["hashtag1","hashtag2"]},{"1395681666":["hashtag1","hashtag2"]},{"1395681668":["hashtag1","hashtag2"]},{"1395681659":["hashtag1","hashtag2"]},{"1395681670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681661, 1395681663, 1395681666, 1395681668, 1395681659, 1395681670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.285274267196655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 08:59:41.860166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_22_2631.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_25_2688.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_28_3673.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_31_2711.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_34_2680.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_40_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_22_2631.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_25_2688.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_28_3673.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_31_2711.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_34_2680.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_40_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395681814","1395681780","1395681851","1395681746","1395681710","1395681673"],"photo_ids_order":["1395681673","1395681710","1395681746","1395681780","1395681814","1395681851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5aa235f4397db5492d8719378db184f6.jpg","text":"TemporaryFile(/tmp/multipartBody3573069488248970577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798442541,"filename":"image_22112025_08_54_34_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f0ce119b85baa6d47601f4561e4ecb9.jpg","text":"TemporaryFile(/tmp/multipartBody7091839290364270035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798442541,"filename":"image_22112025_08_54_31_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/929267c5491c39f4ce19df0d05851283.jpg","text":"TemporaryFile(/tmp/multipartBody6801377982207704131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798442541,"filename":"image_22112025_08_54_40_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8153c69fb60d97efc5d5c87796629d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5597951514830409676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798442541,"filename":"image_22112025_08_54_28_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4702e894222b90104149e80176add929.jpg","text":"TemporaryFile(/tmp/multipartBody2683639471673984083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798442541,"filename":"image_22112025_08_54_25_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2073fb836864ce2272e126990a5a26d.jpg","text":"TemporaryFile(/tmp/multipartBody1281330707425350353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798442541,"filename":"image_22112025_08_54_22_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395681746","file1":"1395681710","file0":"1395681673","file4":"1395681814","file5":"1395681851","file3":"1395681780"},"map_files_photo_id_array":[{"photo_id":"1395681851","filename":"file5"},{"photo_id":"1395681746","filename":"file2"},{"photo_id":"1395681814","filename":"file4"},{"photo_id":"1395681710","filename":"file1"},{"photo_id":"1395681673","filename":"file0"},{"photo_id":"1395681780","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395681814":["hashtag1","hashtag2"]},{"1395681780":["hashtag1","hashtag2"]},{"1395681851":["hashtag1","hashtag2"]},{"1395681746":["hashtag1","hashtag2"]},{"1395681710":["hashtag1","hashtag2"]},{"1395681673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395681814, 1395681780, 1395681851, 1395681746, 1395681710, 1395681673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73653721809387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:00:22.086534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_52_1535.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_54_1781.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_55_1557.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_57_1562.jpg', '/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_58_1619.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_52_1535.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_54_1781.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_55_1557.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_57_1562.jpg
/home/pi/Desktop/images/22112025/08/54/image_22112025_08_54_58_1619.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395682182","1395682102","1395682032","1395682139","1395681998","1395682066"],"photo_ids_order":["1395681998","1395682032","1395682066","1395682102","1395682139","1395682182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b45c626dc75adca75c5bb09b0874579f.jpg","text":"TemporaryFile(/tmp/multipartBody3001929157612673718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798482724,"filename":"image_22112025_08_56_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3295d5f1085207879e17a5101e7ea0d3.jpg","text":"TemporaryFile(/tmp/multipartBody3385759089483606306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798482724,"filename":"image_22112025_08_54_57_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bf95ef365e405dc0f0d0952471d7131.jpg","text":"TemporaryFile(/tmp/multipartBody3718566288320447396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798482724,"filename":"image_22112025_08_54_54_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94c0b7c948eb920d88bcb530eb21bc06.jpg","text":"TemporaryFile(/tmp/multipartBody815892195061375595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798482724,"filename":"image_22112025_08_54_58_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54a87059ce9b06fdfa85892276cf6093.jpg","text":"TemporaryFile(/tmp/multipartBody656753417105033522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798482724,"filename":"image_22112025_08_54_52_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fe7e46f14a3843d93258075e52198bd.jpg","text":"TemporaryFile(/tmp/multipartBody5072335239221913690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798482724,"filename":"image_22112025_08_54_55_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395682066","file1":"1395682032","file0":"1395681998","file4":"1395682139","file5":"1395682182","file3":"1395682102"},"map_files_photo_id_array":[{"photo_id":"1395682182","filename":"file5"},{"photo_id":"1395682066","filename":"file2"},{"photo_id":"1395682139","filename":"file4"},{"photo_id":"1395682032","filename":"file1"},{"photo_id":"1395681998","filename":"file0"},{"photo_id":"1395682102","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395682182":["hashtag1","hashtag2"]},{"1395682102":["hashtag1","hashtag2"]},{"1395682032":["hashtag1","hashtag2"]},{"1395682139":["hashtag1","hashtag2"]},{"1395681998":["hashtag1","hashtag2"]},{"1395682066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395682182, 1395682102, 1395682032, 1395682139, 1395681998, 1395682066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49382472038269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:01:03.973427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_10_3773.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_21_2649.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_25_3647.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_28_2539.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_31_3531.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_34_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_10_3773.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_21_2649.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_25_3647.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_28_2539.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_31_3531.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_34_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395682278","1395682200","1395682280","1395682268","1395682232","1395682282"],"photo_ids_order":["1395682200","1395682232","1395682268","1395682278","1395682280","1395682282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5f3ff0ea73b48640ac4f46eb8b6f319.jpg","text":"TemporaryFile(/tmp/multipartBody1979525081648289276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798524709,"filename":"image_22112025_08_56_28_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/502dd4e4dc601c4318a47d00e81cfaeb.jpg","text":"TemporaryFile(/tmp/multipartBody6441072915599968661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798524709,"filename":"image_22112025_08_56_10_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6382ef3471a6fd817284867b91eabe4.jpg","text":"TemporaryFile(/tmp/multipartBody7845674479581347994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798524709,"filename":"image_22112025_08_56_31_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00039ac5d3d4e16e3dee8895b6eab2f8.jpg","text":"TemporaryFile(/tmp/multipartBody572307905996347642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798524709,"filename":"image_22112025_08_56_25_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9f9ed3c79a47713fd0e59f70144c7c8.jpg","text":"TemporaryFile(/tmp/multipartBody3790331637609950884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798524709,"filename":"image_22112025_08_56_21_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c36c2ad12097914b69f5a9731b2cfcc.jpg","text":"TemporaryFile(/tmp/multipartBody2085932131655404493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798524709,"filename":"image_22112025_08_56_34_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395682268","file1":"1395682232","file0":"1395682200","file4":"1395682280","file5":"1395682282","file3":"1395682278"},"map_files_photo_id_array":[{"photo_id":"1395682282","filename":"file5"},{"photo_id":"1395682268","filename":"file2"},{"photo_id":"1395682280","filename":"file4"},{"photo_id":"1395682232","filename":"file1"},{"photo_id":"1395682200","filename":"file0"},{"photo_id":"1395682278","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395682278":["hashtag1","hashtag2"]},{"1395682200":["hashtag1","hashtag2"]},{"1395682280":["hashtag1","hashtag2"]},{"1395682268":["hashtag1","hashtag2"]},{"1395682232":["hashtag1","hashtag2"]},{"1395682282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395682278, 1395682200, 1395682280, 1395682268, 1395682232, 1395682282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.007983922958374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:01:43.522083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_36_2538.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_40_3741.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_43_2675.jpg', '/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_45_2750.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_07_3011.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_11_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_36_2538.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_40_3741.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_43_2675.jpg
/home/pi/Desktop/images/22112025/08/56/image_22112025_08_56_45_2750.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_07_3011.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_11_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395682504","1395682467","1395682538","1395682427","1395682372","1395682573"],"photo_ids_order":["1395682372","1395682427","1395682467","1395682504","1395682538","1395682573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b3f8143e692d45c281cc2b5f72b1c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8849737325186563330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798564161,"filename":"image_22112025_08_56_45_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cae2347e3a178a753c4446c69b94091a.jpg","text":"TemporaryFile(/tmp/multipartBody1195635043178772964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798564161,"filename":"image_22112025_08_56_43_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a47f1b5ab2b43d7caed724d4418c611.jpg","text":"TemporaryFile(/tmp/multipartBody8115551445899593073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798564161,"filename":"image_22112025_08_58_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc352fd37c3992627bd39dfd0dadbb99.jpg","text":"TemporaryFile(/tmp/multipartBody8898330655489811906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798564161,"filename":"image_22112025_08_56_40_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/452a6d08edfd19a2ce4a5b8f973a4298.jpg","text":"TemporaryFile(/tmp/multipartBody2480991754871075447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798564161,"filename":"image_22112025_08_56_36_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f936320b692bceb94af639c4dfbb0796.jpg","text":"TemporaryFile(/tmp/multipartBody7376395891838490078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798564161,"filename":"image_22112025_08_58_11_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395682467","file1":"1395682427","file0":"1395682372","file4":"1395682538","file5":"1395682573","file3":"1395682504"},"map_files_photo_id_array":[{"photo_id":"1395682573","filename":"file5"},{"photo_id":"1395682467","filename":"file2"},{"photo_id":"1395682538","filename":"file4"},{"photo_id":"1395682427","filename":"file1"},{"photo_id":"1395682372","filename":"file0"},{"photo_id":"1395682504","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395682504":["hashtag1","hashtag2"]},{"1395682467":["hashtag1","hashtag2"]},{"1395682538":["hashtag1","hashtag2"]},{"1395682427":["hashtag1","hashtag2"]},{"1395682372":["hashtag1","hashtag2"]},{"1395682573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395682504, 1395682467, 1395682538, 1395682427, 1395682372, 1395682573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.853004932403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:02:22.750483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_14_2711.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_16_2658.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_20_3603.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_26_3572.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_29_2568.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_31_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_14_2711.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_16_2658.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_20_3603.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_26_3572.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_29_2568.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_31_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395682683","1395682677","1395682757","1395682679","1395682718","1395682681"],"photo_ids_order":["1395682677","1395682679","1395682681","1395682683","1395682718","1395682757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5579b023a705a92f808189bf65583796.jpg","text":"TemporaryFile(/tmp/multipartBody306109306749519470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798603388,"filename":"image_22112025_08_58_26_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d611be6d446701d6c0125fd49b83dc26.jpg","text":"TemporaryFile(/tmp/multipartBody9014762196457655604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798603388,"filename":"image_22112025_08_58_14_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/444e7fda64be190be49417fee2a9941d.jpg","text":"TemporaryFile(/tmp/multipartBody7898035347180727195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798603388,"filename":"image_22112025_08_58_31_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/157df98ea470971718af8dcb6b6e9771.jpg","text":"TemporaryFile(/tmp/multipartBody6474771144623096304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798603388,"filename":"image_22112025_08_58_16_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/603710fb72f4f51123565b7f83e210ac.jpg","text":"TemporaryFile(/tmp/multipartBody7350125190710191671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798603388,"filename":"image_22112025_08_58_29_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4edd7a941042f184a854d008273627f6.jpg","text":"TemporaryFile(/tmp/multipartBody3549645635383477513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798603388,"filename":"image_22112025_08_58_20_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395682681","file1":"1395682679","file0":"1395682677","file4":"1395682718","file5":"1395682757","file3":"1395682683"},"map_files_photo_id_array":[{"photo_id":"1395682757","filename":"file5"},{"photo_id":"1395682681","filename":"file2"},{"photo_id":"1395682718","filename":"file4"},{"photo_id":"1395682679","filename":"file1"},{"photo_id":"1395682677","filename":"file0"},{"photo_id":"1395682683","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395682683":["hashtag1","hashtag2"]},{"1395682677":["hashtag1","hashtag2"]},{"1395682757":["hashtag1","hashtag2"]},{"1395682679":["hashtag1","hashtag2"]},{"1395682718":["hashtag1","hashtag2"]},{"1395682681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395682683, 1395682677, 1395682757, 1395682679, 1395682718, 1395682681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48545551300049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:03:02.808460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_35_3528.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_38_2685.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_44_3547.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_53_2889.jpg', '/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_58_2586.jpg', '/home/pi/Desktop/images/22112025/08/59/image_22112025_08_59_05_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_35_3528.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_38_2685.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_44_3547.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_53_2889.jpg
/home/pi/Desktop/images/22112025/08/58/image_22112025_08_58_58_2586.jpg
/home/pi/Desktop/images/22112025/08/59/image_22112025_08_59_05_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395682833","1395682832","1395682835","1395682837","1395682825","1395682834"],"photo_ids_order":["1395682825","1395682832","1395682833","1395682834","1395682835","1395682837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cad6f81e380927b816675c606be72ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2446532575279602708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798643554,"filename":"image_22112025_08_58_44_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd528cc7d1de9f836ce9d9afce38636e.jpg","text":"TemporaryFile(/tmp/multipartBody5312231105135931879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798643554,"filename":"image_22112025_08_58_38_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/633ba78b40454161bfdf710cb190e494.jpg","text":"TemporaryFile(/tmp/multipartBody896425742616253187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798643554,"filename":"image_22112025_08_58_58_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ad84f30a7c01b674bf6ad4f0c905f24.jpg","text":"TemporaryFile(/tmp/multipartBody2216009291446268288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798643554,"filename":"image_22112025_08_59_05_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a61e9d3ebcb80867c8b4953b433f5ad8.jpg","text":"TemporaryFile(/tmp/multipartBody9163589432459023456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798643554,"filename":"image_22112025_08_58_35_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d122a2be6b28810e4f175dc8aada19e.jpg","text":"TemporaryFile(/tmp/multipartBody3037338768393166144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798643554,"filename":"image_22112025_08_58_53_2889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395682833","file1":"1395682832","file0":"1395682825","file4":"1395682835","file5":"1395682837","file3":"1395682834"},"map_files_photo_id_array":[{"photo_id":"1395682837","filename":"file5"},{"photo_id":"1395682833","filename":"file2"},{"photo_id":"1395682835","filename":"file4"},{"photo_id":"1395682832","filename":"file1"},{"photo_id":"1395682825","filename":"file0"},{"photo_id":"1395682834","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395682833":["hashtag1","hashtag2"]},{"1395682832":["hashtag1","hashtag2"]},{"1395682835":["hashtag1","hashtag2"]},{"1395682837":["hashtag1","hashtag2"]},{"1395682825":["hashtag1","hashtag2"]},{"1395682834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395682833, 1395682832, 1395682835, 1395682837, 1395682825, 1395682834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43891000747681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:03:42.212571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_06_3011.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_10_3606.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_12_2568.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_16_3615.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_19_2627.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_21_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_06_3011.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_10_3606.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_12_2568.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_16_3615.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_19_2627.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_21_2613.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.541022777557373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:04:03.205004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_06_3011.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_10_3606.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_12_2568.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_16_3615.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_19_2627.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_21_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_06_3011.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_10_3606.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_12_2568.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_16_3615.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_19_2627.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_21_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395682851","1395682854","1395682856","1395682850","1395682853","1395682852"],"photo_ids_order":["1395682850","1395682851","1395682852","1395682853","1395682854","1395682856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/236c5caa92afb591a95bf4dc0f291385.jpg","text":"TemporaryFile(/tmp/multipartBody2040836431765460304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798703962,"filename":"image_22112025_09_01_10_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b341b3cef827962aa38a01b06545c97b.jpg","text":"TemporaryFile(/tmp/multipartBody4687392460049369490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798703962,"filename":"image_22112025_09_01_19_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38328b6821d1c9aae11e31a7b5cf5377.jpg","text":"TemporaryFile(/tmp/multipartBody5764820052082905691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798703962,"filename":"image_22112025_09_01_21_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67a8d8114bb629e3207bf4cb1a8c4bef.jpg","text":"TemporaryFile(/tmp/multipartBody8101195724440493931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798703962,"filename":"image_22112025_09_01_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3779d6afdabfe9692bf1e43c07519c7.jpg","text":"TemporaryFile(/tmp/multipartBody738152633641292138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798703962,"filename":"image_22112025_09_01_16_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b335a6f369ee5251b7a9c2f3c1db3fb.jpg","text":"TemporaryFile(/tmp/multipartBody8581325242910361792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798703962,"filename":"image_22112025_09_01_12_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395682852","file1":"1395682851","file0":"1395682850","file4":"1395682854","file5":"1395682856","file3":"1395682853"},"map_files_photo_id_array":[{"photo_id":"1395682856","filename":"file5"},{"photo_id":"1395682852","filename":"file2"},{"photo_id":"1395682854","filename":"file4"},{"photo_id":"1395682851","filename":"file1"},{"photo_id":"1395682850","filename":"file0"},{"photo_id":"1395682853","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395682851":["hashtag1","hashtag2"]},{"1395682854":["hashtag1","hashtag2"]},{"1395682856":["hashtag1","hashtag2"]},{"1395682850":["hashtag1","hashtag2"]},{"1395682853":["hashtag1","hashtag2"]},{"1395682852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395682851, 1395682854, 1395682856, 1395682850, 1395682853, 1395682852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21503567695618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:04:42.421754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_25_3761.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_28_2775.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_31_3120.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_34_2702.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_36_2721.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_39_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_25_3761.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_28_2775.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_31_3120.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_34_2702.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_36_2721.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_39_2857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395682872","1395682869","1395682865","1395682868","1395682867","1395682870"],"photo_ids_order":["1395682865","1395682867","1395682868","1395682869","1395682870","1395682872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1771920100a9bc085d241f8976b6b383.jpg","text":"TemporaryFile(/tmp/multipartBody271783370211898663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798743079,"filename":"image_22112025_09_01_39_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38bab7cbd7749ce89802302cbc4cd405.jpg","text":"TemporaryFile(/tmp/multipartBody2725438082099804451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798743079,"filename":"image_22112025_09_01_34_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4db7a4c98c49a96a094932acaf5b9f02.jpg","text":"TemporaryFile(/tmp/multipartBody4408204904520415397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798743079,"filename":"image_22112025_09_01_25_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50748cfc2a9fae4ddae9a8f86dbd68ed.jpg","text":"TemporaryFile(/tmp/multipartBody5961180800480290099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798743079,"filename":"image_22112025_09_01_31_3120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/819fc6527d852d18489952c9e3942a7d.jpg","text":"TemporaryFile(/tmp/multipartBody478811272657854955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798743079,"filename":"image_22112025_09_01_28_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcc4fa0ef4b6c5c34804c5f1e40a910f.jpg","text":"TemporaryFile(/tmp/multipartBody1790479033924463115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798743079,"filename":"image_22112025_09_01_36_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395682868","file1":"1395682867","file0":"1395682865","file4":"1395682870","file5":"1395682872","file3":"1395682869"},"map_files_photo_id_array":[{"photo_id":"1395682872","filename":"file5"},{"photo_id":"1395682868","filename":"file2"},{"photo_id":"1395682870","filename":"file4"},{"photo_id":"1395682867","filename":"file1"},{"photo_id":"1395682865","filename":"file0"},{"photo_id":"1395682869","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395682872":["hashtag1","hashtag2"]},{"1395682869":["hashtag1","hashtag2"]},{"1395682865":["hashtag1","hashtag2"]},{"1395682868":["hashtag1","hashtag2"]},{"1395682867":["hashtag1","hashtag2"]},{"1395682870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395682872, 1395682869, 1395682865, 1395682868, 1395682867, 1395682870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.188918352127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:05:21.916084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_43_3630.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_46_2622.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_48_2749.jpg', '/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_52_3603.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_07_3012.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_11_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_43_3630.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_46_2622.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_48_2749.jpg
/home/pi/Desktop/images/22112025/09/01/image_22112025_09_01_52_3603.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_07_3012.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_11_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395682968","1395682875","1395682873","1395682897","1395683008","1395682933"],"photo_ids_order":["1395682873","1395682875","1395682897","1395682933","1395682968","1395683008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/350123787d446de2073602d99ed8831d.jpg","text":"TemporaryFile(/tmp/multipartBody5851568267839516017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798782613,"filename":"image_22112025_09_03_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30a896000795ffdb8a3fe40247726d6a.jpg","text":"TemporaryFile(/tmp/multipartBody597581823608234771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798782613,"filename":"image_22112025_09_01_46_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/276f1a5a58b34453bdc68e2edb1daa17.jpg","text":"TemporaryFile(/tmp/multipartBody348232611761611578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798782613,"filename":"image_22112025_09_01_43_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1d41cdcdf390d396f7674b786424669.jpg","text":"TemporaryFile(/tmp/multipartBody6684429324001987416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798782613,"filename":"image_22112025_09_01_48_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46d654026bd894cb8687bf0dcacdcb7b.jpg","text":"TemporaryFile(/tmp/multipartBody8397720118963193130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798782613,"filename":"image_22112025_09_03_11_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63a3ea1c101a7b1e28fa32d941d230d1.jpg","text":"TemporaryFile(/tmp/multipartBody2954596089665915386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798782613,"filename":"image_22112025_09_01_52_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395682897","file1":"1395682875","file0":"1395682873","file4":"1395682968","file5":"1395683008","file3":"1395682933"},"map_files_photo_id_array":[{"photo_id":"1395683008","filename":"file5"},{"photo_id":"1395682897","filename":"file2"},{"photo_id":"1395682968","filename":"file4"},{"photo_id":"1395682875","filename":"file1"},{"photo_id":"1395682873","filename":"file0"},{"photo_id":"1395682933","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395682968":["hashtag1","hashtag2"]},{"1395682875":["hashtag1","hashtag2"]},{"1395682873":["hashtag1","hashtag2"]},{"1395682897":["hashtag1","hashtag2"]},{"1395683008":["hashtag1","hashtag2"]},{"1395682933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395682968, 1395682875, 1395682873, 1395682897, 1395683008, 1395682933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.616843461990356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:06:02.702718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_13_2818.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_16_2613.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_20_3562.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_22_2504.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_25_2925.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_29_3508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_13_2818.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_16_2613.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_20_3562.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_22_2504.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_25_2925.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_29_3508.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5921297073364258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:06:22.158979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_13_2818.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_16_2613.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_20_3562.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_22_2504.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_25_2925.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_29_3508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_13_2818.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_16_2613.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_20_3562.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_22_2504.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_25_2925.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_29_3508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395683337","1395683339","1395683330","1395683296","1395683347","1395683341"],"photo_ids_order":["1395683296","1395683330","1395683337","1395683339","1395683341","1395683347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13bd6310412ad8a87957968f61adf55e.jpg","text":"TemporaryFile(/tmp/multipartBody2167008916758100098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798842831,"filename":"image_22112025_09_03_20_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fb5f9d97f5f9c15cb404f487c0f2e62.jpg","text":"TemporaryFile(/tmp/multipartBody7879299870828546668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798842831,"filename":"image_22112025_09_03_22_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4aa7334c8c7dce8eadec49f7b4689ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5437643352254779250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798842831,"filename":"image_22112025_09_03_16_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e13813457099342e90e89c6299005992.jpg","text":"TemporaryFile(/tmp/multipartBody3603110824351833385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798842831,"filename":"image_22112025_09_03_13_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e782b2994aff41b7f4ab03ce60373d46.jpg","text":"TemporaryFile(/tmp/multipartBody6758355225779393535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798842831,"filename":"image_22112025_09_03_29_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1939412f155d5a58b72ff77efd0d37f.jpg","text":"TemporaryFile(/tmp/multipartBody5383884494285670770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798842831,"filename":"image_22112025_09_03_25_2925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395683337","file1":"1395683330","file0":"1395683296","file4":"1395683341","file5":"1395683347","file3":"1395683339"},"map_files_photo_id_array":[{"photo_id":"1395683347","filename":"file5"},{"photo_id":"1395683337","filename":"file2"},{"photo_id":"1395683341","filename":"file4"},{"photo_id":"1395683330","filename":"file1"},{"photo_id":"1395683296","filename":"file0"},{"photo_id":"1395683339","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395683337":["hashtag1","hashtag2"]},{"1395683339":["hashtag1","hashtag2"]},{"1395683330":["hashtag1","hashtag2"]},{"1395683296":["hashtag1","hashtag2"]},{"1395683347":["hashtag1","hashtag2"]},{"1395683341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395683337, 1395683339, 1395683330, 1395683296, 1395683347, 1395683341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.692967891693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:07:03.293872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_31_2630.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_35_3632.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_37_2644.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_40_2622.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_44_3625.jpg', '/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_46_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_31_2630.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_35_3632.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_37_2644.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_40_2622.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_44_3625.jpg
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_46_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395683502","1395683477","1395683486","1395683444","1395683435","1395683504"],"photo_ids_order":["1395683435","1395683444","1395683477","1395683486","1395683502","1395683504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7e8398fb001932d91e1b8c4dd30b52c.jpg","text":"TemporaryFile(/tmp/multipartBody8593972990495674523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798884088,"filename":"image_22112025_09_03_44_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f4c6f581bde551272d389acfc960feb.jpg","text":"TemporaryFile(/tmp/multipartBody1135753458332551728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798884088,"filename":"image_22112025_09_03_37_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5e9cc73f685f3052fbeafa161c9a692.jpg","text":"TemporaryFile(/tmp/multipartBody5042611192343720382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798884088,"filename":"image_22112025_09_03_40_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff9edd22e4c5a33984e78b6b82c48fbd.jpg","text":"TemporaryFile(/tmp/multipartBody8126805549805054525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798884088,"filename":"image_22112025_09_03_35_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8504e1153f28338573254d728c9526e4.jpg","text":"TemporaryFile(/tmp/multipartBody7269406924013335789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798884088,"filename":"image_22112025_09_03_31_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d435b864eeae5c93eec42046deb8b7b4.jpg","text":"TemporaryFile(/tmp/multipartBody7205924999987026052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798884088,"filename":"image_22112025_09_03_46_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395683477","file1":"1395683444","file0":"1395683435","file4":"1395683502","file5":"1395683504","file3":"1395683486"},"map_files_photo_id_array":[{"photo_id":"1395683504","filename":"file5"},{"photo_id":"1395683477","filename":"file2"},{"photo_id":"1395683502","filename":"file4"},{"photo_id":"1395683444","filename":"file1"},{"photo_id":"1395683435","filename":"file0"},{"photo_id":"1395683486","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395683502":["hashtag1","hashtag2"]},{"1395683477":["hashtag1","hashtag2"]},{"1395683486":["hashtag1","hashtag2"]},{"1395683444":["hashtag1","hashtag2"]},{"1395683435":["hashtag1","hashtag2"]},{"1395683504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395683502, 1395683477, 1395683486, 1395683444, 1395683435, 1395683504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85328269004822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:07:42.762374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_49_2769.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_07_3012.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_11_3678.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_13_2591.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_17_3656.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_20_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/03/image_22112025_09_03_49_2769.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_07_3012.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_11_3678.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_13_2591.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_17_3656.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_20_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395683649","1395683541","1395683513","1395683510","1395683575","1395683614"],"photo_ids_order":["1395683510","1395683513","1395683541","1395683575","1395683614","1395683649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31862bed6fc7f76a9955ebb8ad93a4ec.jpg","text":"TemporaryFile(/tmp/multipartBody4515137899667137463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798923428,"filename":"image_22112025_09_05_20_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f206c92bb68ce01c1d65d3007a2792c7.jpg","text":"TemporaryFile(/tmp/multipartBody7644233445892713470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798923428,"filename":"image_22112025_09_05_11_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f72be02587d9e548622aa87a7f74c34.jpg","text":"TemporaryFile(/tmp/multipartBody4785407515682313191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798923428,"filename":"image_22112025_09_05_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65fa533e2bcdd58554ae34fa2cc7f2a9.jpg","text":"TemporaryFile(/tmp/multipartBody5051920888162398859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798923428,"filename":"image_22112025_09_03_49_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c670217ec2cbaee3aeb78e94395ad2e0.jpg","text":"TemporaryFile(/tmp/multipartBody8469756474308789527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798923428,"filename":"image_22112025_09_05_13_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cae7c79a3613c18c7a5c9479dc113466.jpg","text":"TemporaryFile(/tmp/multipartBody5773657836234929937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798923428,"filename":"image_22112025_09_05_17_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395683541","file1":"1395683513","file0":"1395683510","file4":"1395683614","file5":"1395683649","file3":"1395683575"},"map_files_photo_id_array":[{"photo_id":"1395683649","filename":"file5"},{"photo_id":"1395683541","filename":"file2"},{"photo_id":"1395683614","filename":"file4"},{"photo_id":"1395683513","filename":"file1"},{"photo_id":"1395683510","filename":"file0"},{"photo_id":"1395683575","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395683649":["hashtag1","hashtag2"]},{"1395683541":["hashtag1","hashtag2"]},{"1395683513":["hashtag1","hashtag2"]},{"1395683510":["hashtag1","hashtag2"]},{"1395683575":["hashtag1","hashtag2"]},{"1395683614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395683649, 1395683541, 1395683513, 1395683510, 1395683575, 1395683614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59853672981262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:08:21.983431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_22_2576.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_25_2755.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_29_3707.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_32_2947.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_34_2766.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_37_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_22_2576.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_25_2755.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_29_3707.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_32_2947.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_34_2766.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_37_2759.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.56205153465271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:08:41.979498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_22_2576.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_25_2755.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_29_3707.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_32_2947.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_34_2766.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_37_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_22_2576.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_25_2755.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_29_3707.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_32_2947.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_34_2766.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_37_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395683853","1395683928","1395683858","1395683956","1395683892","1395683850"],"photo_ids_order":["1395683850","1395683853","1395683858","1395683892","1395683928","1395683956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e1dadd6edb539e3cbaaf802997d65d7.jpg","text":"TemporaryFile(/tmp/multipartBody3520115177269756555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798982671,"filename":"image_22112025_09_05_25_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57e7a1d8ef48c64beb35867750e04a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1960736230526180349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798982671,"filename":"image_22112025_09_05_34_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af4dcf41e05e908ad6e4207d360e6f35.jpg","text":"TemporaryFile(/tmp/multipartBody8132599775323045437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798982671,"filename":"image_22112025_09_05_29_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/567e8cba23798678c68f69831a9349cb.jpg","text":"TemporaryFile(/tmp/multipartBody8233845602768458624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798982671,"filename":"image_22112025_09_05_37_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a8463aa8d4b8b04b5738f98a897cc7b.jpg","text":"TemporaryFile(/tmp/multipartBody7186876535639137615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798982671,"filename":"image_22112025_09_05_32_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6ad6842056a89c1895ee50bf40f05c4.jpg","text":"TemporaryFile(/tmp/multipartBody1471697782901810439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763798982671,"filename":"image_22112025_09_05_22_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395683858","file1":"1395683853","file0":"1395683850","file4":"1395683928","file5":"1395683956","file3":"1395683892"},"map_files_photo_id_array":[{"photo_id":"1395683956","filename":"file5"},{"photo_id":"1395683858","filename":"file2"},{"photo_id":"1395683928","filename":"file4"},{"photo_id":"1395683853","filename":"file1"},{"photo_id":"1395683850","filename":"file0"},{"photo_id":"1395683892","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395683853":["hashtag1","hashtag2"]},{"1395683928":["hashtag1","hashtag2"]},{"1395683858":["hashtag1","hashtag2"]},{"1395683956":["hashtag1","hashtag2"]},{"1395683892":["hashtag1","hashtag2"]},{"1395683850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395683853, 1395683928, 1395683858, 1395683956, 1395683892, 1395683850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82314109802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:09:22.188222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_41_3626.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_43_2586.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_46_2615.jpg', '/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_50_3724.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_10_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_41_3626.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_43_2586.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_46_2615.jpg
/home/pi/Desktop/images/22112025/09/05/image_22112025_09_05_50_3724.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_07_3011.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_10_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684000","1395683999","1395684002","1395684005","1395684007","1395683997"],"photo_ids_order":["1395683997","1395683999","1395684000","1395684002","1395684005","1395684007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbdb139febaa4b63292f23f1be14e33d.jpg","text":"TemporaryFile(/tmp/multipartBody4693936539255579186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799022886,"filename":"image_22112025_09_05_46_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69162b0d8a044f6804b42ff4a23973ae.jpg","text":"TemporaryFile(/tmp/multipartBody1724610136556784524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799022886,"filename":"image_22112025_09_05_43_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c884e9f0ea461672902d9608cbd01d8.jpg","text":"TemporaryFile(/tmp/multipartBody6582212589246422505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799022886,"filename":"image_22112025_09_05_50_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df91bdc80cc369ab1de9d1d94bfd4985.jpg","text":"TemporaryFile(/tmp/multipartBody5890955409492237846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799022886,"filename":"image_22112025_09_07_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b5607893b3e34bb6a8b2ca46d97b182.jpg","text":"TemporaryFile(/tmp/multipartBody1399274916655738811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799022886,"filename":"image_22112025_09_07_10_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acccb4f016f4850e806476867f88253c.jpg","text":"TemporaryFile(/tmp/multipartBody9091031518242485164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799022886,"filename":"image_22112025_09_05_41_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684000","file1":"1395683999","file0":"1395683997","file4":"1395684005","file5":"1395684007","file3":"1395684002"},"map_files_photo_id_array":[{"photo_id":"1395684007","filename":"file5"},{"photo_id":"1395684000","filename":"file2"},{"photo_id":"1395684005","filename":"file4"},{"photo_id":"1395683999","filename":"file1"},{"photo_id":"1395683997","filename":"file0"},{"photo_id":"1395684002","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684000":["hashtag1","hashtag2"]},{"1395683999":["hashtag1","hashtag2"]},{"1395684002":["hashtag1","hashtag2"]},{"1395684005":["hashtag1","hashtag2"]},{"1395684007":["hashtag1","hashtag2"]},{"1395683997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684000, 1395683999, 1395684002, 1395684005, 1395684007, 1395683997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45226788520813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:10:02.839879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_13_2631.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_16_2817.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_19_3585.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_22_2625.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_25_3550.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_28_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_13_2631.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_16_2817.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_19_3585.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_22_2625.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_25_3550.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_28_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684009","1395684047","1395684079","1395684115","1395684010","1395684150"],"photo_ids_order":["1395684009","1395684010","1395684047","1395684079","1395684115","1395684150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e0700422e906ef1debbd3d702f6b1b9.jpg","text":"TemporaryFile(/tmp/multipartBody8854585891415670641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799063595,"filename":"image_22112025_09_07_13_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3ea41d48cbbc37625f5f79db8ef6cee.jpg","text":"TemporaryFile(/tmp/multipartBody3005799509153904057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799063595,"filename":"image_22112025_09_07_19_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0cdc03140945841a3cf23109f9c3684.jpg","text":"TemporaryFile(/tmp/multipartBody6045689030381679082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799063595,"filename":"image_22112025_09_07_22_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7b2cdff7e7ee860813354b6959c9ba0.jpg","text":"TemporaryFile(/tmp/multipartBody5462257630819972903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799063595,"filename":"image_22112025_09_07_25_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/257e54d99a93ab340d3037f03d5dd4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5376122594417209888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799063595,"filename":"image_22112025_09_07_16_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b4e6bbd916fad723dde285051a26ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7677350253134336440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799063595,"filename":"image_22112025_09_07_28_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684047","file1":"1395684010","file0":"1395684009","file4":"1395684115","file5":"1395684150","file3":"1395684079"},"map_files_photo_id_array":[{"photo_id":"1395684150","filename":"file5"},{"photo_id":"1395684047","filename":"file2"},{"photo_id":"1395684115","filename":"file4"},{"photo_id":"1395684010","filename":"file1"},{"photo_id":"1395684009","filename":"file0"},{"photo_id":"1395684079","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684009":["hashtag1","hashtag2"]},{"1395684047":["hashtag1","hashtag2"]},{"1395684079":["hashtag1","hashtag2"]},{"1395684115":["hashtag1","hashtag2"]},{"1395684010":["hashtag1","hashtag2"]},{"1395684150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684009, 1395684047, 1395684079, 1395684115, 1395684010, 1395684150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14474558830261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:10:42.362023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_31_2636.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_34_2856.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_37_3625.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_40_2634.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_43_2773.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_46_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_31_2636.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_34_2856.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_37_3625.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_40_2634.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_43_2773.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_46_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684230","1395684206","1395684223","1395684232","1395684229","1395684231"],"photo_ids_order":["1395684206","1395684223","1395684229","1395684230","1395684231","1395684232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90d3520cf169896582d7869da0330e90.jpg","text":"TemporaryFile(/tmp/multipartBody4546358377366733387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799103054,"filename":"image_22112025_09_07_40_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/262d04eeb6f26447ee8c5794d8f097f6.jpg","text":"TemporaryFile(/tmp/multipartBody7642596871420763842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799103054,"filename":"image_22112025_09_07_31_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c85282dee348ce239c78486a24b0ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3723072933224289513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799103054,"filename":"image_22112025_09_07_34_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8b4bb15255060bcd7a58915c3cbc3e0.jpg","text":"TemporaryFile(/tmp/multipartBody5175289925120234871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799103054,"filename":"image_22112025_09_07_46_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d1f9823bb2856bdd7f0dd0b4b8b431c.jpg","text":"TemporaryFile(/tmp/multipartBody1021514642604238977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799103054,"filename":"image_22112025_09_07_37_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c9e499ba98b02dda1245d282a9af8ae.jpg","text":"TemporaryFile(/tmp/multipartBody4725010476180313796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799103054,"filename":"image_22112025_09_07_43_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684229","file1":"1395684223","file0":"1395684206","file4":"1395684231","file5":"1395684232","file3":"1395684230"},"map_files_photo_id_array":[{"photo_id":"1395684232","filename":"file5"},{"photo_id":"1395684229","filename":"file2"},{"photo_id":"1395684231","filename":"file4"},{"photo_id":"1395684223","filename":"file1"},{"photo_id":"1395684206","filename":"file0"},{"photo_id":"1395684230","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684230":["hashtag1","hashtag2"]},{"1395684206":["hashtag1","hashtag2"]},{"1395684223":["hashtag1","hashtag2"]},{"1395684232":["hashtag1","hashtag2"]},{"1395684229":["hashtag1","hashtag2"]},{"1395684231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684230, 1395684206, 1395684223, 1395684232, 1395684229, 1395684231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35151124000549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:11:22.597715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_49_2752.jpg', '/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_52_2749.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_06_3011.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_10_3655.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_13_2633.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_15_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_49_2752.jpg
/home/pi/Desktop/images/22112025/09/07/image_22112025_09_07_52_2749.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_06_3011.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_10_3655.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_13_2633.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_15_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684242","1395684236","1395684244","1395684238","1395684240","1395684234"],"photo_ids_order":["1395684234","1395684236","1395684238","1395684240","1395684242","1395684244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f04f578463136a54d8c5d76b7cfb17a5.jpg","text":"TemporaryFile(/tmp/multipartBody5824337610968879712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799143319,"filename":"image_22112025_09_09_13_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64bf47b7ed95c4288f9ca6d20f8229c8.jpg","text":"TemporaryFile(/tmp/multipartBody4227981862025122756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799143319,"filename":"image_22112025_09_07_52_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f53f3bcc007725ff0a7857c373c19c9.jpg","text":"TemporaryFile(/tmp/multipartBody2473519462696473349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799143319,"filename":"image_22112025_09_09_15_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f92db43f71a82574600bfc3a531eaad.jpg","text":"TemporaryFile(/tmp/multipartBody1147135880227439466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799143319,"filename":"image_22112025_09_09_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/901b4ea59f384c389e52e536162db6fe.jpg","text":"TemporaryFile(/tmp/multipartBody3597997838135455554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799143319,"filename":"image_22112025_09_09_10_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04c879081c3a62f96d0363c6dc7944be.jpg","text":"TemporaryFile(/tmp/multipartBody4008199295293417576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799143319,"filename":"image_22112025_09_07_49_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684238","file1":"1395684236","file0":"1395684234","file4":"1395684242","file5":"1395684244","file3":"1395684240"},"map_files_photo_id_array":[{"photo_id":"1395684244","filename":"file5"},{"photo_id":"1395684238","filename":"file2"},{"photo_id":"1395684242","filename":"file4"},{"photo_id":"1395684236","filename":"file1"},{"photo_id":"1395684234","filename":"file0"},{"photo_id":"1395684240","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684242":["hashtag1","hashtag2"]},{"1395684236":["hashtag1","hashtag2"]},{"1395684244":["hashtag1","hashtag2"]},{"1395684238":["hashtag1","hashtag2"]},{"1395684240":["hashtag1","hashtag2"]},{"1395684234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684242, 1395684236, 1395684244, 1395684238, 1395684240, 1395684234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.939146757125854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:12:02.350275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_19_3590.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_21_2568.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_25_3632.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_28_2656.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_30_2535.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_37_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_19_3590.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_21_2568.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_25_3632.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_28_2656.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_30_2535.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_37_2714.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6590850353240967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:12:21.885222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_19_3590.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_21_2568.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_25_3632.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_28_2656.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_30_2535.jpg', '/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_37_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_19_3590.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_21_2568.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_25_3632.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_28_2656.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_30_2535.jpg
/home/pi/Desktop/images/22112025/09/09/image_22112025_09_09_37_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684257","1395684266","1395684260","1395684254","1395684268","1395684264"],"photo_ids_order":["1395684254","1395684257","1395684260","1395684264","1395684266","1395684268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2252f75d849dfe8177d4f5cfa5add90d.jpg","text":"TemporaryFile(/tmp/multipartBody5709269584660293411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799202625,"filename":"image_22112025_09_09_21_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76e59ad8d871aa697936cf462af172f3.jpg","text":"TemporaryFile(/tmp/multipartBody1326495944865146831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799202625,"filename":"image_22112025_09_09_30_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c83d2e73646907f0b038b598a4ea610e.jpg","text":"TemporaryFile(/tmp/multipartBody4129653793222595102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799202625,"filename":"image_22112025_09_09_25_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55c512b6f4b9e475183b223599902d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3909191421535426596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799202625,"filename":"image_22112025_09_09_19_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af4aec086a85f3f66ed4cb419a838285.jpg","text":"TemporaryFile(/tmp/multipartBody4129009431920942658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799202625,"filename":"image_22112025_09_09_37_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a12355555acfc03fe01d4ac503e7f8b9.jpg","text":"TemporaryFile(/tmp/multipartBody5222604586192704690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799202625,"filename":"image_22112025_09_09_28_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684260","file1":"1395684257","file0":"1395684254","file4":"1395684266","file5":"1395684268","file3":"1395684264"},"map_files_photo_id_array":[{"photo_id":"1395684268","filename":"file5"},{"photo_id":"1395684260","filename":"file2"},{"photo_id":"1395684266","filename":"file4"},{"photo_id":"1395684257","filename":"file1"},{"photo_id":"1395684254","filename":"file0"},{"photo_id":"1395684264","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684257":["hashtag1","hashtag2"]},{"1395684266":["hashtag1","hashtag2"]},{"1395684260":["hashtag1","hashtag2"]},{"1395684254":["hashtag1","hashtag2"]},{"1395684268":["hashtag1","hashtag2"]},{"1395684264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684257, 1395684266, 1395684260, 1395684254, 1395684268, 1395684264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.364630699157715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:13:02.678124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_10_3591.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_13_2737.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_17_3622.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_19_2511.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_22_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_07_3011.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_10_3591.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_13_2737.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_17_3622.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_19_2511.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_22_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684275","1395684278","1395684272","1395684271","1395684270","1395684273"],"photo_ids_order":["1395684270","1395684271","1395684272","1395684273","1395684275","1395684278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb6dceca4fe8284ae41dd7456af626c0.jpg","text":"TemporaryFile(/tmp/multipartBody4265983456663912844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799243500,"filename":"image_22112025_09_11_19_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74b38c9493a125a6f6c05498b0880480.jpg","text":"TemporaryFile(/tmp/multipartBody414319207761791654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799243500,"filename":"image_22112025_09_11_22_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c5275dfc029cc0bb1058d1d9d1c151a.jpg","text":"TemporaryFile(/tmp/multipartBody2074141859677412601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799243500,"filename":"image_22112025_09_11_13_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72fb0fd578ecd4c8e3e5ca12afc86341.jpg","text":"TemporaryFile(/tmp/multipartBody7469045922511600359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799243500,"filename":"image_22112025_09_11_10_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9b4a19c52304017e04c20ef59dd718c.jpg","text":"TemporaryFile(/tmp/multipartBody4275629496432842530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799243500,"filename":"image_22112025_09_11_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca520022fd54c30c235ce23defb27d76.jpg","text":"TemporaryFile(/tmp/multipartBody7131751887057239399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799243500,"filename":"image_22112025_09_11_17_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684272","file1":"1395684271","file0":"1395684270","file4":"1395684275","file5":"1395684278","file3":"1395684273"},"map_files_photo_id_array":[{"photo_id":"1395684278","filename":"file5"},{"photo_id":"1395684272","filename":"file2"},{"photo_id":"1395684275","filename":"file4"},{"photo_id":"1395684271","filename":"file1"},{"photo_id":"1395684270","filename":"file0"},{"photo_id":"1395684273","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684275":["hashtag1","hashtag2"]},{"1395684278":["hashtag1","hashtag2"]},{"1395684272":["hashtag1","hashtag2"]},{"1395684271":["hashtag1","hashtag2"]},{"1395684270":["hashtag1","hashtag2"]},{"1395684273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684275, 1395684278, 1395684272, 1395684271, 1395684270, 1395684273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3103985786438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:13:42.072850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_25_3508.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_28_2669.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_31_2751.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_35_3756.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_37_2584.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_40_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_25_3508.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_28_2669.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_31_2751.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_35_3756.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_37_2584.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_40_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684290","1395684287","1395684292","1395684289","1395684291","1395684293"],"photo_ids_order":["1395684287","1395684289","1395684290","1395684291","1395684292","1395684293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbd6fea7ccbf07af9fc1ebca8c08cf16.jpg","text":"TemporaryFile(/tmp/multipartBody2020336028138279149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799282747,"filename":"image_22112025_09_11_31_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02fce51defadd22974713ca9147b24dd.jpg","text":"TemporaryFile(/tmp/multipartBody3767821009965821871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799282747,"filename":"image_22112025_09_11_25_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a12acca652dc3d580298aab4a87afbce.jpg","text":"TemporaryFile(/tmp/multipartBody3411055454189282860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799282747,"filename":"image_22112025_09_11_37_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f96a579ea7b972430892057361dcf830.jpg","text":"TemporaryFile(/tmp/multipartBody2893274947073565762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799282747,"filename":"image_22112025_09_11_28_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51a7e80b7baca62d98142ba01c155fc8.jpg","text":"TemporaryFile(/tmp/multipartBody3096977351950397208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799282747,"filename":"image_22112025_09_11_35_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d68136019077625a233bfcff9e26154.jpg","text":"TemporaryFile(/tmp/multipartBody842459523198431055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799282747,"filename":"image_22112025_09_11_40_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684290","file1":"1395684289","file0":"1395684287","file4":"1395684292","file5":"1395684293","file3":"1395684291"},"map_files_photo_id_array":[{"photo_id":"1395684293","filename":"file5"},{"photo_id":"1395684290","filename":"file2"},{"photo_id":"1395684292","filename":"file4"},{"photo_id":"1395684289","filename":"file1"},{"photo_id":"1395684287","filename":"file0"},{"photo_id":"1395684291","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684290":["hashtag1","hashtag2"]},{"1395684287":["hashtag1","hashtag2"]},{"1395684292":["hashtag1","hashtag2"]},{"1395684289":["hashtag1","hashtag2"]},{"1395684291":["hashtag1","hashtag2"]},{"1395684293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684290, 1395684287, 1395684292, 1395684289, 1395684291, 1395684293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90188527107239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:14:22.265216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_43_3573.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_46_2679.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_50_3521.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_52_2857.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_55_2704.jpg', '/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_58_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_43_3573.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_46_2679.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_50_3521.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_52_2857.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_55_2704.jpg
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_11_58_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684296","1395684461","1395684383","1395684343","1395684304","1395684423"],"photo_ids_order":["1395684296","1395684304","1395684343","1395684383","1395684423","1395684461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/994a15f9a11525c85ac0b4b942f8b187.jpg","text":"TemporaryFile(/tmp/multipartBody4266489209241664252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799322967,"filename":"image_22112025_09_11_43_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e6b16e9dab347f75a2c0c07fdc84a03.jpg","text":"TemporaryFile(/tmp/multipartBody517562461257711339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799322967,"filename":"image_22112025_09_11_58_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/299225d0bcc5d83ca42dcb0c5d75c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody6489666160945739798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799322967,"filename":"image_22112025_09_11_52_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6b2df1bbb6153d481a9d7a3b45924ff.jpg","text":"TemporaryFile(/tmp/multipartBody6948132103294143378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799322967,"filename":"image_22112025_09_11_50_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/689775775eec12e5cfe7644cf89d2af1.jpg","text":"TemporaryFile(/tmp/multipartBody4783248447944783278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799322967,"filename":"image_22112025_09_11_46_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3919090d5c8bc0976f3ba056a324ac26.jpg","text":"TemporaryFile(/tmp/multipartBody4266333379758342775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799322967,"filename":"image_22112025_09_11_55_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684343","file1":"1395684304","file0":"1395684296","file4":"1395684423","file5":"1395684461","file3":"1395684383"},"map_files_photo_id_array":[{"photo_id":"1395684461","filename":"file5"},{"photo_id":"1395684343","filename":"file2"},{"photo_id":"1395684423","filename":"file4"},{"photo_id":"1395684304","filename":"file1"},{"photo_id":"1395684296","filename":"file0"},{"photo_id":"1395684383","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684296":["hashtag1","hashtag2"]},{"1395684461":["hashtag1","hashtag2"]},{"1395684383":["hashtag1","hashtag2"]},{"1395684343":["hashtag1","hashtag2"]},{"1395684304":["hashtag1","hashtag2"]},{"1395684423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684296, 1395684461, 1395684383, 1395684343, 1395684304, 1395684423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72096610069275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:15:03.443073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/11/image_22112025_09_12_01_3686.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_06_3011.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_10_3606.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_12_2498.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_16_3590.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_19_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/11/image_22112025_09_12_01_3686.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_06_3011.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_10_3606.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_12_2498.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_16_3590.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_19_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684680","1395684647","1395684761","1395684608","1395684786","1395684720"],"photo_ids_order":["1395684608","1395684647","1395684680","1395684720","1395684761","1395684786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5d562a6065b702da7a80ffc5b822fa7.jpg","text":"TemporaryFile(/tmp/multipartBody321810960213875531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799364193,"filename":"image_22112025_09_13_10_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb3d680b837e3e9bdfb7399a8886ef67.jpg","text":"TemporaryFile(/tmp/multipartBody4759886576759847528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799364193,"filename":"image_22112025_09_13_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39348a1af8672424d16dc72b06cf4948.jpg","text":"TemporaryFile(/tmp/multipartBody6228676294645516718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799364193,"filename":"image_22112025_09_13_16_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb7fec443fca2d524d8d1b43fe56a084.jpg","text":"TemporaryFile(/tmp/multipartBody6867962925940809115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799364193,"filename":"image_22112025_09_12_01_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6e3a2c7d0c0e5406069b88874955aad.jpg","text":"TemporaryFile(/tmp/multipartBody6947232225154046280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799364193,"filename":"image_22112025_09_13_19_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff1a558b0a12e93c5ae19ca596b0ef31.jpg","text":"TemporaryFile(/tmp/multipartBody4877176221594230801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799364193,"filename":"image_22112025_09_13_12_2498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684680","file1":"1395684647","file0":"1395684608","file4":"1395684761","file5":"1395684786","file3":"1395684720"},"map_files_photo_id_array":[{"photo_id":"1395684786","filename":"file5"},{"photo_id":"1395684680","filename":"file2"},{"photo_id":"1395684761","filename":"file4"},{"photo_id":"1395684647","filename":"file1"},{"photo_id":"1395684608","filename":"file0"},{"photo_id":"1395684720","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684680":["hashtag1","hashtag2"]},{"1395684647":["hashtag1","hashtag2"]},{"1395684761":["hashtag1","hashtag2"]},{"1395684608":["hashtag1","hashtag2"]},{"1395684786":["hashtag1","hashtag2"]},{"1395684720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684680, 1395684647, 1395684761, 1395684608, 1395684786, 1395684720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15842151641846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:15:42.668801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_21_2651.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_25_3691.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_28_2663.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_31_3627.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_34_2557.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_36_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_21_2651.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_25_3691.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_28_2663.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_31_3627.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_34_2557.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_36_2669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5882501602172852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:16:02.371247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_21_2651.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_25_3691.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_28_2663.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_31_3627.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_34_2557.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_36_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_21_2651.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_25_3691.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_28_2663.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_31_3627.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_34_2557.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_36_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684961","1395684958","1395684937","1395684952","1395684904","1395684888"],"photo_ids_order":["1395684888","1395684904","1395684937","1395684952","1395684958","1395684961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f525798c05b1dc3ae5589788d044f554.jpg","text":"TemporaryFile(/tmp/multipartBody2095285747132249858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799423081,"filename":"image_22112025_09_13_36_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bada296d91752737f639bcd0b4fe750e.jpg","text":"TemporaryFile(/tmp/multipartBody2189403180295626107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799423081,"filename":"image_22112025_09_13_34_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1681419f012ac189e6e11cd65f6d50ab.jpg","text":"TemporaryFile(/tmp/multipartBody4607336949028806106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799423081,"filename":"image_22112025_09_13_28_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff55f735ccd896a880db9b0e6fda9d79.jpg","text":"TemporaryFile(/tmp/multipartBody3902231117004245171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799423081,"filename":"image_22112025_09_13_31_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dc0cd6b1e1b89953d38cd6ad523e1eb.jpg","text":"TemporaryFile(/tmp/multipartBody2737874856548173128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799423081,"filename":"image_22112025_09_13_25_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc54bed7dd7b82ac239181bb9741de34.jpg","text":"TemporaryFile(/tmp/multipartBody2477840414907068286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799423081,"filename":"image_22112025_09_13_21_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684937","file1":"1395684904","file0":"1395684888","file4":"1395684958","file5":"1395684961","file3":"1395684952"},"map_files_photo_id_array":[{"photo_id":"1395684961","filename":"file5"},{"photo_id":"1395684937","filename":"file2"},{"photo_id":"1395684958","filename":"file4"},{"photo_id":"1395684904","filename":"file1"},{"photo_id":"1395684888","filename":"file0"},{"photo_id":"1395684952","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684961":["hashtag1","hashtag2"]},{"1395684958":["hashtag1","hashtag2"]},{"1395684937":["hashtag1","hashtag2"]},{"1395684952":["hashtag1","hashtag2"]},{"1395684904":["hashtag1","hashtag2"]},{"1395684888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684961, 1395684958, 1395684937, 1395684952, 1395684904, 1395684888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47278308868408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:16:41.913784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_40_3719.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_43_2711.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_45_2557.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_49_3658.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_52_2599.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_54_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_40_3719.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_43_2711.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_45_2557.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_49_3658.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_52_2599.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_54_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395684971","1395685001","1395684974","1395684968","1395684973","1395684972"],"photo_ids_order":["1395684968","1395684971","1395684972","1395684973","1395684974","1395685001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff02e40fe714e912a5add9e7977bcffa.jpg","text":"TemporaryFile(/tmp/multipartBody9050129387797625261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799462596,"filename":"image_22112025_09_13_43_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/584f8f77d9584b77fa3a19a3586c88bb.jpg","text":"TemporaryFile(/tmp/multipartBody9004396195598710443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799462596,"filename":"image_22112025_09_13_54_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f96155de78f1c6e178b2056331055196.jpg","text":"TemporaryFile(/tmp/multipartBody5744719360631253135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799462596,"filename":"image_22112025_09_13_52_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb3c279d922f1ea25818f0c30f1c4de6.jpg","text":"TemporaryFile(/tmp/multipartBody4714447680263910903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799462596,"filename":"image_22112025_09_13_40_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40dc97a96898320818efe0d8c4e519ab.jpg","text":"TemporaryFile(/tmp/multipartBody7833151201884102441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799462596,"filename":"image_22112025_09_13_49_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51eb1d9b81229f2a29cb1f9f4b14f936.jpg","text":"TemporaryFile(/tmp/multipartBody7243505126557789068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799462596,"filename":"image_22112025_09_13_45_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395684972","file1":"1395684971","file0":"1395684968","file4":"1395684974","file5":"1395685001","file3":"1395684973"},"map_files_photo_id_array":[{"photo_id":"1395685001","filename":"file5"},{"photo_id":"1395684972","filename":"file2"},{"photo_id":"1395684974","filename":"file4"},{"photo_id":"1395684971","filename":"file1"},{"photo_id":"1395684968","filename":"file0"},{"photo_id":"1395684973","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395684971":["hashtag1","hashtag2"]},{"1395685001":["hashtag1","hashtag2"]},{"1395684974":["hashtag1","hashtag2"]},{"1395684968":["hashtag1","hashtag2"]},{"1395684973":["hashtag1","hashtag2"]},{"1395684972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395684971, 1395685001, 1395684974, 1395684968, 1395684973, 1395684972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43846011161804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:17:22.068959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_58_3610.jpg', '/home/pi/Desktop/images/22112025/09/13/image_22112025_09_14_00_2522.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_11_3876.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_13_2592.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_16_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_13_58_3610.jpg
/home/pi/Desktop/images/22112025/09/13/image_22112025_09_14_00_2522.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_07_3011.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_11_3876.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_13_2592.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_16_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395685180","1395685336","1395685138","1395685254","1395685292","1395685218"],"photo_ids_order":["1395685138","1395685180","1395685218","1395685254","1395685292","1395685336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a20becd1f12aa86d72f6686c3e027d17.jpg","text":"TemporaryFile(/tmp/multipartBody3679977218475778101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799502770,"filename":"image_22112025_09_14_00_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d12ada856ff5fab7d6e746f07bd61a61.jpg","text":"TemporaryFile(/tmp/multipartBody6049050752226429893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799502770,"filename":"image_22112025_09_15_16_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8438174eb3f073a845d4441e1d09c366.jpg","text":"TemporaryFile(/tmp/multipartBody2978470810089761195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799502770,"filename":"image_22112025_09_13_58_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3357b05b00bc48870f1422a50e221e6.jpg","text":"TemporaryFile(/tmp/multipartBody8874226724525934430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799502770,"filename":"image_22112025_09_15_11_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1aeb856a8329d18bacd925eb53545c78.jpg","text":"TemporaryFile(/tmp/multipartBody6976275538051748010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799502770,"filename":"image_22112025_09_15_13_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08c03bdba0f6f136a5d2b51c826cdf1f.jpg","text":"TemporaryFile(/tmp/multipartBody6202713476859574706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799502770,"filename":"image_22112025_09_15_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395685218","file1":"1395685180","file0":"1395685138","file4":"1395685292","file5":"1395685336","file3":"1395685254"},"map_files_photo_id_array":[{"photo_id":"1395685336","filename":"file5"},{"photo_id":"1395685218","filename":"file2"},{"photo_id":"1395685292","filename":"file4"},{"photo_id":"1395685180","filename":"file1"},{"photo_id":"1395685138","filename":"file0"},{"photo_id":"1395685254","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395685180":["hashtag1","hashtag2"]},{"1395685336":["hashtag1","hashtag2"]},{"1395685138":["hashtag1","hashtag2"]},{"1395685254":["hashtag1","hashtag2"]},{"1395685292":["hashtag1","hashtag2"]},{"1395685218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395685180, 1395685336, 1395685138, 1395685254, 1395685292, 1395685218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12062644958496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:18:02.630213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_20_3734.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_22_2760.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_25_2730.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_28_2734.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_32_3850.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_34_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_20_3734.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_22_2760.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_25_2730.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_28_2734.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_32_3850.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_34_2602.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6438460350036621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:18:22.118397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_20_3734.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_22_2760.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_25_2730.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_28_2734.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_32_3850.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_34_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_20_3734.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_22_2760.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_25_2730.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_28_2734.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_32_3850.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_34_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395685508","1395685528","1395685560","1395685497","1395685506","1395685547"],"photo_ids_order":["1395685497","1395685506","1395685508","1395685528","1395685547","1395685560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54eb7a715e41a351842d4ec4ff2115cb.jpg","text":"TemporaryFile(/tmp/multipartBody6451302949710384219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799567836,"filename":"image_22112025_09_15_25_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f20342f1f2f35d0fd394f18f732231d1.jpg","text":"TemporaryFile(/tmp/multipartBody2344981507169803421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799567836,"filename":"image_22112025_09_15_28_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65d4f4a8a063a94a4260685247437f81.jpg","text":"TemporaryFile(/tmp/multipartBody6650635358810515144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799567836,"filename":"image_22112025_09_15_34_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42e75b7e176b673ac23c81b52310b54a.jpg","text":"TemporaryFile(/tmp/multipartBody4924493591604999655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799567836,"filename":"image_22112025_09_15_20_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bbd31b51695ffbf76cf9813ef1a5f2d.jpg","text":"TemporaryFile(/tmp/multipartBody3167092631018444816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799567836,"filename":"image_22112025_09_15_22_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1868ca39cf3763e4c0d9a8c688b9f051.jpg","text":"TemporaryFile(/tmp/multipartBody7237154823839306533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799567836,"filename":"image_22112025_09_15_32_3850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395685508","file1":"1395685506","file0":"1395685497","file4":"1395685547","file5":"1395685560","file3":"1395685528"},"map_files_photo_id_array":[{"photo_id":"1395685560","filename":"file5"},{"photo_id":"1395685508","filename":"file2"},{"photo_id":"1395685547","filename":"file4"},{"photo_id":"1395685506","filename":"file1"},{"photo_id":"1395685497","filename":"file0"},{"photo_id":"1395685528","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395685508":["hashtag1","hashtag2"]},{"1395685528":["hashtag1","hashtag2"]},{"1395685560":["hashtag1","hashtag2"]},{"1395685497":["hashtag1","hashtag2"]},{"1395685506":["hashtag1","hashtag2"]},{"1395685547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395685508, 1395685528, 1395685560, 1395685497, 1395685506, 1395685547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.999677658081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:19:22.432822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_37_2853.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_40_2779.jpg', '/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_44_3678.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_06_3011.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_10_3668.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_12_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_37_2853.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_40_2779.jpg
/home/pi/Desktop/images/22112025/09/15/image_22112025_09_15_44_3678.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_06_3011.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_10_3668.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_12_2516.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395685640","1395685637","1395685607","1395685642","1395685645","1395685638"],"photo_ids_order":["1395685607","1395685637","1395685638","1395685640","1395685642","1395685645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b27af015e9db3ad3fb0dc7003bb4c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody4997055398902526260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799623139,"filename":"image_22112025_09_17_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45bbc5ac7f9212607504008652bb2afb.jpg","text":"TemporaryFile(/tmp/multipartBody5078177238663198362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799623139,"filename":"image_22112025_09_15_40_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb4b6f58f10352ddd44694d4d8806dfe.jpg","text":"TemporaryFile(/tmp/multipartBody364347158272311898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799623139,"filename":"image_22112025_09_15_37_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/465138301da90d026c19b726ae0fda39.jpg","text":"TemporaryFile(/tmp/multipartBody1058580868030465809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799623139,"filename":"image_22112025_09_17_10_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b91e4ed50c0a1ee039fa720b90528b6c.jpg","text":"TemporaryFile(/tmp/multipartBody35323916087375833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799623139,"filename":"image_22112025_09_17_12_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/341d42e627f58af4c25fa3a1d8009d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3205982721405316084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799623139,"filename":"image_22112025_09_15_44_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395685638","file1":"1395685637","file0":"1395685607","file4":"1395685642","file5":"1395685645","file3":"1395685640"},"map_files_photo_id_array":[{"photo_id":"1395685645","filename":"file5"},{"photo_id":"1395685638","filename":"file2"},{"photo_id":"1395685642","filename":"file4"},{"photo_id":"1395685637","filename":"file1"},{"photo_id":"1395685607","filename":"file0"},{"photo_id":"1395685640","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395685640":["hashtag1","hashtag2"]},{"1395685637":["hashtag1","hashtag2"]},{"1395685607":["hashtag1","hashtag2"]},{"1395685642":["hashtag1","hashtag2"]},{"1395685645":["hashtag1","hashtag2"]},{"1395685638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395685640, 1395685637, 1395685607, 1395685642, 1395685645, 1395685638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22334814071655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:20:03.101312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_15_2876.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_19_3748.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_22_2659.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_24_2593.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_28_3830.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_31_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_15_2876.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_19_3748.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_22_2659.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_24_2593.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_28_3830.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_31_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395685649","1395685648","1395685647","1395685650","1395685652","1395685646"],"photo_ids_order":["1395685646","1395685647","1395685648","1395685649","1395685650","1395685652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba046c28ba8e943b4e8fc0bb2fa0be4e.jpg","text":"TemporaryFile(/tmp/multipartBody5258052396041784854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799663871,"filename":"image_22112025_09_17_24_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10e03f21bb07fffacc69f702c50ade54.jpg","text":"TemporaryFile(/tmp/multipartBody3489644830882863866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799663871,"filename":"image_22112025_09_17_22_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/431b44663a212f8ac4d069e453b3bbdb.jpg","text":"TemporaryFile(/tmp/multipartBody8102372659029877090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799663871,"filename":"image_22112025_09_17_19_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49697deff96f4c97cf0aa0e79e8be7b2.jpg","text":"TemporaryFile(/tmp/multipartBody1725692196507231596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799663871,"filename":"image_22112025_09_17_28_3830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b70b1fbd5192b1d0b9fda993cae74ae.jpg","text":"TemporaryFile(/tmp/multipartBody3013855936772576920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799663871,"filename":"image_22112025_09_17_31_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b984c8de1a3efc1000588b8de708d35.jpg","text":"TemporaryFile(/tmp/multipartBody3095919365254531208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799663871,"filename":"image_22112025_09_17_15_2876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395685648","file1":"1395685647","file0":"1395685646","file4":"1395685650","file5":"1395685652","file3":"1395685649"},"map_files_photo_id_array":[{"photo_id":"1395685652","filename":"file5"},{"photo_id":"1395685648","filename":"file2"},{"photo_id":"1395685650","filename":"file4"},{"photo_id":"1395685647","filename":"file1"},{"photo_id":"1395685646","filename":"file0"},{"photo_id":"1395685649","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395685649":["hashtag1","hashtag2"]},{"1395685648":["hashtag1","hashtag2"]},{"1395685647":["hashtag1","hashtag2"]},{"1395685650":["hashtag1","hashtag2"]},{"1395685652":["hashtag1","hashtag2"]},{"1395685646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395685649, 1395685648, 1395685647, 1395685650, 1395685652, 1395685646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28406643867493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:20:42.636519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_34_2781.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_36_2704.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_40_3660.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_43_2874.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_46_2674.jpg', '/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_49_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_34_2781.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_36_2704.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_40_3660.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_43_2874.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_46_2674.jpg
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_49_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395685661","1395685660","1395685663","1395685657","1395685662","1395685659"],"photo_ids_order":["1395685657","1395685659","1395685660","1395685661","1395685662","1395685663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/954ac54694eb28ea440ba7d0e4dbccc1.jpg","text":"TemporaryFile(/tmp/multipartBody1838907972030544262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799703333,"filename":"image_22112025_09_17_43_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9adbfc97c103e0cb3af27a0112241587.jpg","text":"TemporaryFile(/tmp/multipartBody5715254713786870325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799703333,"filename":"image_22112025_09_17_40_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c67d9b48f728497746c0a92c2071dd47.jpg","text":"TemporaryFile(/tmp/multipartBody4736392904933689001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799703333,"filename":"image_22112025_09_17_49_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8083cbbbbbe4b4f0dd1ad4356c39334.jpg","text":"TemporaryFile(/tmp/multipartBody7867632313895157752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799703333,"filename":"image_22112025_09_17_34_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd98e1de4fa4c8550903b2f5c3358f67.jpg","text":"TemporaryFile(/tmp/multipartBody8098190415678858196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799703333,"filename":"image_22112025_09_17_46_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3aadc9158c6dc0339a9bc2e1e7bc9f6.jpg","text":"TemporaryFile(/tmp/multipartBody5985392792797765499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799703333,"filename":"image_22112025_09_17_36_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395685660","file1":"1395685659","file0":"1395685657","file4":"1395685662","file5":"1395685663","file3":"1395685661"},"map_files_photo_id_array":[{"photo_id":"1395685663","filename":"file5"},{"photo_id":"1395685660","filename":"file2"},{"photo_id":"1395685662","filename":"file4"},{"photo_id":"1395685659","filename":"file1"},{"photo_id":"1395685657","filename":"file0"},{"photo_id":"1395685661","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395685661":["hashtag1","hashtag2"]},{"1395685660":["hashtag1","hashtag2"]},{"1395685663":["hashtag1","hashtag2"]},{"1395685657":["hashtag1","hashtag2"]},{"1395685662":["hashtag1","hashtag2"]},{"1395685659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395685661, 1395685660, 1395685663, 1395685657, 1395685662, 1395685659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56197905540466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:21:21.949593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_52_2400.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_10_3568.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_13_2678.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_16_3705.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_19_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/17/image_22112025_09_17_52_2400.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_07_3011.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_10_3568.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_13_2678.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_16_3705.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_19_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395685675","1395685750","1395685668","1395685710","1395685664","1395685667"],"photo_ids_order":["1395685664","1395685667","1395685668","1395685675","1395685710","1395685750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e88a5c5395fd25671595866f4f3ef9c.jpg","text":"TemporaryFile(/tmp/multipartBody8455231900837595302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799742663,"filename":"image_22112025_09_19_13_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ec94b803708098944317f817b4eee5f.jpg","text":"TemporaryFile(/tmp/multipartBody1886463921946874752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799742663,"filename":"image_22112025_09_19_19_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db4bfc95713cc02fc376298ce644328c.jpg","text":"TemporaryFile(/tmp/multipartBody573014715395277650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799742663,"filename":"image_22112025_09_19_10_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ffc465280a9a24107c348e31468ceb5.jpg","text":"TemporaryFile(/tmp/multipartBody3130181394122918677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799742663,"filename":"image_22112025_09_19_16_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/999b5fcc186f853732f77922f916022e.jpg","text":"TemporaryFile(/tmp/multipartBody4969349154893969156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799742663,"filename":"image_22112025_09_17_52_2400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0293fee927dd79299af211e0c6882594.jpg","text":"TemporaryFile(/tmp/multipartBody2498401578061006915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799742663,"filename":"image_22112025_09_19_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395685668","file1":"1395685667","file0":"1395685664","file4":"1395685710","file5":"1395685750","file3":"1395685675"},"map_files_photo_id_array":[{"photo_id":"1395685750","filename":"file5"},{"photo_id":"1395685668","filename":"file2"},{"photo_id":"1395685710","filename":"file4"},{"photo_id":"1395685667","filename":"file1"},{"photo_id":"1395685664","filename":"file0"},{"photo_id":"1395685675","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395685675":["hashtag1","hashtag2"]},{"1395685750":["hashtag1","hashtag2"]},{"1395685668":["hashtag1","hashtag2"]},{"1395685710":["hashtag1","hashtag2"]},{"1395685664":["hashtag1","hashtag2"]},{"1395685667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395685675, 1395685750, 1395685668, 1395685710, 1395685664, 1395685667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69741678237915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:22:02.593475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_22_2563.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_25_3637.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_28_2773.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_31_2601.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_34_3528.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_37_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_22_2563.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_25_3637.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_28_2773.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_31_2601.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_34_3528.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_37_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395686020","1395685921","1395685989","1395686055","1395685956","1395685886"],"photo_ids_order":["1395685886","1395685921","1395685956","1395685989","1395686020","1395686055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afd1a1dcbb7c9a40cc3674f2ab39eece.jpg","text":"TemporaryFile(/tmp/multipartBody2124605739882263481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799783311,"filename":"image_22112025_09_19_34_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b7f695da65c9ada4544a34ab855a3e6.jpg","text":"TemporaryFile(/tmp/multipartBody16355127491427247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799783311,"filename":"image_22112025_09_19_25_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21d1e1d6dd8f40104dc41d80a5111cd4.jpg","text":"TemporaryFile(/tmp/multipartBody389080269385284065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799783311,"filename":"image_22112025_09_19_31_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f450af5c4401f94d4bf6481e6463ccd4.jpg","text":"TemporaryFile(/tmp/multipartBody8673675212443258798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799783311,"filename":"image_22112025_09_19_37_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0268ee93b4c41127e22af428111006b9.jpg","text":"TemporaryFile(/tmp/multipartBody8043890407964849062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799783311,"filename":"image_22112025_09_19_28_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4009be278cda3df8001a91e703b70ea.jpg","text":"TemporaryFile(/tmp/multipartBody1457778445850731822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799783311,"filename":"image_22112025_09_19_22_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395685956","file1":"1395685921","file0":"1395685886","file4":"1395686020","file5":"1395686055","file3":"1395685989"},"map_files_photo_id_array":[{"photo_id":"1395686055","filename":"file5"},{"photo_id":"1395685956","filename":"file2"},{"photo_id":"1395686020","filename":"file4"},{"photo_id":"1395685921","filename":"file1"},{"photo_id":"1395685886","filename":"file0"},{"photo_id":"1395685989","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395686020":["hashtag1","hashtag2"]},{"1395685921":["hashtag1","hashtag2"]},{"1395685989":["hashtag1","hashtag2"]},{"1395686055":["hashtag1","hashtag2"]},{"1395685956":["hashtag1","hashtag2"]},{"1395685886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395686020, 1395685921, 1395685989, 1395686055, 1395685956, 1395685886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78169345855713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:22:42.082864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_40_2619.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_43_2995.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_46_3652.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_49_2731.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_52_2636.jpg', '/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_55_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_40_2619.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_43_2995.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_46_3652.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_49_2731.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_52_2636.jpg
/home/pi/Desktop/images/22112025/09/19/image_22112025_09_19_55_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395686306","1395686236","1395686271","1395686301","1395686195","1395686303"],"photo_ids_order":["1395686195","1395686236","1395686271","1395686301","1395686303","1395686306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25c94cbd8ce4503ceb1d2b743187f2b1.jpg","text":"TemporaryFile(/tmp/multipartBody364769832477236459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799822769,"filename":"image_22112025_09_19_55_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6353c2049a4aaf10c45c37f8f4c68bc.jpg","text":"TemporaryFile(/tmp/multipartBody3958193632946240948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799822769,"filename":"image_22112025_09_19_43_2995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5c24395beb6025601ab377837ed4d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3847399069351308974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799822769,"filename":"image_22112025_09_19_46_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33f983321749619cffdf206d074e7649.jpg","text":"TemporaryFile(/tmp/multipartBody9041011984791015619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799822769,"filename":"image_22112025_09_19_49_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/359c0cf0ff61200c05ab6c17e4c4304a.jpg","text":"TemporaryFile(/tmp/multipartBody8787340589036300281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799822769,"filename":"image_22112025_09_19_40_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/218e92c3d4d6ae6fe35de0b71d7ef497.jpg","text":"TemporaryFile(/tmp/multipartBody7482911456321328257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799822769,"filename":"image_22112025_09_19_52_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395686271","file1":"1395686236","file0":"1395686195","file4":"1395686303","file5":"1395686306","file3":"1395686301"},"map_files_photo_id_array":[{"photo_id":"1395686306","filename":"file5"},{"photo_id":"1395686271","filename":"file2"},{"photo_id":"1395686303","filename":"file4"},{"photo_id":"1395686236","filename":"file1"},{"photo_id":"1395686195","filename":"file0"},{"photo_id":"1395686301","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395686306":["hashtag1","hashtag2"]},{"1395686236":["hashtag1","hashtag2"]},{"1395686271":["hashtag1","hashtag2"]},{"1395686301":["hashtag1","hashtag2"]},{"1395686195":["hashtag1","hashtag2"]},{"1395686303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395686306, 1395686236, 1395686271, 1395686301, 1395686195, 1395686303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.747143507003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:23:22.373844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_11_3569.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_13_2516.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_17_3587.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_19_2540.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_23_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_07_3011.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_11_3569.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_13_2516.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_17_3587.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_19_2540.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_23_3558.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6347103118896484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:23:42.277825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_11_3569.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_13_2516.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_17_3587.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_19_2540.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_23_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_07_3011.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_11_3569.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_13_2516.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_17_3587.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_19_2540.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_23_3558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395686818","1395686889","1395686670","1395686937","1395686754","1395686709"],"photo_ids_order":["1395686670","1395686709","1395686754","1395686818","1395686889","1395686937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc0b5168e0f824f071a0aea8d91df98e.jpg","text":"TemporaryFile(/tmp/multipartBody1552150104855856942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799882963,"filename":"image_22112025_09_21_17_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ccd1f15033a26e8242c97f004d6bbb9.jpg","text":"TemporaryFile(/tmp/multipartBody924163804406516323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799882963,"filename":"image_22112025_09_21_19_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c002bafd3515f4da5918dfd40aca857.jpg","text":"TemporaryFile(/tmp/multipartBody6307677794657693312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799882963,"filename":"image_22112025_09_21_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ba16bf326d9dd4052e558fbba7051ea.jpg","text":"TemporaryFile(/tmp/multipartBody8760574810853012143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799882963,"filename":"image_22112025_09_21_23_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fe4c9e857a490e22b3c1b1bbc2d122c.jpg","text":"TemporaryFile(/tmp/multipartBody2598222965925982600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799882963,"filename":"image_22112025_09_21_13_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d87a99899a2f27746622ce7c52b606b8.jpg","text":"TemporaryFile(/tmp/multipartBody8791017871415960859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799882963,"filename":"image_22112025_09_21_11_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395686754","file1":"1395686709","file0":"1395686670","file4":"1395686889","file5":"1395686937","file3":"1395686818"},"map_files_photo_id_array":[{"photo_id":"1395686937","filename":"file5"},{"photo_id":"1395686754","filename":"file2"},{"photo_id":"1395686889","filename":"file4"},{"photo_id":"1395686709","filename":"file1"},{"photo_id":"1395686670","filename":"file0"},{"photo_id":"1395686818","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395686818":["hashtag1","hashtag2"]},{"1395686889":["hashtag1","hashtag2"]},{"1395686670":["hashtag1","hashtag2"]},{"1395686937":["hashtag1","hashtag2"]},{"1395686754":["hashtag1","hashtag2"]},{"1395686709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395686818, 1395686889, 1395686670, 1395686937, 1395686754, 1395686709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.993775606155396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:24:22.600635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_25_2656.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_28_2563.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_32_3765.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_34_2670.jpg', '/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_37_2759.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_25_2656.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_28_2563.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_32_3765.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_34_2670.jpg
/home/pi/Desktop/images/22112025/09/21/image_22112025_09_21_37_2759.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687019","1395686977","1395687034","1395687036","1395687076","1395687064"],"photo_ids_order":["1395686977","1395687019","1395687034","1395687036","1395687064","1395687076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/317216f984a7e2a355bc4fd4b19064f0.jpg","text":"TemporaryFile(/tmp/multipartBody4325253371002556674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799923306,"filename":"image_22112025_09_21_28_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2113e6080991fd4b54687efbc94fcaf2.jpg","text":"TemporaryFile(/tmp/multipartBody1209515077823822261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799923306,"filename":"image_22112025_09_21_25_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31c87653e36475cf6ce9cf5cd5947d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4013098191272299432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799923306,"filename":"image_22112025_09_21_32_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19b61550aec56e1664c1b02bbf931041.jpg","text":"TemporaryFile(/tmp/multipartBody8322266727810519636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799923306,"filename":"image_22112025_09_21_34_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cc7e31ef35c0856e55dbab35ffc40c7.jpg","text":"TemporaryFile(/tmp/multipartBody4612597799965763084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799923306,"filename":"image_22112025_09_23_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/225660d73aec5aa33b79b2cd3e69dda5.jpg","text":"TemporaryFile(/tmp/multipartBody6969150706068726255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799923306,"filename":"image_22112025_09_21_37_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687034","file1":"1395687019","file0":"1395686977","file4":"1395687064","file5":"1395687076","file3":"1395687036"},"map_files_photo_id_array":[{"photo_id":"1395687076","filename":"file5"},{"photo_id":"1395687034","filename":"file2"},{"photo_id":"1395687064","filename":"file4"},{"photo_id":"1395687019","filename":"file1"},{"photo_id":"1395686977","filename":"file0"},{"photo_id":"1395687036","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687019":["hashtag1","hashtag2"]},{"1395686977":["hashtag1","hashtag2"]},{"1395687034":["hashtag1","hashtag2"]},{"1395687036":["hashtag1","hashtag2"]},{"1395687076":["hashtag1","hashtag2"]},{"1395687064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687019, 1395686977, 1395687034, 1395687036, 1395687076, 1395687064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96565532684326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:25:03.282981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_10_3678.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_13_2548.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_16_2783.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_19_3642.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_22_2507.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_25_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_10_3678.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_13_2548.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_16_2783.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_19_3642.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_22_2507.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_25_2878.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687139","1395687141","1395687144","1395687140","1395687137","1395687142"],"photo_ids_order":["1395687137","1395687139","1395687140","1395687141","1395687142","1395687144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db78075eb79736a5eb3f83264d736eec.jpg","text":"TemporaryFile(/tmp/multipartBody6057246131749395325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799964052,"filename":"image_22112025_09_23_13_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/561e5446af1deeedd693fa024c3888af.jpg","text":"TemporaryFile(/tmp/multipartBody7176151247182943930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799964052,"filename":"image_22112025_09_23_19_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/866ea4292427be7b7bf6df96cf39048c.jpg","text":"TemporaryFile(/tmp/multipartBody2000047507073362264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799964052,"filename":"image_22112025_09_23_25_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5a7150d756c54de7942ac96badecbfd.jpg","text":"TemporaryFile(/tmp/multipartBody519953242658547571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799964052,"filename":"image_22112025_09_23_16_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf80f52ff664a1a033e449748f1231ae.jpg","text":"TemporaryFile(/tmp/multipartBody3477213075587071765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799964052,"filename":"image_22112025_09_23_10_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dd34804b5dbcb8110516116d00e5eeb.jpg","text":"TemporaryFile(/tmp/multipartBody6324734696339228353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763799964052,"filename":"image_22112025_09_23_22_2507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687140","file1":"1395687139","file0":"1395687137","file4":"1395687142","file5":"1395687144","file3":"1395687141"},"map_files_photo_id_array":[{"photo_id":"1395687144","filename":"file5"},{"photo_id":"1395687140","filename":"file2"},{"photo_id":"1395687142","filename":"file4"},{"photo_id":"1395687139","filename":"file1"},{"photo_id":"1395687137","filename":"file0"},{"photo_id":"1395687141","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687139":["hashtag1","hashtag2"]},{"1395687141":["hashtag1","hashtag2"]},{"1395687144":["hashtag1","hashtag2"]},{"1395687140":["hashtag1","hashtag2"]},{"1395687137":["hashtag1","hashtag2"]},{"1395687142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687139, 1395687141, 1395687144, 1395687140, 1395687137, 1395687142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35326099395752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:25:42.521480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_28_3595.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_31_2619.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_34_2787.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_37_3615.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_40_2652.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_42_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_28_3595.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_31_2619.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_34_2787.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_37_3615.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_40_2652.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_42_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687153","1395687156","1395687150","1395687155","1395687154","1395687157"],"photo_ids_order":["1395687150","1395687153","1395687154","1395687155","1395687156","1395687157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db1cbd2df7b231ad06cbdbed71de9b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3784466783321482046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800003195,"filename":"image_22112025_09_23_31_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bbe7a70c07438831acea661abba78ac.jpg","text":"TemporaryFile(/tmp/multipartBody769791331230604878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800003195,"filename":"image_22112025_09_23_40_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6955975583d496a1499b50fe007fe06e.jpg","text":"TemporaryFile(/tmp/multipartBody4845269320547826157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800003195,"filename":"image_22112025_09_23_28_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d9c2c7b45b37fe1c710c3220b4cb026.jpg","text":"TemporaryFile(/tmp/multipartBody2581581377926557919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800003195,"filename":"image_22112025_09_23_37_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bb6b7c859f7aa4016fa019f7476c51d.jpg","text":"TemporaryFile(/tmp/multipartBody4070061410249785218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800003195,"filename":"image_22112025_09_23_34_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74368ecff7b8af5266f95dcacda183ac.jpg","text":"TemporaryFile(/tmp/multipartBody7713722561725251675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800003195,"filename":"image_22112025_09_23_42_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687154","file1":"1395687153","file0":"1395687150","file4":"1395687156","file5":"1395687157","file3":"1395687155"},"map_files_photo_id_array":[{"photo_id":"1395687157","filename":"file5"},{"photo_id":"1395687154","filename":"file2"},{"photo_id":"1395687156","filename":"file4"},{"photo_id":"1395687153","filename":"file1"},{"photo_id":"1395687150","filename":"file0"},{"photo_id":"1395687155","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687153":["hashtag1","hashtag2"]},{"1395687156":["hashtag1","hashtag2"]},{"1395687150":["hashtag1","hashtag2"]},{"1395687155":["hashtag1","hashtag2"]},{"1395687154":["hashtag1","hashtag2"]},{"1395687157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687153, 1395687156, 1395687150, 1395687155, 1395687154, 1395687157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.742207050323486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:26:22.678537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_46_3650.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_49_2749.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_52_2665.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_55_3781.jpg', '/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_58_2589.jpg', '/home/pi/Desktop/images/22112025/09/24/image_22112025_09_24_01_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_46_3650.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_49_2749.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_52_2665.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_55_3781.jpg
/home/pi/Desktop/images/22112025/09/23/image_22112025_09_23_58_2589.jpg
/home/pi/Desktop/images/22112025/09/24/image_22112025_09_24_01_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687189","1395687159","1395687164","1395687167","1395687161","1395687163"],"photo_ids_order":["1395687159","1395687161","1395687163","1395687164","1395687167","1395687189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eaf2ec26e83cca776da423352374a3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2229412783556658981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800043365,"filename":"image_22112025_09_24_01_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d0e0459f338a219615f039c09c07b8a.jpg","text":"TemporaryFile(/tmp/multipartBody2387084015879975479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800043365,"filename":"image_22112025_09_23_46_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/698ce832aee4a5c1002c0c0373f4197c.jpg","text":"TemporaryFile(/tmp/multipartBody2450953095544708805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800043365,"filename":"image_22112025_09_23_55_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/006b39fe6c69e7a84e375c2de365fa79.jpg","text":"TemporaryFile(/tmp/multipartBody6865113084839841164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800043365,"filename":"image_22112025_09_23_58_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acf97cad6a25795a3f4a7e690222363e.jpg","text":"TemporaryFile(/tmp/multipartBody2127929037957103980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800043365,"filename":"image_22112025_09_23_49_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52b6e77845d2f9150a88a6e3960b3727.jpg","text":"TemporaryFile(/tmp/multipartBody9102331393994286661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800043365,"filename":"image_22112025_09_23_52_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687163","file1":"1395687161","file0":"1395687159","file4":"1395687167","file5":"1395687189","file3":"1395687164"},"map_files_photo_id_array":[{"photo_id":"1395687189","filename":"file5"},{"photo_id":"1395687163","filename":"file2"},{"photo_id":"1395687167","filename":"file4"},{"photo_id":"1395687161","filename":"file1"},{"photo_id":"1395687159","filename":"file0"},{"photo_id":"1395687164","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687189":["hashtag1","hashtag2"]},{"1395687159":["hashtag1","hashtag2"]},{"1395687164":["hashtag1","hashtag2"]},{"1395687167":["hashtag1","hashtag2"]},{"1395687161":["hashtag1","hashtag2"]},{"1395687163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687189, 1395687159, 1395687164, 1395687167, 1395687161, 1395687163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.664382457733154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:27:02.681407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_07_3020.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_11_3546.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_13_2912.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_16_2643.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_20_3671.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_23_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_07_3020.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_11_3546.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_13_2912.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_16_2643.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_20_3671.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_23_2784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687363","1395687327","1395687467","1395687398","1395687506","1395687433"],"photo_ids_order":["1395687327","1395687363","1395687398","1395687433","1395687467","1395687506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dbe4061d200360b61b47112245418ed.jpg","text":"TemporaryFile(/tmp/multipartBody7355577094962227493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800083443,"filename":"image_22112025_09_25_11_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7010df1d792bae4d1e83a83693f1d1bd.jpg","text":"TemporaryFile(/tmp/multipartBody543909499895011335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800083443,"filename":"image_22112025_09_25_07_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c319a74ba7c5af913b2ded3cac8a8865.jpg","text":"TemporaryFile(/tmp/multipartBody6533219211915266267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800083443,"filename":"image_22112025_09_25_20_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbed8cda131f10303dfd3aa48f9547a8.jpg","text":"TemporaryFile(/tmp/multipartBody4765172521668447951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800083443,"filename":"image_22112025_09_25_13_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fe876483261c5ba9ba55b26c5ee56a1.jpg","text":"TemporaryFile(/tmp/multipartBody7632584247657778180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800083443,"filename":"image_22112025_09_25_23_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de15745883ffb23b037a1a7645ab19fd.jpg","text":"TemporaryFile(/tmp/multipartBody8469290402140808524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800083443,"filename":"image_22112025_09_25_16_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687398","file1":"1395687363","file0":"1395687327","file4":"1395687467","file5":"1395687506","file3":"1395687433"},"map_files_photo_id_array":[{"photo_id":"1395687506","filename":"file5"},{"photo_id":"1395687398","filename":"file2"},{"photo_id":"1395687467","filename":"file4"},{"photo_id":"1395687363","filename":"file1"},{"photo_id":"1395687327","filename":"file0"},{"photo_id":"1395687433","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687363":["hashtag1","hashtag2"]},{"1395687327":["hashtag1","hashtag2"]},{"1395687467":["hashtag1","hashtag2"]},{"1395687398":["hashtag1","hashtag2"]},{"1395687506":["hashtag1","hashtag2"]},{"1395687433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687363, 1395687327, 1395687467, 1395687398, 1395687506, 1395687433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.509917974472046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:27:41.970659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_25_2575.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_29_3660.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_31_2530.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_34_2644.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_38_3596.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_40_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_25_2575.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_29_3660.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_31_2530.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_34_2644.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_38_3596.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_40_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687672","1395687636","1395687738","1395687737","1395687707","1395687739"],"photo_ids_order":["1395687636","1395687672","1395687707","1395687737","1395687738","1395687739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd5a290d9143e770a831721777e18644.jpg","text":"TemporaryFile(/tmp/multipartBody3620925291229849618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800122648,"filename":"image_22112025_09_25_29_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d593e37722da122e149606cbac0cccd2.jpg","text":"TemporaryFile(/tmp/multipartBody7574302527465918361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800122648,"filename":"image_22112025_09_25_25_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4e4f9b4b9b7f5a7a4636361b8553157.jpg","text":"TemporaryFile(/tmp/multipartBody6349118837943521218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800122648,"filename":"image_22112025_09_25_38_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28f281a01a54549b5bfc6ac286347868.jpg","text":"TemporaryFile(/tmp/multipartBody4653747821165660880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800122648,"filename":"image_22112025_09_25_34_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bb4950c7ba3bd7deec0523ee3ef715b.jpg","text":"TemporaryFile(/tmp/multipartBody1776653058036963006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800122648,"filename":"image_22112025_09_25_31_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dee868c779e3cfdb5416835957fee194.jpg","text":"TemporaryFile(/tmp/multipartBody8568414690569132102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800122648,"filename":"image_22112025_09_25_40_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687707","file1":"1395687672","file0":"1395687636","file4":"1395687738","file5":"1395687739","file3":"1395687737"},"map_files_photo_id_array":[{"photo_id":"1395687739","filename":"file5"},{"photo_id":"1395687707","filename":"file2"},{"photo_id":"1395687738","filename":"file4"},{"photo_id":"1395687672","filename":"file1"},{"photo_id":"1395687636","filename":"file0"},{"photo_id":"1395687737","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687672":["hashtag1","hashtag2"]},{"1395687636":["hashtag1","hashtag2"]},{"1395687738":["hashtag1","hashtag2"]},{"1395687737":["hashtag1","hashtag2"]},{"1395687707":["hashtag1","hashtag2"]},{"1395687739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687672, 1395687636, 1395687738, 1395687737, 1395687707, 1395687739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22426152229309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:28:22.173279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_44_3595.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_46_2708.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_49_2816.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_52_2716.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_56_3623.jpg', '/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_58_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_44_3595.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_46_2708.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_49_2816.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_52_2716.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_56_3623.jpg
/home/pi/Desktop/images/22112025/09/25/image_22112025_09_25_58_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687837","1395687896","1395687878","1395687872","1395687824","1395687823"],"photo_ids_order":["1395687823","1395687824","1395687837","1395687872","1395687878","1395687896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdb7a1d01f56458bd61c8409c5e6928f.jpg","text":"TemporaryFile(/tmp/multipartBody1137643432165665312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800162853,"filename":"image_22112025_09_25_49_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96bed244222976d9f0eae805c77a6b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5181877679548714114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800162853,"filename":"image_22112025_09_25_58_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0300464c98f0a0476b24faa8b299219e.jpg","text":"TemporaryFile(/tmp/multipartBody5219403099624598668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800162853,"filename":"image_22112025_09_25_56_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bf579ae238bf9060401aedff17f86e5.jpg","text":"TemporaryFile(/tmp/multipartBody5723345184045462020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800162853,"filename":"image_22112025_09_25_52_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b48411c8fa694b3061310a6c459247e6.jpg","text":"TemporaryFile(/tmp/multipartBody5242249682044364660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800162853,"filename":"image_22112025_09_25_46_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9b4832c659cd2d117262778dbd2faeb.jpg","text":"TemporaryFile(/tmp/multipartBody4557059157633891540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800162853,"filename":"image_22112025_09_25_44_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687837","file1":"1395687824","file0":"1395687823","file4":"1395687878","file5":"1395687896","file3":"1395687872"},"map_files_photo_id_array":[{"photo_id":"1395687896","filename":"file5"},{"photo_id":"1395687837","filename":"file2"},{"photo_id":"1395687878","filename":"file4"},{"photo_id":"1395687824","filename":"file1"},{"photo_id":"1395687823","filename":"file0"},{"photo_id":"1395687872","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687837":["hashtag1","hashtag2"]},{"1395687896":["hashtag1","hashtag2"]},{"1395687878":["hashtag1","hashtag2"]},{"1395687872":["hashtag1","hashtag2"]},{"1395687824":["hashtag1","hashtag2"]},{"1395687823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687837, 1395687896, 1395687878, 1395687872, 1395687824, 1395687823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55281162261963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:29:03.362130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_11_3564.jpg', '/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_13_2609.jpg', '/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_17_3726.jpg', '/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_20_2832.jpg', '/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_22_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_07_3011.jpg
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_11_3564.jpg
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_13_2609.jpg
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_17_3726.jpg
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_20_2832.jpg
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_22_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687907","1395687912","1395687906","1395687908","1395687902","1395687905"],"photo_ids_order":["1395687902","1395687905","1395687906","1395687907","1395687908","1395687912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60374a04dcf039abe3d0c9a9162bcc61.jpg","text":"TemporaryFile(/tmp/multipartBody6126415437957292169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800205066,"filename":"image_22112025_09_27_17_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3529d11bf7dc69458606dcb94db86d59.jpg","text":"TemporaryFile(/tmp/multipartBody2957508713497679788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800205066,"filename":"image_22112025_09_27_22_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad17fdf85a9d9ceefc4177bfa33bfb3f.jpg","text":"TemporaryFile(/tmp/multipartBody5050839413429554621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800205066,"filename":"image_22112025_09_27_13_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7591bfd8b5ceb5a69d1fbcc6dac162f4.jpg","text":"TemporaryFile(/tmp/multipartBody1408268408402213396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800205066,"filename":"image_22112025_09_27_20_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c835a1bee1e5cc3f538702d1f46a8d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8389036950641658097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800205066,"filename":"image_22112025_09_27_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ca426aa04c480087dd4e8d40096ab64.jpg","text":"TemporaryFile(/tmp/multipartBody8148289304718750439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800205066,"filename":"image_22112025_09_27_11_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687906","file1":"1395687905","file0":"1395687902","file4":"1395687908","file5":"1395687912","file3":"1395687907"},"map_files_photo_id_array":[{"photo_id":"1395687912","filename":"file5"},{"photo_id":"1395687906","filename":"file2"},{"photo_id":"1395687908","filename":"file4"},{"photo_id":"1395687905","filename":"file1"},{"photo_id":"1395687902","filename":"file0"},{"photo_id":"1395687907","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687907":["hashtag1","hashtag2"]},{"1395687912":["hashtag1","hashtag2"]},{"1395687906":["hashtag1","hashtag2"]},{"1395687908":["hashtag1","hashtag2"]},{"1395687902":["hashtag1","hashtag2"]},{"1395687905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687907, 1395687912, 1395687906, 1395687908, 1395687902, 1395687905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18275189399719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:29:42.648584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_25_2683.jpg', '/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_29_3832.jpg', '/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_31_2702.jpg', '/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_34_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_25_2683.jpg
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_29_3832.jpg
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_31_2702.jpg
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_34_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687916","1395687921","1395687920","1395687922"],"photo_ids_order":["1395687916","1395687920","1395687921","1395687922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ba0c3a3965a39e4911842e413289cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7432735039023589812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800243267,"filename":"image_22112025_09_27_25_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f54f8e0cdd697be3be31b31175f21417.jpg","text":"TemporaryFile(/tmp/multipartBody1674271266874047416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800243267,"filename":"image_22112025_09_27_31_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88f6876c43db3d2e4ef53c78e6dc282e.jpg","text":"TemporaryFile(/tmp/multipartBody2704133300947917373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800243267,"filename":"image_22112025_09_27_29_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50decce5991b4aef2b43ca42af01ea54.jpg","text":"TemporaryFile(/tmp/multipartBody6091665271019654436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800243267,"filename":"image_22112025_09_27_34_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687921","file1":"1395687920","file0":"1395687916","file3":"1395687922"},"map_files_photo_id_array":[{"photo_id":"1395687921","filename":"file2"},{"photo_id":"1395687920","filename":"file1"},{"photo_id":"1395687916","filename":"file0"},{"photo_id":"1395687922","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687916":["hashtag1","hashtag2"]},{"1395687921":["hashtag1","hashtag2"]},{"1395687920":["hashtag1","hashtag2"]},{"1395687922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687916, 1395687921, 1395687920, 1395687922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.040977001190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:30:21.950638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_38_3637.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_06_3012.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_10_3647.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_13_2954.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_16_2683.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_19_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/27/image_22112025_09_27_38_3637.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_06_3012.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_10_3647.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_13_2954.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_16_2683.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_19_2771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395687934","1395687939","1395687930","1395687932","1395687940","1395687937"],"photo_ids_order":["1395687930","1395687932","1395687934","1395687937","1395687939","1395687940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fd44f866b630ec98314b912aee1d4fd.jpg","text":"TemporaryFile(/tmp/multipartBody2946461607323299593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800282662,"filename":"image_22112025_09_29_10_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52bb95f49d54386f3a5f2bb2c131d4be.jpg","text":"TemporaryFile(/tmp/multipartBody7136679797077672774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800282662,"filename":"image_22112025_09_29_16_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/917e3919ee2f097e980aeb0d7bb0a2f8.jpg","text":"TemporaryFile(/tmp/multipartBody2163646668160785976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800282662,"filename":"image_22112025_09_27_38_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80ee177b27c2e668a470494941cc15cf.jpg","text":"TemporaryFile(/tmp/multipartBody8239967292804324993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800282662,"filename":"image_22112025_09_29_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4af068cbb97d0c609743e1ddfa03517b.jpg","text":"TemporaryFile(/tmp/multipartBody167170639187745238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800282662,"filename":"image_22112025_09_29_19_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7613e9b4b39a0e8fca2d6ce67416589d.jpg","text":"TemporaryFile(/tmp/multipartBody8740391934075819193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800282662,"filename":"image_22112025_09_29_13_2954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395687934","file1":"1395687932","file0":"1395687930","file4":"1395687939","file5":"1395687940","file3":"1395687937"},"map_files_photo_id_array":[{"photo_id":"1395687940","filename":"file5"},{"photo_id":"1395687934","filename":"file2"},{"photo_id":"1395687939","filename":"file4"},{"photo_id":"1395687932","filename":"file1"},{"photo_id":"1395687930","filename":"file0"},{"photo_id":"1395687937","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395687934":["hashtag1","hashtag2"]},{"1395687939":["hashtag1","hashtag2"]},{"1395687930":["hashtag1","hashtag2"]},{"1395687932":["hashtag1","hashtag2"]},{"1395687940":["hashtag1","hashtag2"]},{"1395687937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395687934, 1395687939, 1395687930, 1395687932, 1395687940, 1395687937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68174505233765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:31:02.763431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_22_3577.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_25_2627.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_28_3587.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_31_2587.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_34_2671.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_37_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_22_3577.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_25_2627.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_28_3587.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_31_2587.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_34_2671.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_37_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395688152","1395688116","1395688002","1395688082","1395687959","1395688048"],"photo_ids_order":["1395687959","1395688002","1395688048","1395688082","1395688116","1395688152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4df55b84ab96ffcc7796930330884d8.jpg","text":"TemporaryFile(/tmp/multipartBody6290330810972277000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800323555,"filename":"image_22112025_09_29_37_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d90f3398b22a719121f5d2ffb5702c23.jpg","text":"TemporaryFile(/tmp/multipartBody7509817433055239395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800323555,"filename":"image_22112025_09_29_34_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/880649760a095f68df7b7c80bc766b06.jpg","text":"TemporaryFile(/tmp/multipartBody1679111454822600738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800323555,"filename":"image_22112025_09_29_25_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a499131f6d61ba5724d50ddc71f93bc.jpg","text":"TemporaryFile(/tmp/multipartBody5712456756515387012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800323555,"filename":"image_22112025_09_29_31_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/718e9df7f603085ed5a1fb4332e338ea.jpg","text":"TemporaryFile(/tmp/multipartBody3956964738491440727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800323555,"filename":"image_22112025_09_29_22_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51e614ee80ca3ee7bdc73afa7d087595.jpg","text":"TemporaryFile(/tmp/multipartBody6163543363015246088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800323555,"filename":"image_22112025_09_29_28_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395688048","file1":"1395688002","file0":"1395687959","file4":"1395688116","file5":"1395688152","file3":"1395688082"},"map_files_photo_id_array":[{"photo_id":"1395688152","filename":"file5"},{"photo_id":"1395688048","filename":"file2"},{"photo_id":"1395688116","filename":"file4"},{"photo_id":"1395688002","filename":"file1"},{"photo_id":"1395687959","filename":"file0"},{"photo_id":"1395688082","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395688152":["hashtag1","hashtag2"]},{"1395688116":["hashtag1","hashtag2"]},{"1395688002":["hashtag1","hashtag2"]},{"1395688082":["hashtag1","hashtag2"]},{"1395687959":["hashtag1","hashtag2"]},{"1395688048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395688152, 1395688116, 1395688002, 1395688082, 1395687959, 1395688048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87929940223694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:31:42.102686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_40_2528.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_43_3603.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_46_2513.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_48_2505.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_52_3620.jpg', '/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_55_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_40_2528.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_43_3603.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_46_2513.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_48_2505.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_52_3620.jpg
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_55_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395688461","1395688425","1395688320","1395688357","1395688285","1395688392"],"photo_ids_order":["1395688285","1395688320","1395688357","1395688392","1395688425","1395688461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fcbeadda0598443f7fbebd891816197.jpg","text":"TemporaryFile(/tmp/multipartBody2937277195993603620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800362782,"filename":"image_22112025_09_29_55_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/495e0828f5f84d284e122abb809d1ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8684967070579378584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800362782,"filename":"image_22112025_09_29_52_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4119e1faf6eb7dde00eca2fe726f4e46.jpg","text":"TemporaryFile(/tmp/multipartBody4263649426667543888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800362782,"filename":"image_22112025_09_29_43_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8da144700fcbe7534bc23e106302069d.jpg","text":"TemporaryFile(/tmp/multipartBody1834377803713080042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800362782,"filename":"image_22112025_09_29_46_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c27144f8a304d7f52f010521b5101da1.jpg","text":"TemporaryFile(/tmp/multipartBody8868835468677665803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800362782,"filename":"image_22112025_09_29_40_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82a6805dcfe595235d41cd0869d4b5f8.jpg","text":"TemporaryFile(/tmp/multipartBody3270102980497807325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800362782,"filename":"image_22112025_09_29_48_2505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395688357","file1":"1395688320","file0":"1395688285","file4":"1395688425","file5":"1395688461","file3":"1395688392"},"map_files_photo_id_array":[{"photo_id":"1395688461","filename":"file5"},{"photo_id":"1395688357","filename":"file2"},{"photo_id":"1395688425","filename":"file4"},{"photo_id":"1395688320","filename":"file1"},{"photo_id":"1395688285","filename":"file0"},{"photo_id":"1395688392","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395688461":["hashtag1","hashtag2"]},{"1395688425":["hashtag1","hashtag2"]},{"1395688320":["hashtag1","hashtag2"]},{"1395688357":["hashtag1","hashtag2"]},{"1395688285":["hashtag1","hashtag2"]},{"1395688392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395688461, 1395688425, 1395688320, 1395688357, 1395688285, 1395688392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06369400024414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:32:22.395395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_57_2661.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_06_3012.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_10_3545.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_12_2586.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_15_2889.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_19_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/29/image_22112025_09_29_57_2661.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_06_3012.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_10_3545.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_12_2586.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_15_2889.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_19_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395688641","1395688719","1395688792","1395688604","1395688756","1395688678"],"photo_ids_order":["1395688604","1395688641","1395688678","1395688719","1395688756","1395688792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8044ebcee7f2b98c347e0e68f2adfc04.jpg","text":"TemporaryFile(/tmp/multipartBody1151647616581358521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800403105,"filename":"image_22112025_09_31_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f1e9f9fba10d4efe60c5f3c438147fb.jpg","text":"TemporaryFile(/tmp/multipartBody578564479663488451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800403105,"filename":"image_22112025_09_31_12_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b77974facdac9c48537eb5fd9976c9a.jpg","text":"TemporaryFile(/tmp/multipartBody4034744111235438763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800403105,"filename":"image_22112025_09_31_19_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a94018a18c2aa6eae62c41f8dc2a4a5.jpg","text":"TemporaryFile(/tmp/multipartBody5367238723663170437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800403105,"filename":"image_22112025_09_29_57_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a1ba8b51fee93087751c498e612c9c2.jpg","text":"TemporaryFile(/tmp/multipartBody5415062891285907554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800403105,"filename":"image_22112025_09_31_15_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acfd8a97b1ffa307dc3e0c86af3a286e.jpg","text":"TemporaryFile(/tmp/multipartBody2261285139362275514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800403105,"filename":"image_22112025_09_31_10_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395688678","file1":"1395688641","file0":"1395688604","file4":"1395688756","file5":"1395688792","file3":"1395688719"},"map_files_photo_id_array":[{"photo_id":"1395688792","filename":"file5"},{"photo_id":"1395688678","filename":"file2"},{"photo_id":"1395688756","filename":"file4"},{"photo_id":"1395688641","filename":"file1"},{"photo_id":"1395688604","filename":"file0"},{"photo_id":"1395688719","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395688641":["hashtag1","hashtag2"]},{"1395688719":["hashtag1","hashtag2"]},{"1395688792":["hashtag1","hashtag2"]},{"1395688604":["hashtag1","hashtag2"]},{"1395688756":["hashtag1","hashtag2"]},{"1395688678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395688641, 1395688719, 1395688792, 1395688604, 1395688756, 1395688678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62640023231506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:33:02.781719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_21_2706.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_24_2656.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_28_3547.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_30_2533.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_34_3548.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_36_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_21_2706.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_24_2656.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_28_3547.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_30_2533.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_34_3548.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_36_2533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395688923","1395688922","1395688925","1395688927","1395688921","1395688924"],"photo_ids_order":["1395688921","1395688922","1395688923","1395688924","1395688925","1395688927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4678341ef6e0a731581f3d2238363255.jpg","text":"TemporaryFile(/tmp/multipartBody2862284736784810170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800443577,"filename":"image_22112025_09_31_28_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94339623f57b8f4a2d6c7309e5d75397.jpg","text":"TemporaryFile(/tmp/multipartBody2070150134823158551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800443577,"filename":"image_22112025_09_31_24_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3a3209bffbd51d0235f09ab5337361a.jpg","text":"TemporaryFile(/tmp/multipartBody708200222423430838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800443577,"filename":"image_22112025_09_31_34_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9040d5d21f560cdd49c57453d12cee4.jpg","text":"TemporaryFile(/tmp/multipartBody5232560790811726831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800443577,"filename":"image_22112025_09_31_36_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33b442963e0a8728e839bbb751e1a674.jpg","text":"TemporaryFile(/tmp/multipartBody7371096988260410868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800443577,"filename":"image_22112025_09_31_21_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23b58b1e7157d4ddd4cceb7897e1ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody2196466944814191099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800443577,"filename":"image_22112025_09_31_30_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395688923","file1":"1395688922","file0":"1395688921","file4":"1395688925","file5":"1395688927","file3":"1395688924"},"map_files_photo_id_array":[{"photo_id":"1395688927","filename":"file5"},{"photo_id":"1395688923","filename":"file2"},{"photo_id":"1395688925","filename":"file4"},{"photo_id":"1395688922","filename":"file1"},{"photo_id":"1395688921","filename":"file0"},{"photo_id":"1395688924","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395688923":["hashtag1","hashtag2"]},{"1395688922":["hashtag1","hashtag2"]},{"1395688925":["hashtag1","hashtag2"]},{"1395688927":["hashtag1","hashtag2"]},{"1395688921":["hashtag1","hashtag2"]},{"1395688924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395688923, 1395688922, 1395688925, 1395688927, 1395688921, 1395688924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82480001449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:33:42.095821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_39_2840.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_43_3752.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_46_2627.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_48_2560.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_52_3591.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_55_2961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_39_2840.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_43_3752.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_46_2627.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_48_2560.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_52_3591.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_55_2961.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689102","1395689126","1395689062","1395689047","1395689097","1395689043"],"photo_ids_order":["1395689043","1395689047","1395689062","1395689097","1395689102","1395689126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52efd3aa542e5019708bd8a595954d97.jpg","text":"TemporaryFile(/tmp/multipartBody3750666174493585336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800482776,"filename":"image_22112025_09_31_52_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18aec8bb407c52e301f36498325abdf6.jpg","text":"TemporaryFile(/tmp/multipartBody3773860852586064990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800482776,"filename":"image_22112025_09_31_55_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02c535831f99cb65dc0918bf75fca351.jpg","text":"TemporaryFile(/tmp/multipartBody3279625865110355618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800482776,"filename":"image_22112025_09_31_46_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4772af518d99f3ce7f027ff87b75755b.jpg","text":"TemporaryFile(/tmp/multipartBody1238233959636995362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800482776,"filename":"image_22112025_09_31_43_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc222defe339c345dfc2cf50f76c32ab.jpg","text":"TemporaryFile(/tmp/multipartBody1370191536970842175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800482776,"filename":"image_22112025_09_31_48_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bae2261c7dfc9d2669c14bd2d2c143c.jpg","text":"TemporaryFile(/tmp/multipartBody451002379872758969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800482776,"filename":"image_22112025_09_31_39_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689062","file1":"1395689047","file0":"1395689043","file4":"1395689102","file5":"1395689126","file3":"1395689097"},"map_files_photo_id_array":[{"photo_id":"1395689126","filename":"file5"},{"photo_id":"1395689062","filename":"file2"},{"photo_id":"1395689102","filename":"file4"},{"photo_id":"1395689047","filename":"file1"},{"photo_id":"1395689043","filename":"file0"},{"photo_id":"1395689097","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689102":["hashtag1","hashtag2"]},{"1395689126":["hashtag1","hashtag2"]},{"1395689062":["hashtag1","hashtag2"]},{"1395689047":["hashtag1","hashtag2"]},{"1395689097":["hashtag1","hashtag2"]},{"1395689043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689102, 1395689126, 1395689062, 1395689047, 1395689097, 1395689043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23570942878723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:34:22.438570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_57_2577.jpg', '/home/pi/Desktop/images/22112025/09/31/image_22112025_09_32_01_3598.jpg', '/home/pi/Desktop/images/22112025/09/32/image_22112025_09_32_03_2601.jpg', '/home/pi/Desktop/images/22112025/09/32/image_22112025_09_32_06_2626.jpg', '/home/pi/Desktop/images/22112025/09/32/image_22112025_09_32_10_3666.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_31_57_2577.jpg
/home/pi/Desktop/images/22112025/09/31/image_22112025_09_32_01_3598.jpg
/home/pi/Desktop/images/22112025/09/32/image_22112025_09_32_03_2601.jpg
/home/pi/Desktop/images/22112025/09/32/image_22112025_09_32_06_2626.jpg
/home/pi/Desktop/images/22112025/09/32/image_22112025_09_32_10_3666.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689145","1395689139","1395689141","1395689150","1395689143","1395689146"],"photo_ids_order":["1395689139","1395689141","1395689143","1395689145","1395689146","1395689150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ff1ad05c5c2f14b059a490021aee867.jpg","text":"TemporaryFile(/tmp/multipartBody3375484230599576464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800523119,"filename":"image_22112025_09_32_06_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26fc741dac589850086421193cf14b00.jpg","text":"TemporaryFile(/tmp/multipartBody4099419798962754292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800523119,"filename":"image_22112025_09_31_57_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c46c0082b9b12d1da7f427c84c1e34df.jpg","text":"TemporaryFile(/tmp/multipartBody8389027047359725760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800523119,"filename":"image_22112025_09_32_01_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4edfbbf27436a36daa3643aa0c0be349.jpg","text":"TemporaryFile(/tmp/multipartBody2827690359461851972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800523119,"filename":"image_22112025_09_33_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/003dbd41abac1ac9c911e7c3002b36a3.jpg","text":"TemporaryFile(/tmp/multipartBody2170761878276233974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800523119,"filename":"image_22112025_09_32_03_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d6edafd4354fa140d0fa1ebec84c2e3.jpg","text":"TemporaryFile(/tmp/multipartBody3972515624672516222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800523119,"filename":"image_22112025_09_32_10_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689143","file1":"1395689141","file0":"1395689139","file4":"1395689146","file5":"1395689150","file3":"1395689145"},"map_files_photo_id_array":[{"photo_id":"1395689150","filename":"file5"},{"photo_id":"1395689143","filename":"file2"},{"photo_id":"1395689146","filename":"file4"},{"photo_id":"1395689141","filename":"file1"},{"photo_id":"1395689139","filename":"file0"},{"photo_id":"1395689145","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689145":["hashtag1","hashtag2"]},{"1395689139":["hashtag1","hashtag2"]},{"1395689141":["hashtag1","hashtag2"]},{"1395689150":["hashtag1","hashtag2"]},{"1395689143":["hashtag1","hashtag2"]},{"1395689146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689145, 1395689139, 1395689141, 1395689150, 1395689143, 1395689146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54509615898132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:35:02.881186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_10_3577.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_13_2645.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_16_3628.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_19_2537.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_22_2618.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_25_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_10_3577.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_13_2645.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_16_3628.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_19_2537.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_22_2618.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_25_3717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689177","1395689179","1395689172","1395689181","1395689175","1395689178"],"photo_ids_order":["1395689172","1395689175","1395689177","1395689178","1395689179","1395689181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d385c31f97a7714b2936f9c0b72f24e4.jpg","text":"TemporaryFile(/tmp/multipartBody4885430158965418349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800563729,"filename":"image_22112025_09_33_16_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5bd125651e7160ddb075e560d03f352.jpg","text":"TemporaryFile(/tmp/multipartBody6078263350482704878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800563729,"filename":"image_22112025_09_33_22_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53741c3020c63642362f7f153ed63d82.jpg","text":"TemporaryFile(/tmp/multipartBody8273202249517456241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800563729,"filename":"image_22112025_09_33_10_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9caa3b19a797d921ee40216e80b1c6d7.jpg","text":"TemporaryFile(/tmp/multipartBody7301207703348625347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800563729,"filename":"image_22112025_09_33_25_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2be5507d0f34206921b9be1f4c58235.jpg","text":"TemporaryFile(/tmp/multipartBody4089933327982165554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800563729,"filename":"image_22112025_09_33_13_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/557990c52bf0b64db000fd67ecdbfd09.jpg","text":"TemporaryFile(/tmp/multipartBody5874146708572984417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800563729,"filename":"image_22112025_09_33_19_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689177","file1":"1395689175","file0":"1395689172","file4":"1395689179","file5":"1395689181","file3":"1395689178"},"map_files_photo_id_array":[{"photo_id":"1395689181","filename":"file5"},{"photo_id":"1395689177","filename":"file2"},{"photo_id":"1395689179","filename":"file4"},{"photo_id":"1395689175","filename":"file1"},{"photo_id":"1395689172","filename":"file0"},{"photo_id":"1395689178","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689177":["hashtag1","hashtag2"]},{"1395689179":["hashtag1","hashtag2"]},{"1395689172":["hashtag1","hashtag2"]},{"1395689181":["hashtag1","hashtag2"]},{"1395689175":["hashtag1","hashtag2"]},{"1395689178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689177, 1395689179, 1395689172, 1395689181, 1395689175, 1395689178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.711952686309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:35:42.333042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_28_2581.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_31_2692.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_34_3579.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_37_2754.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_40_2793.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_43_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_28_2581.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_31_2692.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_34_3579.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_37_2754.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_40_2793.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_43_3600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5965116024017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:36:02.918039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_28_2581.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_31_2692.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_34_3579.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_37_2754.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_40_2793.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_43_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_28_2581.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_31_2692.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_34_3579.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_37_2754.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_40_2793.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_43_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689205","1395689208","1395689192","1395689204","1395689206","1395689200"],"photo_ids_order":["1395689192","1395689200","1395689204","1395689205","1395689206","1395689208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d32babfc90e708a78c689371593c4731.jpg","text":"TemporaryFile(/tmp/multipartBody4436324675674835998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800623677,"filename":"image_22112025_09_33_37_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8853758effb22dec9145f04381179cc4.jpg","text":"TemporaryFile(/tmp/multipartBody360907235604095550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800623677,"filename":"image_22112025_09_33_43_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e9b503a6782fc7aa88f126cb7af3d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7577487565662865694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800623677,"filename":"image_22112025_09_33_28_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/792668070de0c40acbc49a74c0735b45.jpg","text":"TemporaryFile(/tmp/multipartBody2101732268957812697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800623677,"filename":"image_22112025_09_33_34_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ca3b004fdb16a07dacfce73e81ac623.jpg","text":"TemporaryFile(/tmp/multipartBody4701556164851248851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800623677,"filename":"image_22112025_09_33_40_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd1695ff4a106d3cb2c95c2a3153cbbf.jpg","text":"TemporaryFile(/tmp/multipartBody4858880235533690118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800623677,"filename":"image_22112025_09_33_31_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689204","file1":"1395689200","file0":"1395689192","file4":"1395689206","file5":"1395689208","file3":"1395689205"},"map_files_photo_id_array":[{"photo_id":"1395689208","filename":"file5"},{"photo_id":"1395689204","filename":"file2"},{"photo_id":"1395689206","filename":"file4"},{"photo_id":"1395689200","filename":"file1"},{"photo_id":"1395689192","filename":"file0"},{"photo_id":"1395689205","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689205":["hashtag1","hashtag2"]},{"1395689208":["hashtag1","hashtag2"]},{"1395689192":["hashtag1","hashtag2"]},{"1395689204":["hashtag1","hashtag2"]},{"1395689206":["hashtag1","hashtag2"]},{"1395689200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689205, 1395689208, 1395689192, 1395689204, 1395689206, 1395689200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40591526031494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:36:42.556308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_46_2579.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_50_3603.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_52_2823.jpg', '/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_55_2703.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_10_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_46_2579.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_50_3603.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_52_2823.jpg
/home/pi/Desktop/images/22112025/09/33/image_22112025_09_33_55_2703.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_07_3011.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_10_3537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689217","1395689220","1395689214","1395689216","1395689219","1395689218"],"photo_ids_order":["1395689214","1395689216","1395689217","1395689218","1395689219","1395689220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b68d99dd5004338f2f2246e16945e9d.jpg","text":"TemporaryFile(/tmp/multipartBody9118690297567192427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800663255,"filename":"image_22112025_09_33_52_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e317aa090d3dca035d518815569c8ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3448900262231031407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800663255,"filename":"image_22112025_09_35_10_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a65675e183449c59e6e9d15d476058be.jpg","text":"TemporaryFile(/tmp/multipartBody8714175032193907227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800663255,"filename":"image_22112025_09_33_46_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b72ca0990066572adc529b51b23dec9.jpg","text":"TemporaryFile(/tmp/multipartBody8297031539513563584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800663255,"filename":"image_22112025_09_33_50_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b572a83e3486fd4ed8f924c6c0a9d750.jpg","text":"TemporaryFile(/tmp/multipartBody6420030773629492186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800663255,"filename":"image_22112025_09_35_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d36a22f69ab447a24bb252832402f3c.jpg","text":"TemporaryFile(/tmp/multipartBody372566760137355692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800663255,"filename":"image_22112025_09_33_55_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689217","file1":"1395689216","file0":"1395689214","file4":"1395689219","file5":"1395689220","file3":"1395689218"},"map_files_photo_id_array":[{"photo_id":"1395689220","filename":"file5"},{"photo_id":"1395689217","filename":"file2"},{"photo_id":"1395689219","filename":"file4"},{"photo_id":"1395689216","filename":"file1"},{"photo_id":"1395689214","filename":"file0"},{"photo_id":"1395689218","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689217":["hashtag1","hashtag2"]},{"1395689220":["hashtag1","hashtag2"]},{"1395689214":["hashtag1","hashtag2"]},{"1395689216":["hashtag1","hashtag2"]},{"1395689219":["hashtag1","hashtag2"]},{"1395689218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689217, 1395689220, 1395689214, 1395689216, 1395689219, 1395689218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7503936290741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:37:21.954427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_13_2601.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_17_3629.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_19_2590.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_22_2717.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_26_3675.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_28_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_13_2601.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_17_3629.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_19_2590.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_22_2717.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_26_3675.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_28_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689223","1395689226","1395689228","1395689230","1395689233","1395689221"],"photo_ids_order":["1395689221","1395689223","1395689226","1395689228","1395689230","1395689233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38c002328028eb327547af360125b7f1.jpg","text":"TemporaryFile(/tmp/multipartBody8800119229807016406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800702667,"filename":"image_22112025_09_35_17_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/181a959d7c887647b5069919a1c578ff.jpg","text":"TemporaryFile(/tmp/multipartBody7955726671577383997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800702667,"filename":"image_22112025_09_35_19_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76c9115f1e8f8a95098074f5df19d097.jpg","text":"TemporaryFile(/tmp/multipartBody4705904847797168373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800702667,"filename":"image_22112025_09_35_22_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8179b4fffd05c5354ee639ce309bf979.jpg","text":"TemporaryFile(/tmp/multipartBody367852293478147411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800702667,"filename":"image_22112025_09_35_26_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f2af30d6c13ccc4448e229515c2424f.jpg","text":"TemporaryFile(/tmp/multipartBody350128199798867102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800702667,"filename":"image_22112025_09_35_28_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1107117f7dd4647ba7cb83f0db0d8ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5361719616887410146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800702667,"filename":"image_22112025_09_35_13_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689226","file1":"1395689223","file0":"1395689221","file4":"1395689230","file5":"1395689233","file3":"1395689228"},"map_files_photo_id_array":[{"photo_id":"1395689233","filename":"file5"},{"photo_id":"1395689226","filename":"file2"},{"photo_id":"1395689230","filename":"file4"},{"photo_id":"1395689223","filename":"file1"},{"photo_id":"1395689221","filename":"file0"},{"photo_id":"1395689228","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689223":["hashtag1","hashtag2"]},{"1395689226":["hashtag1","hashtag2"]},{"1395689228":["hashtag1","hashtag2"]},{"1395689230":["hashtag1","hashtag2"]},{"1395689233":["hashtag1","hashtag2"]},{"1395689221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689223, 1395689226, 1395689228, 1395689230, 1395689233, 1395689221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.488226652145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:38:02.748429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_31_2617.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_35_3708.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_37_2743.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_40_2728.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_11_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_31_2617.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_35_3708.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_37_2743.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_40_2728.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_07_3011.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_11_3630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6078145503997803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:38:22.232408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_31_2617.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_35_3708.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_37_2743.jpg', '/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_40_2728.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_11_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_31_2617.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_35_3708.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_37_2743.jpg
/home/pi/Desktop/images/22112025/09/35/image_22112025_09_35_40_2728.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_07_3011.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_11_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689249","1395689260","1395689263","1395689242","1395689245","1395689241"],"photo_ids_order":["1395689241","1395689242","1395689245","1395689249","1395689260","1395689263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0229600890c5934fd3ea1aa1a6941fc.jpg","text":"TemporaryFile(/tmp/multipartBody2790623808231333008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800762914,"filename":"image_22112025_09_35_40_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce479263d7d79c8c9122cc451174cf01.jpg","text":"TemporaryFile(/tmp/multipartBody8129572646307846185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800762914,"filename":"image_22112025_09_37_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf612889f04bc9e93da10d751a9d8ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7381036421276516535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800762914,"filename":"image_22112025_09_37_11_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c171f25252ce928e4cb04478117f9cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5932644963191201138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800762914,"filename":"image_22112025_09_35_35_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a6bec535578f690a89449458d1efce5.jpg","text":"TemporaryFile(/tmp/multipartBody2128753340640766404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800762914,"filename":"image_22112025_09_35_37_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/165603d2680724047a6fc028a7fcbb72.jpg","text":"TemporaryFile(/tmp/multipartBody4835648535518968722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800762914,"filename":"image_22112025_09_35_31_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689245","file1":"1395689242","file0":"1395689241","file4":"1395689260","file5":"1395689263","file3":"1395689249"},"map_files_photo_id_array":[{"photo_id":"1395689263","filename":"file5"},{"photo_id":"1395689245","filename":"file2"},{"photo_id":"1395689260","filename":"file4"},{"photo_id":"1395689242","filename":"file1"},{"photo_id":"1395689241","filename":"file0"},{"photo_id":"1395689249","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689249":["hashtag1","hashtag2"]},{"1395689260":["hashtag1","hashtag2"]},{"1395689263":["hashtag1","hashtag2"]},{"1395689242":["hashtag1","hashtag2"]},{"1395689245":["hashtag1","hashtag2"]},{"1395689241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689249, 1395689260, 1395689263, 1395689242, 1395689245, 1395689241)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.88675093650818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:39:22.482827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_13_2604.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_17_3682.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_20_2707.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_22_2621.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_26_3623.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_29_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_13_2604.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_17_3682.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_20_2707.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_22_2621.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_26_3623.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_29_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689265","1395689276","1395689273","1395689267","1395689269","1395689271"],"photo_ids_order":["1395689265","1395689267","1395689269","1395689271","1395689273","1395689276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92d182ba0ae53ccf90bcb49772da6038.jpg","text":"TemporaryFile(/tmp/multipartBody9177903583887232290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800823189,"filename":"image_22112025_09_37_13_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37110c857bc77acc9665f2c083d76336.jpg","text":"TemporaryFile(/tmp/multipartBody5643670087617780598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800823189,"filename":"image_22112025_09_37_29_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f95e0479db18ce32690008efbef3c1c7.jpg","text":"TemporaryFile(/tmp/multipartBody1133290549513420072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800823189,"filename":"image_22112025_09_37_26_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/845d67ac191225d074da81a11fba2a01.jpg","text":"TemporaryFile(/tmp/multipartBody4895183946835093657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800823189,"filename":"image_22112025_09_37_17_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe10e0c3ab51408c2b791a716564de89.jpg","text":"TemporaryFile(/tmp/multipartBody6378418396762021298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800823189,"filename":"image_22112025_09_37_20_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ad333dafc838244a4029eba9555fd15.jpg","text":"TemporaryFile(/tmp/multipartBody2301789288580792567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800823189,"filename":"image_22112025_09_37_22_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689269","file1":"1395689267","file0":"1395689265","file4":"1395689273","file5":"1395689276","file3":"1395689271"},"map_files_photo_id_array":[{"photo_id":"1395689276","filename":"file5"},{"photo_id":"1395689269","filename":"file2"},{"photo_id":"1395689273","filename":"file4"},{"photo_id":"1395689267","filename":"file1"},{"photo_id":"1395689265","filename":"file0"},{"photo_id":"1395689271","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689265":["hashtag1","hashtag2"]},{"1395689276":["hashtag1","hashtag2"]},{"1395689273":["hashtag1","hashtag2"]},{"1395689267":["hashtag1","hashtag2"]},{"1395689269":["hashtag1","hashtag2"]},{"1395689271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689265, 1395689276, 1395689273, 1395689267, 1395689269, 1395689271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26948356628418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:40:03.111590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_31_2627.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_35_3558.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_38_2854.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_40_2617.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_44_3766.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_47_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_31_2627.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_35_3558.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_38_2854.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_40_2617.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_44_3766.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_47_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689282","1395689279","1395689281","1395689284","1395689278","1395689280"],"photo_ids_order":["1395689278","1395689279","1395689280","1395689281","1395689282","1395689284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cb5bf904018dc2723a266bd259db08a.jpg","text":"TemporaryFile(/tmp/multipartBody3401084955474002711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800863854,"filename":"image_22112025_09_37_44_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e3bd509235d6c5364b2d5038af2f638.jpg","text":"TemporaryFile(/tmp/multipartBody722155787776517437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800863854,"filename":"image_22112025_09_37_35_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79060548ed396edcda65d0fd9083c7a3.jpg","text":"TemporaryFile(/tmp/multipartBody8883397654703859724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800863854,"filename":"image_22112025_09_37_40_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83e14cc3be9496efaa99bb197d5e6b02.jpg","text":"TemporaryFile(/tmp/multipartBody1618777526141746765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800863854,"filename":"image_22112025_09_37_47_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e6c1c904bbb8ff25d69d3225929eadc.jpg","text":"TemporaryFile(/tmp/multipartBody5143159496158201966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800863854,"filename":"image_22112025_09_37_31_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/396a2ed2f727a9a867cb3902fb930d34.jpg","text":"TemporaryFile(/tmp/multipartBody7332916147821208641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800863854,"filename":"image_22112025_09_37_38_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689280","file1":"1395689279","file0":"1395689278","file4":"1395689282","file5":"1395689284","file3":"1395689281"},"map_files_photo_id_array":[{"photo_id":"1395689284","filename":"file5"},{"photo_id":"1395689280","filename":"file2"},{"photo_id":"1395689282","filename":"file4"},{"photo_id":"1395689279","filename":"file1"},{"photo_id":"1395689278","filename":"file0"},{"photo_id":"1395689281","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689282":["hashtag1","hashtag2"]},{"1395689279":["hashtag1","hashtag2"]},{"1395689281":["hashtag1","hashtag2"]},{"1395689284":["hashtag1","hashtag2"]},{"1395689278":["hashtag1","hashtag2"]},{"1395689280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689282, 1395689279, 1395689281, 1395689284, 1395689278, 1395689280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23181772232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:40:42.554212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_49_2736.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_52_2636.jpg', '/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_56_3636.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_10_3729.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_13_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_49_2736.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_52_2636.jpg
/home/pi/Desktop/images/22112025/09/37/image_22112025_09_37_56_3636.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_07_3011.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_10_3729.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_13_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689294","1395689293","1395689296","1395689292","1395689295","1395689289"],"photo_ids_order":["1395689289","1395689292","1395689293","1395689294","1395689295","1395689296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c9a8f2c59d42ff3566bcdaa9a403463.jpg","text":"TemporaryFile(/tmp/multipartBody7461781765398270278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800903278,"filename":"image_22112025_09_39_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47fe70e1e21537cbe969695d36c8d2ef.jpg","text":"TemporaryFile(/tmp/multipartBody1754982401900758963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800903278,"filename":"image_22112025_09_37_56_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51fe4692d47d5410b0fe020673737388.jpg","text":"TemporaryFile(/tmp/multipartBody502065038425757902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800903278,"filename":"image_22112025_09_39_13_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/254c6039996a45476455ea159602465c.jpg","text":"TemporaryFile(/tmp/multipartBody4049550419817298794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800903278,"filename":"image_22112025_09_37_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/739dee409dcc19c34e0f8660ad292199.jpg","text":"TemporaryFile(/tmp/multipartBody5260857777627532167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800903278,"filename":"image_22112025_09_39_10_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a62b1b5a7e5232a1e251a56a66951a2d.jpg","text":"TemporaryFile(/tmp/multipartBody9041520206367392072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800903278,"filename":"image_22112025_09_37_49_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689293","file1":"1395689292","file0":"1395689289","file4":"1395689295","file5":"1395689296","file3":"1395689294"},"map_files_photo_id_array":[{"photo_id":"1395689296","filename":"file5"},{"photo_id":"1395689293","filename":"file2"},{"photo_id":"1395689295","filename":"file4"},{"photo_id":"1395689292","filename":"file1"},{"photo_id":"1395689289","filename":"file0"},{"photo_id":"1395689294","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689294":["hashtag1","hashtag2"]},{"1395689293":["hashtag1","hashtag2"]},{"1395689296":["hashtag1","hashtag2"]},{"1395689292":["hashtag1","hashtag2"]},{"1395689295":["hashtag1","hashtag2"]},{"1395689289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689294, 1395689293, 1395689296, 1395689292, 1395689295, 1395689289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37785291671753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:41:22.794804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_16_3603.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_19_2597.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_22_2611.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_25_3690.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_28_2503.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_31_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_16_3603.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_19_2597.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_22_2611.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_25_3690.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_28_2503.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_31_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689304","1395689313","1395689342","1395689338","1395689311","1395689340"],"photo_ids_order":["1395689304","1395689311","1395689313","1395689338","1395689340","1395689342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58f8802beced2e3d386459a4733256bf.jpg","text":"TemporaryFile(/tmp/multipartBody8895765011610739865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800943487,"filename":"image_22112025_09_39_16_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a9752c741e4c9d3280853c2c30d8016.jpg","text":"TemporaryFile(/tmp/multipartBody753051411205911112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800943487,"filename":"image_22112025_09_39_22_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7acab387c8881ecd01b9ab148882c785.jpg","text":"TemporaryFile(/tmp/multipartBody7218621665520613796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800943487,"filename":"image_22112025_09_39_31_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba92a768f8b4825e959b0f97a3a1d927.jpg","text":"TemporaryFile(/tmp/multipartBody5730115024742277836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800943487,"filename":"image_22112025_09_39_25_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b779bdd905b0d1bb0f0410fd3c4f5f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3777072730939066068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800943487,"filename":"image_22112025_09_39_19_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc5e0d499e01664a62bb416ded01ae2c.jpg","text":"TemporaryFile(/tmp/multipartBody3609177412937193153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800943487,"filename":"image_22112025_09_39_28_2503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689313","file1":"1395689311","file0":"1395689304","file4":"1395689340","file5":"1395689342","file3":"1395689338"},"map_files_photo_id_array":[{"photo_id":"1395689342","filename":"file5"},{"photo_id":"1395689313","filename":"file2"},{"photo_id":"1395689340","filename":"file4"},{"photo_id":"1395689311","filename":"file1"},{"photo_id":"1395689304","filename":"file0"},{"photo_id":"1395689338","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689304":["hashtag1","hashtag2"]},{"1395689313":["hashtag1","hashtag2"]},{"1395689342":["hashtag1","hashtag2"]},{"1395689338":["hashtag1","hashtag2"]},{"1395689311":["hashtag1","hashtag2"]},{"1395689340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689304, 1395689313, 1395689342, 1395689338, 1395689311, 1395689340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.405879735946655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:42:02.572361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_34_3643.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_37_2691.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_40_2830.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_43_3586.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_46_2703.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_49_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_34_3643.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_37_2691.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_40_2830.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_43_3586.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_46_2703.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_49_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689351","1395689350","1395689353","1395689347","1395689352","1395689349"],"photo_ids_order":["1395689347","1395689349","1395689350","1395689351","1395689352","1395689353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fe8de31fd3e19dcab81f650151c290b.jpg","text":"TemporaryFile(/tmp/multipartBody7323788891796233041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800983289,"filename":"image_22112025_09_39_43_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48108bda3640cd05b33171167a2ba89f.jpg","text":"TemporaryFile(/tmp/multipartBody9146502186775682496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800983289,"filename":"image_22112025_09_39_40_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ab9adfa1783356990ea0559e989e686.jpg","text":"TemporaryFile(/tmp/multipartBody5474784305075939052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800983289,"filename":"image_22112025_09_39_49_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26ed5ac1f76c6c47af0d53de97a8ceda.jpg","text":"TemporaryFile(/tmp/multipartBody3645289928443358651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800983289,"filename":"image_22112025_09_39_34_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d1c8a87a413ced72b4b577656832477.jpg","text":"TemporaryFile(/tmp/multipartBody487191016197485571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800983289,"filename":"image_22112025_09_39_46_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/881c61a70b78f0edb5c9d2df1d7d1a4b.jpg","text":"TemporaryFile(/tmp/multipartBody6623948006019453966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763800983289,"filename":"image_22112025_09_39_37_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689350","file1":"1395689349","file0":"1395689347","file4":"1395689352","file5":"1395689353","file3":"1395689351"},"map_files_photo_id_array":[{"photo_id":"1395689353","filename":"file5"},{"photo_id":"1395689350","filename":"file2"},{"photo_id":"1395689352","filename":"file4"},{"photo_id":"1395689349","filename":"file1"},{"photo_id":"1395689347","filename":"file0"},{"photo_id":"1395689351","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689351":["hashtag1","hashtag2"]},{"1395689350":["hashtag1","hashtag2"]},{"1395689353":["hashtag1","hashtag2"]},{"1395689347":["hashtag1","hashtag2"]},{"1395689352":["hashtag1","hashtag2"]},{"1395689349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689351, 1395689350, 1395689353, 1395689347, 1395689352, 1395689349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02750611305237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:42:42.047949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_52_2722.jpg', '/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_55_3661.jpg', '/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_02_6456.jpg', '/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_05_2921.jpg', '/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_06_1657.jpg', '/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_08_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_52_2722.jpg
/home/pi/Desktop/images/22112025/09/39/image_22112025_09_39_55_3661.jpg
/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_02_6456.jpg
/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_05_2921.jpg
/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_06_1657.jpg
/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_08_1672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689358","1395689363","1395689369","1395689365","1395689367","1395689361"],"photo_ids_order":["1395689358","1395689361","1395689363","1395689365","1395689367","1395689369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d286e1942da5a8296c8ece36136abf55.jpg","text":"TemporaryFile(/tmp/multipartBody5530708660771346505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801022719,"filename":"image_22112025_09_39_52_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51dc990a66a76a8fc563d1f0621c868b.jpg","text":"TemporaryFile(/tmp/multipartBody118679136546428390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801022719,"filename":"image_22112025_09_40_02_6456.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fe420b4412080e33b99d4c13334131c.jpg","text":"TemporaryFile(/tmp/multipartBody7607964672814590519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801022719,"filename":"image_22112025_09_40_08_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/615e51f0d1027c59e9a02f4f0bd24e30.jpg","text":"TemporaryFile(/tmp/multipartBody7350427930967690915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801022719,"filename":"image_22112025_09_40_05_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25587d2ef73191c33f80a26f4b06d59f.jpg","text":"TemporaryFile(/tmp/multipartBody3707113527173277166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801022719,"filename":"image_22112025_09_40_06_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa06a44e7a3c046d255a30adb1c86f5f.jpg","text":"TemporaryFile(/tmp/multipartBody9193327339173719873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801022719,"filename":"image_22112025_09_39_55_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689363","file1":"1395689361","file0":"1395689358","file4":"1395689367","file5":"1395689369","file3":"1395689365"},"map_files_photo_id_array":[{"photo_id":"1395689369","filename":"file5"},{"photo_id":"1395689363","filename":"file2"},{"photo_id":"1395689367","filename":"file4"},{"photo_id":"1395689361","filename":"file1"},{"photo_id":"1395689358","filename":"file0"},{"photo_id":"1395689365","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689358":["hashtag1","hashtag2"]},{"1395689363":["hashtag1","hashtag2"]},{"1395689369":["hashtag1","hashtag2"]},{"1395689365":["hashtag1","hashtag2"]},{"1395689367":["hashtag1","hashtag2"]},{"1395689361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689358, 1395689363, 1395689369, 1395689365, 1395689367, 1395689361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72298836708069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:43:22.238652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_09_1539.jpg', '/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_13_3729.jpg', '/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_16_2610.jpg', '/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_18_2625.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_11_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_09_1539.jpg
/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_13_3729.jpg
/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_16_2610.jpg
/home/pi/Desktop/images/22112025/09/40/image_22112025_09_40_18_2625.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_07_3011.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_11_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689381","1395689378","1395689372","1395689374","1395689370","1395689376"],"photo_ids_order":["1395689370","1395689372","1395689374","1395689376","1395689378","1395689381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57fb0075d0c6c00237e0feee411f31ed.jpg","text":"TemporaryFile(/tmp/multipartBody6409197877600778794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801062906,"filename":"image_22112025_09_42_11_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04633874779c771269668649e4b20b29.jpg","text":"TemporaryFile(/tmp/multipartBody7352493120741747284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801062906,"filename":"image_22112025_09_42_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f775e441e5f0475de382aa902e489b5f.jpg","text":"TemporaryFile(/tmp/multipartBody7626216912236992877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801062906,"filename":"image_22112025_09_40_13_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd0907f769f12e5ff3e07266a2e97da4.jpg","text":"TemporaryFile(/tmp/multipartBody2917412162388537540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801062906,"filename":"image_22112025_09_40_16_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d93ddfb188bd7bfce938bbb1a8db1ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7988631550539327598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801062906,"filename":"image_22112025_09_40_09_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d34052b6fc3d21c7502a82dfa5484010.jpg","text":"TemporaryFile(/tmp/multipartBody181540316676961068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801062906,"filename":"image_22112025_09_40_18_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689374","file1":"1395689372","file0":"1395689370","file4":"1395689378","file5":"1395689381","file3":"1395689376"},"map_files_photo_id_array":[{"photo_id":"1395689381","filename":"file5"},{"photo_id":"1395689374","filename":"file2"},{"photo_id":"1395689378","filename":"file4"},{"photo_id":"1395689372","filename":"file1"},{"photo_id":"1395689370","filename":"file0"},{"photo_id":"1395689376","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689381":["hashtag1","hashtag2"]},{"1395689378":["hashtag1","hashtag2"]},{"1395689372":["hashtag1","hashtag2"]},{"1395689374":["hashtag1","hashtag2"]},{"1395689370":["hashtag1","hashtag2"]},{"1395689376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689381, 1395689378, 1395689372, 1395689374, 1395689370, 1395689376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63643002510071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:44:03.188059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_14_2587.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_17_3531.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_20_2623.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_22_2670.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_26_3556.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_29_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_14_2587.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_17_3531.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_20_2623.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_22_2670.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_26_3556.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_29_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689390","1395689384","1395689387","1395689392","1395689389","1395689388"],"photo_ids_order":["1395689384","1395689387","1395689388","1395689389","1395689390","1395689392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a69a6e4bebeabbc3a533cd5db0ec72a5.jpg","text":"TemporaryFile(/tmp/multipartBody5296049723491586462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801104051,"filename":"image_22112025_09_42_26_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b140e1db46e77ddc0b04c4856a600b1.jpg","text":"TemporaryFile(/tmp/multipartBody673345022879497726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801104051,"filename":"image_22112025_09_42_14_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a80393984a8694af31f967bd0aee4db.jpg","text":"TemporaryFile(/tmp/multipartBody7601644312284533653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801104051,"filename":"image_22112025_09_42_17_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e493f9aebf92838fcbff83f5667dc5f5.jpg","text":"TemporaryFile(/tmp/multipartBody8669376902002702133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801104051,"filename":"image_22112025_09_42_29_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46ace6291b3b9b859039a11fab60d2bc.jpg","text":"TemporaryFile(/tmp/multipartBody7451697631413347023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801104051,"filename":"image_22112025_09_42_22_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86e615de69b0b630f0afc08483ed96d3.jpg","text":"TemporaryFile(/tmp/multipartBody4450062269668340688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801104051,"filename":"image_22112025_09_42_20_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689388","file1":"1395689387","file0":"1395689384","file4":"1395689390","file5":"1395689392","file3":"1395689389"},"map_files_photo_id_array":[{"photo_id":"1395689392","filename":"file5"},{"photo_id":"1395689388","filename":"file2"},{"photo_id":"1395689390","filename":"file4"},{"photo_id":"1395689387","filename":"file1"},{"photo_id":"1395689384","filename":"file0"},{"photo_id":"1395689389","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689390":["hashtag1","hashtag2"]},{"1395689384":["hashtag1","hashtag2"]},{"1395689387":["hashtag1","hashtag2"]},{"1395689392":["hashtag1","hashtag2"]},{"1395689389":["hashtag1","hashtag2"]},{"1395689388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689390, 1395689384, 1395689387, 1395689392, 1395689389, 1395689388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.188698291778564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:44:42.497450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_31_2734.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_35_3707.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_38_2623.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_41_3577.jpg', '/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_44_2638.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_31_2734.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_35_3707.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_38_2623.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_41_3577.jpg
/home/pi/Desktop/images/22112025/09/42/image_22112025_09_42_44_2638.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689403","1395689399","1395689402","1395689405","1395689404","1395689401"],"photo_ids_order":["1395689399","1395689401","1395689402","1395689403","1395689404","1395689405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca74b18f0bc6a67574f8ffa75c0b044e.jpg","text":"TemporaryFile(/tmp/multipartBody6218487766392122917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801143175,"filename":"image_22112025_09_42_41_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8d2d8d2628b7e2651ec450b7c10f4f5.jpg","text":"TemporaryFile(/tmp/multipartBody4071438211347573476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801143175,"filename":"image_22112025_09_42_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7b4771ad737a7e65ddef79cc03e59d4.jpg","text":"TemporaryFile(/tmp/multipartBody7690881042502103065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801143175,"filename":"image_22112025_09_42_38_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d127ee31426767856107afe448959b2.jpg","text":"TemporaryFile(/tmp/multipartBody3761057791565014538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801143175,"filename":"image_22112025_09_44_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/404505da83afa26af5e534f2efb0d1f7.jpg","text":"TemporaryFile(/tmp/multipartBody7410995398352453687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801143175,"filename":"image_22112025_09_42_44_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f666617d09348ac4daf86d0fe9f3478.jpg","text":"TemporaryFile(/tmp/multipartBody8624202443410769234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801143175,"filename":"image_22112025_09_42_35_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689402","file1":"1395689401","file0":"1395689399","file4":"1395689404","file5":"1395689405","file3":"1395689403"},"map_files_photo_id_array":[{"photo_id":"1395689405","filename":"file5"},{"photo_id":"1395689402","filename":"file2"},{"photo_id":"1395689404","filename":"file4"},{"photo_id":"1395689401","filename":"file1"},{"photo_id":"1395689399","filename":"file0"},{"photo_id":"1395689403","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689403":["hashtag1","hashtag2"]},{"1395689399":["hashtag1","hashtag2"]},{"1395689402":["hashtag1","hashtag2"]},{"1395689405":["hashtag1","hashtag2"]},{"1395689404":["hashtag1","hashtag2"]},{"1395689401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689403, 1395689399, 1395689402, 1395689405, 1395689404, 1395689401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.362839698791504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:45:22.834443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_10_3665.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_13_2714.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_16_2747.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_19_3561.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_22_2669.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_25_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_10_3665.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_13_2714.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_16_2747.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_19_3561.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_22_2669.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_25_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689415","1395689412","1395689414","1395689408","1395689419","1395689410"],"photo_ids_order":["1395689408","1395689410","1395689412","1395689414","1395689415","1395689419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35dd0b5036d2e086b75b981db978332d.jpg","text":"TemporaryFile(/tmp/multipartBody3469520130613516528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801183507,"filename":"image_22112025_09_44_22_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc86e2ce798ce20a9d66c37af403b564.jpg","text":"TemporaryFile(/tmp/multipartBody86291060556323608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801183507,"filename":"image_22112025_09_44_16_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8554e2e4b67dd643eb107bfc5e56f148.jpg","text":"TemporaryFile(/tmp/multipartBody7709577703503563118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801183507,"filename":"image_22112025_09_44_19_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89dff7d55c647201d1773671186f2db6.jpg","text":"TemporaryFile(/tmp/multipartBody6550779341971586490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801183507,"filename":"image_22112025_09_44_10_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6822fe1a46f53c0e1ef648d74c0bab03.jpg","text":"TemporaryFile(/tmp/multipartBody8321157987091678244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801183507,"filename":"image_22112025_09_44_25_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/224253c85c7a6859f0c50dd2896622af.jpg","text":"TemporaryFile(/tmp/multipartBody2932985597773322661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801183507,"filename":"image_22112025_09_44_13_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689412","file1":"1395689410","file0":"1395689408","file4":"1395689415","file5":"1395689419","file3":"1395689414"},"map_files_photo_id_array":[{"photo_id":"1395689419","filename":"file5"},{"photo_id":"1395689412","filename":"file2"},{"photo_id":"1395689415","filename":"file4"},{"photo_id":"1395689410","filename":"file1"},{"photo_id":"1395689408","filename":"file0"},{"photo_id":"1395689414","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689415":["hashtag1","hashtag2"]},{"1395689412":["hashtag1","hashtag2"]},{"1395689414":["hashtag1","hashtag2"]},{"1395689408":["hashtag1","hashtag2"]},{"1395689419":["hashtag1","hashtag2"]},{"1395689410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689415, 1395689412, 1395689414, 1395689408, 1395689419, 1395689410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12684440612793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:46:02.482732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_28_3508.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_31_2609.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_34_2695.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_37_3524.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_40_2721.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_44_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_28_3508.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_31_2609.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_34_2695.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_37_3524.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_40_2721.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_44_3651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.600609302520752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:46:22.106976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_28_3508.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_31_2609.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_34_2695.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_37_3524.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_40_2721.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_44_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_28_3508.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_31_2609.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_34_2695.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_37_3524.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_40_2721.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_44_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689438","1395689435","1395689429","1395689431","1395689433","1395689427"],"photo_ids_order":["1395689427","1395689429","1395689431","1395689433","1395689435","1395689438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d1d89781cc522ad2048368f04b21d12.jpg","text":"TemporaryFile(/tmp/multipartBody9222308729896845527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801242803,"filename":"image_22112025_09_44_44_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f89424c6536caf747ea7e5cfe6f617a.jpg","text":"TemporaryFile(/tmp/multipartBody2530209808842879300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801242803,"filename":"image_22112025_09_44_40_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06246ea232ce6891d8561726f31a212d.jpg","text":"TemporaryFile(/tmp/multipartBody8482073277895513031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801242803,"filename":"image_22112025_09_44_31_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f26cfee421c641bba713c0f45b361cfa.jpg","text":"TemporaryFile(/tmp/multipartBody6729579690377213473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801242803,"filename":"image_22112025_09_44_34_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f42101184b4662ea1047af9f7dd291b4.jpg","text":"TemporaryFile(/tmp/multipartBody6593088800903427684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801242803,"filename":"image_22112025_09_44_37_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/deef6293c5490fd04d81afde056d55fd.jpg","text":"TemporaryFile(/tmp/multipartBody5946777419597589271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801242803,"filename":"image_22112025_09_44_28_3508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689431","file1":"1395689429","file0":"1395689427","file4":"1395689435","file5":"1395689438","file3":"1395689433"},"map_files_photo_id_array":[{"photo_id":"1395689438","filename":"file5"},{"photo_id":"1395689431","filename":"file2"},{"photo_id":"1395689435","filename":"file4"},{"photo_id":"1395689429","filename":"file1"},{"photo_id":"1395689427","filename":"file0"},{"photo_id":"1395689433","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689438":["hashtag1","hashtag2"]},{"1395689435":["hashtag1","hashtag2"]},{"1395689429":["hashtag1","hashtag2"]},{"1395689431":["hashtag1","hashtag2"]},{"1395689433":["hashtag1","hashtag2"]},{"1395689427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689438, 1395689435, 1395689429, 1395689431, 1395689433, 1395689427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41430425643921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:47:02.960420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_46_2612.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_49_2579.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_52_3651.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_55_2587.jpg', '/home/pi/Desktop/images/22112025/09/44/image_22112025_09_45_01_3698.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_46_2612.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_49_2579.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_52_3651.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_44_55_2587.jpg
/home/pi/Desktop/images/22112025/09/44/image_22112025_09_45_01_3698.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689442","1395689439","1395689441","1395689440","1395689443","1395689445"],"photo_ids_order":["1395689439","1395689440","1395689441","1395689442","1395689443","1395689445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86a257ffe01d1331a73d2460c299f28c.jpg","text":"TemporaryFile(/tmp/multipartBody8935029088702981730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801283756,"filename":"image_22112025_09_44_55_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23a68a3a858e321bac62ab758595390a.jpg","text":"TemporaryFile(/tmp/multipartBody7806752166331270052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801283756,"filename":"image_22112025_09_44_46_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dadfd55299fc40615153f16893041eea.jpg","text":"TemporaryFile(/tmp/multipartBody4385314354999111639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801283756,"filename":"image_22112025_09_44_52_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c5bb4e756319b5ec7be2d5ae4bc5a72.jpg","text":"TemporaryFile(/tmp/multipartBody897212851036167431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801283756,"filename":"image_22112025_09_44_49_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd5ada4170e9b5fb7cf784381f55daab.jpg","text":"TemporaryFile(/tmp/multipartBody619410668877788628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801283756,"filename":"image_22112025_09_45_01_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8436ac2683ced05af4d1b662e145e43d.jpg","text":"TemporaryFile(/tmp/multipartBody1734559281228364011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801283756,"filename":"image_22112025_09_46_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689441","file1":"1395689440","file0":"1395689439","file4":"1395689443","file5":"1395689445","file3":"1395689442"},"map_files_photo_id_array":[{"photo_id":"1395689445","filename":"file5"},{"photo_id":"1395689441","filename":"file2"},{"photo_id":"1395689443","filename":"file4"},{"photo_id":"1395689440","filename":"file1"},{"photo_id":"1395689439","filename":"file0"},{"photo_id":"1395689442","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689442":["hashtag1","hashtag2"]},{"1395689439":["hashtag1","hashtag2"]},{"1395689441":["hashtag1","hashtag2"]},{"1395689440":["hashtag1","hashtag2"]},{"1395689443":["hashtag1","hashtag2"]},{"1395689445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689442, 1395689439, 1395689441, 1395689440, 1395689443, 1395689445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28706431388855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:47:42.279910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_17_3535.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_25_2710.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_34_2614.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_38_3684.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_40_2644.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_44_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_17_3535.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_25_2710.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_34_2614.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_38_3684.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_40_2644.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_44_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689457","1395689462","1395689456","1395689455","1395689451","1395689454"],"photo_ids_order":["1395689451","1395689454","1395689455","1395689456","1395689457","1395689462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3ec89086b86e3aee886e97e4b9074d1.jpg","text":"TemporaryFile(/tmp/multipartBody4653314048635707085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801323021,"filename":"image_22112025_09_46_40_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ef0b8594aae917566dc3406bdbec5c4.jpg","text":"TemporaryFile(/tmp/multipartBody6631451986559883860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801323021,"filename":"image_22112025_09_46_44_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc7985588b5904e59b660ade5adb0579.jpg","text":"TemporaryFile(/tmp/multipartBody8916357317703835455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801323021,"filename":"image_22112025_09_46_38_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f3eec5b0fc18e6b1a6165cca1d4eb93.jpg","text":"TemporaryFile(/tmp/multipartBody8722795181125378235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801323021,"filename":"image_22112025_09_46_34_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f801323a94b3e606d045a9c440b2f7e.jpg","text":"TemporaryFile(/tmp/multipartBody5554298091887268692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801323021,"filename":"image_22112025_09_46_17_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/887ccf3cc1892190a71206914cec0496.jpg","text":"TemporaryFile(/tmp/multipartBody4502709531791191950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801323021,"filename":"image_22112025_09_46_25_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689455","file1":"1395689454","file0":"1395689451","file4":"1395689457","file5":"1395689462","file3":"1395689456"},"map_files_photo_id_array":[{"photo_id":"1395689462","filename":"file5"},{"photo_id":"1395689455","filename":"file2"},{"photo_id":"1395689457","filename":"file4"},{"photo_id":"1395689454","filename":"file1"},{"photo_id":"1395689451","filename":"file0"},{"photo_id":"1395689456","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689457":["hashtag1","hashtag2"]},{"1395689462":["hashtag1","hashtag2"]},{"1395689456":["hashtag1","hashtag2"]},{"1395689455":["hashtag1","hashtag2"]},{"1395689451":["hashtag1","hashtag2"]},{"1395689454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689457, 1395689462, 1395689456, 1395689455, 1395689451, 1395689454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83133268356323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:48:22.521026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_47_2674.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_49_2522.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_53_3706.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_56_2657.jpg', '/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_58_2682.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_47_2674.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_49_2522.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_53_3706.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_56_2657.jpg
/home/pi/Desktop/images/22112025/09/46/image_22112025_09_46_58_2682.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689471","1395689468","1395689464","1395689466","1395689475","1395689469"],"photo_ids_order":["1395689464","1395689466","1395689468","1395689469","1395689471","1395689475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d594b05cc4b53a18f6eca8d8c5ea39c8.jpg","text":"TemporaryFile(/tmp/multipartBody1859382205379245228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801363286,"filename":"image_22112025_09_46_58_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9230785a2adb1c3e4aa7e61556a09485.jpg","text":"TemporaryFile(/tmp/multipartBody1105642085226854518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801363286,"filename":"image_22112025_09_46_53_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/474a63c6cb63ae7a663355c0f64edc2e.jpg","text":"TemporaryFile(/tmp/multipartBody1837471745225429707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801363286,"filename":"image_22112025_09_46_47_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bbb4bb097e96a15877df82d941bd30f.jpg","text":"TemporaryFile(/tmp/multipartBody7428501783030659314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801363286,"filename":"image_22112025_09_46_49_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e3c84786f4cd4da229f3b516c624569.jpg","text":"TemporaryFile(/tmp/multipartBody7376782038388661181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801363286,"filename":"image_22112025_09_48_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89c7602e87199680b91641696df26c95.jpg","text":"TemporaryFile(/tmp/multipartBody6986196188479865081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801363286,"filename":"image_22112025_09_46_56_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689468","file1":"1395689466","file0":"1395689464","file4":"1395689471","file5":"1395689475","file3":"1395689469"},"map_files_photo_id_array":[{"photo_id":"1395689475","filename":"file5"},{"photo_id":"1395689468","filename":"file2"},{"photo_id":"1395689471","filename":"file4"},{"photo_id":"1395689466","filename":"file1"},{"photo_id":"1395689464","filename":"file0"},{"photo_id":"1395689469","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689471":["hashtag1","hashtag2"]},{"1395689468":["hashtag1","hashtag2"]},{"1395689464":["hashtag1","hashtag2"]},{"1395689466":["hashtag1","hashtag2"]},{"1395689475":["hashtag1","hashtag2"]},{"1395689469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689471, 1395689468, 1395689464, 1395689466, 1395689475, 1395689469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99925518035889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:49:03.677149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_11_3631.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_13_2690.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_17_3492.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_20_2655.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_22_2702.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_26_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_11_3631.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_13_2690.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_17_3492.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_20_2655.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_22_2702.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_26_3567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689480","1395689483","1395689486","1395689482","1395689481","1395689484"],"photo_ids_order":["1395689480","1395689481","1395689482","1395689483","1395689484","1395689486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a85290e7e8525c377552aca5b80766a6.jpg","text":"TemporaryFile(/tmp/multipartBody5107932245812734853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801404500,"filename":"image_22112025_09_48_11_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/affdbd3191be289060e133a38691925f.jpg","text":"TemporaryFile(/tmp/multipartBody2459007896824300637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801404500,"filename":"image_22112025_09_48_20_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37ba08104608a8f210577e2a46d277a2.jpg","text":"TemporaryFile(/tmp/multipartBody4808754278558010934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801404500,"filename":"image_22112025_09_48_26_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15e62bd2a6aa9602e2d14f1b90df876f.jpg","text":"TemporaryFile(/tmp/multipartBody2984419885117732826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801404500,"filename":"image_22112025_09_48_17_3492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b57b28e0413662df75e977d6baea5b5.jpg","text":"TemporaryFile(/tmp/multipartBody2377173037565537444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801404500,"filename":"image_22112025_09_48_13_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23e51990bbefb67d1130e12d8afe6728.jpg","text":"TemporaryFile(/tmp/multipartBody5970131275945938715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801404500,"filename":"image_22112025_09_48_22_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689482","file1":"1395689481","file0":"1395689480","file4":"1395689484","file5":"1395689486","file3":"1395689483"},"map_files_photo_id_array":[{"photo_id":"1395689486","filename":"file5"},{"photo_id":"1395689482","filename":"file2"},{"photo_id":"1395689484","filename":"file4"},{"photo_id":"1395689481","filename":"file1"},{"photo_id":"1395689480","filename":"file0"},{"photo_id":"1395689483","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689480":["hashtag1","hashtag2"]},{"1395689483":["hashtag1","hashtag2"]},{"1395689486":["hashtag1","hashtag2"]},{"1395689482":["hashtag1","hashtag2"]},{"1395689481":["hashtag1","hashtag2"]},{"1395689484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689480, 1395689483, 1395689486, 1395689482, 1395689481, 1395689484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21732783317566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:49:42.696401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_28_2655.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_35_3635.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_37_2635.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_40_2735.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_44_3613.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_46_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_28_2655.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_35_3635.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_37_2635.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_40_2735.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_44_3613.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_46_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689492","1395689495","1395689498","1395689491","1395689494","1395689496"],"photo_ids_order":["1395689491","1395689492","1395689494","1395689495","1395689496","1395689498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8e50ec3de3bd5334dcb1ebe5f975ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2848768145999334277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801443376,"filename":"image_22112025_09_48_35_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f9810a5debd8720a568aa98cd335eed.jpg","text":"TemporaryFile(/tmp/multipartBody155978047630996484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801443376,"filename":"image_22112025_09_48_40_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/853faff141ecdda8ffa604489ab71658.jpg","text":"TemporaryFile(/tmp/multipartBody4753079495229783718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801443376,"filename":"image_22112025_09_48_46_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0abb6bf7472391008a48f1b9cec67564.jpg","text":"TemporaryFile(/tmp/multipartBody2333659552577910055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801443376,"filename":"image_22112025_09_48_28_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/517a13279d2b4c2a2062a3e93b09cac7.jpg","text":"TemporaryFile(/tmp/multipartBody759720318520631000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801443376,"filename":"image_22112025_09_48_37_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/150d316b107196b169d61a9d459dd049.jpg","text":"TemporaryFile(/tmp/multipartBody2042704381734550810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801443376,"filename":"image_22112025_09_48_44_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689494","file1":"1395689492","file0":"1395689491","file4":"1395689496","file5":"1395689498","file3":"1395689495"},"map_files_photo_id_array":[{"photo_id":"1395689498","filename":"file5"},{"photo_id":"1395689494","filename":"file2"},{"photo_id":"1395689496","filename":"file4"},{"photo_id":"1395689492","filename":"file1"},{"photo_id":"1395689491","filename":"file0"},{"photo_id":"1395689495","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689492":["hashtag1","hashtag2"]},{"1395689495":["hashtag1","hashtag2"]},{"1395689498":["hashtag1","hashtag2"]},{"1395689491":["hashtag1","hashtag2"]},{"1395689494":["hashtag1","hashtag2"]},{"1395689496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689492, 1395689495, 1395689498, 1395689491, 1395689494, 1395689496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.321510314941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:50:21.958456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_49_2677.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_53_3568.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_55_2594.jpg', '/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_58_2664.jpg', '/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_02_3639.jpg', '/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_04_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_49_2677.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_53_3568.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_55_2594.jpg
/home/pi/Desktop/images/22112025/09/48/image_22112025_09_48_58_2664.jpg
/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_02_3639.jpg
/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_04_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689520","1395689517","1395689511","1395689505","1395689507","1395689509"],"photo_ids_order":["1395689505","1395689507","1395689509","1395689511","1395689517","1395689520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/214b4632eed7d36e956bcf980fa3893c.jpg","text":"TemporaryFile(/tmp/multipartBody3329209295584647279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801482667,"filename":"image_22112025_09_49_04_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/507a25ad8fc91f4b22bc8cfb4b4c672f.jpg","text":"TemporaryFile(/tmp/multipartBody4601676972896248178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801482667,"filename":"image_22112025_09_49_02_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adf0bfead31b79a60250fe0f8203577f.jpg","text":"TemporaryFile(/tmp/multipartBody8665084862328622696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801482667,"filename":"image_22112025_09_48_58_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf96901cbf832da7257c3ff49350a9c7.jpg","text":"TemporaryFile(/tmp/multipartBody568153314988018901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801482667,"filename":"image_22112025_09_48_49_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24372dfb7f8cee4b08d5bf9cbab599d5.jpg","text":"TemporaryFile(/tmp/multipartBody4180878381670742334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801482667,"filename":"image_22112025_09_48_53_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80e39d9117762b8ba5a0a68c14b45649.jpg","text":"TemporaryFile(/tmp/multipartBody3772223810498659727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801482667,"filename":"image_22112025_09_48_55_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689509","file1":"1395689507","file0":"1395689505","file4":"1395689517","file5":"1395689520","file3":"1395689511"},"map_files_photo_id_array":[{"photo_id":"1395689520","filename":"file5"},{"photo_id":"1395689509","filename":"file2"},{"photo_id":"1395689517","filename":"file4"},{"photo_id":"1395689507","filename":"file1"},{"photo_id":"1395689505","filename":"file0"},{"photo_id":"1395689511","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689520":["hashtag1","hashtag2"]},{"1395689517":["hashtag1","hashtag2"]},{"1395689511":["hashtag1","hashtag2"]},{"1395689505":["hashtag1","hashtag2"]},{"1395689507":["hashtag1","hashtag2"]},{"1395689509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689520, 1395689517, 1395689511, 1395689505, 1395689507, 1395689509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88775706291199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:51:02.853518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_07_2679.jpg', '/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_11_3569.jpg', '/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_13_2600.jpg', '/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_17_3568.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_08_3015.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_11_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_07_2679.jpg
/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_11_3569.jpg
/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_13_2600.jpg
/home/pi/Desktop/images/22112025/09/49/image_22112025_09_49_17_3568.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_08_3015.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_11_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689523","1395689525","1395689522","1395689521","1395689524","1395689527"],"photo_ids_order":["1395689521","1395689522","1395689523","1395689524","1395689525","1395689527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdccc89f6dff4525bf6fe6f0d2fe8c14.jpg","text":"TemporaryFile(/tmp/multipartBody1375962554045592582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801523620,"filename":"image_22112025_09_49_13_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b16a5cc67bd9c56e26779c18b7370a83.jpg","text":"TemporaryFile(/tmp/multipartBody3021153853338708223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801523620,"filename":"image_22112025_09_50_08_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/beda6d3837919856c56c1c96363dc37c.jpg","text":"TemporaryFile(/tmp/multipartBody1302925749627728734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801523620,"filename":"image_22112025_09_49_11_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f18b59e73757c46ee571734c277a735c.jpg","text":"TemporaryFile(/tmp/multipartBody7723122724382531533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801523620,"filename":"image_22112025_09_49_07_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79541df39b0276e8813c8e30efd3e9af.jpg","text":"TemporaryFile(/tmp/multipartBody5046623133967701929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801523620,"filename":"image_22112025_09_49_17_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3289ea6555b62b8e65b2103a59302272.jpg","text":"TemporaryFile(/tmp/multipartBody2921037021037441011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801523620,"filename":"image_22112025_09_50_11_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689523","file1":"1395689522","file0":"1395689521","file4":"1395689525","file5":"1395689527","file3":"1395689524"},"map_files_photo_id_array":[{"photo_id":"1395689527","filename":"file5"},{"photo_id":"1395689523","filename":"file2"},{"photo_id":"1395689525","filename":"file4"},{"photo_id":"1395689522","filename":"file1"},{"photo_id":"1395689521","filename":"file0"},{"photo_id":"1395689524","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689523":["hashtag1","hashtag2"]},{"1395689525":["hashtag1","hashtag2"]},{"1395689522":["hashtag1","hashtag2"]},{"1395689521":["hashtag1","hashtag2"]},{"1395689524":["hashtag1","hashtag2"]},{"1395689527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689523, 1395689525, 1395689522, 1395689521, 1395689524, 1395689527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.547473192214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:51:42.236253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_14_2572.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_17_2677.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_20_3582.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_27_3651.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_29_2712.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_32_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_14_2572.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_17_2677.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_20_3582.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_27_3651.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_29_2712.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_32_2533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689538","1395689537","1395689540","1395689536","1395689539","1395689533"],"photo_ids_order":["1395689533","1395689536","1395689537","1395689538","1395689539","1395689540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dea7b41e7fb3fa1c5600bf04406bce9.jpg","text":"TemporaryFile(/tmp/multipartBody541322587273669157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801562902,"filename":"image_22112025_09_50_27_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efdf3aea7a2b27ed5d2b5fd28f6548af.jpg","text":"TemporaryFile(/tmp/multipartBody7089324197654649093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801562902,"filename":"image_22112025_09_50_20_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0fbb970057216cf7260407996b4f9d03.jpg","text":"TemporaryFile(/tmp/multipartBody4992705232067495892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801562902,"filename":"image_22112025_09_50_32_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1da86ac7f87d8cab046304b82cb0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6711948650232904212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801562902,"filename":"image_22112025_09_50_17_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c1ad0e84edf89e1f7805e3bf2ca8842.jpg","text":"TemporaryFile(/tmp/multipartBody9183147938259976255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801562902,"filename":"image_22112025_09_50_29_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e066208240907a33a5f21858029b456.jpg","text":"TemporaryFile(/tmp/multipartBody7172316311120838819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801562902,"filename":"image_22112025_09_50_14_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689537","file1":"1395689536","file0":"1395689533","file4":"1395689539","file5":"1395689540","file3":"1395689538"},"map_files_photo_id_array":[{"photo_id":"1395689540","filename":"file5"},{"photo_id":"1395689537","filename":"file2"},{"photo_id":"1395689539","filename":"file4"},{"photo_id":"1395689536","filename":"file1"},{"photo_id":"1395689533","filename":"file0"},{"photo_id":"1395689538","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689538":["hashtag1","hashtag2"]},{"1395689537":["hashtag1","hashtag2"]},{"1395689540":["hashtag1","hashtag2"]},{"1395689536":["hashtag1","hashtag2"]},{"1395689539":["hashtag1","hashtag2"]},{"1395689533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689538, 1395689537, 1395689540, 1395689536, 1395689539, 1395689533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26128315925598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:52:22.424150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_36_3819.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_38_2658.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_41_2620.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_44_2739.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_47_3571.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_50_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_36_3819.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_38_2658.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_41_2620.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_44_2739.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_47_3571.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_50_2524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689541","1395689543","1395689549","1395689545","1395689553","1395689547"],"photo_ids_order":["1395689541","1395689543","1395689545","1395689547","1395689549","1395689553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcbbd3513ea1884a4729f669c9c80275.jpg","text":"TemporaryFile(/tmp/multipartBody5786973997412781367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801603129,"filename":"image_22112025_09_50_36_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89356278e4333e487ecbda470a1ee521.jpg","text":"TemporaryFile(/tmp/multipartBody1462589048867362938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801603129,"filename":"image_22112025_09_50_38_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a9b2e1c3a749256f2fc1cf4e24dac43.jpg","text":"TemporaryFile(/tmp/multipartBody7871488611045961948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801603129,"filename":"image_22112025_09_50_47_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98a333086bbb60902a2a6c7e68dac5eb.jpg","text":"TemporaryFile(/tmp/multipartBody4754371335567351598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801603129,"filename":"image_22112025_09_50_41_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b96d2ddbf0ad52864efe0aba195cb129.jpg","text":"TemporaryFile(/tmp/multipartBody6139638117760732831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801603129,"filename":"image_22112025_09_50_50_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ed2765234e38b40fc0f9578f466b62c.jpg","text":"TemporaryFile(/tmp/multipartBody7568217323465162726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801603129,"filename":"image_22112025_09_50_44_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689545","file1":"1395689543","file0":"1395689541","file4":"1395689549","file5":"1395689553","file3":"1395689547"},"map_files_photo_id_array":[{"photo_id":"1395689553","filename":"file5"},{"photo_id":"1395689545","filename":"file2"},{"photo_id":"1395689549","filename":"file4"},{"photo_id":"1395689543","filename":"file1"},{"photo_id":"1395689541","filename":"file0"},{"photo_id":"1395689547","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689541":["hashtag1","hashtag2"]},{"1395689543":["hashtag1","hashtag2"]},{"1395689549":["hashtag1","hashtag2"]},{"1395689545":["hashtag1","hashtag2"]},{"1395689553":["hashtag1","hashtag2"]},{"1395689547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689541, 1395689543, 1395689549, 1395689545, 1395689553, 1395689547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41998362541199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:53:03.363929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_53_3653.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_56_2603.jpg', '/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_59_2659.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_07_3012.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_10_2980.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_13_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_53_3653.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_56_2603.jpg
/home/pi/Desktop/images/22112025/09/50/image_22112025_09_50_59_2659.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_07_3012.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_10_2980.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_13_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689556","1395689555","1395689558","1395689560","1395689554","1395689557"],"photo_ids_order":["1395689554","1395689555","1395689556","1395689557","1395689558","1395689560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6748c0a35eb0a3f1fd52e539f953e2c4.jpg","text":"TemporaryFile(/tmp/multipartBody1436984344459211053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801644152,"filename":"image_22112025_09_50_59_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61b0bfe1c8ecf1c5d97c6ff3c529285a.jpg","text":"TemporaryFile(/tmp/multipartBody120206235744273847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801644152,"filename":"image_22112025_09_50_56_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/315b811e9366a1425b110e7391ee989e.jpg","text":"TemporaryFile(/tmp/multipartBody1106774656987870261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801644152,"filename":"image_22112025_09_52_10_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/447bc4899158b2f9017caea3f079809d.jpg","text":"TemporaryFile(/tmp/multipartBody7337639875129631895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801644152,"filename":"image_22112025_09_52_13_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b719915c7ad81daf3385a3fbbc1a1f7.jpg","text":"TemporaryFile(/tmp/multipartBody8937799385320155507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801644152,"filename":"image_22112025_09_50_53_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfebdc0f40040476a79407a8c966afc1.jpg","text":"TemporaryFile(/tmp/multipartBody8098082650166487581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801644152,"filename":"image_22112025_09_52_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689556","file1":"1395689555","file0":"1395689554","file4":"1395689558","file5":"1395689560","file3":"1395689557"},"map_files_photo_id_array":[{"photo_id":"1395689560","filename":"file5"},{"photo_id":"1395689556","filename":"file2"},{"photo_id":"1395689558","filename":"file4"},{"photo_id":"1395689555","filename":"file1"},{"photo_id":"1395689554","filename":"file0"},{"photo_id":"1395689557","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689556":["hashtag1","hashtag2"]},{"1395689555":["hashtag1","hashtag2"]},{"1395689558":["hashtag1","hashtag2"]},{"1395689560":["hashtag1","hashtag2"]},{"1395689554":["hashtag1","hashtag2"]},{"1395689557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689556, 1395689555, 1395689558, 1395689560, 1395689554, 1395689557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20212006568909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:53:42.613686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_16_2534.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_20_3610.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_22_2596.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_25_2654.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_28_3696.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_31_2871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_16_2534.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_20_3610.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_22_2596.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_25_2654.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_28_3696.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_31_2871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689576","1395689570","1395689569","1395689571","1395689565","1395689568"],"photo_ids_order":["1395689565","1395689568","1395689569","1395689570","1395689571","1395689576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdcc8f1ee9c4b7547ae4a418e5fbd4e4.jpg","text":"TemporaryFile(/tmp/multipartBody3469638604790694256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801683297,"filename":"image_22112025_09_52_31_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3040dcd6aee12d4833ff16af56be393b.jpg","text":"TemporaryFile(/tmp/multipartBody1599638239004608008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801683297,"filename":"image_22112025_09_52_25_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6718e90349721afe07e3a417df4515f.jpg","text":"TemporaryFile(/tmp/multipartBody8254385243486821701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801683297,"filename":"image_22112025_09_52_22_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54b3a77b65ee02ae1ac2bd29351d4f50.jpg","text":"TemporaryFile(/tmp/multipartBody3196183302370625082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801683297,"filename":"image_22112025_09_52_28_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6dce70ee580635cfb017a4d94216b33b.jpg","text":"TemporaryFile(/tmp/multipartBody5900094069372084511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801683297,"filename":"image_22112025_09_52_16_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91b1bfd6fdaecc308ffd4a44449e1d71.jpg","text":"TemporaryFile(/tmp/multipartBody8014798921152140956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801683297,"filename":"image_22112025_09_52_20_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689569","file1":"1395689568","file0":"1395689565","file4":"1395689571","file5":"1395689576","file3":"1395689570"},"map_files_photo_id_array":[{"photo_id":"1395689576","filename":"file5"},{"photo_id":"1395689569","filename":"file2"},{"photo_id":"1395689571","filename":"file4"},{"photo_id":"1395689568","filename":"file1"},{"photo_id":"1395689565","filename":"file0"},{"photo_id":"1395689570","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689576":["hashtag1","hashtag2"]},{"1395689570":["hashtag1","hashtag2"]},{"1395689569":["hashtag1","hashtag2"]},{"1395689571":["hashtag1","hashtag2"]},{"1395689565":["hashtag1","hashtag2"]},{"1395689568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689576, 1395689570, 1395689569, 1395689571, 1395689565, 1395689568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0462691783905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:54:22.389266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_34_2718.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_37_2674.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_40_3675.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_43_2731.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_46_2570.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_49_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_34_2718.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_37_2674.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_40_3675.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_43_2731.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_46_2570.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_49_3703.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6351442337036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:54:42.227785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_34_2718.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_37_2674.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_40_3675.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_43_2731.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_46_2570.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_49_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_34_2718.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_37_2674.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_40_3675.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_43_2731.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_46_2570.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_49_3703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689601","1395689600","1395689599","1395689602","1395689595","1395689598"],"photo_ids_order":["1395689595","1395689598","1395689599","1395689600","1395689601","1395689602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3bb2003e8ed06ed678fce8ce540a26d1.jpg","text":"TemporaryFile(/tmp/multipartBody6854011274227475498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801742907,"filename":"image_22112025_09_52_46_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9caacbc865505b7d4aaea55d9524090.jpg","text":"TemporaryFile(/tmp/multipartBody7671224554821069435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801742907,"filename":"image_22112025_09_52_43_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af6877522b02d2748c72efd950825632.jpg","text":"TemporaryFile(/tmp/multipartBody3171354821130483570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801742907,"filename":"image_22112025_09_52_40_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84b533cbfcb48130d806a84931824610.jpg","text":"TemporaryFile(/tmp/multipartBody3586432155638048575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801742907,"filename":"image_22112025_09_52_49_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4d8f915bdf4b81b5bb482254e991e7a.jpg","text":"TemporaryFile(/tmp/multipartBody6167639543632630291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801742907,"filename":"image_22112025_09_52_34_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c31d73d5e51eaf9abfdcbc3064d31d49.jpg","text":"TemporaryFile(/tmp/multipartBody5974007113016569174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801742907,"filename":"image_22112025_09_52_37_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689599","file1":"1395689598","file0":"1395689595","file4":"1395689601","file5":"1395689602","file3":"1395689600"},"map_files_photo_id_array":[{"photo_id":"1395689602","filename":"file5"},{"photo_id":"1395689599","filename":"file2"},{"photo_id":"1395689601","filename":"file4"},{"photo_id":"1395689598","filename":"file1"},{"photo_id":"1395689595","filename":"file0"},{"photo_id":"1395689600","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689601":["hashtag1","hashtag2"]},{"1395689600":["hashtag1","hashtag2"]},{"1395689599":["hashtag1","hashtag2"]},{"1395689602":["hashtag1","hashtag2"]},{"1395689595":["hashtag1","hashtag2"]},{"1395689598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689601, 1395689600, 1395689599, 1395689602, 1395689595, 1395689598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.333983421325684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:55:22.458889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_52_2654.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_55_2678.jpg', '/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_58_3603.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_11_3680.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_14_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_52_2654.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_55_2678.jpg
/home/pi/Desktop/images/22112025/09/52/image_22112025_09_52_58_3603.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_07_3011.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_11_3680.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_14_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689613","1395689607","1395689604","1395689609","1395689611","1395689605"],"photo_ids_order":["1395689604","1395689605","1395689607","1395689609","1395689611","1395689613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a136d604056df2090e1a5475f88f8df.jpg","text":"TemporaryFile(/tmp/multipartBody9169198070248653948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801783150,"filename":"image_22112025_09_54_14_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04f9ecf0ebf9ded6dfc8a79ad960dfb9.jpg","text":"TemporaryFile(/tmp/multipartBody5351045970749161878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801783150,"filename":"image_22112025_09_52_58_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19a541d86b3bccf18bbb8c57f7efd093.jpg","text":"TemporaryFile(/tmp/multipartBody8285606929494772185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801783150,"filename":"image_22112025_09_52_52_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95a34c5d7d1d63d494070f8cdcded409.jpg","text":"TemporaryFile(/tmp/multipartBody3870001379071788839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801783150,"filename":"image_22112025_09_54_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11db7f4449cf6484ac61382891acabdc.jpg","text":"TemporaryFile(/tmp/multipartBody5677054802765484388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801783150,"filename":"image_22112025_09_54_11_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28ff09c34de2f12640cac1fadcc1b649.jpg","text":"TemporaryFile(/tmp/multipartBody8995297673656516350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801783150,"filename":"image_22112025_09_52_55_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689607","file1":"1395689605","file0":"1395689604","file4":"1395689611","file5":"1395689613","file3":"1395689609"},"map_files_photo_id_array":[{"photo_id":"1395689613","filename":"file5"},{"photo_id":"1395689607","filename":"file2"},{"photo_id":"1395689611","filename":"file4"},{"photo_id":"1395689605","filename":"file1"},{"photo_id":"1395689604","filename":"file0"},{"photo_id":"1395689609","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689613":["hashtag1","hashtag2"]},{"1395689607":["hashtag1","hashtag2"]},{"1395689604":["hashtag1","hashtag2"]},{"1395689609":["hashtag1","hashtag2"]},{"1395689611":["hashtag1","hashtag2"]},{"1395689605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689613, 1395689607, 1395689604, 1395689609, 1395689611, 1395689605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42239952087402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:56:03.080230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_17_3615.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_20_2744.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_23_2525.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_25_2869.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_29_3655.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_32_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_17_3615.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_20_2744.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_23_2525.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_25_2869.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_29_3655.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_32_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689622","1395689619","1395689624","1395689621","1395689620","1395689617"],"photo_ids_order":["1395689617","1395689619","1395689620","1395689621","1395689622","1395689624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70f85bc2c367947984136eab7d59ab68.jpg","text":"TemporaryFile(/tmp/multipartBody2504171436083599583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801823827,"filename":"image_22112025_09_54_29_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c5ed1bde70d593e2e794dd332107bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3171338247908344425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801823827,"filename":"image_22112025_09_54_20_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a66b0c553a0e930b8454162cc2f1789.jpg","text":"TemporaryFile(/tmp/multipartBody426159584428202326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801823827,"filename":"image_22112025_09_54_32_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/258f6a406fee73b312d58131e9111a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4386065978359367254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801823827,"filename":"image_22112025_09_54_25_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6492266a6dacce78ebb0f3c778aacc68.jpg","text":"TemporaryFile(/tmp/multipartBody404467375041966580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801823827,"filename":"image_22112025_09_54_23_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a38325262e02f307aa4ebe0dba415ca.jpg","text":"TemporaryFile(/tmp/multipartBody391992497785052356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801823827,"filename":"image_22112025_09_54_17_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689620","file1":"1395689619","file0":"1395689617","file4":"1395689622","file5":"1395689624","file3":"1395689621"},"map_files_photo_id_array":[{"photo_id":"1395689624","filename":"file5"},{"photo_id":"1395689620","filename":"file2"},{"photo_id":"1395689622","filename":"file4"},{"photo_id":"1395689619","filename":"file1"},{"photo_id":"1395689617","filename":"file0"},{"photo_id":"1395689621","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689622":["hashtag1","hashtag2"]},{"1395689619":["hashtag1","hashtag2"]},{"1395689624":["hashtag1","hashtag2"]},{"1395689621":["hashtag1","hashtag2"]},{"1395689620":["hashtag1","hashtag2"]},{"1395689617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689622, 1395689619, 1395689624, 1395689621, 1395689620, 1395689617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09595012664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:56:42.641019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_34_2618.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_38_3694.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_41_2717.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_43_2744.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_47_3621.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_50_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_34_2618.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_38_3694.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_41_2717.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_43_2744.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_47_3621.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_50_2651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5805020332336426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:57:02.678158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_34_2618.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_38_3694.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_41_2717.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_43_2744.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_47_3621.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_50_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_34_2618.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_38_3694.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_41_2717.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_43_2744.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_47_3621.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_50_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689640","1395689637","1395689642","1395689636","1395689639","1395689638"],"photo_ids_order":["1395689636","1395689637","1395689638","1395689639","1395689640","1395689642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c446a73caa2f2785d85d34634e85c90.jpg","text":"TemporaryFile(/tmp/multipartBody8793916947882751917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801883439,"filename":"image_22112025_09_54_47_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/218aaf9034d76c216dabe67513c793b4.jpg","text":"TemporaryFile(/tmp/multipartBody3241088815967152246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801883439,"filename":"image_22112025_09_54_38_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b162980a211ae8b90bdcf1dbdd6a0e0f.jpg","text":"TemporaryFile(/tmp/multipartBody4021985350141220748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801883439,"filename":"image_22112025_09_54_50_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3d5d71c56d44b550911466dd5dded49.jpg","text":"TemporaryFile(/tmp/multipartBody2028074824486563132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801883439,"filename":"image_22112025_09_54_34_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e2fca5b666b0a0a1dfa2fd47daa0f8d.jpg","text":"TemporaryFile(/tmp/multipartBody336813852352208754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801883439,"filename":"image_22112025_09_54_43_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb72954879a4fc09e15599a5a28bc08c.jpg","text":"TemporaryFile(/tmp/multipartBody8950161143089788834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801883439,"filename":"image_22112025_09_54_41_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689638","file1":"1395689637","file0":"1395689636","file4":"1395689640","file5":"1395689642","file3":"1395689639"},"map_files_photo_id_array":[{"photo_id":"1395689642","filename":"file5"},{"photo_id":"1395689638","filename":"file2"},{"photo_id":"1395689640","filename":"file4"},{"photo_id":"1395689637","filename":"file1"},{"photo_id":"1395689636","filename":"file0"},{"photo_id":"1395689639","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689640":["hashtag1","hashtag2"]},{"1395689637":["hashtag1","hashtag2"]},{"1395689642":["hashtag1","hashtag2"]},{"1395689636":["hashtag1","hashtag2"]},{"1395689639":["hashtag1","hashtag2"]},{"1395689638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689640, 1395689637, 1395689642, 1395689636, 1395689639, 1395689638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7743034362793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:57:41.832678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_52_2618.jpg', '/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_56_3698.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_07_3011.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_11_3619.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_13_2605.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_17_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_52_2618.jpg
/home/pi/Desktop/images/22112025/09/54/image_22112025_09_54_56_3698.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_07_3011.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_11_3619.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_13_2605.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_17_3690.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689655","1395689654","1395689651","1395689653","1395689647","1395689652"],"photo_ids_order":["1395689647","1395689651","1395689652","1395689653","1395689654","1395689655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7799eae21d1dcbf905b8a2a37a3d0fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1949866415676353695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801922509,"filename":"image_22112025_09_56_17_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12bfb299cbe3d6d3ad42de94b4e9e4a4.jpg","text":"TemporaryFile(/tmp/multipartBody4357409586632977077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801922509,"filename":"image_22112025_09_56_13_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5c080a8aceec8dc6ea2710245e206a3.jpg","text":"TemporaryFile(/tmp/multipartBody8326848983249186408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801922509,"filename":"image_22112025_09_54_56_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/344a20c7cbbcb587546465953be1204e.jpg","text":"TemporaryFile(/tmp/multipartBody1854856560207327350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801922509,"filename":"image_22112025_09_56_11_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76e914e7551f50f5cccb567d1ab9003c.jpg","text":"TemporaryFile(/tmp/multipartBody6064036346624853307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801922509,"filename":"image_22112025_09_54_52_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/506d337c25f585f15093d9a221fad908.jpg","text":"TemporaryFile(/tmp/multipartBody7079259111631615494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763801922509,"filename":"image_22112025_09_56_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689652","file1":"1395689651","file0":"1395689647","file4":"1395689654","file5":"1395689655","file3":"1395689653"},"map_files_photo_id_array":[{"photo_id":"1395689655","filename":"file5"},{"photo_id":"1395689652","filename":"file2"},{"photo_id":"1395689654","filename":"file4"},{"photo_id":"1395689651","filename":"file1"},{"photo_id":"1395689647","filename":"file0"},{"photo_id":"1395689653","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689655":["hashtag1","hashtag2"]},{"1395689654":["hashtag1","hashtag2"]},{"1395689651":["hashtag1","hashtag2"]},{"1395689653":["hashtag1","hashtag2"]},{"1395689647":["hashtag1","hashtag2"]},{"1395689652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689655, 1395689654, 1395689651, 1395689653, 1395689647, 1395689652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55488204956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 09:59:03.251497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_19_2585.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_22_2757.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_26_3587.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_28_2621.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_31_2635.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_35_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_19_2585.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_22_2757.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_26_3587.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_28_2621.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_31_2635.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_35_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689870","1395689875","1395689878","1395689872","1395689866","1395689869"],"photo_ids_order":["1395689866","1395689869","1395689870","1395689872","1395689875","1395689878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8187ff44c9ba484feef457c7314c6355.jpg","text":"TemporaryFile(/tmp/multipartBody3549899057381599797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802004048,"filename":"image_22112025_09_56_26_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca9b1cc3d9f88e666db3a56844252d13.jpg","text":"TemporaryFile(/tmp/multipartBody3624001841355908466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802004048,"filename":"image_22112025_09_56_31_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd6afd2f97b78ed0271e7a64184b4a42.jpg","text":"TemporaryFile(/tmp/multipartBody8777653429758934181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802004048,"filename":"image_22112025_09_56_35_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f297fa08c743ec7dcde784c18bcf9581.jpg","text":"TemporaryFile(/tmp/multipartBody4736832906957652590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802004048,"filename":"image_22112025_09_56_28_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7696ed589200e55b49ab0a2b04bcff16.jpg","text":"TemporaryFile(/tmp/multipartBody2547226245541512549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802004048,"filename":"image_22112025_09_56_19_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77ff85c8cd614852a942f9c89c6e8b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1960480329363367417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802004048,"filename":"image_22112025_09_56_22_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689870","file1":"1395689869","file0":"1395689866","file4":"1395689875","file5":"1395689878","file3":"1395689872"},"map_files_photo_id_array":[{"photo_id":"1395689878","filename":"file5"},{"photo_id":"1395689870","filename":"file2"},{"photo_id":"1395689875","filename":"file4"},{"photo_id":"1395689869","filename":"file1"},{"photo_id":"1395689866","filename":"file0"},{"photo_id":"1395689872","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689870":["hashtag1","hashtag2"]},{"1395689875":["hashtag1","hashtag2"]},{"1395689878":["hashtag1","hashtag2"]},{"1395689872":["hashtag1","hashtag2"]},{"1395689866":["hashtag1","hashtag2"]},{"1395689869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689870, 1395689875, 1395689878, 1395689872, 1395689866, 1395689869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82525038719177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 09:59:42.184859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_37_2708.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_40_2661.jpg', '/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_44_3550.jpg', '/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_07_3012.jpg', '/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_10_3729.jpg', '/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_37_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_37_2708.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_40_2661.jpg
/home/pi/Desktop/images/22112025/09/56/image_22112025_09_56_44_3550.jpg
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_07_3012.jpg
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_10_3729.jpg
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_37_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689882","1395689891","1395689885","1395689887","1395689895","1395689889"],"photo_ids_order":["1395689882","1395689885","1395689887","1395689889","1395689891","1395689895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0254d3899f9b99b4bad1331a5362ac5.jpg","text":"TemporaryFile(/tmp/multipartBody778665877041768771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802042886,"filename":"image_22112025_09_56_37_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/874225b78c5e4178849b05768321299b.jpg","text":"TemporaryFile(/tmp/multipartBody2788142661645377451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802042886,"filename":"image_22112025_09_58_10_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fc27c88153c94375eb9f761d553a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody3810388252680194065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802042886,"filename":"image_22112025_09_56_40_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33d71bc100b230eef0db6da4e0ca9f14.jpg","text":"TemporaryFile(/tmp/multipartBody909578106368059008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802042886,"filename":"image_22112025_09_56_44_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3476055ff1a9a934bdf0a6bc1924719.jpg","text":"TemporaryFile(/tmp/multipartBody1006139294709357248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802042886,"filename":"image_22112025_09_58_37_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edaecf46595b46bcfaf2109d2b07f33b.jpg","text":"TemporaryFile(/tmp/multipartBody4273819561080029643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802042886,"filename":"image_22112025_09_58_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689887","file1":"1395689885","file0":"1395689882","file4":"1395689891","file5":"1395689895","file3":"1395689889"},"map_files_photo_id_array":[{"photo_id":"1395689895","filename":"file5"},{"photo_id":"1395689887","filename":"file2"},{"photo_id":"1395689891","filename":"file4"},{"photo_id":"1395689885","filename":"file1"},{"photo_id":"1395689882","filename":"file0"},{"photo_id":"1395689889","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689882":["hashtag1","hashtag2"]},{"1395689891":["hashtag1","hashtag2"]},{"1395689885":["hashtag1","hashtag2"]},{"1395689887":["hashtag1","hashtag2"]},{"1395689895":["hashtag1","hashtag2"]},{"1395689889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689882, 1395689891, 1395689885, 1395689887, 1395689895, 1395689889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516202211380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:00:22.382055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_40_2549.jpg', '/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_42_2657.jpg', '/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_46_3721.jpg', '/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_52_3662.jpg', '/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_55_2535.jpg', '/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_58_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_40_2549.jpg
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_42_2657.jpg
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_46_3721.jpg
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_52_3662.jpg
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_55_2535.jpg
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_58_58_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689907","1395689921","1395689924","1395689903","1395689902","1395689905"],"photo_ids_order":["1395689902","1395689903","1395689905","1395689907","1395689921","1395689924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c361a8eb357ac3952a87f5c33d96c8a.jpg","text":"TemporaryFile(/tmp/multipartBody4139283602616999444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802083135,"filename":"image_22112025_09_58_52_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28bd928b57238801611aac05c80f9d91.jpg","text":"TemporaryFile(/tmp/multipartBody6216009125348084653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802083135,"filename":"image_22112025_09_58_55_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dd67342dc7ee7edf17750902e58a124.jpg","text":"TemporaryFile(/tmp/multipartBody8299979578992770493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802083135,"filename":"image_22112025_09_58_58_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eba9dc5724267fbb08c9c213c2a37c6d.jpg","text":"TemporaryFile(/tmp/multipartBody7872058801216487220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802083135,"filename":"image_22112025_09_58_42_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/080e83afc93d4af69e9aa53cb0d49e10.jpg","text":"TemporaryFile(/tmp/multipartBody3724943342517143412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802083135,"filename":"image_22112025_09_58_40_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ea3ecdec89880bea2f313057dcaeec8.jpg","text":"TemporaryFile(/tmp/multipartBody5657471695561242782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802083135,"filename":"image_22112025_09_58_46_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689905","file1":"1395689903","file0":"1395689902","file4":"1395689921","file5":"1395689924","file3":"1395689907"},"map_files_photo_id_array":[{"photo_id":"1395689924","filename":"file5"},{"photo_id":"1395689905","filename":"file2"},{"photo_id":"1395689921","filename":"file4"},{"photo_id":"1395689903","filename":"file1"},{"photo_id":"1395689902","filename":"file0"},{"photo_id":"1395689907","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689907":["hashtag1","hashtag2"]},{"1395689921":["hashtag1","hashtag2"]},{"1395689924":["hashtag1","hashtag2"]},{"1395689903":["hashtag1","hashtag2"]},{"1395689902":["hashtag1","hashtag2"]},{"1395689905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689907, 1395689921, 1395689924, 1395689903, 1395689902, 1395689905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00133991241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:01:03.287060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/09/58/image_22112025_09_59_01_3554.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_07_3015.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_14_2570.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_23_2671.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_26_3584.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_38_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/09/58/image_22112025_09_59_01_3554.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_07_3015.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_14_2570.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_23_2671.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_26_3584.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_38_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689931","1395689930","1395689932","1395689929","1395689934","1395689937"],"photo_ids_order":["1395689929","1395689930","1395689931","1395689932","1395689934","1395689937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9df619883a7d58664eb8cb6cd17511f.jpg","text":"TemporaryFile(/tmp/multipartBody2769823922057578886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802124053,"filename":"image_22112025_10_00_14_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd3316ba1a3371408a9e9a5cafc1ce19.jpg","text":"TemporaryFile(/tmp/multipartBody636046817955070937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802124053,"filename":"image_22112025_10_00_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d32c998d0cb1aec9be884f38d9f5159.jpg","text":"TemporaryFile(/tmp/multipartBody6682112260306395478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802124053,"filename":"image_22112025_10_00_23_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/198f5a7d778f03c0f1f52231f71b46be.jpg","text":"TemporaryFile(/tmp/multipartBody2950605671442127128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802124053,"filename":"image_22112025_09_59_01_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77499e4ce64f754b18d7085b4ac59aed.jpg","text":"TemporaryFile(/tmp/multipartBody5743376842505984587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802124053,"filename":"image_22112025_10_00_26_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebe73e738e79db9ddfe160defac1da2f.jpg","text":"TemporaryFile(/tmp/multipartBody5329538620684860747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802124053,"filename":"image_22112025_10_00_38_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689931","file1":"1395689930","file0":"1395689929","file4":"1395689934","file5":"1395689937","file3":"1395689932"},"map_files_photo_id_array":[{"photo_id":"1395689937","filename":"file5"},{"photo_id":"1395689931","filename":"file2"},{"photo_id":"1395689934","filename":"file4"},{"photo_id":"1395689930","filename":"file1"},{"photo_id":"1395689929","filename":"file0"},{"photo_id":"1395689932","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689931":["hashtag1","hashtag2"]},{"1395689930":["hashtag1","hashtag2"]},{"1395689932":["hashtag1","hashtag2"]},{"1395689929":["hashtag1","hashtag2"]},{"1395689934":["hashtag1","hashtag2"]},{"1395689937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689931, 1395689930, 1395689932, 1395689929, 1395689934, 1395689937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41835880279541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:01:42.547809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_40_2690.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_44_3528.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_47_2905.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_49_2703.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_53_3561.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_56_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_40_2690.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_44_3528.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_47_2905.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_49_2703.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_53_3561.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_56_2657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5767443180084229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:02:03.265888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_40_2690.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_44_3528.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_47_2905.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_49_2703.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_53_3561.jpg', '/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_56_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_40_2690.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_44_3528.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_47_2905.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_49_2703.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_53_3561.jpg
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_56_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395689954","1395689957","1395689956","1395689959","1395689953","1395689955"],"photo_ids_order":["1395689953","1395689954","1395689955","1395689956","1395689957","1395689959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3af95b7a18511ef24348e6a71a111e0.jpg","text":"TemporaryFile(/tmp/multipartBody9049561216809774603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802184046,"filename":"image_22112025_10_00_44_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9bc63b55957eb5f570c84afd2ab67b3.jpg","text":"TemporaryFile(/tmp/multipartBody7397441894939677646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802184046,"filename":"image_22112025_10_00_53_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6eb92a864641aab120a2189463fdf4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2308342278709423905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802184046,"filename":"image_22112025_10_00_49_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33176b2284019ed83d14bfb9f09b95b2.jpg","text":"TemporaryFile(/tmp/multipartBody1518884749470733917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802184046,"filename":"image_22112025_10_00_56_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd50565473992c8e0c6827d5c1dc4197.jpg","text":"TemporaryFile(/tmp/multipartBody1332686122299157357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802184046,"filename":"image_22112025_10_00_40_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bce2982007845616ed672cd1426bc4c.jpg","text":"TemporaryFile(/tmp/multipartBody7370810390631425212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802184046,"filename":"image_22112025_10_00_47_2905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689955","file1":"1395689954","file0":"1395689953","file4":"1395689957","file5":"1395689959","file3":"1395689956"},"map_files_photo_id_array":[{"photo_id":"1395689959","filename":"file5"},{"photo_id":"1395689955","filename":"file2"},{"photo_id":"1395689957","filename":"file4"},{"photo_id":"1395689954","filename":"file1"},{"photo_id":"1395689953","filename":"file0"},{"photo_id":"1395689956","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395689954":["hashtag1","hashtag2"]},{"1395689957":["hashtag1","hashtag2"]},{"1395689956":["hashtag1","hashtag2"]},{"1395689959":["hashtag1","hashtag2"]},{"1395689953":["hashtag1","hashtag2"]},{"1395689955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395689954, 1395689957, 1395689956, 1395689959, 1395689953, 1395689955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80912470817566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:02:42.718678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_58_2600.jpg', '/home/pi/Desktop/images/22112025/10/01/image_22112025_10_01_02_3778.jpg', '/home/pi/Desktop/images/22112025/10/01/image_22112025_10_01_05_2728.jpg', '/home/pi/Desktop/images/22112025/10/01/image_22112025_10_01_07_2537.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_07_3018.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_11_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/00/image_22112025_10_00_58_2600.jpg
/home/pi/Desktop/images/22112025/10/01/image_22112025_10_01_02_3778.jpg
/home/pi/Desktop/images/22112025/10/01/image_22112025_10_01_05_2728.jpg
/home/pi/Desktop/images/22112025/10/01/image_22112025_10_01_07_2537.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_07_3018.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_11_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690057","1395689987","1395689965","1395690091","1395689967","1395690022"],"photo_ids_order":["1395689965","1395689967","1395689987","1395690022","1395690057","1395690091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf85a487b7e696e74c33bb4bfd53ea63.jpg","text":"TemporaryFile(/tmp/multipartBody1200651644061098706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802223468,"filename":"image_22112025_10_02_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a47779c23f7b4881947cb29b404884e5.jpg","text":"TemporaryFile(/tmp/multipartBody3333440037432971518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802223468,"filename":"image_22112025_10_01_05_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/369eb8bf3c5b7b77eca8d0c5e46b8b46.jpg","text":"TemporaryFile(/tmp/multipartBody3359668039360859941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802223468,"filename":"image_22112025_10_00_58_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6a0cd2f24b81107447f004d238f9e45.jpg","text":"TemporaryFile(/tmp/multipartBody5477976108535985447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802223468,"filename":"image_22112025_10_02_11_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/518944d4178dc24569084aa958f4aefa.jpg","text":"TemporaryFile(/tmp/multipartBody9016309248138159603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802223468,"filename":"image_22112025_10_01_02_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e5c4277b4fc05d70f0470745dcbb69f.jpg","text":"TemporaryFile(/tmp/multipartBody7001801274828038279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802223468,"filename":"image_22112025_10_01_07_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395689987","file1":"1395689967","file0":"1395689965","file4":"1395690057","file5":"1395690091","file3":"1395690022"},"map_files_photo_id_array":[{"photo_id":"1395690091","filename":"file5"},{"photo_id":"1395689987","filename":"file2"},{"photo_id":"1395690057","filename":"file4"},{"photo_id":"1395689967","filename":"file1"},{"photo_id":"1395689965","filename":"file0"},{"photo_id":"1395690022","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690057":["hashtag1","hashtag2"]},{"1395689987":["hashtag1","hashtag2"]},{"1395689965":["hashtag1","hashtag2"]},{"1395690091":["hashtag1","hashtag2"]},{"1395689967":["hashtag1","hashtag2"]},{"1395690022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690057, 1395689987, 1395689965, 1395690091, 1395689967, 1395690022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25521183013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:03:21.913342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_14_2687.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_16_2721.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_20_3588.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_23_2749.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_25_2580.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_29_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_14_2687.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_16_2721.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_20_3588.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_23_2749.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_25_2580.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_29_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690399","1395690291","1395690216","1395690362","1395690326","1395690253"],"photo_ids_order":["1395690216","1395690253","1395690291","1395690326","1395690362","1395690399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d981e0373ee9d9d990e91bcc67511815.jpg","text":"TemporaryFile(/tmp/multipartBody5174453224232534556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802262629,"filename":"image_22112025_10_02_29_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3ceb0037e41d48f2946f6e7ddbe4bc8.jpg","text":"TemporaryFile(/tmp/multipartBody2332044401068108326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802262629,"filename":"image_22112025_10_02_20_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2918e3f15e901320c16da8fbd8e5745.jpg","text":"TemporaryFile(/tmp/multipartBody4992720972889676559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802262629,"filename":"image_22112025_10_02_14_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3014f58f9d5651eb2723ff06a204653.jpg","text":"TemporaryFile(/tmp/multipartBody4157574818894207455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802262629,"filename":"image_22112025_10_02_25_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35f59a856436bed74150e1fc3bf659d6.jpg","text":"TemporaryFile(/tmp/multipartBody6695722364756179366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802262629,"filename":"image_22112025_10_02_23_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70c93b3db30f79eb6b05bdd2dbe5b8bb.jpg","text":"TemporaryFile(/tmp/multipartBody2803344451215947101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802262629,"filename":"image_22112025_10_02_16_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690291","file1":"1395690253","file0":"1395690216","file4":"1395690362","file5":"1395690399","file3":"1395690326"},"map_files_photo_id_array":[{"photo_id":"1395690399","filename":"file5"},{"photo_id":"1395690291","filename":"file2"},{"photo_id":"1395690362","filename":"file4"},{"photo_id":"1395690253","filename":"file1"},{"photo_id":"1395690216","filename":"file0"},{"photo_id":"1395690326","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690399":["hashtag1","hashtag2"]},{"1395690291":["hashtag1","hashtag2"]},{"1395690216":["hashtag1","hashtag2"]},{"1395690362":["hashtag1","hashtag2"]},{"1395690326":["hashtag1","hashtag2"]},{"1395690253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690399, 1395690291, 1395690216, 1395690362, 1395690326, 1395690253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58234143257141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:04:02.847557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_32_2629.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_34_2638.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_38_3563.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_41_2647.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_44_3749.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_47_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_32_2629.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_34_2638.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_38_3563.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_41_2647.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_44_3749.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_47_2711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6795117855072021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:04:22.153776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_32_2629.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_34_2638.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_38_3563.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_41_2647.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_44_3749.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_47_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_32_2629.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_34_2638.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_38_3563.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_41_2647.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_44_3749.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_47_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690660","1395690630","1395690600","1395690695","1395690655","1395690628"],"photo_ids_order":["1395690600","1395690628","1395690630","1395690655","1395690660","1395690695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b04850b6367c11f5e787f24f0aa41d2.jpg","text":"TemporaryFile(/tmp/multipartBody8094628497134048347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802322914,"filename":"image_22112025_10_02_44_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96e9ed8065d791bf651a3c7777baa334.jpg","text":"TemporaryFile(/tmp/multipartBody1810848661725153346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802322914,"filename":"image_22112025_10_02_38_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e65138d07de61c0620a5b4372c0659bc.jpg","text":"TemporaryFile(/tmp/multipartBody9100823961809635694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802322914,"filename":"image_22112025_10_02_32_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4271add5bf5241e61a7326b175af3f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4293747595527253306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802322914,"filename":"image_22112025_10_02_47_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6481fe0106e4e79e144a22e1f937e7d7.jpg","text":"TemporaryFile(/tmp/multipartBody2552232263254036137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802322914,"filename":"image_22112025_10_02_41_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7d892bef768de041ca25dcd32565038.jpg","text":"TemporaryFile(/tmp/multipartBody5248061414323344241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802322914,"filename":"image_22112025_10_02_34_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690630","file1":"1395690628","file0":"1395690600","file4":"1395690660","file5":"1395690695","file3":"1395690655"},"map_files_photo_id_array":[{"photo_id":"1395690695","filename":"file5"},{"photo_id":"1395690630","filename":"file2"},{"photo_id":"1395690660","filename":"file4"},{"photo_id":"1395690628","filename":"file1"},{"photo_id":"1395690600","filename":"file0"},{"photo_id":"1395690655","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690660":["hashtag1","hashtag2"]},{"1395690630":["hashtag1","hashtag2"]},{"1395690600":["hashtag1","hashtag2"]},{"1395690695":["hashtag1","hashtag2"]},{"1395690655":["hashtag1","hashtag2"]},{"1395690628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690660, 1395690630, 1395690600, 1395690695, 1395690655, 1395690628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24455118179321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:05:03.079463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_50_2617.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_52_2719.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_56_3681.jpg', '/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_59_2870.jpg', '/home/pi/Desktop/images/22112025/10/03/image_22112025_10_03_02_2690.jpg', '/home/pi/Desktop/images/22112025/10/03/image_22112025_10_03_11_2897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_50_2617.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_52_2719.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_56_3681.jpg
/home/pi/Desktop/images/22112025/10/02/image_22112025_10_02_59_2870.jpg
/home/pi/Desktop/images/22112025/10/03/image_22112025_10_03_02_2690.jpg
/home/pi/Desktop/images/22112025/10/03/image_22112025_10_03_11_2897.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690768","1395690765","1395690770","1395690764","1395690763","1395690766"],"photo_ids_order":["1395690763","1395690764","1395690765","1395690766","1395690768","1395690770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1b747cb826703dc895d8edd2509d110.jpg","text":"TemporaryFile(/tmp/multipartBody129561017243922052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802363883,"filename":"image_22112025_10_03_02_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8caffb686dcde047d138e91d46d498f.jpg","text":"TemporaryFile(/tmp/multipartBody2015319053864830521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802363883,"filename":"image_22112025_10_02_56_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6dbc467032cf16412ae2bd6f3c1aafe.jpg","text":"TemporaryFile(/tmp/multipartBody8635581020159862494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802363883,"filename":"image_22112025_10_03_11_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d80418eaf963f6dd7f5a44c5cc4d2337.jpg","text":"TemporaryFile(/tmp/multipartBody3155971205232780345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802363883,"filename":"image_22112025_10_02_52_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88315e4812e01952b53f53e995594e99.jpg","text":"TemporaryFile(/tmp/multipartBody6403201243190795229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802363883,"filename":"image_22112025_10_02_50_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94a2003c9c1880a91d7523099d7774ff.jpg","text":"TemporaryFile(/tmp/multipartBody8895320050443690000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802363883,"filename":"image_22112025_10_02_59_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690765","file1":"1395690764","file0":"1395690763","file4":"1395690768","file5":"1395690770","file3":"1395690766"},"map_files_photo_id_array":[{"photo_id":"1395690770","filename":"file5"},{"photo_id":"1395690765","filename":"file2"},{"photo_id":"1395690768","filename":"file4"},{"photo_id":"1395690764","filename":"file1"},{"photo_id":"1395690763","filename":"file0"},{"photo_id":"1395690766","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690768":["hashtag1","hashtag2"]},{"1395690765":["hashtag1","hashtag2"]},{"1395690770":["hashtag1","hashtag2"]},{"1395690764":["hashtag1","hashtag2"]},{"1395690763":["hashtag1","hashtag2"]},{"1395690766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690768, 1395690765, 1395690770, 1395690764, 1395690763, 1395690766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10073757171631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:05:42.336118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/04/image_22112025_10_04_06_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/04/image_22112025_10_04_06_3019.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690775"],"photo_id":"1395690775","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49ed45a0941a3c7cec51240329c0b74c.jpg","text":"TemporaryFile(/tmp/multipartBody3674376443824639924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802402849,"filename":"image_22112025_10_04_06_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395690775"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395690775"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.90555453300476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:06:03.035530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
  port_id : 28683925
  datou_current_id : 4071816
in upload_from_sqlite, uploading in 28683925
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19112025/23/59/image_19112025_23_59_37_2635.jpg', '/home/pi/Desktop/images/19112025/23/59/image_19112025_23_59_40_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4071816&datou=0
/home/pi/Desktop/images/19112025/23/59/image_19112025_23_59_37_2635.jpg
/home/pi/Desktop/images/19112025/23/59/image_19112025_23_59_40_2602.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690783","1395690784"],"photo_ids_order":["1395690783","1395690784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0119df1e12c551e162b8fd544fcaee9.jpg","text":"TemporaryFile(/tmp/multipartBody5371543969132700616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802424731,"filename":"image_19112025_23_59_37_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2db3937a78d980bda6c4ad2f75429cda.jpg","text":"TemporaryFile(/tmp/multipartBody6996312705096280648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802424731,"filename":"image_19112025_23_59_40_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395690784","file0":"1395690783"},"map_files_photo_id_array":[{"photo_id":"1395690784","filename":"file1"},{"photo_id":"1395690783","filename":"file0"}],"portfolio_id":28683925,"hashtag_by_photo_ids":[{"1395690783":["hashtag1","hashtag2"]},{"1395690784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28683925 used, photo_id : ArrayBuffer(1395690783, 1395690784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.256734132766724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:06:22.650485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/04/image_22112025_10_04_49_3632.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_11_3816.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_13_2496.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_17_3632.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_20_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/04/image_22112025_10_04_49_3632.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_07_3011.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_11_3816.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_13_2496.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_17_3632.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_20_2825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690789","1395690791","1395690794","1395690788","1395690796","1395690786"],"photo_ids_order":["1395690786","1395690788","1395690789","1395690791","1395690794","1395690796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de6551105bb0a01a5e01ace484dd6c85.jpg","text":"TemporaryFile(/tmp/multipartBody952873187556378386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802443358,"filename":"image_22112025_10_06_11_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7fffdcdf8d3799171edc3582c9edfce.jpg","text":"TemporaryFile(/tmp/multipartBody2828030243934803459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802443358,"filename":"image_22112025_10_06_13_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0182ceba6235d6f2fc0ee82059d662c0.jpg","text":"TemporaryFile(/tmp/multipartBody8759290244900354306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802443358,"filename":"image_22112025_10_06_17_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1e7ce03f63040a548117cd5c5170f23.jpg","text":"TemporaryFile(/tmp/multipartBody3683561365666629026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802443358,"filename":"image_22112025_10_06_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42b07befe9f774982dde5a0e253bae43.jpg","text":"TemporaryFile(/tmp/multipartBody1473200875090048755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802443358,"filename":"image_22112025_10_06_20_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8d7423dad8f085b4bae16ca3486dce3.jpg","text":"TemporaryFile(/tmp/multipartBody4707872558707720644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802443358,"filename":"image_22112025_10_04_49_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690789","file1":"1395690788","file0":"1395690786","file4":"1395690794","file5":"1395690796","file3":"1395690791"},"map_files_photo_id_array":[{"photo_id":"1395690796","filename":"file5"},{"photo_id":"1395690789","filename":"file2"},{"photo_id":"1395690794","filename":"file4"},{"photo_id":"1395690788","filename":"file1"},{"photo_id":"1395690786","filename":"file0"},{"photo_id":"1395690791","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690789":["hashtag1","hashtag2"]},{"1395690791":["hashtag1","hashtag2"]},{"1395690794":["hashtag1","hashtag2"]},{"1395690788":["hashtag1","hashtag2"]},{"1395690796":["hashtag1","hashtag2"]},{"1395690786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690789, 1395690791, 1395690794, 1395690788, 1395690796, 1395690786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28598475456238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:07:02.493694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_23_2755.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_25_2646.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_29_3645.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_32_2691.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_34_2706.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_37_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_23_2755.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_25_2646.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_29_3645.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_32_2691.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_34_2706.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_37_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690804","1395690797","1395690800","1395690803","1395690806","1395690802"],"photo_ids_order":["1395690797","1395690800","1395690802","1395690803","1395690804","1395690806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcd399842d93e2f75fb686fe842272b0.jpg","text":"TemporaryFile(/tmp/multipartBody501751067115297935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802483253,"filename":"image_22112025_10_06_34_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/448a5494d57b6578eb9504aae9c78871.jpg","text":"TemporaryFile(/tmp/multipartBody7939538785627861219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802483253,"filename":"image_22112025_10_06_23_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a06e8887422b6f6f9de8c22d3d0c043f.jpg","text":"TemporaryFile(/tmp/multipartBody5736712318584124179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802483253,"filename":"image_22112025_10_06_25_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99e633169e3faa713b6ebbfc86065526.jpg","text":"TemporaryFile(/tmp/multipartBody240024341743640030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802483253,"filename":"image_22112025_10_06_32_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbbbe5b81862abd8c6f40c94386d9ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2030682558136780373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802483253,"filename":"image_22112025_10_06_37_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83a321477657e03707e6e587556f9e90.jpg","text":"TemporaryFile(/tmp/multipartBody4365596651604009547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802483253,"filename":"image_22112025_10_06_29_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690802","file1":"1395690800","file0":"1395690797","file4":"1395690804","file5":"1395690806","file3":"1395690803"},"map_files_photo_id_array":[{"photo_id":"1395690806","filename":"file5"},{"photo_id":"1395690802","filename":"file2"},{"photo_id":"1395690804","filename":"file4"},{"photo_id":"1395690800","filename":"file1"},{"photo_id":"1395690797","filename":"file0"},{"photo_id":"1395690803","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690804":["hashtag1","hashtag2"]},{"1395690797":["hashtag1","hashtag2"]},{"1395690800":["hashtag1","hashtag2"]},{"1395690803":["hashtag1","hashtag2"]},{"1395690806":["hashtag1","hashtag2"]},{"1395690802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690804, 1395690797, 1395690800, 1395690803, 1395690806, 1395690802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68889832496643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:07:41.900242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_41_3629.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_43_2642.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_47_3533.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_49_2569.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_52_2682.jpg', '/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_56_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_41_3629.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_43_2642.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_47_3533.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_49_2569.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_52_2682.jpg
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_56_3800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690810","1395690813","1395690809","1395690812","1395690811","1395690814"],"photo_ids_order":["1395690809","1395690810","1395690811","1395690812","1395690813","1395690814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f6a7aa542ea57a76d252c7d9b70d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody2170912406403370814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802522701,"filename":"image_22112025_10_06_43_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11b9fe7f0858dfc744b2b25611099b38.jpg","text":"TemporaryFile(/tmp/multipartBody50244339685606565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802522701,"filename":"image_22112025_10_06_52_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aaded287e597fbacdcecccb14423a43f.jpg","text":"TemporaryFile(/tmp/multipartBody8432458206173576103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802522701,"filename":"image_22112025_10_06_41_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70d4c77648fc0a79d4d8d881a0b4c451.jpg","text":"TemporaryFile(/tmp/multipartBody3472892560064340960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802522701,"filename":"image_22112025_10_06_49_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b421292672ea75b2fc42c7b28d74a84c.jpg","text":"TemporaryFile(/tmp/multipartBody993915387838067384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802522701,"filename":"image_22112025_10_06_47_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb7c7080bfca5b980a20b565f2e1ae83.jpg","text":"TemporaryFile(/tmp/multipartBody1107222498327997066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802522701,"filename":"image_22112025_10_06_56_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690811","file1":"1395690810","file0":"1395690809","file4":"1395690813","file5":"1395690814","file3":"1395690812"},"map_files_photo_id_array":[{"photo_id":"1395690814","filename":"file5"},{"photo_id":"1395690811","filename":"file2"},{"photo_id":"1395690813","filename":"file4"},{"photo_id":"1395690810","filename":"file1"},{"photo_id":"1395690809","filename":"file0"},{"photo_id":"1395690812","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690810":["hashtag1","hashtag2"]},{"1395690813":["hashtag1","hashtag2"]},{"1395690809":["hashtag1","hashtag2"]},{"1395690812":["hashtag1","hashtag2"]},{"1395690811":["hashtag1","hashtag2"]},{"1395690814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690810, 1395690813, 1395690809, 1395690812, 1395690811, 1395690814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40203237533569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:08:22.164772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_58_2509.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_01_2671.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_05_3594.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_07_2644.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_10_2692.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_14_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/06/image_22112025_10_06_58_2509.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_01_2671.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_05_3594.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_07_2644.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_10_2692.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_14_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690822","1395690816","1395690825","1395690815","1395690818","1395690820"],"photo_ids_order":["1395690815","1395690816","1395690818","1395690820","1395690822","1395690825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d7d8d55526a75fd6b6bb7298d4e7e99.jpg","text":"TemporaryFile(/tmp/multipartBody5206875608732174681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802562921,"filename":"image_22112025_10_07_10_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6928096b9a9f6eebd5966f70409bd54.jpg","text":"TemporaryFile(/tmp/multipartBody515865381299341831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802562921,"filename":"image_22112025_10_07_01_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47db2e17119b9802aee8e8de6482391c.jpg","text":"TemporaryFile(/tmp/multipartBody1939752541390321973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802562921,"filename":"image_22112025_10_07_14_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f458f1ee37aeea197adad6392d95f837.jpg","text":"TemporaryFile(/tmp/multipartBody4257272531185519356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802562921,"filename":"image_22112025_10_06_58_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d827a0a3b6b22d25baf365b9094c2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6786546006951672627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802562921,"filename":"image_22112025_10_07_05_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa733c5fd8ed2897b0eb1064629a6d1d.jpg","text":"TemporaryFile(/tmp/multipartBody6537754869220958818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802562921,"filename":"image_22112025_10_07_07_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690818","file1":"1395690816","file0":"1395690815","file4":"1395690822","file5":"1395690825","file3":"1395690820"},"map_files_photo_id_array":[{"photo_id":"1395690825","filename":"file5"},{"photo_id":"1395690818","filename":"file2"},{"photo_id":"1395690822","filename":"file4"},{"photo_id":"1395690816","filename":"file1"},{"photo_id":"1395690815","filename":"file0"},{"photo_id":"1395690820","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690822":["hashtag1","hashtag2"]},{"1395690816":["hashtag1","hashtag2"]},{"1395690825":["hashtag1","hashtag2"]},{"1395690815":["hashtag1","hashtag2"]},{"1395690818":["hashtag1","hashtag2"]},{"1395690820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690822, 1395690816, 1395690825, 1395690815, 1395690818, 1395690820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5899019241333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:09:03.040547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_16_2531.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_19_2928.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_23_3675.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_26_2796.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_28_2654.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_32_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_16_2531.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_19_2928.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_23_3675.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_26_2796.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_28_2654.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_32_3703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690834","1395690831","1395690833","1395690836","1395690838","1395690835"],"photo_ids_order":["1395690831","1395690833","1395690834","1395690835","1395690836","1395690838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d45364fa06da4d73bbb894bff4f54ae.jpg","text":"TemporaryFile(/tmp/multipartBody1937745870884847000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802603931,"filename":"image_22112025_10_07_23_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05915d5e1b77fa9335eeabd9451b3526.jpg","text":"TemporaryFile(/tmp/multipartBody8882282279439181703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802603931,"filename":"image_22112025_10_07_16_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/801cfddbbc5eadd95099e0a97deca587.jpg","text":"TemporaryFile(/tmp/multipartBody4789656529117012665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802603931,"filename":"image_22112025_10_07_19_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/034de4239157a4629a80e5c6283afac1.jpg","text":"TemporaryFile(/tmp/multipartBody3145782138704710125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802603931,"filename":"image_22112025_10_07_28_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51e85032f2fb55cb571f22cbfaa0055f.jpg","text":"TemporaryFile(/tmp/multipartBody3707620399789800259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802603931,"filename":"image_22112025_10_07_32_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c5ec5c0fd5f64ec62b0302dc2c071d9.jpg","text":"TemporaryFile(/tmp/multipartBody2396521383922010967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802603931,"filename":"image_22112025_10_07_26_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690834","file1":"1395690833","file0":"1395690831","file4":"1395690836","file5":"1395690838","file3":"1395690835"},"map_files_photo_id_array":[{"photo_id":"1395690838","filename":"file5"},{"photo_id":"1395690834","filename":"file2"},{"photo_id":"1395690836","filename":"file4"},{"photo_id":"1395690833","filename":"file1"},{"photo_id":"1395690831","filename":"file0"},{"photo_id":"1395690835","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690834":["hashtag1","hashtag2"]},{"1395690831":["hashtag1","hashtag2"]},{"1395690833":["hashtag1","hashtag2"]},{"1395690836":["hashtag1","hashtag2"]},{"1395690838":["hashtag1","hashtag2"]},{"1395690835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690834, 1395690831, 1395690833, 1395690836, 1395690838, 1395690835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18832969665527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:09:42.023702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_35_2679.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_37_2706.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_40_2602.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_44_3819.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_46_2702.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_49_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_35_2679.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_37_2706.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_40_2602.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_44_3819.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_46_2702.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_49_2797.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5936391353607178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:10:02.711551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_35_2679.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_37_2706.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_40_2602.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_44_3819.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_46_2702.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_49_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_35_2679.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_37_2706.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_40_2602.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_44_3819.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_46_2702.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_49_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690852","1395690851","1395690854","1395690856","1395690850","1395690853"],"photo_ids_order":["1395690850","1395690851","1395690852","1395690853","1395690854","1395690856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6227a975c4032b65cac73e0544eb9fe0.jpg","text":"TemporaryFile(/tmp/multipartBody1800844600354556346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802663470,"filename":"image_22112025_10_07_40_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/838004c71de6e6d6385d0b6d1c0ee73f.jpg","text":"TemporaryFile(/tmp/multipartBody6318059453734078197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802663470,"filename":"image_22112025_10_07_37_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f07397aba4b40d64611d2ea9e9d2b7e6.jpg","text":"TemporaryFile(/tmp/multipartBody3133261096165786578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802663470,"filename":"image_22112025_10_07_46_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14f8bc9e25cba8e55e8efdc192020f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2019921983936845675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802663470,"filename":"image_22112025_10_07_49_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40459ccc5d8e9756f7d6d96ce4602d3e.jpg","text":"TemporaryFile(/tmp/multipartBody553383485936041302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802663470,"filename":"image_22112025_10_07_35_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a70566d08cfe51fe13e198bd9ce4fe07.jpg","text":"TemporaryFile(/tmp/multipartBody6928762475473781773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802663470,"filename":"image_22112025_10_07_44_3819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690852","file1":"1395690851","file0":"1395690850","file4":"1395690854","file5":"1395690856","file3":"1395690853"},"map_files_photo_id_array":[{"photo_id":"1395690856","filename":"file5"},{"photo_id":"1395690852","filename":"file2"},{"photo_id":"1395690854","filename":"file4"},{"photo_id":"1395690851","filename":"file1"},{"photo_id":"1395690850","filename":"file0"},{"photo_id":"1395690853","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690852":["hashtag1","hashtag2"]},{"1395690851":["hashtag1","hashtag2"]},{"1395690854":["hashtag1","hashtag2"]},{"1395690856":["hashtag1","hashtag2"]},{"1395690850":["hashtag1","hashtag2"]},{"1395690853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690852, 1395690851, 1395690854, 1395690856, 1395690850, 1395690853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96475529670715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:10:42.290542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_53_3605.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_56_2756.jpg', '/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_58_2829.jpg', '/home/pi/Desktop/images/22112025/10/08/image_22112025_10_08_01_2729.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_06_3018.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_10_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_53_3605.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_56_2756.jpg
/home/pi/Desktop/images/22112025/10/07/image_22112025_10_07_58_2829.jpg
/home/pi/Desktop/images/22112025/10/08/image_22112025_10_08_01_2729.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_06_3018.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_10_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690861","1395690864","1395690863","1395690866","1395690862","1395690865"],"photo_ids_order":["1395690861","1395690862","1395690863","1395690864","1395690865","1395690866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f6aabdc1fad76bb5a1edc8ddd815251.jpg","text":"TemporaryFile(/tmp/multipartBody3869150865102818735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802702979,"filename":"image_22112025_10_07_53_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10c25dc5d4f31bc6e5f7fe8e9c561588.jpg","text":"TemporaryFile(/tmp/multipartBody2981223757104370778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802702979,"filename":"image_22112025_10_08_01_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00430e5a3a2eb7fc1238c6c3a3cd312e.jpg","text":"TemporaryFile(/tmp/multipartBody5588147594958437561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802702979,"filename":"image_22112025_10_07_58_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb30e8b9c7363e9740b009bbccea6540.jpg","text":"TemporaryFile(/tmp/multipartBody1360628964504122268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802702979,"filename":"image_22112025_10_09_10_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8aa19a465738f411fd880cc8af61292c.jpg","text":"TemporaryFile(/tmp/multipartBody8718161161166416076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802702979,"filename":"image_22112025_10_07_56_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/906f0dec902a334c2769375fa975cd65.jpg","text":"TemporaryFile(/tmp/multipartBody4026396116392786376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802702979,"filename":"image_22112025_10_09_06_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690863","file1":"1395690862","file0":"1395690861","file4":"1395690865","file5":"1395690866","file3":"1395690864"},"map_files_photo_id_array":[{"photo_id":"1395690866","filename":"file5"},{"photo_id":"1395690863","filename":"file2"},{"photo_id":"1395690865","filename":"file4"},{"photo_id":"1395690862","filename":"file1"},{"photo_id":"1395690861","filename":"file0"},{"photo_id":"1395690864","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690861":["hashtag1","hashtag2"]},{"1395690864":["hashtag1","hashtag2"]},{"1395690863":["hashtag1","hashtag2"]},{"1395690866":["hashtag1","hashtag2"]},{"1395690862":["hashtag1","hashtag2"]},{"1395690865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690861, 1395690864, 1395690863, 1395690866, 1395690862, 1395690865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.874374866485596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:11:22.027422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_13_2595.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_15_2752.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_19_3579.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_21_2603.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_25_3719.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_28_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_13_2595.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_15_2752.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_19_3579.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_21_2603.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_25_3719.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_28_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690873","1395690903","1395690912","1395690875","1395690869","1395690871"],"photo_ids_order":["1395690869","1395690871","1395690873","1395690875","1395690903","1395690912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ced93f3dcd01d5d29f1883aedc49827.jpg","text":"TemporaryFile(/tmp/multipartBody1781384072539731304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802742764,"filename":"image_22112025_10_09_19_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b0b711676f42800b1e20bae7ffec35f.jpg","text":"TemporaryFile(/tmp/multipartBody4131826041735343160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802742764,"filename":"image_22112025_10_09_25_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06cf91e708841d725ff440ec71a1d452.jpg","text":"TemporaryFile(/tmp/multipartBody8062862974966391722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802742764,"filename":"image_22112025_10_09_28_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac81dde72c03249cb2489398eff66193.jpg","text":"TemporaryFile(/tmp/multipartBody8359408029905060677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802742764,"filename":"image_22112025_10_09_21_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/766ab954217fe1a2153c35b8d788965a.jpg","text":"TemporaryFile(/tmp/multipartBody7026096235998573812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802742764,"filename":"image_22112025_10_09_13_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5a36fea6e80ec58831ad90e371e23c1.jpg","text":"TemporaryFile(/tmp/multipartBody1409648230235968336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802742764,"filename":"image_22112025_10_09_15_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690873","file1":"1395690871","file0":"1395690869","file4":"1395690903","file5":"1395690912","file3":"1395690875"},"map_files_photo_id_array":[{"photo_id":"1395690912","filename":"file5"},{"photo_id":"1395690873","filename":"file2"},{"photo_id":"1395690903","filename":"file4"},{"photo_id":"1395690871","filename":"file1"},{"photo_id":"1395690869","filename":"file0"},{"photo_id":"1395690875","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690873":["hashtag1","hashtag2"]},{"1395690903":["hashtag1","hashtag2"]},{"1395690912":["hashtag1","hashtag2"]},{"1395690875":["hashtag1","hashtag2"]},{"1395690869":["hashtag1","hashtag2"]},{"1395690871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690873, 1395690903, 1395690912, 1395690875, 1395690869, 1395690871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02851986885071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:12:02.722913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_30_2497.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_34_3611.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_37_2668.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_40_2900.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_43_3595.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_46_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_30_2497.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_34_3611.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_37_2668.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_40_2900.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_43_3595.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_46_2619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.635512113571167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:12:22.257897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_30_2497.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_34_3611.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_37_2668.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_40_2900.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_43_3595.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_46_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_30_2497.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_34_3611.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_37_2668.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_40_2900.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_43_3595.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_46_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690933","1395690939","1395690944","1395690941","1395690935","1395690937"],"photo_ids_order":["1395690933","1395690935","1395690937","1395690939","1395690941","1395690944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40de1e8b63874924d186d96d382442a7.jpg","text":"TemporaryFile(/tmp/multipartBody7456280851732350331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802802927,"filename":"image_22112025_10_09_30_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecb3f2ae6e0114bb4116b0f857bb6041.jpg","text":"TemporaryFile(/tmp/multipartBody5994467128367939214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802802927,"filename":"image_22112025_10_09_40_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6125a8166545dbe325680b0ba112f4d3.jpg","text":"TemporaryFile(/tmp/multipartBody3574518954652483943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802802927,"filename":"image_22112025_10_09_46_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cd6778acba6b25eed03b2d6c833def3.jpg","text":"TemporaryFile(/tmp/multipartBody7717713487833494781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802802927,"filename":"image_22112025_10_09_43_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ac9bdead5e89482ec400daf385ecc0c.jpg","text":"TemporaryFile(/tmp/multipartBody1210367724905563625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802802927,"filename":"image_22112025_10_09_34_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f11b19522c72e396b9bb18b6a414f2a5.jpg","text":"TemporaryFile(/tmp/multipartBody8953587743041650047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802802927,"filename":"image_22112025_10_09_37_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690937","file1":"1395690935","file0":"1395690933","file4":"1395690941","file5":"1395690944","file3":"1395690939"},"map_files_photo_id_array":[{"photo_id":"1395690944","filename":"file5"},{"photo_id":"1395690937","filename":"file2"},{"photo_id":"1395690941","filename":"file4"},{"photo_id":"1395690935","filename":"file1"},{"photo_id":"1395690933","filename":"file0"},{"photo_id":"1395690939","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690933":["hashtag1","hashtag2"]},{"1395690939":["hashtag1","hashtag2"]},{"1395690944":["hashtag1","hashtag2"]},{"1395690941":["hashtag1","hashtag2"]},{"1395690935":["hashtag1","hashtag2"]},{"1395690937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690933, 1395690939, 1395690944, 1395690941, 1395690935, 1395690937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67856216430664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:13:03.059980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_48_2648.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_52_3707.jpg', '/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_55_2595.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_10_3724.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_13_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_48_2648.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_52_3707.jpg
/home/pi/Desktop/images/22112025/10/09/image_22112025_10_09_55_2595.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_07_3011.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_10_3724.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_13_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690948","1395690950","1395690947","1395690949","1395690952","1395690946"],"photo_ids_order":["1395690946","1395690947","1395690948","1395690949","1395690950","1395690952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89a4fec0494b932371bf5cbb15652326.jpg","text":"TemporaryFile(/tmp/multipartBody3037535382017078565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802843854,"filename":"image_22112025_10_09_55_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a63f3f80a2802d4f46f0395e5206256.jpg","text":"TemporaryFile(/tmp/multipartBody8563397561459422204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802843854,"filename":"image_22112025_10_11_10_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8465d4e004af89d2c8c0b4ac353705b.jpg","text":"TemporaryFile(/tmp/multipartBody3628970224023057786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802843854,"filename":"image_22112025_10_09_52_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a46e68245d3ed7c8dff7af3cc23412e9.jpg","text":"TemporaryFile(/tmp/multipartBody6154027030867194764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802843854,"filename":"image_22112025_10_11_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb85763a94d960e1766dca687db18fe9.jpg","text":"TemporaryFile(/tmp/multipartBody332698220942544931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802843854,"filename":"image_22112025_10_11_13_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1ed5be101dc6a810247b62e35994970.jpg","text":"TemporaryFile(/tmp/multipartBody8907953071871765513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802843854,"filename":"image_22112025_10_09_48_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690948","file1":"1395690947","file0":"1395690946","file4":"1395690950","file5":"1395690952","file3":"1395690949"},"map_files_photo_id_array":[{"photo_id":"1395690952","filename":"file5"},{"photo_id":"1395690948","filename":"file2"},{"photo_id":"1395690950","filename":"file4"},{"photo_id":"1395690947","filename":"file1"},{"photo_id":"1395690946","filename":"file0"},{"photo_id":"1395690949","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690948":["hashtag1","hashtag2"]},{"1395690950":["hashtag1","hashtag2"]},{"1395690947":["hashtag1","hashtag2"]},{"1395690949":["hashtag1","hashtag2"]},{"1395690952":["hashtag1","hashtag2"]},{"1395690946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690948, 1395690950, 1395690947, 1395690949, 1395690952, 1395690946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.130032777786255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:13:42.597060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_16_2647.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_19_3674.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_22_2637.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_26_3550.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_28_2664.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_31_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_16_2647.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_19_3674.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_22_2637.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_26_3550.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_28_2664.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_31_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690966","1395690963","1395690962","1395690961","1395690964","1395690958"],"photo_ids_order":["1395690958","1395690961","1395690962","1395690963","1395690964","1395690966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7099e40f2afdb1e19bd0ac2e0c08553.jpg","text":"TemporaryFile(/tmp/multipartBody986450054155858709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802883288,"filename":"image_22112025_10_11_31_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b69dfd61b8bad2e88bf8a81fb88de4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8258553054962405128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802883288,"filename":"image_22112025_10_11_26_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/511710529727d26c36ff69653b8ebca5.jpg","text":"TemporaryFile(/tmp/multipartBody6263749936919514991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802883288,"filename":"image_22112025_10_11_22_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52d2a58ef1de9ac65ff362a670c408d7.jpg","text":"TemporaryFile(/tmp/multipartBody1761136406923418277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802883288,"filename":"image_22112025_10_11_19_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76175c4cfb6e2804b11239a7f2ddec71.jpg","text":"TemporaryFile(/tmp/multipartBody1922049566730074931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802883288,"filename":"image_22112025_10_11_28_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db593a1c23810c4c6210558be5bebe9f.jpg","text":"TemporaryFile(/tmp/multipartBody2762780737991680417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802883288,"filename":"image_22112025_10_11_16_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690962","file1":"1395690961","file0":"1395690958","file4":"1395690964","file5":"1395690966","file3":"1395690963"},"map_files_photo_id_array":[{"photo_id":"1395690966","filename":"file5"},{"photo_id":"1395690962","filename":"file2"},{"photo_id":"1395690964","filename":"file4"},{"photo_id":"1395690961","filename":"file1"},{"photo_id":"1395690958","filename":"file0"},{"photo_id":"1395690963","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690966":["hashtag1","hashtag2"]},{"1395690963":["hashtag1","hashtag2"]},{"1395690962":["hashtag1","hashtag2"]},{"1395690961":["hashtag1","hashtag2"]},{"1395690964":["hashtag1","hashtag2"]},{"1395690958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690966, 1395690963, 1395690962, 1395690961, 1395690964, 1395690958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25308299064636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:14:21.850046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_35_3672.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_37_2594.jpg', '/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_40_2782.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_11_3679.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_16_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_35_3672.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_37_2594.jpg
/home/pi/Desktop/images/22112025/10/11/image_22112025_10_11_40_2782.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_07_3011.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_11_3679.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_16_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690972","1395690981","1395690974","1395690977","1395690968","1395690979"],"photo_ids_order":["1395690968","1395690972","1395690974","1395690977","1395690979","1395690981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fa4322f2338f432822fcf92c1462f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8917773125332137589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802922568,"filename":"image_22112025_10_11_37_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4692407e1c2c99c8f640ab50c107d6f.jpg","text":"TemporaryFile(/tmp/multipartBody1461633005460270609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802922568,"filename":"image_22112025_10_13_16_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d24b9b5a38d76661bfa52ebd85fe44e.jpg","text":"TemporaryFile(/tmp/multipartBody2913033289503087010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802922568,"filename":"image_22112025_10_11_40_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3be3071ac5d8478eaf22f18c334679a0.jpg","text":"TemporaryFile(/tmp/multipartBody6288313175244375498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802922568,"filename":"image_22112025_10_13_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fe9c43a0e0f1b74529ff4039aeac49d.jpg","text":"TemporaryFile(/tmp/multipartBody7677043437811817277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802922568,"filename":"image_22112025_10_11_35_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48d4b80de0d71e015d924644ea23b37f.jpg","text":"TemporaryFile(/tmp/multipartBody6875120143377665185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802922568,"filename":"image_22112025_10_13_11_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690974","file1":"1395690972","file0":"1395690968","file4":"1395690979","file5":"1395690981","file3":"1395690977"},"map_files_photo_id_array":[{"photo_id":"1395690981","filename":"file5"},{"photo_id":"1395690974","filename":"file2"},{"photo_id":"1395690979","filename":"file4"},{"photo_id":"1395690972","filename":"file1"},{"photo_id":"1395690968","filename":"file0"},{"photo_id":"1395690977","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690972":["hashtag1","hashtag2"]},{"1395690981":["hashtag1","hashtag2"]},{"1395690974":["hashtag1","hashtag2"]},{"1395690977":["hashtag1","hashtag2"]},{"1395690968":["hashtag1","hashtag2"]},{"1395690979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690972, 1395690981, 1395690974, 1395690977, 1395690968, 1395690979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.572768211364746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:15:02.865582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_20_3730.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_22_2579.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_26_3591.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_29_2834.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_31_2829.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_34_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_20_3730.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_22_2579.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_26_3591.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_29_2834.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_31_2829.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_34_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395690983","1395690986","1395690985","1395690988","1395690990","1395690984"],"photo_ids_order":["1395690983","1395690984","1395690985","1395690986","1395690988","1395690990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79dc2e98956bf9cc33ee4c96bcf84dd8.jpg","text":"TemporaryFile(/tmp/multipartBody674412336612007422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802963635,"filename":"image_22112025_10_13_20_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05364019edca19c7e9f38356588fede4.jpg","text":"TemporaryFile(/tmp/multipartBody1427278634279803778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802963635,"filename":"image_22112025_10_13_29_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a70a5f546829bb8557806ad10f96f6c5.jpg","text":"TemporaryFile(/tmp/multipartBody8833948583237415812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802963635,"filename":"image_22112025_10_13_26_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2f7f4f962daf903da45365b7c0ab79f.jpg","text":"TemporaryFile(/tmp/multipartBody4925411338349012281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802963635,"filename":"image_22112025_10_13_31_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2990bc1b70b522b8813b80cc18e55187.jpg","text":"TemporaryFile(/tmp/multipartBody5044734018930561210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802963635,"filename":"image_22112025_10_13_34_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb11953089b400bf328815bd0da19a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8183278379174939204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763802963635,"filename":"image_22112025_10_13_22_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395690985","file1":"1395690984","file0":"1395690983","file4":"1395690988","file5":"1395690990","file3":"1395690986"},"map_files_photo_id_array":[{"photo_id":"1395690990","filename":"file5"},{"photo_id":"1395690985","filename":"file2"},{"photo_id":"1395690988","filename":"file4"},{"photo_id":"1395690984","filename":"file1"},{"photo_id":"1395690983","filename":"file0"},{"photo_id":"1395690986","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395690983":["hashtag1","hashtag2"]},{"1395690986":["hashtag1","hashtag2"]},{"1395690985":["hashtag1","hashtag2"]},{"1395690988":["hashtag1","hashtag2"]},{"1395690990":["hashtag1","hashtag2"]},{"1395690984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395690983, 1395690986, 1395690985, 1395690988, 1395690990, 1395690984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17813539505005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:15:42.120096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_38_3551.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_43_2808.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_47_3571.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_49_2649.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_52_2623.jpg', '/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_58_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_38_3551.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_43_2808.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_47_3571.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_49_2649.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_52_2623.jpg
/home/pi/Desktop/images/22112025/10/13/image_22112025_10_13_58_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691002","1395690995","1395691001","1395691003","1395691000","1395690999"],"photo_ids_order":["1395690995","1395690999","1395691000","1395691001","1395691002","1395691003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a52fca45ee5ae337825f3fbd32c5536.jpg","text":"TemporaryFile(/tmp/multipartBody6076082404894920707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803002792,"filename":"image_22112025_10_13_52_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66b479692436a3fa6d3a21f0767d84b0.jpg","text":"TemporaryFile(/tmp/multipartBody1080950956743339949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803002792,"filename":"image_22112025_10_13_38_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3941740e0ab6f03978ea3b9a487ea02.jpg","text":"TemporaryFile(/tmp/multipartBody885576567279728465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803002792,"filename":"image_22112025_10_13_49_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7386fcb4232f2312a3437e40911c6607.jpg","text":"TemporaryFile(/tmp/multipartBody1466662410543727047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803002792,"filename":"image_22112025_10_13_58_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c1bd9c80e982b1301b809289f0af8c2.jpg","text":"TemporaryFile(/tmp/multipartBody6059186381356940839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803002792,"filename":"image_22112025_10_13_47_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fccb03e2590e112e273f868cc930c93a.jpg","text":"TemporaryFile(/tmp/multipartBody594612390233455736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803002792,"filename":"image_22112025_10_13_43_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691000","file1":"1395690999","file0":"1395690995","file4":"1395691002","file5":"1395691003","file3":"1395691001"},"map_files_photo_id_array":[{"photo_id":"1395691003","filename":"file5"},{"photo_id":"1395691000","filename":"file2"},{"photo_id":"1395691002","filename":"file4"},{"photo_id":"1395690999","filename":"file1"},{"photo_id":"1395690995","filename":"file0"},{"photo_id":"1395691001","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691002":["hashtag1","hashtag2"]},{"1395690995":["hashtag1","hashtag2"]},{"1395691001":["hashtag1","hashtag2"]},{"1395691003":["hashtag1","hashtag2"]},{"1395691000":["hashtag1","hashtag2"]},{"1395690999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691002, 1395690995, 1395691001, 1395691003, 1395691000, 1395690999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95856595039368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:16:22.439831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/14/image_22112025_10_14_01_2612.jpg', '/home/pi/Desktop/images/22112025/10/14/image_22112025_10_14_04_2777.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_06_3015.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_10_3734.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_13_2664.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_15_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/14/image_22112025_10_14_01_2612.jpg
/home/pi/Desktop/images/22112025/10/14/image_22112025_10_14_04_2777.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_06_3015.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_10_3734.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_13_2664.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_15_2665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5981528759002686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:16:42.332466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/14/image_22112025_10_14_01_2612.jpg', '/home/pi/Desktop/images/22112025/10/14/image_22112025_10_14_04_2777.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_06_3015.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_10_3734.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_13_2664.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_15_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/14/image_22112025_10_14_01_2612.jpg
/home/pi/Desktop/images/22112025/10/14/image_22112025_10_14_04_2777.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_06_3015.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_10_3734.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_13_2664.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_15_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691055","1395691058","1395691052","1395691049","1395691071","1395691053"],"photo_ids_order":["1395691049","1395691052","1395691053","1395691055","1395691058","1395691071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a18f955d5ba815cf28222110ab0efab.jpg","text":"TemporaryFile(/tmp/multipartBody2518914656252413005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803063011,"filename":"image_22112025_10_15_10_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39c053bd71147a6eeb2cab205ccfb128.jpg","text":"TemporaryFile(/tmp/multipartBody3576927500692423148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803063011,"filename":"image_22112025_10_15_13_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/504f576128c8f60de9995ca080e0bee6.jpg","text":"TemporaryFile(/tmp/multipartBody1498392236055624410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803063011,"filename":"image_22112025_10_14_04_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c33eeb58e3e1954c621acc51014f914.jpg","text":"TemporaryFile(/tmp/multipartBody873617576349040523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803063011,"filename":"image_22112025_10_14_01_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1d4c6a6cf904d592bfec3a6fdf78995.jpg","text":"TemporaryFile(/tmp/multipartBody5808804015276256214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803063011,"filename":"image_22112025_10_15_15_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dadaa9fecfc44fbeb9ac82c3f2088808.jpg","text":"TemporaryFile(/tmp/multipartBody8292017370862536455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803063011,"filename":"image_22112025_10_15_06_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691053","file1":"1395691052","file0":"1395691049","file4":"1395691058","file5":"1395691071","file3":"1395691055"},"map_files_photo_id_array":[{"photo_id":"1395691071","filename":"file5"},{"photo_id":"1395691053","filename":"file2"},{"photo_id":"1395691058","filename":"file4"},{"photo_id":"1395691052","filename":"file1"},{"photo_id":"1395691049","filename":"file0"},{"photo_id":"1395691055","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691055":["hashtag1","hashtag2"]},{"1395691058":["hashtag1","hashtag2"]},{"1395691052":["hashtag1","hashtag2"]},{"1395691049":["hashtag1","hashtag2"]},{"1395691071":["hashtag1","hashtag2"]},{"1395691053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691055, 1395691058, 1395691052, 1395691049, 1395691071, 1395691053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67941355705261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:17:22.802448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_19_3563.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_22_2669.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_25_3615.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_28_2700.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_33_2694.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_37_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_19_3563.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_22_2669.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_25_3615.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_28_2700.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_33_2694.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_37_3606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691094","1395691088","1395691090","1395691095","1395691092","1395691086"],"photo_ids_order":["1395691086","1395691088","1395691090","1395691092","1395691094","1395691095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f217b905829cfe9a0a5f93875ca15ee.jpg","text":"TemporaryFile(/tmp/multipartBody702959310308824557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803103514,"filename":"image_22112025_10_15_33_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f769a879374234ba89666a890dae5949.jpg","text":"TemporaryFile(/tmp/multipartBody6525353158547662617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803103514,"filename":"image_22112025_10_15_22_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e25956a3756c512320bef162357692bf.jpg","text":"TemporaryFile(/tmp/multipartBody8881002324961775393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803103514,"filename":"image_22112025_10_15_25_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0899772c3352e5b6c58a46b2f5b4d5e0.jpg","text":"TemporaryFile(/tmp/multipartBody284939916751450846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803103514,"filename":"image_22112025_10_15_37_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2789c44362d7ad8d14cb476e1ead4102.jpg","text":"TemporaryFile(/tmp/multipartBody2642557806959784100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803103514,"filename":"image_22112025_10_15_28_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c1a50a1978ed4e10866020cf51a4cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7767999565957410907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803103514,"filename":"image_22112025_10_15_19_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691090","file1":"1395691088","file0":"1395691086","file4":"1395691094","file5":"1395691095","file3":"1395691092"},"map_files_photo_id_array":[{"photo_id":"1395691095","filename":"file5"},{"photo_id":"1395691090","filename":"file2"},{"photo_id":"1395691094","filename":"file4"},{"photo_id":"1395691088","filename":"file1"},{"photo_id":"1395691086","filename":"file0"},{"photo_id":"1395691092","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691094":["hashtag1","hashtag2"]},{"1395691088":["hashtag1","hashtag2"]},{"1395691090":["hashtag1","hashtag2"]},{"1395691095":["hashtag1","hashtag2"]},{"1395691092":["hashtag1","hashtag2"]},{"1395691086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691094, 1395691088, 1395691090, 1395691095, 1395691092, 1395691086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94017291069031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:18:02.589104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_40_2603.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_42_2787.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_46_3610.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_49_2750.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_51_2711.jpg', '/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_54_3026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_40_2603.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_42_2787.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_46_3610.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_49_2750.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_51_2711.jpg
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_54_3026.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691107","1395691106","1395691109","1395691100","1395691103","1395691105"],"photo_ids_order":["1395691100","1395691103","1395691105","1395691106","1395691107","1395691109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86b639b5265e590802776a105ae443ea.jpg","text":"TemporaryFile(/tmp/multipartBody738505174184942271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803143297,"filename":"image_22112025_10_15_51_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cc526b7084117be4b35231107fb3a4a.jpg","text":"TemporaryFile(/tmp/multipartBody312559271895603101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803143297,"filename":"image_22112025_10_15_49_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86996471ab0885831d833dca3cd25bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3733621467477050861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803143297,"filename":"image_22112025_10_15_54_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5b6fb8fee874539e247b0549916c712.jpg","text":"TemporaryFile(/tmp/multipartBody2664529903256318655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803143297,"filename":"image_22112025_10_15_40_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95d984140dad6b9bab3c86c84d0cf201.jpg","text":"TemporaryFile(/tmp/multipartBody2780372777924497128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803143297,"filename":"image_22112025_10_15_42_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c2a81704a52de56b307a90ccbd5882f.jpg","text":"TemporaryFile(/tmp/multipartBody8748415352575340740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803143297,"filename":"image_22112025_10_15_46_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691105","file1":"1395691103","file0":"1395691100","file4":"1395691107","file5":"1395691109","file3":"1395691106"},"map_files_photo_id_array":[{"photo_id":"1395691109","filename":"file5"},{"photo_id":"1395691105","filename":"file2"},{"photo_id":"1395691107","filename":"file4"},{"photo_id":"1395691103","filename":"file1"},{"photo_id":"1395691100","filename":"file0"},{"photo_id":"1395691106","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691107":["hashtag1","hashtag2"]},{"1395691106":["hashtag1","hashtag2"]},{"1395691109":["hashtag1","hashtag2"]},{"1395691100":["hashtag1","hashtag2"]},{"1395691103":["hashtag1","hashtag2"]},{"1395691105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691107, 1395691106, 1395691109, 1395691100, 1395691103, 1395691105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.172258615493774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:18:42.163287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_58_3535.jpg', '/home/pi/Desktop/images/22112025/10/16/image_22112025_10_16_01_2643.jpg', '/home/pi/Desktop/images/22112025/10/16/image_22112025_10_16_03_2653.jpg', '/home/pi/Desktop/images/22112025/10/16/image_22112025_10_16_07_3717.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_07_3018.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_10_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/15/image_22112025_10_15_58_3535.jpg
/home/pi/Desktop/images/22112025/10/16/image_22112025_10_16_01_2643.jpg
/home/pi/Desktop/images/22112025/10/16/image_22112025_10_16_03_2653.jpg
/home/pi/Desktop/images/22112025/10/16/image_22112025_10_16_07_3717.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_07_3018.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_10_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691116","1395691119","1395691118","1395691120","1395691117","1395691114"],"photo_ids_order":["1395691114","1395691116","1395691117","1395691118","1395691119","1395691120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d17599af1036f83f61c843a3d1d88149.jpg","text":"TemporaryFile(/tmp/multipartBody4648123669340307830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803182850,"filename":"image_22112025_10_16_01_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/488df771246a0db99f00f46edb1fb4a0.jpg","text":"TemporaryFile(/tmp/multipartBody1049150233849636777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803182850,"filename":"image_22112025_10_17_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e462a60f75c504bb6944289443a9b39c.jpg","text":"TemporaryFile(/tmp/multipartBody4912808100780933204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803182850,"filename":"image_22112025_10_16_07_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbbc76c7bbb2ebfe5e84a4cc2ad22bd1.jpg","text":"TemporaryFile(/tmp/multipartBody6483518157814670661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803182850,"filename":"image_22112025_10_17_10_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6da005a300af09aed54bcc9769206ce.jpg","text":"TemporaryFile(/tmp/multipartBody2680551920106217919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803182850,"filename":"image_22112025_10_16_03_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbdc1b0f7b61bdad3ad227f234c147e9.jpg","text":"TemporaryFile(/tmp/multipartBody150060406512092280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803182850,"filename":"image_22112025_10_15_58_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691117","file1":"1395691116","file0":"1395691114","file4":"1395691119","file5":"1395691120","file3":"1395691118"},"map_files_photo_id_array":[{"photo_id":"1395691120","filename":"file5"},{"photo_id":"1395691117","filename":"file2"},{"photo_id":"1395691119","filename":"file4"},{"photo_id":"1395691116","filename":"file1"},{"photo_id":"1395691114","filename":"file0"},{"photo_id":"1395691118","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691116":["hashtag1","hashtag2"]},{"1395691119":["hashtag1","hashtag2"]},{"1395691118":["hashtag1","hashtag2"]},{"1395691120":["hashtag1","hashtag2"]},{"1395691117":["hashtag1","hashtag2"]},{"1395691114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691116, 1395691119, 1395691118, 1395691120, 1395691117, 1395691114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.119731187820435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:19:22.447343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_13_2527.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_16_3550.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_19_2557.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_22_3587.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_25_2752.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_28_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_13_2527.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_16_3550.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_19_2557.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_22_3587.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_25_2752.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_28_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691122","1395691124","1395691127","1395691129","1395691132","1395691126"],"photo_ids_order":["1395691122","1395691124","1395691126","1395691127","1395691129","1395691132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0452ad23f0c74e4d315c3be68b516c80.jpg","text":"TemporaryFile(/tmp/multipartBody7068989330265815276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803223260,"filename":"image_22112025_10_17_13_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19d1182d75cfaaf7fa4974427a25a306.jpg","text":"TemporaryFile(/tmp/multipartBody95329056653425752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803223260,"filename":"image_22112025_10_17_16_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a286c0e5ac7e957af221841e1d80077.jpg","text":"TemporaryFile(/tmp/multipartBody8073857518078361936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803223260,"filename":"image_22112025_10_17_22_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b00b6f9ee790b8120cbedf76877fac1e.jpg","text":"TemporaryFile(/tmp/multipartBody1599725538962440592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803223260,"filename":"image_22112025_10_17_25_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd0f843e09b2d1d3b8c500aef0b7d630.jpg","text":"TemporaryFile(/tmp/multipartBody450378995593063325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803223260,"filename":"image_22112025_10_17_28_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc45db180399859f4f35dd1c58a21ddd.jpg","text":"TemporaryFile(/tmp/multipartBody1044293568005001162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803223260,"filename":"image_22112025_10_17_19_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691126","file1":"1395691124","file0":"1395691122","file4":"1395691129","file5":"1395691132","file3":"1395691127"},"map_files_photo_id_array":[{"photo_id":"1395691132","filename":"file5"},{"photo_id":"1395691126","filename":"file2"},{"photo_id":"1395691129","filename":"file4"},{"photo_id":"1395691124","filename":"file1"},{"photo_id":"1395691122","filename":"file0"},{"photo_id":"1395691127","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691122":["hashtag1","hashtag2"]},{"1395691124":["hashtag1","hashtag2"]},{"1395691127":["hashtag1","hashtag2"]},{"1395691129":["hashtag1","hashtag2"]},{"1395691132":["hashtag1","hashtag2"]},{"1395691126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691122, 1395691124, 1395691127, 1395691129, 1395691132, 1395691126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83514976501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:20:03.232901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_31_2683.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_34_3608.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_37_2516.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_40_3598.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_43_2525.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_46_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_31_2683.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_34_3608.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_37_2516.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_40_3598.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_43_2525.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_46_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691140","1395691134","1395691137","1395691136","1395691156","1395691135"],"photo_ids_order":["1395691134","1395691135","1395691136","1395691137","1395691140","1395691156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42a7dab0ca8b0b3822d51e85250abda1.jpg","text":"TemporaryFile(/tmp/multipartBody8824513902524394560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803263976,"filename":"image_22112025_10_17_43_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9617b4074b98c70c958966885050953.jpg","text":"TemporaryFile(/tmp/multipartBody8891202001802084902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803263976,"filename":"image_22112025_10_17_31_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a2da5a7a44dcbec824e229795294943.jpg","text":"TemporaryFile(/tmp/multipartBody918741887823671990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803263976,"filename":"image_22112025_10_17_40_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f12b0cc617162233d3dafd6d7e2509e.jpg","text":"TemporaryFile(/tmp/multipartBody7134859237030605042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803263976,"filename":"image_22112025_10_17_37_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6805de9ea9c0a6af3f11345e5fda5f0.jpg","text":"TemporaryFile(/tmp/multipartBody3309664806964060303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803263976,"filename":"image_22112025_10_17_46_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2b6713931df38c9bce5d87921139c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7309956094597518911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803263976,"filename":"image_22112025_10_17_34_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691136","file1":"1395691135","file0":"1395691134","file4":"1395691140","file5":"1395691156","file3":"1395691137"},"map_files_photo_id_array":[{"photo_id":"1395691156","filename":"file5"},{"photo_id":"1395691136","filename":"file2"},{"photo_id":"1395691140","filename":"file4"},{"photo_id":"1395691135","filename":"file1"},{"photo_id":"1395691134","filename":"file0"},{"photo_id":"1395691137","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691140":["hashtag1","hashtag2"]},{"1395691134":["hashtag1","hashtag2"]},{"1395691137":["hashtag1","hashtag2"]},{"1395691136":["hashtag1","hashtag2"]},{"1395691156":["hashtag1","hashtag2"]},{"1395691135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691140, 1395691134, 1395691137, 1395691136, 1395691156, 1395691135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5460889339447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:20:42.709585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_49_3821.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_52_2682.jpg', '/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_55_2550.jpg', '/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_10_3766.jpg', '/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_13_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_49_3821.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_52_2682.jpg
/home/pi/Desktop/images/22112025/10/17/image_22112025_10_17_55_2550.jpg
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_07_3011.jpg
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_10_3766.jpg
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_13_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691181","1395691166","1395691165","1395691185","1395691164","1395691167"],"photo_ids_order":["1395691164","1395691165","1395691166","1395691167","1395691181","1395691185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c909c9bf2d1f8446b605c6a7bf08b20.jpg","text":"TemporaryFile(/tmp/multipartBody5835825531386556512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803303396,"filename":"image_22112025_10_19_10_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6348c7fe6c50ee25f68da99b9030a72.jpg","text":"TemporaryFile(/tmp/multipartBody6531476734831434802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803303396,"filename":"image_22112025_10_17_55_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd8933020c49d79c5c6c556112b31582.jpg","text":"TemporaryFile(/tmp/multipartBody535954788052896044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803303396,"filename":"image_22112025_10_17_52_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f7d49296c892e8ad2eaec7ae082f33c.jpg","text":"TemporaryFile(/tmp/multipartBody1601332292059496667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803303396,"filename":"image_22112025_10_19_13_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a4cd3eb94f868ba874a03e0228390d6.jpg","text":"TemporaryFile(/tmp/multipartBody2959222016572679874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803303396,"filename":"image_22112025_10_17_49_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bc54c2f939274d7529ac6c5c0188e9c.jpg","text":"TemporaryFile(/tmp/multipartBody2965802818806173909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803303396,"filename":"image_22112025_10_19_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691166","file1":"1395691165","file0":"1395691164","file4":"1395691181","file5":"1395691185","file3":"1395691167"},"map_files_photo_id_array":[{"photo_id":"1395691185","filename":"file5"},{"photo_id":"1395691166","filename":"file2"},{"photo_id":"1395691181","filename":"file4"},{"photo_id":"1395691165","filename":"file1"},{"photo_id":"1395691164","filename":"file0"},{"photo_id":"1395691167","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691181":["hashtag1","hashtag2"]},{"1395691166":["hashtag1","hashtag2"]},{"1395691165":["hashtag1","hashtag2"]},{"1395691185":["hashtag1","hashtag2"]},{"1395691164":["hashtag1","hashtag2"]},{"1395691167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691181, 1395691166, 1395691165, 1395691185, 1395691164, 1395691167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33931756019592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:21:22.057249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_16_2619.jpg', '/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_19_3497.jpg', '/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_22_2626.jpg', '/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_28_2694.jpg', '/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_31_2734.jpg', '/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_34_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_16_2619.jpg
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_19_3497.jpg
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_22_2626.jpg
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_28_2694.jpg
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_31_2734.jpg
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_34_3606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691200","1395691190","1395691203","1395691193","1395691187","1395691196"],"photo_ids_order":["1395691187","1395691190","1395691193","1395691196","1395691200","1395691203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f670d8b1d26f664b5f6352569174d7c8.jpg","text":"TemporaryFile(/tmp/multipartBody4118328750617592013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803342789,"filename":"image_22112025_10_19_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5986e50cd9d7266c7348eaf9e05c68ce.jpg","text":"TemporaryFile(/tmp/multipartBody2665324996163877344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803342789,"filename":"image_22112025_10_19_19_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78f1440eddc249a7118d04f94b5f235b.jpg","text":"TemporaryFile(/tmp/multipartBody2008308601423285255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803342789,"filename":"image_22112025_10_19_34_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/347d76ff3054b00aad7291832c02cc71.jpg","text":"TemporaryFile(/tmp/multipartBody3098501352411124102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803342789,"filename":"image_22112025_10_19_22_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e3b112825d17ee2d57f92ff514673df.jpg","text":"TemporaryFile(/tmp/multipartBody4835944388665056116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803342789,"filename":"image_22112025_10_19_16_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ccc4125817da1256c61be6d40b89c47.jpg","text":"TemporaryFile(/tmp/multipartBody4545179885206573054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803342789,"filename":"image_22112025_10_19_28_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691193","file1":"1395691190","file0":"1395691187","file4":"1395691200","file5":"1395691203","file3":"1395691196"},"map_files_photo_id_array":[{"photo_id":"1395691203","filename":"file5"},{"photo_id":"1395691193","filename":"file2"},{"photo_id":"1395691200","filename":"file4"},{"photo_id":"1395691190","filename":"file1"},{"photo_id":"1395691187","filename":"file0"},{"photo_id":"1395691196","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691200":["hashtag1","hashtag2"]},{"1395691190":["hashtag1","hashtag2"]},{"1395691203":["hashtag1","hashtag2"]},{"1395691193":["hashtag1","hashtag2"]},{"1395691187":["hashtag1","hashtag2"]},{"1395691196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691200, 1395691190, 1395691203, 1395691193, 1395691187, 1395691196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74630951881409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:22:02.800763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_37_2729.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_11_3801.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_14_2558.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_17_3596.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_20_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/19/image_22112025_10_19_37_2729.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_07_3011.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_11_3801.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_14_2558.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_17_3596.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_20_2545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691212","1395691215","1395691209","1395691206","1395691208","1395691210"],"photo_ids_order":["1395691206","1395691208","1395691209","1395691210","1395691212","1395691215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36e6c79809dfc32deb909e359020da65.jpg","text":"TemporaryFile(/tmp/multipartBody8585098573622430292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803383539,"filename":"image_22112025_10_21_17_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e688b1810f00bbd42d02cd1acc3780d.jpg","text":"TemporaryFile(/tmp/multipartBody6819235942131744773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803383539,"filename":"image_22112025_10_21_20_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f37936700a70717bd267b9e6d10b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody493171657204778272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803383539,"filename":"image_22112025_10_21_11_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/958fc8aaeaed0f2607353ac6b6138538.jpg","text":"TemporaryFile(/tmp/multipartBody7974881489831717330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803383539,"filename":"image_22112025_10_19_37_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0374e991cd5f139d31e19adbaef0a05b.jpg","text":"TemporaryFile(/tmp/multipartBody9148405291145793887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803383539,"filename":"image_22112025_10_21_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a7d2de25f1f4d15e0cd8400d8a543d7.jpg","text":"TemporaryFile(/tmp/multipartBody6398819209905009701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803383539,"filename":"image_22112025_10_21_14_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691209","file1":"1395691208","file0":"1395691206","file4":"1395691212","file5":"1395691215","file3":"1395691210"},"map_files_photo_id_array":[{"photo_id":"1395691215","filename":"file5"},{"photo_id":"1395691209","filename":"file2"},{"photo_id":"1395691212","filename":"file4"},{"photo_id":"1395691208","filename":"file1"},{"photo_id":"1395691206","filename":"file0"},{"photo_id":"1395691210","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691212":["hashtag1","hashtag2"]},{"1395691215":["hashtag1","hashtag2"]},{"1395691209":["hashtag1","hashtag2"]},{"1395691206":["hashtag1","hashtag2"]},{"1395691208":["hashtag1","hashtag2"]},{"1395691210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691212, 1395691215, 1395691209, 1395691206, 1395691208, 1395691210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46188187599182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:22:42.381939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_23_2847.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_25_2692.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_29_3595.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_32_2784.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_34_2809.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_37_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_23_2847.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_25_2692.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_29_3595.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_32_2784.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_34_2809.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_37_2799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691233","1395691235","1395691226","1395691229","1395691234","1395691231"],"photo_ids_order":["1395691226","1395691229","1395691231","1395691233","1395691234","1395691235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06ec2bd209b9f9d9818bafa89ca1b470.jpg","text":"TemporaryFile(/tmp/multipartBody2587484001565842579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803423137,"filename":"image_22112025_10_21_32_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4e65e7a2316da70db4f3294cbc6068a.jpg","text":"TemporaryFile(/tmp/multipartBody7389758727968780043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803423137,"filename":"image_22112025_10_21_37_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9caaa093922b17a268832c06c10774f.jpg","text":"TemporaryFile(/tmp/multipartBody4537603892246470976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803423137,"filename":"image_22112025_10_21_23_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef430f8dc3aa669ce5d6634f7564827b.jpg","text":"TemporaryFile(/tmp/multipartBody4010946512859389445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803423137,"filename":"image_22112025_10_21_25_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0eda1811fa64dd74f26a86becaa19dac.jpg","text":"TemporaryFile(/tmp/multipartBody1790902533981732393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803423137,"filename":"image_22112025_10_21_34_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96f9db60fa2edb3a044f7d8f95863ac6.jpg","text":"TemporaryFile(/tmp/multipartBody3409917061752844366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803423137,"filename":"image_22112025_10_21_29_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691231","file1":"1395691229","file0":"1395691226","file4":"1395691234","file5":"1395691235","file3":"1395691233"},"map_files_photo_id_array":[{"photo_id":"1395691235","filename":"file5"},{"photo_id":"1395691231","filename":"file2"},{"photo_id":"1395691234","filename":"file4"},{"photo_id":"1395691229","filename":"file1"},{"photo_id":"1395691226","filename":"file0"},{"photo_id":"1395691233","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691233":["hashtag1","hashtag2"]},{"1395691235":["hashtag1","hashtag2"]},{"1395691226":["hashtag1","hashtag2"]},{"1395691229":["hashtag1","hashtag2"]},{"1395691234":["hashtag1","hashtag2"]},{"1395691231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691233, 1395691235, 1395691226, 1395691229, 1395691234, 1395691231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55639863014221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:23:22.694525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_41_3794.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_44_2817.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_46_2520.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_49_2757.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_53_3674.jpg', '/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_55_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_41_3794.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_44_2817.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_46_2520.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_49_2757.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_53_3674.jpg
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_55_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691253","1395691241","1395691244","1395691246","1395691249","1395691237"],"photo_ids_order":["1395691237","1395691241","1395691244","1395691246","1395691249","1395691253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48c697d7fdd7828ad038e5079d44b0ee.jpg","text":"TemporaryFile(/tmp/multipartBody3787707476277452158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803463452,"filename":"image_22112025_10_21_55_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c26131527c2b8caeddf5c66c19e6d266.jpg","text":"TemporaryFile(/tmp/multipartBody7638422258236692512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803463452,"filename":"image_22112025_10_21_44_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/524fca9e163781c56300a65b1a710662.jpg","text":"TemporaryFile(/tmp/multipartBody2198105862527621237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803463452,"filename":"image_22112025_10_21_46_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/077882b6f07f3f37fa533b0d8ad5794d.jpg","text":"TemporaryFile(/tmp/multipartBody6010766773408687427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803463452,"filename":"image_22112025_10_21_49_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca59c4994ef3410c8e1d9d9d091e788a.jpg","text":"TemporaryFile(/tmp/multipartBody1730130753301380243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803463452,"filename":"image_22112025_10_21_53_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e982140d3541d14a2915b0f3f3fad2e3.jpg","text":"TemporaryFile(/tmp/multipartBody2036221065877301636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803463452,"filename":"image_22112025_10_21_41_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691244","file1":"1395691241","file0":"1395691237","file4":"1395691249","file5":"1395691253","file3":"1395691246"},"map_files_photo_id_array":[{"photo_id":"1395691253","filename":"file5"},{"photo_id":"1395691244","filename":"file2"},{"photo_id":"1395691249","filename":"file4"},{"photo_id":"1395691241","filename":"file1"},{"photo_id":"1395691237","filename":"file0"},{"photo_id":"1395691246","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691253":["hashtag1","hashtag2"]},{"1395691241":["hashtag1","hashtag2"]},{"1395691244":["hashtag1","hashtag2"]},{"1395691246":["hashtag1","hashtag2"]},{"1395691249":["hashtag1","hashtag2"]},{"1395691237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691253, 1395691241, 1395691244, 1395691246, 1395691249, 1395691237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.519322872161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:24:02.739439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_59_3546.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_07_3012.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_10_3698.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_13_2625.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_16_2669.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_19_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/21/image_22112025_10_21_59_3546.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_07_3012.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_10_3698.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_13_2625.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_16_2669.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_19_3708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691265","1395691267","1395691269","1395691263","1395691272","1395691266"],"photo_ids_order":["1395691263","1395691265","1395691266","1395691267","1395691269","1395691272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e756599389db5413d05b93560aec8046.jpg","text":"TemporaryFile(/tmp/multipartBody1097713570023463760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803503478,"filename":"image_22112025_10_23_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91d6815b5b35b64901c553190ba6a755.jpg","text":"TemporaryFile(/tmp/multipartBody6165605355695062070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803503478,"filename":"image_22112025_10_23_13_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8eeffe6fee72853ba90781c148062a3.jpg","text":"TemporaryFile(/tmp/multipartBody6960781539850473616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803503478,"filename":"image_22112025_10_23_16_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6f6978a6c121104a1c36581939ae670.jpg","text":"TemporaryFile(/tmp/multipartBody729487509296314811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803503478,"filename":"image_22112025_10_21_59_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d09bcc92734e6eb5e633b61f5d6240d.jpg","text":"TemporaryFile(/tmp/multipartBody4440927858239800497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803503478,"filename":"image_22112025_10_23_19_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2090b147ec6e7c307b63faca91933f31.jpg","text":"TemporaryFile(/tmp/multipartBody5825171771349371997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803503478,"filename":"image_22112025_10_23_10_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691266","file1":"1395691265","file0":"1395691263","file4":"1395691269","file5":"1395691272","file3":"1395691267"},"map_files_photo_id_array":[{"photo_id":"1395691272","filename":"file5"},{"photo_id":"1395691266","filename":"file2"},{"photo_id":"1395691269","filename":"file4"},{"photo_id":"1395691265","filename":"file1"},{"photo_id":"1395691263","filename":"file0"},{"photo_id":"1395691267","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691265":["hashtag1","hashtag2"]},{"1395691267":["hashtag1","hashtag2"]},{"1395691269":["hashtag1","hashtag2"]},{"1395691263":["hashtag1","hashtag2"]},{"1395691272":["hashtag1","hashtag2"]},{"1395691266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691265, 1395691267, 1395691269, 1395691263, 1395691272, 1395691266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56195068359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:24:41.910209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_22_2674.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_25_2717.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_29_3713.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_31_2691.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_34_2708.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_38_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_22_2674.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_25_2717.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_29_3713.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_31_2691.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_34_2708.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_38_3639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5733439922332764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:25:02.651968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_22_2674.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_25_2717.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_29_3713.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_31_2691.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_34_2708.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_38_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_22_2674.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_25_2717.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_29_3713.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_31_2691.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_34_2708.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_38_3639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691302","1395691295","1395691304","1395691297","1395691300","1395691299"],"photo_ids_order":["1395691295","1395691297","1395691299","1395691300","1395691302","1395691304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53ec32824cc7efc64bc3054faec118a4.jpg","text":"TemporaryFile(/tmp/multipartBody2488192186039201558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803563415,"filename":"image_22112025_10_23_34_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb85f654d9ac54b60b98dc8bd9a05f03.jpg","text":"TemporaryFile(/tmp/multipartBody2413232024379962077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803563415,"filename":"image_22112025_10_23_22_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a64583078384ff5cc0f67491d66dec9.jpg","text":"TemporaryFile(/tmp/multipartBody6707153607809464693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803563415,"filename":"image_22112025_10_23_38_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12d555e6e2bff42db2cf58e2664640aa.jpg","text":"TemporaryFile(/tmp/multipartBody3745354577901000560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803563415,"filename":"image_22112025_10_23_25_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3b26db39474fc8e8e5378b831ba75af.jpg","text":"TemporaryFile(/tmp/multipartBody2976924433292127471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803563415,"filename":"image_22112025_10_23_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e79c538ddfb6ebb23a6baade921f243a.jpg","text":"TemporaryFile(/tmp/multipartBody3494405827904987051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803563415,"filename":"image_22112025_10_23_29_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691299","file1":"1395691297","file0":"1395691295","file4":"1395691302","file5":"1395691304","file3":"1395691300"},"map_files_photo_id_array":[{"photo_id":"1395691304","filename":"file5"},{"photo_id":"1395691299","filename":"file2"},{"photo_id":"1395691302","filename":"file4"},{"photo_id":"1395691297","filename":"file1"},{"photo_id":"1395691295","filename":"file0"},{"photo_id":"1395691300","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691302":["hashtag1","hashtag2"]},{"1395691295":["hashtag1","hashtag2"]},{"1395691304":["hashtag1","hashtag2"]},{"1395691297":["hashtag1","hashtag2"]},{"1395691300":["hashtag1","hashtag2"]},{"1395691299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691302, 1395691295, 1395691304, 1395691297, 1395691300, 1395691299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.896878719329834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:25:41.948001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_40_2657.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_43_2734.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_46_3536.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_49_2642.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_52_2550.jpg', '/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_55_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_40_2657.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_43_2734.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_46_3536.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_49_2642.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_52_2550.jpg
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_55_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691311","1395691314","1395691313","1395691315","1395691309","1395691312"],"photo_ids_order":["1395691309","1395691311","1395691312","1395691313","1395691314","1395691315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b27fb801a2c963fba447185b2faee5d5.jpg","text":"TemporaryFile(/tmp/multipartBody2515361482990857427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803602627,"filename":"image_22112025_10_23_43_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b699364d54c50c73b940938e889588b8.jpg","text":"TemporaryFile(/tmp/multipartBody8169441203416841734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803602627,"filename":"image_22112025_10_23_52_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb5839a5747746febf423c8b68c4f99d.jpg","text":"TemporaryFile(/tmp/multipartBody135348648265677281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803602627,"filename":"image_22112025_10_23_49_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdd4577cb84cb334f910943d8394b755.jpg","text":"TemporaryFile(/tmp/multipartBody357676918164391499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803602627,"filename":"image_22112025_10_23_55_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bc03ff7c04c47f6288c5a1713271131.jpg","text":"TemporaryFile(/tmp/multipartBody7251721817277689497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803602627,"filename":"image_22112025_10_23_40_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9370d1a91ff1eb3ec474f58c0511c354.jpg","text":"TemporaryFile(/tmp/multipartBody4737440187570379564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803602627,"filename":"image_22112025_10_23_46_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691312","file1":"1395691311","file0":"1395691309","file4":"1395691314","file5":"1395691315","file3":"1395691313"},"map_files_photo_id_array":[{"photo_id":"1395691315","filename":"file5"},{"photo_id":"1395691312","filename":"file2"},{"photo_id":"1395691314","filename":"file4"},{"photo_id":"1395691311","filename":"file1"},{"photo_id":"1395691309","filename":"file0"},{"photo_id":"1395691313","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691311":["hashtag1","hashtag2"]},{"1395691314":["hashtag1","hashtag2"]},{"1395691313":["hashtag1","hashtag2"]},{"1395691315":["hashtag1","hashtag2"]},{"1395691309":["hashtag1","hashtag2"]},{"1395691312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691311, 1395691314, 1395691313, 1395691315, 1395691309, 1395691312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0340301990509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:26:22.180107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_58_2691.jpg', '/home/pi/Desktop/images/22112025/10/24/image_22112025_10_24_02_3497.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_06_3016.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_10_3648.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_13_2789.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_16_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/23/image_22112025_10_23_58_2691.jpg
/home/pi/Desktop/images/22112025/10/24/image_22112025_10_24_02_3497.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_06_3016.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_10_3648.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_13_2789.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_16_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691317","1395691331","1395691328","1395691321","1395691324","1395691318"],"photo_ids_order":["1395691317","1395691318","1395691321","1395691324","1395691328","1395691331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f18b1923e59a21cf269b84dd0d91b79.jpg","text":"TemporaryFile(/tmp/multipartBody1446098018804205942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803642890,"filename":"image_22112025_10_23_58_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/417e5e277b8da949ae8d41dd46e451f0.jpg","text":"TemporaryFile(/tmp/multipartBody697936550428297040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803642890,"filename":"image_22112025_10_25_16_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/166f4a3b4b7de66e00d3539fd1df227b.jpg","text":"TemporaryFile(/tmp/multipartBody3895026706272406956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803642890,"filename":"image_22112025_10_25_13_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70b8873a1312709aa8915f7580533f2c.jpg","text":"TemporaryFile(/tmp/multipartBody967036929839437138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803642890,"filename":"image_22112025_10_25_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcbe85ef9b4c16afce72ca5e53c7f268.jpg","text":"TemporaryFile(/tmp/multipartBody4373231671523371932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803642890,"filename":"image_22112025_10_25_10_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25ec11fefb4d2e38ed961743a7a87445.jpg","text":"TemporaryFile(/tmp/multipartBody5978275301631535415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803642890,"filename":"image_22112025_10_24_02_3497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691321","file1":"1395691318","file0":"1395691317","file4":"1395691328","file5":"1395691331","file3":"1395691324"},"map_files_photo_id_array":[{"photo_id":"1395691331","filename":"file5"},{"photo_id":"1395691321","filename":"file2"},{"photo_id":"1395691328","filename":"file4"},{"photo_id":"1395691318","filename":"file1"},{"photo_id":"1395691317","filename":"file0"},{"photo_id":"1395691324","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691317":["hashtag1","hashtag2"]},{"1395691331":["hashtag1","hashtag2"]},{"1395691328":["hashtag1","hashtag2"]},{"1395691321":["hashtag1","hashtag2"]},{"1395691324":["hashtag1","hashtag2"]},{"1395691318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691317, 1395691331, 1395691328, 1395691321, 1395691324, 1395691318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88553524017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:27:02.629699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_19_3537.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_22_2760.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_25_3515.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_28_2640.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_31_2659.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_34_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_19_3537.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_22_2760.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_25_3515.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_28_2640.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_31_2659.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_34_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691332","1395691335","1395691334","1395691337","1395691339","1395691333"],"photo_ids_order":["1395691332","1395691333","1395691334","1395691335","1395691337","1395691339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55a482ece45200dd62c16d719de41a99.jpg","text":"TemporaryFile(/tmp/multipartBody1973284033754865890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803683400,"filename":"image_22112025_10_25_19_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/879e4a4f10213ea3c2214c2faa211371.jpg","text":"TemporaryFile(/tmp/multipartBody332323585293192075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803683400,"filename":"image_22112025_10_25_28_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec587ba5408cc23788d8c55f380ab308.jpg","text":"TemporaryFile(/tmp/multipartBody4345732945945054326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803683400,"filename":"image_22112025_10_25_25_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32d2c0babba20ec19b821e08a5a93e64.jpg","text":"TemporaryFile(/tmp/multipartBody4650951334867680501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803683400,"filename":"image_22112025_10_25_31_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/198566229c4e5294ed4f2844825acd4f.jpg","text":"TemporaryFile(/tmp/multipartBody3116525623561886541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803683400,"filename":"image_22112025_10_25_34_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b460a51fd071a42134bdf6b63413dab4.jpg","text":"TemporaryFile(/tmp/multipartBody5250304198301939649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803683400,"filename":"image_22112025_10_25_22_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691334","file1":"1395691333","file0":"1395691332","file4":"1395691337","file5":"1395691339","file3":"1395691335"},"map_files_photo_id_array":[{"photo_id":"1395691339","filename":"file5"},{"photo_id":"1395691334","filename":"file2"},{"photo_id":"1395691337","filename":"file4"},{"photo_id":"1395691333","filename":"file1"},{"photo_id":"1395691332","filename":"file0"},{"photo_id":"1395691335","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691332":["hashtag1","hashtag2"]},{"1395691335":["hashtag1","hashtag2"]},{"1395691334":["hashtag1","hashtag2"]},{"1395691337":["hashtag1","hashtag2"]},{"1395691339":["hashtag1","hashtag2"]},{"1395691333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691332, 1395691335, 1395691334, 1395691337, 1395691339, 1395691333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52849006652832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:27:41.855978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_37_2545.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_40_2600.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_43_3658.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_46_2566.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_48_2672.jpg', '/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_52_3782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_37_2545.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_40_2600.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_43_3658.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_46_2566.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_48_2672.jpg
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_52_3782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691347","1395691352","1395691349","1395691351","1395691350","1395691344"],"photo_ids_order":["1395691344","1395691347","1395691349","1395691350","1395691351","1395691352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f7d938408611882b9defee179f10085.jpg","text":"TemporaryFile(/tmp/multipartBody4539986494083971918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803722551,"filename":"image_22112025_10_25_40_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71c5434fe9946060ce05dc15a8c49563.jpg","text":"TemporaryFile(/tmp/multipartBody8826124034736117816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803722551,"filename":"image_22112025_10_25_52_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e93d24e14c59139fa9ca264f3f485b14.jpg","text":"TemporaryFile(/tmp/multipartBody3819188109584916168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803722551,"filename":"image_22112025_10_25_43_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/829922943e027e0fe5abbc3f46346042.jpg","text":"TemporaryFile(/tmp/multipartBody724366835156861936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803722551,"filename":"image_22112025_10_25_48_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fabb89f5b3e142c8892913a6380fa59c.jpg","text":"TemporaryFile(/tmp/multipartBody3133568872880026259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803722551,"filename":"image_22112025_10_25_46_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbc0580f486918b0aad3752d3ce68a45.jpg","text":"TemporaryFile(/tmp/multipartBody4617773921162242794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803722551,"filename":"image_22112025_10_25_37_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691349","file1":"1395691347","file0":"1395691344","file4":"1395691351","file5":"1395691352","file3":"1395691350"},"map_files_photo_id_array":[{"photo_id":"1395691352","filename":"file5"},{"photo_id":"1395691349","filename":"file2"},{"photo_id":"1395691351","filename":"file4"},{"photo_id":"1395691347","filename":"file1"},{"photo_id":"1395691344","filename":"file0"},{"photo_id":"1395691350","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691347":["hashtag1","hashtag2"]},{"1395691352":["hashtag1","hashtag2"]},{"1395691349":["hashtag1","hashtag2"]},{"1395691351":["hashtag1","hashtag2"]},{"1395691350":["hashtag1","hashtag2"]},{"1395691344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691347, 1395691352, 1395691349, 1395691351, 1395691350, 1395691344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69733214378357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:28:22.174761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_55_2625.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_06_3012.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_10_3695.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_13_2638.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_15_2709.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_19_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/25/image_22112025_10_25_55_2625.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_06_3012.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_10_3695.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_13_2638.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_15_2709.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_19_3566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691353","1395691364","1395691358","1395691360","1395691354","1395691356"],"photo_ids_order":["1395691353","1395691354","1395691356","1395691358","1395691360","1395691364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d5dd4e88eebd9a9243952d4f8337071.jpg","text":"TemporaryFile(/tmp/multipartBody78192419279483640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803762892,"filename":"image_22112025_10_25_55_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2be68d06b5f1fb1092ed5a70d13cb19f.jpg","text":"TemporaryFile(/tmp/multipartBody4799554895576129799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803762892,"filename":"image_22112025_10_27_19_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a83f551fa28baaf018857801f8a5b02.jpg","text":"TemporaryFile(/tmp/multipartBody2187092097337046462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803762892,"filename":"image_22112025_10_27_13_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/475d14de0c9b12bac881823612c82877.jpg","text":"TemporaryFile(/tmp/multipartBody3166180342087023329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803762892,"filename":"image_22112025_10_27_15_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9411e5c967716e20717da5bd35fe8dab.jpg","text":"TemporaryFile(/tmp/multipartBody2526154395872662408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803762892,"filename":"image_22112025_10_27_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e84bc0e8beb26ae90d7b6f83c6c69778.jpg","text":"TemporaryFile(/tmp/multipartBody1516360711772868067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803762892,"filename":"image_22112025_10_27_10_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691356","file1":"1395691354","file0":"1395691353","file4":"1395691360","file5":"1395691364","file3":"1395691358"},"map_files_photo_id_array":[{"photo_id":"1395691364","filename":"file5"},{"photo_id":"1395691356","filename":"file2"},{"photo_id":"1395691360","filename":"file4"},{"photo_id":"1395691354","filename":"file1"},{"photo_id":"1395691353","filename":"file0"},{"photo_id":"1395691358","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691353":["hashtag1","hashtag2"]},{"1395691364":["hashtag1","hashtag2"]},{"1395691358":["hashtag1","hashtag2"]},{"1395691360":["hashtag1","hashtag2"]},{"1395691354":["hashtag1","hashtag2"]},{"1395691356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691353, 1395691364, 1395691358, 1395691360, 1395691354, 1395691356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40778684616089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:29:03.308936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_22_2535.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_25_3672.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_28_2760.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_31_2555.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_34_3690.jpg', '/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_37_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_22_2535.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_25_3672.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_28_2760.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_31_2555.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_34_3690.jpg
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_37_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691379","1395691370","1395691375","1395691372","1395691374","1395691377"],"photo_ids_order":["1395691370","1395691372","1395691374","1395691375","1395691377","1395691379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec0297a43483d184626e21b5a5e1f3b9.jpg","text":"TemporaryFile(/tmp/multipartBody8164287313651111138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803804175,"filename":"image_22112025_10_27_37_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e0e4a008e937383ecdf6efcc66e6d42.jpg","text":"TemporaryFile(/tmp/multipartBody3970999119176113279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803804175,"filename":"image_22112025_10_27_22_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4071df7c88b5d58f6d6229ea3c4c48aa.jpg","text":"TemporaryFile(/tmp/multipartBody3185922522773026311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803804175,"filename":"image_22112025_10_27_31_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cad8b93ea4e8097631d17ee666fa8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2897496471773482558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803804175,"filename":"image_22112025_10_27_25_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b778b546c7516b3da885c7382515e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2111678850421441709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803804175,"filename":"image_22112025_10_27_28_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c95764156b81e62d82faa7a37ab72c43.jpg","text":"TemporaryFile(/tmp/multipartBody1807089798559395398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803804175,"filename":"image_22112025_10_27_34_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691374","file1":"1395691372","file0":"1395691370","file4":"1395691377","file5":"1395691379","file3":"1395691375"},"map_files_photo_id_array":[{"photo_id":"1395691379","filename":"file5"},{"photo_id":"1395691374","filename":"file2"},{"photo_id":"1395691377","filename":"file4"},{"photo_id":"1395691372","filename":"file1"},{"photo_id":"1395691370","filename":"file0"},{"photo_id":"1395691375","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691379":["hashtag1","hashtag2"]},{"1395691370":["hashtag1","hashtag2"]},{"1395691375":["hashtag1","hashtag2"]},{"1395691372":["hashtag1","hashtag2"]},{"1395691374":["hashtag1","hashtag2"]},{"1395691377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691379, 1395691370, 1395691375, 1395691372, 1395691374, 1395691377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63139081001282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:29:42.260259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_40_2635.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_06_3011.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_10_3706.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_13_2923.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_16_2764.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_22_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/27/image_22112025_10_27_40_2635.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_06_3011.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_10_3706.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_13_2923.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_16_2764.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_22_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691391","1395691396","1395691390","1395691386","1395691389","1395691398"],"photo_ids_order":["1395691386","1395691389","1395691390","1395691391","1395691396","1395691398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7631acf04e7264452076d5c03aa0c173.jpg","text":"TemporaryFile(/tmp/multipartBody8983150104093725202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803842977,"filename":"image_22112025_10_29_13_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82d4a6dec5a08eb8a28d421fa766c647.jpg","text":"TemporaryFile(/tmp/multipartBody1885177938591972187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803842977,"filename":"image_22112025_10_29_16_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75289d701ac126fe9b79ee5732be64f5.jpg","text":"TemporaryFile(/tmp/multipartBody3773581516246126574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803842977,"filename":"image_22112025_10_29_10_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f6e66345584c18bd4ec357193ada237.jpg","text":"TemporaryFile(/tmp/multipartBody1946119888707564354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803842977,"filename":"image_22112025_10_27_40_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/945043601889cdf8bf793ab9c323ceee.jpg","text":"TemporaryFile(/tmp/multipartBody5255497525828177253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803842977,"filename":"image_22112025_10_29_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8011732c395f301aaad1061f965150c6.jpg","text":"TemporaryFile(/tmp/multipartBody6264073033325307458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803842977,"filename":"image_22112025_10_29_22_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691390","file1":"1395691389","file0":"1395691386","file4":"1395691396","file5":"1395691398","file3":"1395691391"},"map_files_photo_id_array":[{"photo_id":"1395691398","filename":"file5"},{"photo_id":"1395691390","filename":"file2"},{"photo_id":"1395691396","filename":"file4"},{"photo_id":"1395691389","filename":"file1"},{"photo_id":"1395691386","filename":"file0"},{"photo_id":"1395691391","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691391":["hashtag1","hashtag2"]},{"1395691396":["hashtag1","hashtag2"]},{"1395691390":["hashtag1","hashtag2"]},{"1395691386":["hashtag1","hashtag2"]},{"1395691389":["hashtag1","hashtag2"]},{"1395691398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691391, 1395691396, 1395691390, 1395691386, 1395691389, 1395691398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.01873469352722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:31:03.630105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_25_2647.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_27_2692.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_31_3525.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_34_2847.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_36_2633.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_40_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_25_2647.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_27_2692.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_31_3525.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_34_2847.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_36_2633.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_40_3734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691404","1395691407","1395691406","1395691409","1395691402","1395691405"],"photo_ids_order":["1395691402","1395691404","1395691405","1395691406","1395691407","1395691409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed0f2a3205bb50663e683a0ada61cb2f.jpg","text":"TemporaryFile(/tmp/multipartBody2928332822376207500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803924395,"filename":"image_22112025_10_29_27_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/945c49866e9350e48a1577b8b3438acf.jpg","text":"TemporaryFile(/tmp/multipartBody7809786133909822637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803924395,"filename":"image_22112025_10_29_36_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1a55bc53cc5800aa555006f9251e33e.jpg","text":"TemporaryFile(/tmp/multipartBody4554314189653591285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803924395,"filename":"image_22112025_10_29_34_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e38fb1aa3e5e95b786d9fff131b6251.jpg","text":"TemporaryFile(/tmp/multipartBody973050708389965874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803924395,"filename":"image_22112025_10_29_40_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38164f1d8c5882703b69944cfab49dfa.jpg","text":"TemporaryFile(/tmp/multipartBody2274198539008550990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803924395,"filename":"image_22112025_10_29_25_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f541dce5ac574ddd7d6f7a327f2efdf.jpg","text":"TemporaryFile(/tmp/multipartBody1568624290055091918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803924395,"filename":"image_22112025_10_29_31_3525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691405","file1":"1395691404","file0":"1395691402","file4":"1395691407","file5":"1395691409","file3":"1395691406"},"map_files_photo_id_array":[{"photo_id":"1395691409","filename":"file5"},{"photo_id":"1395691405","filename":"file2"},{"photo_id":"1395691407","filename":"file4"},{"photo_id":"1395691404","filename":"file1"},{"photo_id":"1395691402","filename":"file0"},{"photo_id":"1395691406","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691404":["hashtag1","hashtag2"]},{"1395691407":["hashtag1","hashtag2"]},{"1395691406":["hashtag1","hashtag2"]},{"1395691409":["hashtag1","hashtag2"]},{"1395691402":["hashtag1","hashtag2"]},{"1395691405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691404, 1395691407, 1395691406, 1395691409, 1395691402, 1395691405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.089425563812256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:31:42.770563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_43_2667.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_45_2713.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_49_3639.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_52_2659.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_54_2727.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_58_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_43_2667.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_45_2713.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_49_3639.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_52_2659.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_54_2727.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_58_3635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5688235759735107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:32:02.433464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_43_2667.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_45_2713.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_49_3639.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_52_2659.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_54_2727.jpg', '/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_58_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_43_2667.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_45_2713.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_49_3639.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_52_2659.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_54_2727.jpg
/home/pi/Desktop/images/22112025/10/29/image_22112025_10_29_58_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691425","1395691428","1395691430","1395691424","1395691426","1395691423"],"photo_ids_order":["1395691423","1395691424","1395691425","1395691426","1395691428","1395691430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01911a2f2a47e0f4d762ae80ae414692.jpg","text":"TemporaryFile(/tmp/multipartBody8842302145035057754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803983200,"filename":"image_22112025_10_29_49_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bf2cb06f980b0e0bf41c0fb2e510753.jpg","text":"TemporaryFile(/tmp/multipartBody3369872344388374508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803983200,"filename":"image_22112025_10_29_54_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a89a2fbd8b1a3a6c4b9b8bcdc704f487.jpg","text":"TemporaryFile(/tmp/multipartBody1114764443264925551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803983200,"filename":"image_22112025_10_29_58_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3345d7623e2a4dd9301ac0f41c4f2e15.jpg","text":"TemporaryFile(/tmp/multipartBody1190824582162151881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803983200,"filename":"image_22112025_10_29_45_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4113e5134b3b433f620cfe86ed28444.jpg","text":"TemporaryFile(/tmp/multipartBody6549785258512536441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803983200,"filename":"image_22112025_10_29_52_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2915a6f7712b6fd06fcee223b644026.jpg","text":"TemporaryFile(/tmp/multipartBody3281940816003110376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763803983200,"filename":"image_22112025_10_29_43_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691425","file1":"1395691424","file0":"1395691423","file4":"1395691428","file5":"1395691430","file3":"1395691426"},"map_files_photo_id_array":[{"photo_id":"1395691430","filename":"file5"},{"photo_id":"1395691425","filename":"file2"},{"photo_id":"1395691428","filename":"file4"},{"photo_id":"1395691424","filename":"file1"},{"photo_id":"1395691423","filename":"file0"},{"photo_id":"1395691426","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691425":["hashtag1","hashtag2"]},{"1395691428":["hashtag1","hashtag2"]},{"1395691430":["hashtag1","hashtag2"]},{"1395691424":["hashtag1","hashtag2"]},{"1395691426":["hashtag1","hashtag2"]},{"1395691423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691425, 1395691428, 1395691430, 1395691424, 1395691426, 1395691423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50033783912659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:32:41.981617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/30/image_22112025_10_30_07_3010.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_07_3019.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_10_3594.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_13_2787.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_17_3564.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_19_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/30/image_22112025_10_30_07_3010.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_07_3019.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_10_3594.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_13_2787.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_17_3564.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_19_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691439","1395691438","1395691441","1395691435","1395691440","1395691437"],"photo_ids_order":["1395691435","1395691437","1395691438","1395691439","1395691440","1395691441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71075cb6f6c9d80dad776c04c535e3bb.jpg","text":"TemporaryFile(/tmp/multipartBody4468121093214526332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804022670,"filename":"image_22112025_10_31_13_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ca9ed06b5f8f646801414c9d5f692f5.jpg","text":"TemporaryFile(/tmp/multipartBody314210588584889238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804022670,"filename":"image_22112025_10_31_10_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2f1a5ddaf78c489065273fd3567b1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6072636388001336369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804022670,"filename":"image_22112025_10_31_19_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4833a4774450d4120960609e3421441.jpg","text":"TemporaryFile(/tmp/multipartBody5362838291971374130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804022670,"filename":"image_22112025_10_30_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dacf57f1875bfbcbc902d93bfeaa3a59.jpg","text":"TemporaryFile(/tmp/multipartBody4672319084920133616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804022670,"filename":"image_22112025_10_31_17_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c71248ea2c8cfedb5eb82eccf416d13f.jpg","text":"TemporaryFile(/tmp/multipartBody5702614270099161493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804022670,"filename":"image_22112025_10_31_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691438","file1":"1395691437","file0":"1395691435","file4":"1395691440","file5":"1395691441","file3":"1395691439"},"map_files_photo_id_array":[{"photo_id":"1395691441","filename":"file5"},{"photo_id":"1395691438","filename":"file2"},{"photo_id":"1395691440","filename":"file4"},{"photo_id":"1395691437","filename":"file1"},{"photo_id":"1395691435","filename":"file0"},{"photo_id":"1395691439","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691439":["hashtag1","hashtag2"]},{"1395691438":["hashtag1","hashtag2"]},{"1395691441":["hashtag1","hashtag2"]},{"1395691435":["hashtag1","hashtag2"]},{"1395691440":["hashtag1","hashtag2"]},{"1395691437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691439, 1395691438, 1395691441, 1395691435, 1395691440, 1395691437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.269445180892944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:33:22.246135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_22_2528.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_26_3744.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_28_2551.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_31_2633.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_34_2963.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_37_3794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_22_2528.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_26_3744.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_28_2551.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_31_2633.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_34_2963.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_37_3794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691451","1395691454","1395691445","1395691447","1395691449","1395691443"],"photo_ids_order":["1395691443","1395691445","1395691447","1395691449","1395691451","1395691454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e06c997ad26d12191f173b4ba86eb86d.jpg","text":"TemporaryFile(/tmp/multipartBody2945767358392142450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804062965,"filename":"image_22112025_10_31_34_2963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bbdb6cd9065d38846d213250aa39515.jpg","text":"TemporaryFile(/tmp/multipartBody451614256350869680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804062965,"filename":"image_22112025_10_31_37_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/074dd36c55d658744ec98aadc0611868.jpg","text":"TemporaryFile(/tmp/multipartBody3317951949463738543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804062965,"filename":"image_22112025_10_31_26_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b36da64ddbb3de1846eb607d79b92988.jpg","text":"TemporaryFile(/tmp/multipartBody7650664439159920776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804062965,"filename":"image_22112025_10_31_28_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/725d41ebafac1c0ceb61f6d7067f8a36.jpg","text":"TemporaryFile(/tmp/multipartBody7241621792523228052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804062965,"filename":"image_22112025_10_31_31_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d946b2e031473d21f51246fb8f8f88a0.jpg","text":"TemporaryFile(/tmp/multipartBody9039779502008562092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804062965,"filename":"image_22112025_10_31_22_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691447","file1":"1395691445","file0":"1395691443","file4":"1395691451","file5":"1395691454","file3":"1395691449"},"map_files_photo_id_array":[{"photo_id":"1395691454","filename":"file5"},{"photo_id":"1395691447","filename":"file2"},{"photo_id":"1395691451","filename":"file4"},{"photo_id":"1395691445","filename":"file1"},{"photo_id":"1395691443","filename":"file0"},{"photo_id":"1395691449","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691451":["hashtag1","hashtag2"]},{"1395691454":["hashtag1","hashtag2"]},{"1395691445":["hashtag1","hashtag2"]},{"1395691447":["hashtag1","hashtag2"]},{"1395691449":["hashtag1","hashtag2"]},{"1395691443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691451, 1395691454, 1395691445, 1395691447, 1395691449, 1395691443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78506278991699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:34:03.155074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_40_2663.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_43_2613.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_46_3635.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_49_2787.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_52_2622.jpg', '/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_55_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_40_2663.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_43_2613.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_46_3635.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_49_2787.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_52_2622.jpg
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_55_3605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691457","1395691456","1395691459","1395691461","1395691455","1395691458"],"photo_ids_order":["1395691455","1395691456","1395691457","1395691458","1395691459","1395691461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bca155ce220b0441372a9d6953aa7151.jpg","text":"TemporaryFile(/tmp/multipartBody484304025805170429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804103921,"filename":"image_22112025_10_31_46_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e69d4bbee2eaa20f84818064c5f85233.jpg","text":"TemporaryFile(/tmp/multipartBody4069136307310371634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804103921,"filename":"image_22112025_10_31_43_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2561d26d9738294cd778a0132f71b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody5281996379359126519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804103921,"filename":"image_22112025_10_31_52_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8beb9939e3e396ee39ce7cda7e63163a.jpg","text":"TemporaryFile(/tmp/multipartBody5552789814873760032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804103921,"filename":"image_22112025_10_31_55_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/613e7b711127997e380c0f3d8dae3f50.jpg","text":"TemporaryFile(/tmp/multipartBody4468413300296255687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804103921,"filename":"image_22112025_10_31_40_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be69d65ba5e2290719aca5d672e2dd14.jpg","text":"TemporaryFile(/tmp/multipartBody6607970207105049339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804103921,"filename":"image_22112025_10_31_49_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691457","file1":"1395691456","file0":"1395691455","file4":"1395691459","file5":"1395691461","file3":"1395691458"},"map_files_photo_id_array":[{"photo_id":"1395691461","filename":"file5"},{"photo_id":"1395691457","filename":"file2"},{"photo_id":"1395691459","filename":"file4"},{"photo_id":"1395691456","filename":"file1"},{"photo_id":"1395691455","filename":"file0"},{"photo_id":"1395691458","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691457":["hashtag1","hashtag2"]},{"1395691456":["hashtag1","hashtag2"]},{"1395691459":["hashtag1","hashtag2"]},{"1395691461":["hashtag1","hashtag2"]},{"1395691455":["hashtag1","hashtag2"]},{"1395691458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691457, 1395691456, 1395691459, 1395691461, 1395691455, 1395691458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95776963233948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:34:42.412853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_58_2758.jpg', '/home/pi/Desktop/images/22112025/10/32/image_22112025_10_32_01_2906.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_06_3018.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_10_3556.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_13_2803.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_15_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/31/image_22112025_10_31_58_2758.jpg
/home/pi/Desktop/images/22112025/10/32/image_22112025_10_32_01_2906.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_06_3018.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_10_3556.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_13_2803.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_15_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691478","1395691475","1395691474","1395691471","1395691473","1395691476"],"photo_ids_order":["1395691471","1395691473","1395691474","1395691475","1395691476","1395691478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d976f4309fa356c6851d011c69b71929.jpg","text":"TemporaryFile(/tmp/multipartBody1099043411402251501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804143149,"filename":"image_22112025_10_33_15_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e07edffb049831c81fc75c466e39f9f4.jpg","text":"TemporaryFile(/tmp/multipartBody8817625542855188730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804143149,"filename":"image_22112025_10_33_10_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3d5977ae10ee47965af5d9234e8c672.jpg","text":"TemporaryFile(/tmp/multipartBody5757060313912037082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804143149,"filename":"image_22112025_10_33_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/212b87791afe16b8c70d9d5c57b07277.jpg","text":"TemporaryFile(/tmp/multipartBody5906348706938931272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804143149,"filename":"image_22112025_10_31_58_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a056db4deb311eba2de8d6f008b9c55.jpg","text":"TemporaryFile(/tmp/multipartBody8593558081655802430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804143149,"filename":"image_22112025_10_32_01_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/820128412b1cceb3941e006dc63d9c14.jpg","text":"TemporaryFile(/tmp/multipartBody7549173583394550944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804143149,"filename":"image_22112025_10_33_13_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691474","file1":"1395691473","file0":"1395691471","file4":"1395691476","file5":"1395691478","file3":"1395691475"},"map_files_photo_id_array":[{"photo_id":"1395691478","filename":"file5"},{"photo_id":"1395691474","filename":"file2"},{"photo_id":"1395691476","filename":"file4"},{"photo_id":"1395691473","filename":"file1"},{"photo_id":"1395691471","filename":"file0"},{"photo_id":"1395691475","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691478":["hashtag1","hashtag2"]},{"1395691475":["hashtag1","hashtag2"]},{"1395691474":["hashtag1","hashtag2"]},{"1395691471":["hashtag1","hashtag2"]},{"1395691473":["hashtag1","hashtag2"]},{"1395691476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691478, 1395691475, 1395691474, 1395691471, 1395691473, 1395691476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70590877532959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:35:22.481614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_19_3675.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_22_2710.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_25_3537.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_28_2579.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_31_2648.jpg', '/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_33_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_19_3675.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_22_2710.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_25_3537.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_28_2579.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_31_2648.jpg
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_33_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691487","1395691481","1395691489","1395691483","1395691491","1395691485"],"photo_ids_order":["1395691481","1395691483","1395691485","1395691487","1395691489","1395691491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc94a6bedfdc1e25a62baf6fbed58ed9.jpg","text":"TemporaryFile(/tmp/multipartBody374543944543791794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804183241,"filename":"image_22112025_10_33_28_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dfe467fd4d8ebb76bfe1848bb1de0da.jpg","text":"TemporaryFile(/tmp/multipartBody5987133873996902196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804183241,"filename":"image_22112025_10_33_19_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4f29781e4f0bb6e129bd30ef332a926.jpg","text":"TemporaryFile(/tmp/multipartBody7910378995080965260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804183241,"filename":"image_22112025_10_33_31_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0efcc50cc612adcc338a325518883cb3.jpg","text":"TemporaryFile(/tmp/multipartBody4099996019713468172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804183241,"filename":"image_22112025_10_33_22_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac9c895aa0834a918ab8992ff6599267.jpg","text":"TemporaryFile(/tmp/multipartBody3705817554604257711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804183241,"filename":"image_22112025_10_33_33_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4711bc5ec0b47c9dfb9936123053e3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8559460634113280183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804183241,"filename":"image_22112025_10_33_25_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691485","file1":"1395691483","file0":"1395691481","file4":"1395691489","file5":"1395691491","file3":"1395691487"},"map_files_photo_id_array":[{"photo_id":"1395691491","filename":"file5"},{"photo_id":"1395691485","filename":"file2"},{"photo_id":"1395691489","filename":"file4"},{"photo_id":"1395691483","filename":"file1"},{"photo_id":"1395691481","filename":"file0"},{"photo_id":"1395691487","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691487":["hashtag1","hashtag2"]},{"1395691481":["hashtag1","hashtag2"]},{"1395691489":["hashtag1","hashtag2"]},{"1395691483":["hashtag1","hashtag2"]},{"1395691491":["hashtag1","hashtag2"]},{"1395691485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691487, 1395691481, 1395691489, 1395691483, 1395691491, 1395691485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.530277729034424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:36:03.143724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_37_3703.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_11_3711.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_14_2610.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_16_2740.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_20_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/33/image_22112025_10_33_37_3703.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_07_3011.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_11_3711.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_14_2610.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_16_2740.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_20_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691503","1395691500","1395691499","1395691498","1395691501","1395691494"],"photo_ids_order":["1395691494","1395691498","1395691499","1395691500","1395691501","1395691503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ff0133ea46d0c5864cc55a3bf1081e9.jpg","text":"TemporaryFile(/tmp/multipartBody5212356195653546683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804223869,"filename":"image_22112025_10_35_20_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af9a4a31bd9637566608373f0d268354.jpg","text":"TemporaryFile(/tmp/multipartBody4033557415328695500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804223869,"filename":"image_22112025_10_35_14_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4dbef32e686d4d30a504e9d02d5d6877.jpg","text":"TemporaryFile(/tmp/multipartBody2297449335085903048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804223869,"filename":"image_22112025_10_35_11_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d28b1178b53bb401f4ce8085132c5485.jpg","text":"TemporaryFile(/tmp/multipartBody6055291790503990897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804223869,"filename":"image_22112025_10_35_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/230797a70e953b4560dcced5af5349b1.jpg","text":"TemporaryFile(/tmp/multipartBody5533343670818801622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804223869,"filename":"image_22112025_10_35_16_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc66ca2adebe1469a077fa575e2c122f.jpg","text":"TemporaryFile(/tmp/multipartBody2168861552944138070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804223869,"filename":"image_22112025_10_33_37_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691499","file1":"1395691498","file0":"1395691494","file4":"1395691501","file5":"1395691503","file3":"1395691500"},"map_files_photo_id_array":[{"photo_id":"1395691503","filename":"file5"},{"photo_id":"1395691499","filename":"file2"},{"photo_id":"1395691501","filename":"file4"},{"photo_id":"1395691498","filename":"file1"},{"photo_id":"1395691494","filename":"file0"},{"photo_id":"1395691500","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691503":["hashtag1","hashtag2"]},{"1395691500":["hashtag1","hashtag2"]},{"1395691499":["hashtag1","hashtag2"]},{"1395691498":["hashtag1","hashtag2"]},{"1395691501":["hashtag1","hashtag2"]},{"1395691494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691503, 1395691500, 1395691499, 1395691498, 1395691501, 1395691494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.548580169677734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:36:42.681148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_23_2673.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_25_2573.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_29_3653.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_31_2553.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_34_2809.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_38_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_23_2673.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_25_2573.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_29_3653.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_31_2553.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_34_2809.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_38_3546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691512","1395691515","1395691511","1395691508","1395691510","1395691513"],"photo_ids_order":["1395691508","1395691510","1395691511","1395691512","1395691513","1395691515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9f93615bbb2d54e52501b1a1ac17b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8716741784786261831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804263399,"filename":"image_22112025_10_35_31_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89bcba1c8398a3fd6796bcc4bfe6bb40.jpg","text":"TemporaryFile(/tmp/multipartBody6362592405045246378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804263399,"filename":"image_22112025_10_35_38_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c89e202b77325158d4a838cf10ec8a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6566073696125712806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804263399,"filename":"image_22112025_10_35_29_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be6dc6a6f7fc188d15d8d2872297de3a.jpg","text":"TemporaryFile(/tmp/multipartBody2354117258264609601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804263399,"filename":"image_22112025_10_35_23_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0328b07e9ea16ac7f6b9661f25b999cd.jpg","text":"TemporaryFile(/tmp/multipartBody8450884580648117861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804263399,"filename":"image_22112025_10_35_25_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09da5c42f7c9be10f5ae112bea20bba1.jpg","text":"TemporaryFile(/tmp/multipartBody4637845877916523420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804263399,"filename":"image_22112025_10_35_34_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691511","file1":"1395691510","file0":"1395691508","file4":"1395691513","file5":"1395691515","file3":"1395691512"},"map_files_photo_id_array":[{"photo_id":"1395691515","filename":"file5"},{"photo_id":"1395691511","filename":"file2"},{"photo_id":"1395691513","filename":"file4"},{"photo_id":"1395691510","filename":"file1"},{"photo_id":"1395691508","filename":"file0"},{"photo_id":"1395691512","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691512":["hashtag1","hashtag2"]},{"1395691515":["hashtag1","hashtag2"]},{"1395691511":["hashtag1","hashtag2"]},{"1395691508":["hashtag1","hashtag2"]},{"1395691510":["hashtag1","hashtag2"]},{"1395691513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691512, 1395691515, 1395691511, 1395691508, 1395691510, 1395691513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33283233642578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:37:22.046750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_41_2767.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_43_2653.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_47_3566.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_50_2812.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_52_2722.jpg', '/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_55_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_41_2767.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_43_2653.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_47_3566.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_50_2812.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_52_2722.jpg
/home/pi/Desktop/images/22112025/10/35/image_22112025_10_35_55_2861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691523","1395691517","1395691525","1395691519","1395691528","1395691521"],"photo_ids_order":["1395691517","1395691519","1395691521","1395691523","1395691525","1395691528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/414d21197b69ab6b1435b04b24d789b0.jpg","text":"TemporaryFile(/tmp/multipartBody8552483953649637595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804304642,"filename":"image_22112025_10_35_50_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/670c3455924cf50810efea3add660731.jpg","text":"TemporaryFile(/tmp/multipartBody114847917005844447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804304642,"filename":"image_22112025_10_35_41_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7db8f277ea79ffe2b171521bea548335.jpg","text":"TemporaryFile(/tmp/multipartBody112542225164047519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804304642,"filename":"image_22112025_10_35_52_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11bb3c3e35facb6722547db33fc5261a.jpg","text":"TemporaryFile(/tmp/multipartBody7004309393947372541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804304642,"filename":"image_22112025_10_35_43_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a7f4bb6f7d2828fc9b00ff449c88e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4858702298636122961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804304642,"filename":"image_22112025_10_35_55_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87dd97b9905f3e259be031959add2e32.jpg","text":"TemporaryFile(/tmp/multipartBody1154090396667483226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804304642,"filename":"image_22112025_10_35_47_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691521","file1":"1395691519","file0":"1395691517","file4":"1395691525","file5":"1395691528","file3":"1395691523"},"map_files_photo_id_array":[{"photo_id":"1395691528","filename":"file5"},{"photo_id":"1395691521","filename":"file2"},{"photo_id":"1395691525","filename":"file4"},{"photo_id":"1395691519","filename":"file1"},{"photo_id":"1395691517","filename":"file0"},{"photo_id":"1395691523","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691523":["hashtag1","hashtag2"]},{"1395691517":["hashtag1","hashtag2"]},{"1395691525":["hashtag1","hashtag2"]},{"1395691519":["hashtag1","hashtag2"]},{"1395691528":["hashtag1","hashtag2"]},{"1395691521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691523, 1395691517, 1395691525, 1395691519, 1395691528, 1395691521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63697409629822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:38:02.560748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_07_3010.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_11_3615.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_13_2589.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_16_2837.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_20_3635.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_22_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_07_3010.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_11_3615.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_13_2589.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_16_2837.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_20_3635.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_22_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691530","1395691533","1395691532","1395691535","1395691529","1395691531"],"photo_ids_order":["1395691529","1395691530","1395691531","1395691532","1395691533","1395691535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38ae469bf4868e142b45a11e097588fb.jpg","text":"TemporaryFile(/tmp/multipartBody6333865708742826290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804343339,"filename":"image_22112025_10_37_11_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e055a989b2c2cc555ec86c099168828.jpg","text":"TemporaryFile(/tmp/multipartBody489238768401684652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804343339,"filename":"image_22112025_10_37_20_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a3d1420f836ad4d24b0c65425f97484.jpg","text":"TemporaryFile(/tmp/multipartBody3356073081354835350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804343339,"filename":"image_22112025_10_37_16_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b14b2e7821c86ec5e8849bdebdb3d9b6.jpg","text":"TemporaryFile(/tmp/multipartBody1832641762557413505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804343339,"filename":"image_22112025_10_37_22_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a78a14a8b964e8ddcbb2e3e9f3852f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2602175076747128951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804343339,"filename":"image_22112025_10_37_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fce992010f38ef950d3133799e76de3e.jpg","text":"TemporaryFile(/tmp/multipartBody7166072207327895802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804343339,"filename":"image_22112025_10_37_13_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691531","file1":"1395691530","file0":"1395691529","file4":"1395691533","file5":"1395691535","file3":"1395691532"},"map_files_photo_id_array":[{"photo_id":"1395691535","filename":"file5"},{"photo_id":"1395691531","filename":"file2"},{"photo_id":"1395691533","filename":"file4"},{"photo_id":"1395691530","filename":"file1"},{"photo_id":"1395691529","filename":"file0"},{"photo_id":"1395691532","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691530":["hashtag1","hashtag2"]},{"1395691533":["hashtag1","hashtag2"]},{"1395691532":["hashtag1","hashtag2"]},{"1395691535":["hashtag1","hashtag2"]},{"1395691529":["hashtag1","hashtag2"]},{"1395691531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691530, 1395691533, 1395691532, 1395691535, 1395691529, 1395691531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.127891540527344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:38:42.078461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_26_3586.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_29_2629.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_31_2918.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_34_2642.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_38_3576.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_40_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_26_3586.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_29_2629.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_31_2918.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_34_2642.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_38_3576.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_40_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691551","1395691550","1395691552","1395691546","1395691549","1395691548"],"photo_ids_order":["1395691546","1395691548","1395691549","1395691550","1395691551","1395691552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74104cd9c158d6d24c295ede71ae62fb.jpg","text":"TemporaryFile(/tmp/multipartBody6467205642468924648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804382775,"filename":"image_22112025_10_37_38_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0f1a25b38d109a0d2d5bbeb59c3b2ed.jpg","text":"TemporaryFile(/tmp/multipartBody8749747118303747181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804382775,"filename":"image_22112025_10_37_34_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ade003185d800e7baaf928c5ff65337a.jpg","text":"TemporaryFile(/tmp/multipartBody4027383905741270177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804382775,"filename":"image_22112025_10_37_40_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c784540b19c6bb0c8b55a44220e41b41.jpg","text":"TemporaryFile(/tmp/multipartBody938769079333449029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804382775,"filename":"image_22112025_10_37_26_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e587cf843fa9aa0a3e7d70002c880f5.jpg","text":"TemporaryFile(/tmp/multipartBody3216214548399678584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804382775,"filename":"image_22112025_10_37_31_2918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35ba873a7f2b639317ae015d1724e6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1707430869991932913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804382775,"filename":"image_22112025_10_37_29_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691549","file1":"1395691548","file0":"1395691546","file4":"1395691551","file5":"1395691552","file3":"1395691550"},"map_files_photo_id_array":[{"photo_id":"1395691552","filename":"file5"},{"photo_id":"1395691549","filename":"file2"},{"photo_id":"1395691551","filename":"file4"},{"photo_id":"1395691548","filename":"file1"},{"photo_id":"1395691546","filename":"file0"},{"photo_id":"1395691550","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691551":["hashtag1","hashtag2"]},{"1395691550":["hashtag1","hashtag2"]},{"1395691552":["hashtag1","hashtag2"]},{"1395691546":["hashtag1","hashtag2"]},{"1395691549":["hashtag1","hashtag2"]},{"1395691548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691551, 1395691550, 1395691552, 1395691546, 1395691549, 1395691548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55944848060608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:39:22.588091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_44_3504.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_47_2906.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_49_2674.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_52_2638.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_56_3659.jpg', '/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_59_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_44_3504.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_47_2906.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_49_2674.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_52_2638.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_56_3659.jpg
/home/pi/Desktop/images/22112025/10/37/image_22112025_10_37_59_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691559","1395691553","1395691561","1395691555","1395691564","1395691557"],"photo_ids_order":["1395691553","1395691555","1395691557","1395691559","1395691561","1395691564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f35c85660db65fa5e39dd02437bab3b.jpg","text":"TemporaryFile(/tmp/multipartBody734426721194047310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804423319,"filename":"image_22112025_10_37_52_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/489306a8ed8c38db448e5e228211e3a9.jpg","text":"TemporaryFile(/tmp/multipartBody303731428420373276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804423319,"filename":"image_22112025_10_37_44_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/159ae15d618b145cc3ee769833714073.jpg","text":"TemporaryFile(/tmp/multipartBody5807696568280128240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804423319,"filename":"image_22112025_10_37_56_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acf1c9d7e792a845870fe0ad71cc6e50.jpg","text":"TemporaryFile(/tmp/multipartBody5787927700392841614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804423319,"filename":"image_22112025_10_37_47_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5049f5076e0de9d9553d6ed5e12febb6.jpg","text":"TemporaryFile(/tmp/multipartBody5603121003103642905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804423319,"filename":"image_22112025_10_37_59_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95b29876173751efd7bc5f6d34ff54b8.jpg","text":"TemporaryFile(/tmp/multipartBody6729379808216921152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804423319,"filename":"image_22112025_10_37_49_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691557","file1":"1395691555","file0":"1395691553","file4":"1395691561","file5":"1395691564","file3":"1395691559"},"map_files_photo_id_array":[{"photo_id":"1395691564","filename":"file5"},{"photo_id":"1395691557","filename":"file2"},{"photo_id":"1395691561","filename":"file4"},{"photo_id":"1395691555","filename":"file1"},{"photo_id":"1395691553","filename":"file0"},{"photo_id":"1395691559","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691559":["hashtag1","hashtag2"]},{"1395691553":["hashtag1","hashtag2"]},{"1395691561":["hashtag1","hashtag2"]},{"1395691555":["hashtag1","hashtag2"]},{"1395691564":["hashtag1","hashtag2"]},{"1395691557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691559, 1395691553, 1395691561, 1395691555, 1395691564, 1395691557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.004745960235596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:40:03.269524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_06_3011.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_10_3529.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_13_2640.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_16_3724.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_19_2565.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_22_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_06_3011.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_10_3529.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_13_2640.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_16_3724.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_19_2565.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_22_2626.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6557433605194092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:40:22.739710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_06_3011.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_10_3529.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_13_2640.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_16_3724.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_19_2565.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_22_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_06_3011.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_10_3529.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_13_2640.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_16_3724.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_19_2565.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_22_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691580","1395691574","1395691582","1395691576","1395691585","1395691578"],"photo_ids_order":["1395691574","1395691576","1395691578","1395691580","1395691582","1395691585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fe3fb90a62a22f7f65d3177251874e6.jpg","text":"TemporaryFile(/tmp/multipartBody2076245804554715512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804483436,"filename":"image_22112025_10_39_16_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfbbd0cb0f8cb475957c0b63ce67e4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3830345343790561173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804483436,"filename":"image_22112025_10_39_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4dfb9633551a6edee2493143ade5a043.jpg","text":"TemporaryFile(/tmp/multipartBody2915180054559103915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804483436,"filename":"image_22112025_10_39_19_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc7686d86d743cacd782325ab662791e.jpg","text":"TemporaryFile(/tmp/multipartBody7270854034981352289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804483436,"filename":"image_22112025_10_39_10_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07a20a180b5b9c3e80dcbb6f8a28b933.jpg","text":"TemporaryFile(/tmp/multipartBody9216055371296200575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804483436,"filename":"image_22112025_10_39_22_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a272fe76c1ccabf851f33ce5981c2bc.jpg","text":"TemporaryFile(/tmp/multipartBody3920383553439169189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804483436,"filename":"image_22112025_10_39_13_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691578","file1":"1395691576","file0":"1395691574","file4":"1395691582","file5":"1395691585","file3":"1395691580"},"map_files_photo_id_array":[{"photo_id":"1395691585","filename":"file5"},{"photo_id":"1395691578","filename":"file2"},{"photo_id":"1395691582","filename":"file4"},{"photo_id":"1395691576","filename":"file1"},{"photo_id":"1395691574","filename":"file0"},{"photo_id":"1395691580","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691580":["hashtag1","hashtag2"]},{"1395691574":["hashtag1","hashtag2"]},{"1395691582":["hashtag1","hashtag2"]},{"1395691576":["hashtag1","hashtag2"]},{"1395691585":["hashtag1","hashtag2"]},{"1395691578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691580, 1395691574, 1395691582, 1395691576, 1395691585, 1395691578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64836239814758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:41:02.710751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_25_3533.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_28_2657.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_31_3548.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_34_2580.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_36_2586.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_40_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_25_3533.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_28_2657.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_31_3548.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_34_2580.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_36_2586.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_40_3764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691586","1395691591","1395691588","1395691590","1395691593","1395691596"],"photo_ids_order":["1395691586","1395691588","1395691590","1395691591","1395691593","1395691596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37bb8dde5b2c97335b81754f3e6d5dc7.jpg","text":"TemporaryFile(/tmp/multipartBody436423722114501336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804523536,"filename":"image_22112025_10_39_25_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8c3116ce8a58cb86a0533b10d51215d.jpg","text":"TemporaryFile(/tmp/multipartBody4094049403905716028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804523536,"filename":"image_22112025_10_39_34_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/204a0da985ec704f5a16d43395238a5b.jpg","text":"TemporaryFile(/tmp/multipartBody6392829520332915788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804523536,"filename":"image_22112025_10_39_28_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de1355a687a4baaffc4737e7d7f70f9a.jpg","text":"TemporaryFile(/tmp/multipartBody7243248254808422127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804523536,"filename":"image_22112025_10_39_31_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89fc2da9433f53a382185b4d5d18412e.jpg","text":"TemporaryFile(/tmp/multipartBody9115161302588787725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804523536,"filename":"image_22112025_10_39_36_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b91ac1e3a4d0fa1133be05e4ae077a3.jpg","text":"TemporaryFile(/tmp/multipartBody2248483268001042756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804523536,"filename":"image_22112025_10_39_40_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691590","file1":"1395691588","file0":"1395691586","file4":"1395691593","file5":"1395691596","file3":"1395691591"},"map_files_photo_id_array":[{"photo_id":"1395691596","filename":"file5"},{"photo_id":"1395691590","filename":"file2"},{"photo_id":"1395691593","filename":"file4"},{"photo_id":"1395691588","filename":"file1"},{"photo_id":"1395691586","filename":"file0"},{"photo_id":"1395691591","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691586":["hashtag1","hashtag2"]},{"1395691591":["hashtag1","hashtag2"]},{"1395691588":["hashtag1","hashtag2"]},{"1395691590":["hashtag1","hashtag2"]},{"1395691593":["hashtag1","hashtag2"]},{"1395691596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691586, 1395691591, 1395691588, 1395691590, 1395691593, 1395691596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84014654159546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:41:41.985746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_43_2690.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_45_2581.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_49_3676.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_52_2722.jpg', '/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_55_2647.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_43_2690.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_45_2581.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_49_3676.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_52_2722.jpg
/home/pi/Desktop/images/22112025/10/39/image_22112025_10_39_55_2647.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691605","1395691608","1395691607","1395691601","1395691604","1395691603"],"photo_ids_order":["1395691601","1395691603","1395691604","1395691605","1395691607","1395691608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a90ea53cefd35bd522038c0fe4fcce61.jpg","text":"TemporaryFile(/tmp/multipartBody3625413898962049495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804562686,"filename":"image_22112025_10_39_52_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/299c559c364803c5707490d49a08b136.jpg","text":"TemporaryFile(/tmp/multipartBody4709603876139171400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804562686,"filename":"image_22112025_10_41_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/864e0603572ce21bd798b868072a4cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2002976055866944098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804562686,"filename":"image_22112025_10_39_55_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/096776b169bec1c2d0e5aab19916f38d.jpg","text":"TemporaryFile(/tmp/multipartBody5421315818035603095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804562686,"filename":"image_22112025_10_39_43_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebb3376f43a3c643e0aa5f3da266cf14.jpg","text":"TemporaryFile(/tmp/multipartBody8226183237600355490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804562686,"filename":"image_22112025_10_39_49_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c6239264465ab58ce02993fddc6ec97.jpg","text":"TemporaryFile(/tmp/multipartBody2525029622352167965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804562686,"filename":"image_22112025_10_39_45_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691604","file1":"1395691603","file0":"1395691601","file4":"1395691607","file5":"1395691608","file3":"1395691605"},"map_files_photo_id_array":[{"photo_id":"1395691608","filename":"file5"},{"photo_id":"1395691604","filename":"file2"},{"photo_id":"1395691607","filename":"file4"},{"photo_id":"1395691603","filename":"file1"},{"photo_id":"1395691601","filename":"file0"},{"photo_id":"1395691605","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691605":["hashtag1","hashtag2"]},{"1395691608":["hashtag1","hashtag2"]},{"1395691607":["hashtag1","hashtag2"]},{"1395691601":["hashtag1","hashtag2"]},{"1395691604":["hashtag1","hashtag2"]},{"1395691603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691605, 1395691608, 1395691607, 1395691601, 1395691604, 1395691603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.644325733184814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:42:22.254262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_11_3568.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_13_2597.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_17_3632.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_19_2574.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_22_2881.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_26_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_11_3568.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_13_2597.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_17_3632.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_19_2574.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_22_2881.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_26_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691617","1395691614","1395691625","1395691619","1395691610","1395691621"],"photo_ids_order":["1395691610","1395691614","1395691617","1395691619","1395691621","1395691625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5a7f9f845a9987dbbb236bef0121fd8.jpg","text":"TemporaryFile(/tmp/multipartBody7359386418698568524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804602967,"filename":"image_22112025_10_41_17_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2840ea38ae7e38d83d3fe3ea79451005.jpg","text":"TemporaryFile(/tmp/multipartBody8990377469972665983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804602967,"filename":"image_22112025_10_41_13_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d11e0282249db2e907f14acb3c2aa9b.jpg","text":"TemporaryFile(/tmp/multipartBody4107517796330098683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804602967,"filename":"image_22112025_10_41_26_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f8326ee131ae2a3aa00100352b7b9ad.jpg","text":"TemporaryFile(/tmp/multipartBody667540222004022690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804602967,"filename":"image_22112025_10_41_19_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89653a00b8570758011e65ed90ecadbf.jpg","text":"TemporaryFile(/tmp/multipartBody3241066668595914468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804602967,"filename":"image_22112025_10_41_11_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a621be498bcf0a9a5f4007d0fbb4495.jpg","text":"TemporaryFile(/tmp/multipartBody2385819531532260646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804602967,"filename":"image_22112025_10_41_22_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691617","file1":"1395691614","file0":"1395691610","file4":"1395691621","file5":"1395691625","file3":"1395691619"},"map_files_photo_id_array":[{"photo_id":"1395691625","filename":"file5"},{"photo_id":"1395691617","filename":"file2"},{"photo_id":"1395691621","filename":"file4"},{"photo_id":"1395691614","filename":"file1"},{"photo_id":"1395691610","filename":"file0"},{"photo_id":"1395691619","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691617":["hashtag1","hashtag2"]},{"1395691614":["hashtag1","hashtag2"]},{"1395691625":["hashtag1","hashtag2"]},{"1395691619":["hashtag1","hashtag2"]},{"1395691610":["hashtag1","hashtag2"]},{"1395691621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691617, 1395691614, 1395691625, 1395691619, 1395691610, 1395691621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41640281677246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:43:02.837389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_29_2684.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_31_2755.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_35_3672.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_38_2589.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_40_2746.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_43_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_29_2684.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_31_2755.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_35_3672.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_38_2589.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_40_2746.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_43_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691632","1395691634","1395691637","1395691630","1395691633","1395691635"],"photo_ids_order":["1395691630","1395691632","1395691633","1395691634","1395691635","1395691637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd500664f1cbf5aa2beeebf712e52e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2783424395279442554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804643642,"filename":"image_22112025_10_41_31_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4c957d6c5dba8f924dc6158af31e8a5.jpg","text":"TemporaryFile(/tmp/multipartBody2502155691319355760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804643642,"filename":"image_22112025_10_41_38_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e62e5d2175d64b6eeead82159390ee7b.jpg","text":"TemporaryFile(/tmp/multipartBody6581977679672997930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804643642,"filename":"image_22112025_10_41_43_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5fccdd06c5cf769293f511aca1ff673.jpg","text":"TemporaryFile(/tmp/multipartBody4280692902280608593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804643642,"filename":"image_22112025_10_41_29_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/846aa6e89280ecb4c00182867f89416a.jpg","text":"TemporaryFile(/tmp/multipartBody7663392730425216819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804643642,"filename":"image_22112025_10_41_35_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4420d51c45649e54df8ac908ce3e4f55.jpg","text":"TemporaryFile(/tmp/multipartBody3289289856535095847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804643642,"filename":"image_22112025_10_41_40_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691633","file1":"1395691632","file0":"1395691630","file4":"1395691635","file5":"1395691637","file3":"1395691634"},"map_files_photo_id_array":[{"photo_id":"1395691637","filename":"file5"},{"photo_id":"1395691633","filename":"file2"},{"photo_id":"1395691635","filename":"file4"},{"photo_id":"1395691632","filename":"file1"},{"photo_id":"1395691630","filename":"file0"},{"photo_id":"1395691634","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691632":["hashtag1","hashtag2"]},{"1395691634":["hashtag1","hashtag2"]},{"1395691637":["hashtag1","hashtag2"]},{"1395691630":["hashtag1","hashtag2"]},{"1395691633":["hashtag1","hashtag2"]},{"1395691635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691632, 1395691634, 1395691637, 1395691630, 1395691633, 1395691635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51024556159973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:43:42.166575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_47_3707.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_49_2628.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_52_2669.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_56_3574.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_59_2837.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_47_3707.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_49_2628.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_52_2669.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_56_3574.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_59_2837.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_06_3011.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5868942737579346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:44:03.121641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_47_3707.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_49_2628.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_52_2669.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_56_3574.jpg', '/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_59_2837.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_47_3707.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_49_2628.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_52_2669.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_56_3574.jpg
/home/pi/Desktop/images/22112025/10/41/image_22112025_10_41_59_2837.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691650","1395691652","1395691655","1395691654","1395691657","1395691653"],"photo_ids_order":["1395691650","1395691652","1395691653","1395691654","1395691655","1395691657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba38a9c6700f063bcb6707154adc45e6.jpg","text":"TemporaryFile(/tmp/multipartBody1004037070050231968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804703936,"filename":"image_22112025_10_41_47_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b72d058ba3486e57bb7f4d700f1a94d7.jpg","text":"TemporaryFile(/tmp/multipartBody8193628877069635631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804703936,"filename":"image_22112025_10_41_49_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb9ffaff50c2c33787866a61fbd6e56a.jpg","text":"TemporaryFile(/tmp/multipartBody7720443168007238549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804703936,"filename":"image_22112025_10_41_59_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab2f012a2424978615c6e93e781ae0eb.jpg","text":"TemporaryFile(/tmp/multipartBody6305459033705048322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804703936,"filename":"image_22112025_10_41_56_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/614b7272f9b0d3eb25507b840e2a4a26.jpg","text":"TemporaryFile(/tmp/multipartBody2471104728221433421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804703936,"filename":"image_22112025_10_43_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7a5e12990679d1c0391ff6464b5d6db.jpg","text":"TemporaryFile(/tmp/multipartBody9025740357873296204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804703936,"filename":"image_22112025_10_41_52_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691653","file1":"1395691652","file0":"1395691650","file4":"1395691655","file5":"1395691657","file3":"1395691654"},"map_files_photo_id_array":[{"photo_id":"1395691657","filename":"file5"},{"photo_id":"1395691653","filename":"file2"},{"photo_id":"1395691655","filename":"file4"},{"photo_id":"1395691652","filename":"file1"},{"photo_id":"1395691650","filename":"file0"},{"photo_id":"1395691654","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691650":["hashtag1","hashtag2"]},{"1395691652":["hashtag1","hashtag2"]},{"1395691655":["hashtag1","hashtag2"]},{"1395691654":["hashtag1","hashtag2"]},{"1395691657":["hashtag1","hashtag2"]},{"1395691653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691650, 1395691652, 1395691655, 1395691654, 1395691657, 1395691653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67964267730713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:44:42.405955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_10_3606.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_13_2797.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_15_2597.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_19_3672.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_22_2664.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_25_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_10_3606.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_13_2797.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_15_2597.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_19_3672.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_22_2664.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_25_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691664","1395691667","1395691669","1395691666","1395691671","1395691668"],"photo_ids_order":["1395691664","1395691666","1395691667","1395691668","1395691669","1395691671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa8dc51aa91e76a07a0d01e764acf34b.jpg","text":"TemporaryFile(/tmp/multipartBody4138763011022884731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804743100,"filename":"image_22112025_10_43_10_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf59f8e823641acf71fef116a30a7bef.jpg","text":"TemporaryFile(/tmp/multipartBody8859132481548446034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804743100,"filename":"image_22112025_10_43_15_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/471ef9ceeba086a4ba46ef0b17ff23d7.jpg","text":"TemporaryFile(/tmp/multipartBody5094273749246375751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804743100,"filename":"image_22112025_10_43_22_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6ffcd19803cd2aa1f8f9659a4665cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7846435799873033310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804743100,"filename":"image_22112025_10_43_13_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88b894b13f29a4ef3c9da0a4ee0a0bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8638382016277807924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804743100,"filename":"image_22112025_10_43_25_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5c5730e1838e6982f1b5fc6252fa60e.jpg","text":"TemporaryFile(/tmp/multipartBody5368326310635062137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804743100,"filename":"image_22112025_10_43_19_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691667","file1":"1395691666","file0":"1395691664","file4":"1395691669","file5":"1395691671","file3":"1395691668"},"map_files_photo_id_array":[{"photo_id":"1395691671","filename":"file5"},{"photo_id":"1395691667","filename":"file2"},{"photo_id":"1395691669","filename":"file4"},{"photo_id":"1395691666","filename":"file1"},{"photo_id":"1395691664","filename":"file0"},{"photo_id":"1395691668","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691664":["hashtag1","hashtag2"]},{"1395691667":["hashtag1","hashtag2"]},{"1395691669":["hashtag1","hashtag2"]},{"1395691666":["hashtag1","hashtag2"]},{"1395691671":["hashtag1","hashtag2"]},{"1395691668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691664, 1395691667, 1395691669, 1395691666, 1395691671, 1395691668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89607572555542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:45:22.760951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_28_3716.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_31_2720.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_34_2714.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_37_3645.jpg', '/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_40_2663.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_28_3716.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_31_2720.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_34_2714.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_37_3645.jpg
/home/pi/Desktop/images/22112025/10/43/image_22112025_10_43_40_2663.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691679","1395691673","1395691681","1395691675","1395691684","1395691677"],"photo_ids_order":["1395691673","1395691675","1395691677","1395691679","1395691681","1395691684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/111a7f50c57f9902be9ff7c4cfa24372.jpg","text":"TemporaryFile(/tmp/multipartBody1882556973244987725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804783549,"filename":"image_22112025_10_43_37_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da6207923c95cff92904acdb0aece2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4440778028059085440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804783549,"filename":"image_22112025_10_43_28_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eed3c489c473ca936af8746d2b53e83b.jpg","text":"TemporaryFile(/tmp/multipartBody8321453667867098566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804783549,"filename":"image_22112025_10_43_40_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c98209a6c7868a20496099f8201d5332.jpg","text":"TemporaryFile(/tmp/multipartBody1401250742624584734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804783549,"filename":"image_22112025_10_43_31_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff2915c0d8925cbeb01733028e12cf08.jpg","text":"TemporaryFile(/tmp/multipartBody3103475747903879672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804783549,"filename":"image_22112025_10_45_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1531de3315d0f0adb1a0655476146b25.jpg","text":"TemporaryFile(/tmp/multipartBody2167131410207048269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804783549,"filename":"image_22112025_10_43_34_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691677","file1":"1395691675","file0":"1395691673","file4":"1395691681","file5":"1395691684","file3":"1395691679"},"map_files_photo_id_array":[{"photo_id":"1395691684","filename":"file5"},{"photo_id":"1395691677","filename":"file2"},{"photo_id":"1395691681","filename":"file4"},{"photo_id":"1395691675","filename":"file1"},{"photo_id":"1395691673","filename":"file0"},{"photo_id":"1395691679","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691679":["hashtag1","hashtag2"]},{"1395691673":["hashtag1","hashtag2"]},{"1395691681":["hashtag1","hashtag2"]},{"1395691675":["hashtag1","hashtag2"]},{"1395691684":["hashtag1","hashtag2"]},{"1395691677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691679, 1395691673, 1395691681, 1395691675, 1395691684, 1395691677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19678783416748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:46:02.380612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_11_3616.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_13_2611.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_17_3669.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_20_2586.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_22_2612.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_26_3803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_11_3616.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_13_2611.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_17_3669.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_20_2586.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_22_2612.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_26_3803.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6479597091674805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:46:21.894910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_11_3616.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_13_2611.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_17_3669.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_20_2586.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_22_2612.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_26_3803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_11_3616.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_13_2611.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_17_3669.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_20_2586.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_22_2612.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_26_3803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691704","1395691707","1395691699","1395691695","1395691702","1395691692"],"photo_ids_order":["1395691692","1395691695","1395691699","1395691702","1395691704","1395691707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/438b34ecadb5b280583113a1a75c8785.jpg","text":"TemporaryFile(/tmp/multipartBody9012989382656806977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804842685,"filename":"image_22112025_10_45_22_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14ab138b4ac5c71e9a7d3d648fe715f6.jpg","text":"TemporaryFile(/tmp/multipartBody4158208038312662088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804842685,"filename":"image_22112025_10_45_26_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ff626871da1835de86cf3b54fab5c96.jpg","text":"TemporaryFile(/tmp/multipartBody2407407372602109436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804842685,"filename":"image_22112025_10_45_17_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82a16816f7f82d6a9185badc45e1932a.jpg","text":"TemporaryFile(/tmp/multipartBody7000089789598320260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804842685,"filename":"image_22112025_10_45_13_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dccfb48dbb500dd5888a1abb747d359.jpg","text":"TemporaryFile(/tmp/multipartBody5847332318448246401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804842685,"filename":"image_22112025_10_45_20_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9c66d9ca4665ef92fdf465c1574948f.jpg","text":"TemporaryFile(/tmp/multipartBody8083917548711700853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804842685,"filename":"image_22112025_10_45_11_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691699","file1":"1395691695","file0":"1395691692","file4":"1395691704","file5":"1395691707","file3":"1395691702"},"map_files_photo_id_array":[{"photo_id":"1395691707","filename":"file5"},{"photo_id":"1395691699","filename":"file2"},{"photo_id":"1395691704","filename":"file4"},{"photo_id":"1395691695","filename":"file1"},{"photo_id":"1395691692","filename":"file0"},{"photo_id":"1395691702","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691704":["hashtag1","hashtag2"]},{"1395691707":["hashtag1","hashtag2"]},{"1395691699":["hashtag1","hashtag2"]},{"1395691695":["hashtag1","hashtag2"]},{"1395691702":["hashtag1","hashtag2"]},{"1395691692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691704, 1395691707, 1395691699, 1395691695, 1395691702, 1395691692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1812527179718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:47:01.493094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_29_2606.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_31_2662.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_35_3727.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_38_2606.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_40_2685.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_43_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_29_2606.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_31_2662.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_35_3727.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_38_2606.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_40_2685.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_43_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691710","1395691712","1395691709","1395691717","1395691711","1395691714"],"photo_ids_order":["1395691709","1395691710","1395691711","1395691712","1395691714","1395691717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fcf1db0e37df747d525b2ffd65d594c.jpg","text":"TemporaryFile(/tmp/multipartBody2842370297902115754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804882291,"filename":"image_22112025_10_45_31_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ac29238ff8d7e1f548e32079b779cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4611404070813369193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804882291,"filename":"image_22112025_10_45_38_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efcb11f8a30605eb841b2bd634819ae7.jpg","text":"TemporaryFile(/tmp/multipartBody409409400325601506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804882291,"filename":"image_22112025_10_45_29_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e5a4acfba1ae512720ab62462950832.jpg","text":"TemporaryFile(/tmp/multipartBody584114218673675278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804882291,"filename":"image_22112025_10_45_43_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8541d7d56dd38cc116e050cd8da9440.jpg","text":"TemporaryFile(/tmp/multipartBody2707623098268358855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804882291,"filename":"image_22112025_10_45_35_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dabdec1fb09e200f963eae7a2b3be3c.jpg","text":"TemporaryFile(/tmp/multipartBody7132342344324202290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804882291,"filename":"image_22112025_10_45_40_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691711","file1":"1395691710","file0":"1395691709","file4":"1395691714","file5":"1395691717","file3":"1395691712"},"map_files_photo_id_array":[{"photo_id":"1395691717","filename":"file5"},{"photo_id":"1395691711","filename":"file2"},{"photo_id":"1395691714","filename":"file4"},{"photo_id":"1395691710","filename":"file1"},{"photo_id":"1395691709","filename":"file0"},{"photo_id":"1395691712","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691710":["hashtag1","hashtag2"]},{"1395691712":["hashtag1","hashtag2"]},{"1395691709":["hashtag1","hashtag2"]},{"1395691717":["hashtag1","hashtag2"]},{"1395691711":["hashtag1","hashtag2"]},{"1395691714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691710, 1395691712, 1395691709, 1395691717, 1395691711, 1395691714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.982298612594604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:47:40.742711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_47_3597.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_49_2705.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_52_2860.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_55_2874.jpg', '/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_59_3676.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_47_3597.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_49_2705.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_52_2860.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_55_2874.jpg
/home/pi/Desktop/images/22112025/10/45/image_22112025_10_45_59_3676.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691731","1395691725","1395691730","1395691727","1395691736","1395691732"],"photo_ids_order":["1395691725","1395691727","1395691730","1395691731","1395691732","1395691736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1699b66541c936995bb8289844878886.jpg","text":"TemporaryFile(/tmp/multipartBody1412369805962941280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804921442,"filename":"image_22112025_10_45_55_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8110d97bbd906934f8235eda86b27e96.jpg","text":"TemporaryFile(/tmp/multipartBody1392584040140411554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804921442,"filename":"image_22112025_10_45_47_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a50f094f104dae5b13932c01e420e8b.jpg","text":"TemporaryFile(/tmp/multipartBody7410255702136117179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804921442,"filename":"image_22112025_10_45_52_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2ca646a73e85bfe2aa9d28ede737fee.jpg","text":"TemporaryFile(/tmp/multipartBody5499278149622118324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804921442,"filename":"image_22112025_10_45_49_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8723cc6ed600fcfdc9630eb5647c96f.jpg","text":"TemporaryFile(/tmp/multipartBody3863722233467488370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804921442,"filename":"image_22112025_10_47_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7575e757d35e93d454de63465fa3684a.jpg","text":"TemporaryFile(/tmp/multipartBody8892378195409450949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804921442,"filename":"image_22112025_10_45_59_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691730","file1":"1395691727","file0":"1395691725","file4":"1395691732","file5":"1395691736","file3":"1395691731"},"map_files_photo_id_array":[{"photo_id":"1395691736","filename":"file5"},{"photo_id":"1395691730","filename":"file2"},{"photo_id":"1395691732","filename":"file4"},{"photo_id":"1395691727","filename":"file1"},{"photo_id":"1395691725","filename":"file0"},{"photo_id":"1395691731","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691731":["hashtag1","hashtag2"]},{"1395691725":["hashtag1","hashtag2"]},{"1395691730":["hashtag1","hashtag2"]},{"1395691727":["hashtag1","hashtag2"]},{"1395691736":["hashtag1","hashtag2"]},{"1395691732":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691731, 1395691725, 1395691730, 1395691727, 1395691736, 1395691732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.852739572525024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:48:21.959256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_10_3592.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_13_2614.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_15_2876.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_19_3717.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_22_2630.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_24_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_10_3592.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_13_2614.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_15_2876.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_19_3717.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_22_2630.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_24_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691742","1395691751","1395691745","1395691748","1395691738","1395691740"],"photo_ids_order":["1395691738","1395691740","1395691742","1395691745","1395691748","1395691751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0623a771757374fb557dfc0bd218ac92.jpg","text":"TemporaryFile(/tmp/multipartBody7332193008389292729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804962654,"filename":"image_22112025_10_47_15_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb4450a8fcfbcd6ecaa82d2034bd0d5e.jpg","text":"TemporaryFile(/tmp/multipartBody443383259397931935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804962654,"filename":"image_22112025_10_47_24_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d89f794cd84332b6bb81aadfa4c484e.jpg","text":"TemporaryFile(/tmp/multipartBody6917271598341147239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804962654,"filename":"image_22112025_10_47_19_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec03d4212ec9f962bd35838672f479f5.jpg","text":"TemporaryFile(/tmp/multipartBody6646064573219949702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804962654,"filename":"image_22112025_10_47_22_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2894fd0cf385afdcb7b0cfc8d07d622f.jpg","text":"TemporaryFile(/tmp/multipartBody3635512855256248962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804962654,"filename":"image_22112025_10_47_10_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab997988b13df7cd1de77cb06a263865.jpg","text":"TemporaryFile(/tmp/multipartBody8469608120719748915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763804962654,"filename":"image_22112025_10_47_13_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691742","file1":"1395691740","file0":"1395691738","file4":"1395691748","file5":"1395691751","file3":"1395691745"},"map_files_photo_id_array":[{"photo_id":"1395691751","filename":"file5"},{"photo_id":"1395691742","filename":"file2"},{"photo_id":"1395691748","filename":"file4"},{"photo_id":"1395691740","filename":"file1"},{"photo_id":"1395691738","filename":"file0"},{"photo_id":"1395691745","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691742":["hashtag1","hashtag2"]},{"1395691751":["hashtag1","hashtag2"]},{"1395691745":["hashtag1","hashtag2"]},{"1395691748":["hashtag1","hashtag2"]},{"1395691738":["hashtag1","hashtag2"]},{"1395691740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691742, 1395691751, 1395691745, 1395691748, 1395691738, 1395691740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82665228843689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:49:02.921406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_28_3616.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_31_2534.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_34_3578.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_37_2859.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_40_2809.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_43_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_28_3616.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_31_2534.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_34_3578.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_37_2859.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_40_2809.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_43_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691760","1395691754","1395691753","1395691756","1395691758","1395691755"],"photo_ids_order":["1395691753","1395691754","1395691755","1395691756","1395691758","1395691760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acfcdc9ba641a364229b11488daefa11.jpg","text":"TemporaryFile(/tmp/multipartBody2068149701303685053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805003825,"filename":"image_22112025_10_47_43_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/313b8f46ab35e166ff417a161426c618.jpg","text":"TemporaryFile(/tmp/multipartBody5817399237328062588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805003825,"filename":"image_22112025_10_47_31_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c631b1aa54755d2c516bf3341f9b5a29.jpg","text":"TemporaryFile(/tmp/multipartBody4753838557585392618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805003825,"filename":"image_22112025_10_47_28_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a89c4fed1a1aa8e7733de389e3ab09f7.jpg","text":"TemporaryFile(/tmp/multipartBody98486199284232602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805003825,"filename":"image_22112025_10_47_37_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebc21f2ebcc5911f532ffb0dda3f05b0.jpg","text":"TemporaryFile(/tmp/multipartBody9204792596267692566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805003825,"filename":"image_22112025_10_47_40_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/109960395d107b83904e9adc8cc28251.jpg","text":"TemporaryFile(/tmp/multipartBody4367909270075271071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805003825,"filename":"image_22112025_10_47_34_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691755","file1":"1395691754","file0":"1395691753","file4":"1395691758","file5":"1395691760","file3":"1395691756"},"map_files_photo_id_array":[{"photo_id":"1395691760","filename":"file5"},{"photo_id":"1395691755","filename":"file2"},{"photo_id":"1395691758","filename":"file4"},{"photo_id":"1395691754","filename":"file1"},{"photo_id":"1395691753","filename":"file0"},{"photo_id":"1395691756","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691760":["hashtag1","hashtag2"]},{"1395691754":["hashtag1","hashtag2"]},{"1395691753":["hashtag1","hashtag2"]},{"1395691756":["hashtag1","hashtag2"]},{"1395691758":["hashtag1","hashtag2"]},{"1395691755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691760, 1395691754, 1395691753, 1395691756, 1395691758, 1395691755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79338264465332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:49:42.106616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_46_3642.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_49_2551.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_51_2570.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_55_3708.jpg', '/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_58_2746.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_46_3642.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_49_2551.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_51_2570.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_55_3708.jpg
/home/pi/Desktop/images/22112025/10/47/image_22112025_10_47_58_2746.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691781","1395691775","1395691784","1395691777","1395691779","1395691770"],"photo_ids_order":["1395691770","1395691775","1395691777","1395691779","1395691781","1395691784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae76fc52bdddc3228a08789cc2287138.jpg","text":"TemporaryFile(/tmp/multipartBody5409584573969044411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805042872,"filename":"image_22112025_10_47_58_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1f37b11325d3f349aca9fd4c3c9b22a.jpg","text":"TemporaryFile(/tmp/multipartBody2601547534342240376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805042872,"filename":"image_22112025_10_47_49_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0082d4d2bdaa4747046f6fe3cc6229b0.jpg","text":"TemporaryFile(/tmp/multipartBody34167471514363444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805042872,"filename":"image_22112025_10_49_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25443f9cf8c72425a685f05cb402f618.jpg","text":"TemporaryFile(/tmp/multipartBody4525185253721974530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805042872,"filename":"image_22112025_10_47_51_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be22978d5872e71f82f3a0d6d2bbda98.jpg","text":"TemporaryFile(/tmp/multipartBody4324988347636688473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805042872,"filename":"image_22112025_10_47_55_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/073d9689994fc15dca54760a04f8eeb3.jpg","text":"TemporaryFile(/tmp/multipartBody7095546997410496498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805042872,"filename":"image_22112025_10_47_46_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691777","file1":"1395691775","file0":"1395691770","file4":"1395691781","file5":"1395691784","file3":"1395691779"},"map_files_photo_id_array":[{"photo_id":"1395691784","filename":"file5"},{"photo_id":"1395691777","filename":"file2"},{"photo_id":"1395691781","filename":"file4"},{"photo_id":"1395691775","filename":"file1"},{"photo_id":"1395691770","filename":"file0"},{"photo_id":"1395691779","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691781":["hashtag1","hashtag2"]},{"1395691775":["hashtag1","hashtag2"]},{"1395691784":["hashtag1","hashtag2"]},{"1395691777":["hashtag1","hashtag2"]},{"1395691779":["hashtag1","hashtag2"]},{"1395691770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691781, 1395691775, 1395691784, 1395691777, 1395691779, 1395691770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57901358604431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:50:22.363621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_10_3687.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_12_2544.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_16_3625.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_19_2724.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_21_2647.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_25_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_10_3687.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_12_2544.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_16_3625.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_19_2724.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_21_2647.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_25_3625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6213061809539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:50:42.300427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_10_3687.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_12_2544.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_16_3625.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_19_2724.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_21_2647.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_25_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_10_3687.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_12_2544.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_16_3625.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_19_2724.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_21_2647.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_25_3625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691803","1395691806","1395691799","1395691805","1395691802","1395691804"],"photo_ids_order":["1395691799","1395691802","1395691803","1395691804","1395691805","1395691806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0151ba988d42cccbf737982621443596.jpg","text":"TemporaryFile(/tmp/multipartBody268586873069413037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805103112,"filename":"image_22112025_10_49_16_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b8913b6af97298621aca4d147a120b1.jpg","text":"TemporaryFile(/tmp/multipartBody1159222654722579737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805103112,"filename":"image_22112025_10_49_25_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12daacf7568a951a0aca1b5c2dab05fb.jpg","text":"TemporaryFile(/tmp/multipartBody7506432511407264867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805103112,"filename":"image_22112025_10_49_10_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c17a572c82657523178c3113b98cb375.jpg","text":"TemporaryFile(/tmp/multipartBody2345971568805069844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805103112,"filename":"image_22112025_10_49_21_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d243443c0f01d3e5e657b9c0176cc96.jpg","text":"TemporaryFile(/tmp/multipartBody1941272098803649477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805103112,"filename":"image_22112025_10_49_12_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6597464f35e6c29779b975f4f53800e.jpg","text":"TemporaryFile(/tmp/multipartBody7240130598841998896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805103112,"filename":"image_22112025_10_49_19_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691803","file1":"1395691802","file0":"1395691799","file4":"1395691805","file5":"1395691806","file3":"1395691804"},"map_files_photo_id_array":[{"photo_id":"1395691806","filename":"file5"},{"photo_id":"1395691803","filename":"file2"},{"photo_id":"1395691805","filename":"file4"},{"photo_id":"1395691802","filename":"file1"},{"photo_id":"1395691799","filename":"file0"},{"photo_id":"1395691804","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691803":["hashtag1","hashtag2"]},{"1395691806":["hashtag1","hashtag2"]},{"1395691799":["hashtag1","hashtag2"]},{"1395691805":["hashtag1","hashtag2"]},{"1395691802":["hashtag1","hashtag2"]},{"1395691804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691803, 1395691806, 1395691799, 1395691805, 1395691802, 1395691804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95078468322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:51:22.547284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_28_2653.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_30_2575.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_34_3660.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_37_2688.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_39_2572.jpg', '/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_43_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_28_2653.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_30_2575.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_34_3660.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_37_2688.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_39_2572.jpg
/home/pi/Desktop/images/22112025/10/49/image_22112025_10_49_43_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691809","1395691812","1395691822","1395691816","1395691825","1395691819"],"photo_ids_order":["1395691809","1395691812","1395691816","1395691819","1395691822","1395691825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b2f9a5bd292c7b9f0f1274c854bd24c.jpg","text":"TemporaryFile(/tmp/multipartBody7760026084126826788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805143279,"filename":"image_22112025_10_49_28_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/983c45af33a1e5053f6aa952c0ab3e05.jpg","text":"TemporaryFile(/tmp/multipartBody488696110209121894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805143279,"filename":"image_22112025_10_49_30_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96af79f4f35b8db9a6ea2f17653b0846.jpg","text":"TemporaryFile(/tmp/multipartBody1530091032962937947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805143279,"filename":"image_22112025_10_49_39_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b100b92ef8974aa6612c1662a3dccd1.jpg","text":"TemporaryFile(/tmp/multipartBody1246211285949389733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805143279,"filename":"image_22112025_10_49_34_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fc285010c11f525dbc6c61f578f60c7.jpg","text":"TemporaryFile(/tmp/multipartBody513733255835377991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805143279,"filename":"image_22112025_10_49_43_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e812923e194370b16b65473959693075.jpg","text":"TemporaryFile(/tmp/multipartBody8371573212727828155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805143279,"filename":"image_22112025_10_49_37_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691816","file1":"1395691812","file0":"1395691809","file4":"1395691822","file5":"1395691825","file3":"1395691819"},"map_files_photo_id_array":[{"photo_id":"1395691825","filename":"file5"},{"photo_id":"1395691816","filename":"file2"},{"photo_id":"1395691822","filename":"file4"},{"photo_id":"1395691812","filename":"file1"},{"photo_id":"1395691809","filename":"file0"},{"photo_id":"1395691819","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691809":["hashtag1","hashtag2"]},{"1395691812":["hashtag1","hashtag2"]},{"1395691822":["hashtag1","hashtag2"]},{"1395691816":["hashtag1","hashtag2"]},{"1395691825":["hashtag1","hashtag2"]},{"1395691819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691809, 1395691812, 1395691822, 1395691816, 1395691825, 1395691819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35722875595093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:52:03.226865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_10_3490.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_13_2642.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_16_3569.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_19_2622.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_22_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_07_3011.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_10_3490.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_13_2642.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_16_3569.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_19_2622.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_22_2667.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6168427467346191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:52:22.679943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_10_3490.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_13_2642.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_16_3569.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_19_2622.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_22_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_07_3011.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_10_3490.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_13_2642.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_16_3569.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_19_2622.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_22_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691841","1395691850","1395691844","1395691838","1395691847","1395691834"],"photo_ids_order":["1395691834","1395691838","1395691841","1395691844","1395691847","1395691850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e510a7c519fa79d5d7004c830228204.jpg","text":"TemporaryFile(/tmp/multipartBody197057838830616391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805203376,"filename":"image_22112025_10_51_13_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3e33f5379923f51bf550d6a7d7723f1.jpg","text":"TemporaryFile(/tmp/multipartBody4265834869477363951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805203376,"filename":"image_22112025_10_51_22_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afdb03037d2a1842ce94a558fc2a6495.jpg","text":"TemporaryFile(/tmp/multipartBody5663352082786852342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805203376,"filename":"image_22112025_10_51_16_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93540d635041c20c17b090b49a856e43.jpg","text":"TemporaryFile(/tmp/multipartBody6792184930685882369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805203376,"filename":"image_22112025_10_51_10_3490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5e7ee57515e87d09a47d53f0169dc97.jpg","text":"TemporaryFile(/tmp/multipartBody7597224900716395194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805203376,"filename":"image_22112025_10_51_19_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb2e999941d566a89faec50270f02bd5.jpg","text":"TemporaryFile(/tmp/multipartBody4028726834050203200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805203376,"filename":"image_22112025_10_51_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691841","file1":"1395691838","file0":"1395691834","file4":"1395691847","file5":"1395691850","file3":"1395691844"},"map_files_photo_id_array":[{"photo_id":"1395691850","filename":"file5"},{"photo_id":"1395691841","filename":"file2"},{"photo_id":"1395691847","filename":"file4"},{"photo_id":"1395691838","filename":"file1"},{"photo_id":"1395691834","filename":"file0"},{"photo_id":"1395691844","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691841":["hashtag1","hashtag2"]},{"1395691850":["hashtag1","hashtag2"]},{"1395691844":["hashtag1","hashtag2"]},{"1395691838":["hashtag1","hashtag2"]},{"1395691847":["hashtag1","hashtag2"]},{"1395691834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691841, 1395691850, 1395691844, 1395691838, 1395691847, 1395691834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08264470100403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:53:03.335247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_25_3564.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_28_2629.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_31_3617.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_34_2711.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_37_2513.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_40_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_25_3564.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_28_2629.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_31_3617.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_34_2711.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_37_2513.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_40_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691856","1395691859","1395691853","1395691852","1395691851","1395691854"],"photo_ids_order":["1395691851","1395691852","1395691853","1395691854","1395691856","1395691859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/653e7dc5458833654b99a87eaf42f64f.jpg","text":"TemporaryFile(/tmp/multipartBody3339090760093529019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805244113,"filename":"image_22112025_10_51_37_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ebf9aeeff7fe08feeba64c6a04a9a9d.jpg","text":"TemporaryFile(/tmp/multipartBody3248230396852918770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805244113,"filename":"image_22112025_10_51_40_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c60bb1ca874f9ac87534cffd585e042e.jpg","text":"TemporaryFile(/tmp/multipartBody436230375263940396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805244113,"filename":"image_22112025_10_51_31_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33e53bd7cfa657c97db049ab613704b3.jpg","text":"TemporaryFile(/tmp/multipartBody4770000962300864115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805244113,"filename":"image_22112025_10_51_28_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19f5762e91f2f06a3b4837555a0c8fb1.jpg","text":"TemporaryFile(/tmp/multipartBody518008839091370685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805244113,"filename":"image_22112025_10_51_25_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7471d18d7a82b737a31fb5beeaffb6d1.jpg","text":"TemporaryFile(/tmp/multipartBody7386386873163580695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805244113,"filename":"image_22112025_10_51_34_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691853","file1":"1395691852","file0":"1395691851","file4":"1395691856","file5":"1395691859","file3":"1395691854"},"map_files_photo_id_array":[{"photo_id":"1395691859","filename":"file5"},{"photo_id":"1395691853","filename":"file2"},{"photo_id":"1395691856","filename":"file4"},{"photo_id":"1395691852","filename":"file1"},{"photo_id":"1395691851","filename":"file0"},{"photo_id":"1395691854","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691856":["hashtag1","hashtag2"]},{"1395691859":["hashtag1","hashtag2"]},{"1395691853":["hashtag1","hashtag2"]},{"1395691852":["hashtag1","hashtag2"]},{"1395691851":["hashtag1","hashtag2"]},{"1395691854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691856, 1395691859, 1395691853, 1395691852, 1395691851, 1395691854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44512224197388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:53:42.563877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_43_2685.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_45_2571.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_49_3724.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_52_2674.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_55_2669.jpg', '/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_58_3816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_43_2685.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_45_2571.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_49_3724.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_52_2674.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_55_2669.jpg
/home/pi/Desktop/images/22112025/10/51/image_22112025_10_51_58_3816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691880","1395691874","1395691873","1395691876","1395691872","1395691869"],"photo_ids_order":["1395691869","1395691872","1395691873","1395691874","1395691876","1395691880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edc80df68075b26ae1657f19656fe03a.jpg","text":"TemporaryFile(/tmp/multipartBody3361052743967644572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805283259,"filename":"image_22112025_10_51_58_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5091e5a90a2a2382c8dbc09508e13d2.jpg","text":"TemporaryFile(/tmp/multipartBody4866453775898337756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805283259,"filename":"image_22112025_10_51_52_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b10275d6734a382aa7378dd3a41009d7.jpg","text":"TemporaryFile(/tmp/multipartBody96941418208794049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805283259,"filename":"image_22112025_10_51_49_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd6093974b9331715071687ef19c7423.jpg","text":"TemporaryFile(/tmp/multipartBody7642615237256749202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805283259,"filename":"image_22112025_10_51_55_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddcccd3f75179807262db490d60c8bed.jpg","text":"TemporaryFile(/tmp/multipartBody49046270564993296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805283259,"filename":"image_22112025_10_51_45_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd5cdfe6c43d25ccf7377eebccac2b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5647005607047952986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805283259,"filename":"image_22112025_10_51_43_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691873","file1":"1395691872","file0":"1395691869","file4":"1395691876","file5":"1395691880","file3":"1395691874"},"map_files_photo_id_array":[{"photo_id":"1395691880","filename":"file5"},{"photo_id":"1395691873","filename":"file2"},{"photo_id":"1395691876","filename":"file4"},{"photo_id":"1395691872","filename":"file1"},{"photo_id":"1395691869","filename":"file0"},{"photo_id":"1395691874","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691880":["hashtag1","hashtag2"]},{"1395691874":["hashtag1","hashtag2"]},{"1395691873":["hashtag1","hashtag2"]},{"1395691876":["hashtag1","hashtag2"]},{"1395691872":["hashtag1","hashtag2"]},{"1395691869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691880, 1395691874, 1395691873, 1395691876, 1395691872, 1395691869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.219781160354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:54:21.791316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_07_3011.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_11_3825.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_13_2696.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_16_2563.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_20_3769.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_23_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_07_3011.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_11_3825.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_13_2696.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_16_2563.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_20_3769.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_23_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691885","1395691888","1395691882","1395691893","1395691896","1395691900"],"photo_ids_order":["1395691882","1395691885","1395691888","1395691893","1395691896","1395691900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7dce907b331358a8c579f136ab5f0319.jpg","text":"TemporaryFile(/tmp/multipartBody3107371459698648432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805322499,"filename":"image_22112025_10_53_11_3825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11f52cbe2a5659fbaad4059d2da0430f.jpg","text":"TemporaryFile(/tmp/multipartBody8254332153835142695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805322499,"filename":"image_22112025_10_53_13_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da2e2fa203be6bf61f5ceb28c44d1a6e.jpg","text":"TemporaryFile(/tmp/multipartBody7520919066379318697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805322499,"filename":"image_22112025_10_53_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dceddd27edb9d7f5f7539f0e8f3ca49.jpg","text":"TemporaryFile(/tmp/multipartBody8707593979192487711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805322499,"filename":"image_22112025_10_53_16_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/542c18c0e5691b47d01c4104c820788b.jpg","text":"TemporaryFile(/tmp/multipartBody4496765470594853815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805322499,"filename":"image_22112025_10_53_20_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4f0b8acbd9f7d13e64cdd5d546fa0f5.jpg","text":"TemporaryFile(/tmp/multipartBody5107001438440686472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805322499,"filename":"image_22112025_10_53_23_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691888","file1":"1395691885","file0":"1395691882","file4":"1395691896","file5":"1395691900","file3":"1395691893"},"map_files_photo_id_array":[{"photo_id":"1395691900","filename":"file5"},{"photo_id":"1395691888","filename":"file2"},{"photo_id":"1395691896","filename":"file4"},{"photo_id":"1395691885","filename":"file1"},{"photo_id":"1395691882","filename":"file0"},{"photo_id":"1395691893","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691885":["hashtag1","hashtag2"]},{"1395691888":["hashtag1","hashtag2"]},{"1395691882":["hashtag1","hashtag2"]},{"1395691893":["hashtag1","hashtag2"]},{"1395691896":["hashtag1","hashtag2"]},{"1395691900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691885, 1395691888, 1395691882, 1395691893, 1395691896, 1395691900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27333927154541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:55:02.544275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_25_2521.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_29_3644.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_31_2776.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_34_2583.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_38_3691.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_40_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_25_2521.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_29_3644.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_31_2776.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_34_2583.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_38_3691.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_40_2538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691908","1395691905","1395691910","1395691907","1395691912","1395691906"],"photo_ids_order":["1395691905","1395691906","1395691907","1395691908","1395691910","1395691912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37764bd7d0b0596762cffae0dc304a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8499343131287025744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805363324,"filename":"image_22112025_10_53_34_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b48e5b8144088d2093c173ad93d7836d.jpg","text":"TemporaryFile(/tmp/multipartBody7419936674882130932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805363324,"filename":"image_22112025_10_53_25_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98cec2d379106f7a846f252b7ea0b7dc.jpg","text":"TemporaryFile(/tmp/multipartBody7072117481202432383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805363324,"filename":"image_22112025_10_53_38_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1abb58d9a14a2586d7b8fd3dde3d3fc0.jpg","text":"TemporaryFile(/tmp/multipartBody990825668755639989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805363324,"filename":"image_22112025_10_53_31_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af44704a124fe83e6600b60ab877e956.jpg","text":"TemporaryFile(/tmp/multipartBody5491658707698441672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805363324,"filename":"image_22112025_10_53_40_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7594b51fc4ff14cf0c166fbb0ed35b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1253619944706179216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805363324,"filename":"image_22112025_10_53_29_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691907","file1":"1395691906","file0":"1395691905","file4":"1395691910","file5":"1395691912","file3":"1395691908"},"map_files_photo_id_array":[{"photo_id":"1395691912","filename":"file5"},{"photo_id":"1395691907","filename":"file2"},{"photo_id":"1395691910","filename":"file4"},{"photo_id":"1395691906","filename":"file1"},{"photo_id":"1395691905","filename":"file0"},{"photo_id":"1395691908","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691908":["hashtag1","hashtag2"]},{"1395691905":["hashtag1","hashtag2"]},{"1395691910":["hashtag1","hashtag2"]},{"1395691907":["hashtag1","hashtag2"]},{"1395691912":["hashtag1","hashtag2"]},{"1395691906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691908, 1395691905, 1395691910, 1395691907, 1395691912, 1395691906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2991087436676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:55:41.865684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_43_2650.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_47_3664.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_49_2705.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_52_2592.jpg', '/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_56_3606.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_06_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_43_2650.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_47_3664.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_49_2705.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_52_2592.jpg
/home/pi/Desktop/images/22112025/10/53/image_22112025_10_53_56_3606.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_06_3014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691925","1395691934","1395691928","1395691921","1395691930","1395691932"],"photo_ids_order":["1395691921","1395691925","1395691928","1395691930","1395691932","1395691934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fd8476fe5755492ba634dcbf0a015b4.jpg","text":"TemporaryFile(/tmp/multipartBody7382309739036487747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805402554,"filename":"image_22112025_10_53_47_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdfa53e25dda9db2f92a7ef419014565.jpg","text":"TemporaryFile(/tmp/multipartBody6799372183653665039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805402554,"filename":"image_22112025_10_55_06_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a939915d8d638580cd6777c32d86174f.jpg","text":"TemporaryFile(/tmp/multipartBody1911487806159865488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805402554,"filename":"image_22112025_10_53_49_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96a81fa9fb3e439b4826defbd4dde779.jpg","text":"TemporaryFile(/tmp/multipartBody7581534656712847978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805402554,"filename":"image_22112025_10_53_43_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90f07877fefe176a524c90da1ab22dc7.jpg","text":"TemporaryFile(/tmp/multipartBody179306721294011281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805402554,"filename":"image_22112025_10_53_52_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5dad967b44057a7c9e6adf24520d9685.jpg","text":"TemporaryFile(/tmp/multipartBody7566888852550226410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805402554,"filename":"image_22112025_10_53_56_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691928","file1":"1395691925","file0":"1395691921","file4":"1395691932","file5":"1395691934","file3":"1395691930"},"map_files_photo_id_array":[{"photo_id":"1395691934","filename":"file5"},{"photo_id":"1395691928","filename":"file2"},{"photo_id":"1395691932","filename":"file4"},{"photo_id":"1395691925","filename":"file1"},{"photo_id":"1395691921","filename":"file0"},{"photo_id":"1395691930","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691925":["hashtag1","hashtag2"]},{"1395691934":["hashtag1","hashtag2"]},{"1395691928":["hashtag1","hashtag2"]},{"1395691921":["hashtag1","hashtag2"]},{"1395691930":["hashtag1","hashtag2"]},{"1395691932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691925, 1395691934, 1395691928, 1395691921, 1395691930, 1395691932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16485118865967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:56:22.108101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_10_3673.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_13_2668.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_16_3580.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_19_2682.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_22_2891.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_24_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_10_3673.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_13_2668.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_16_3580.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_19_2682.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_22_2891.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_24_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691937","1395691952","1395691945","1395691942","1395691950","1395691947"],"photo_ids_order":["1395691937","1395691942","1395691945","1395691947","1395691950","1395691952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20b6f1738bf9c7dac18dadc8eb78b57d.jpg","text":"TemporaryFile(/tmp/multipartBody1047833206653128779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805442794,"filename":"image_22112025_10_55_10_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1c102022db0e8fb6ada12ba82240559.jpg","text":"TemporaryFile(/tmp/multipartBody4381328855212931455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805442794,"filename":"image_22112025_10_55_24_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/736fdef6ec6ad8fbf706f6b310907fe4.jpg","text":"TemporaryFile(/tmp/multipartBody2718344093131189894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805442794,"filename":"image_22112025_10_55_16_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c6bfd67f1d7864d9c47c02f2e7e1497.jpg","text":"TemporaryFile(/tmp/multipartBody4432604708977532050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805442794,"filename":"image_22112025_10_55_13_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5effbde72c909d86b8ee675611586fb.jpg","text":"TemporaryFile(/tmp/multipartBody7719092646746035130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805442794,"filename":"image_22112025_10_55_22_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edbe084307a1068def812ed97a1a8480.jpg","text":"TemporaryFile(/tmp/multipartBody720693730039688517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805442794,"filename":"image_22112025_10_55_19_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691945","file1":"1395691942","file0":"1395691937","file4":"1395691950","file5":"1395691952","file3":"1395691947"},"map_files_photo_id_array":[{"photo_id":"1395691952","filename":"file5"},{"photo_id":"1395691945","filename":"file2"},{"photo_id":"1395691950","filename":"file4"},{"photo_id":"1395691942","filename":"file1"},{"photo_id":"1395691937","filename":"file0"},{"photo_id":"1395691947","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691937":["hashtag1","hashtag2"]},{"1395691952":["hashtag1","hashtag2"]},{"1395691945":["hashtag1","hashtag2"]},{"1395691942":["hashtag1","hashtag2"]},{"1395691950":["hashtag1","hashtag2"]},{"1395691947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691937, 1395691952, 1395691945, 1395691942, 1395691950, 1395691947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98277831077576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:57:03.516066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_28_3680.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_31_2829.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_34_2619.jpg', '/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_37_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_28_3680.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_31_2829.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_34_2619.jpg
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_37_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691955","1395691958","1395691957","1395691956"],"photo_ids_order":["1395691955","1395691956","1395691957","1395691958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3cd27952c6b68db685736a5ea587203.jpg","text":"TemporaryFile(/tmp/multipartBody6201395506239272988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805484211,"filename":"image_22112025_10_55_28_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c4bfdb13e4ce18b2d5459e958f86edc.jpg","text":"TemporaryFile(/tmp/multipartBody5316213893370176350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805484211,"filename":"image_22112025_10_55_37_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cf9e4b74736f117d03acbb1adb817b0.jpg","text":"TemporaryFile(/tmp/multipartBody4250500696638046262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805484211,"filename":"image_22112025_10_55_34_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88bb63d2fc1feb3350c69fa48a42bd2d.jpg","text":"TemporaryFile(/tmp/multipartBody3946377147094459597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805484211,"filename":"image_22112025_10_55_31_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691957","file1":"1395691956","file0":"1395691955","file3":"1395691958"},"map_files_photo_id_array":[{"photo_id":"1395691957","filename":"file2"},{"photo_id":"1395691956","filename":"file1"},{"photo_id":"1395691955","filename":"file0"},{"photo_id":"1395691958","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691955":["hashtag1","hashtag2"]},{"1395691958":["hashtag1","hashtag2"]},{"1395691957":["hashtag1","hashtag2"]},{"1395691956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691955, 1395691958, 1395691957, 1395691956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.451156854629517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:57:42.661764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_40_2629.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_06_3011.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_10_3640.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_13_3236.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_16_2683.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_18_2501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/55/image_22112025_10_55_40_2629.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_06_3011.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_10_3640.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_13_3236.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_16_2683.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_18_2501.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691976","1395691978","1395691975","1395691974","1395691977","1395691971"],"photo_ids_order":["1395691971","1395691974","1395691975","1395691976","1395691977","1395691978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f8292c567d518f92b342d676126c28b.jpg","text":"TemporaryFile(/tmp/multipartBody339254130933823857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805523357,"filename":"image_22112025_10_57_13_3236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5fee498512179ecdf2c1461d6e7c53f.jpg","text":"TemporaryFile(/tmp/multipartBody6646990204386411287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805523357,"filename":"image_22112025_10_57_18_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67fef0c7e870463b48f74053af0f0bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1797328740923420288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805523357,"filename":"image_22112025_10_57_10_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39f936b2ce17c09e35077102aa75f52c.jpg","text":"TemporaryFile(/tmp/multipartBody4551560859657441479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805523357,"filename":"image_22112025_10_57_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82b265b8751125ea32629b1895aecfdb.jpg","text":"TemporaryFile(/tmp/multipartBody1323670084275651537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805523357,"filename":"image_22112025_10_57_16_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d72a1b18b504a2c84b9b03fb6c71cbe8.jpg","text":"TemporaryFile(/tmp/multipartBody5922339204877407342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805523357,"filename":"image_22112025_10_55_40_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691975","file1":"1395691974","file0":"1395691971","file4":"1395691977","file5":"1395691978","file3":"1395691976"},"map_files_photo_id_array":[{"photo_id":"1395691978","filename":"file5"},{"photo_id":"1395691975","filename":"file2"},{"photo_id":"1395691977","filename":"file4"},{"photo_id":"1395691974","filename":"file1"},{"photo_id":"1395691971","filename":"file0"},{"photo_id":"1395691976","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691976":["hashtag1","hashtag2"]},{"1395691978":["hashtag1","hashtag2"]},{"1395691975":["hashtag1","hashtag2"]},{"1395691974":["hashtag1","hashtag2"]},{"1395691977":["hashtag1","hashtag2"]},{"1395691971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691976, 1395691978, 1395691975, 1395691974, 1395691977, 1395691971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13955235481262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 10:59:02.945980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_22_3592.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_25_2578.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_27_2797.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_31_3677.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_34_2618.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_37_2952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_22_3592.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_25_2578.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_27_2797.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_31_3677.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_34_2618.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_37_2952.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395691979","1395691996","1395691990","1395691993","1395691987","1395691983"],"photo_ids_order":["1395691979","1395691983","1395691987","1395691990","1395691993","1395691996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21f0647b2d242a53247615832d980b83.jpg","text":"TemporaryFile(/tmp/multipartBody3353891636091130277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805603788,"filename":"image_22112025_10_57_22_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8647a712e3f8c15e63d98d77b5a9408d.jpg","text":"TemporaryFile(/tmp/multipartBody6594195762837654568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805603788,"filename":"image_22112025_10_57_37_2952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4be7c019197865eef6cd4c472fc4197c.jpg","text":"TemporaryFile(/tmp/multipartBody5614738401691896730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805603788,"filename":"image_22112025_10_57_31_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19cc35ea754a1147045531be8b189f46.jpg","text":"TemporaryFile(/tmp/multipartBody5986389651451428917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805603788,"filename":"image_22112025_10_57_34_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d97a236abc376a3c498047801514d84.jpg","text":"TemporaryFile(/tmp/multipartBody1007643607318274320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805603788,"filename":"image_22112025_10_57_27_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a72c6ac238e37a0c241c31a483713a6.jpg","text":"TemporaryFile(/tmp/multipartBody2927770817660656449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805603788,"filename":"image_22112025_10_57_25_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395691987","file1":"1395691983","file0":"1395691979","file4":"1395691993","file5":"1395691996","file3":"1395691990"},"map_files_photo_id_array":[{"photo_id":"1395691996","filename":"file5"},{"photo_id":"1395691987","filename":"file2"},{"photo_id":"1395691993","filename":"file4"},{"photo_id":"1395691983","filename":"file1"},{"photo_id":"1395691979","filename":"file0"},{"photo_id":"1395691990","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395691979":["hashtag1","hashtag2"]},{"1395691996":["hashtag1","hashtag2"]},{"1395691990":["hashtag1","hashtag2"]},{"1395691993":["hashtag1","hashtag2"]},{"1395691987":["hashtag1","hashtag2"]},{"1395691983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395691979, 1395691996, 1395691990, 1395691993, 1395691987, 1395691983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93434286117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 10:59:42.312140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_39_2768.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_43_3727.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_46_2766.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_49_2703.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_51_2712.jpg', '/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_55_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_39_2768.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_43_3727.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_46_2766.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_49_2703.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_51_2712.jpg
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_55_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692003","1395692012","1395692006","1395692015","1395691999","1395692008"],"photo_ids_order":["1395691999","1395692003","1395692006","1395692008","1395692012","1395692015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5072cbe616508a2a662059bd058869c.jpg","text":"TemporaryFile(/tmp/multipartBody4246540339400352370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805643013,"filename":"image_22112025_10_57_43_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45c08ea612124f0a5127e937efefd4d4.jpg","text":"TemporaryFile(/tmp/multipartBody8911556875519788890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805643013,"filename":"image_22112025_10_57_51_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8e553ec700c2a1fb2654eca2437c00a.jpg","text":"TemporaryFile(/tmp/multipartBody7988462218029606985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805643013,"filename":"image_22112025_10_57_46_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00a6d1e309d3091f6c3e6b8a812675d4.jpg","text":"TemporaryFile(/tmp/multipartBody6991356908612386133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805643013,"filename":"image_22112025_10_57_55_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29d8ee00f1ac0df853a7ec4b74784e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8483626170333516175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805643013,"filename":"image_22112025_10_57_39_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/135b9716261eda1471315b05d0cd49d9.jpg","text":"TemporaryFile(/tmp/multipartBody4135906062977677828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805643013,"filename":"image_22112025_10_57_49_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692006","file1":"1395692003","file0":"1395691999","file4":"1395692012","file5":"1395692015","file3":"1395692008"},"map_files_photo_id_array":[{"photo_id":"1395692015","filename":"file5"},{"photo_id":"1395692006","filename":"file2"},{"photo_id":"1395692012","filename":"file4"},{"photo_id":"1395692003","filename":"file1"},{"photo_id":"1395691999","filename":"file0"},{"photo_id":"1395692008","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692003":["hashtag1","hashtag2"]},{"1395692012":["hashtag1","hashtag2"]},{"1395692006":["hashtag1","hashtag2"]},{"1395692015":["hashtag1","hashtag2"]},{"1395691999":["hashtag1","hashtag2"]},{"1395692008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692003, 1395692012, 1395692006, 1395692015, 1395691999, 1395692008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6108193397522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:00:22.505252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_58_2668.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_06_3011.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_10_3666.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_12_2677.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_16_3581.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_19_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/57/image_22112025_10_57_58_2668.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_06_3011.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_10_3666.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_12_2677.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_16_3581.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_19_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692036","1395692030","1395692027","1395692020","1395692023","1395692019"],"photo_ids_order":["1395692019","1395692020","1395692023","1395692027","1395692030","1395692036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8c4f023ad8df1c485ac1843be76e300.jpg","text":"TemporaryFile(/tmp/multipartBody4709199760952954544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805683202,"filename":"image_22112025_10_59_19_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d415b369216e2516d95bdd3af1ad05f5.jpg","text":"TemporaryFile(/tmp/multipartBody773380920234092216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805683202,"filename":"image_22112025_10_59_16_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddc3121b49c0b3581a72dbbaf2516090.jpg","text":"TemporaryFile(/tmp/multipartBody4080490676471385604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805683202,"filename":"image_22112025_10_59_12_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20bdd71a087ff22f1c3978406f5ea4ff.jpg","text":"TemporaryFile(/tmp/multipartBody2495459588830751285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805683202,"filename":"image_22112025_10_59_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79af251b35923c3d96ea67c1de70d51d.jpg","text":"TemporaryFile(/tmp/multipartBody628051769614967011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805683202,"filename":"image_22112025_10_59_10_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f513c6d4a3fb703e7934f2cc870e5545.jpg","text":"TemporaryFile(/tmp/multipartBody648321348175583054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805683202,"filename":"image_22112025_10_57_58_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692023","file1":"1395692020","file0":"1395692019","file4":"1395692030","file5":"1395692036","file3":"1395692027"},"map_files_photo_id_array":[{"photo_id":"1395692036","filename":"file5"},{"photo_id":"1395692023","filename":"file2"},{"photo_id":"1395692030","filename":"file4"},{"photo_id":"1395692020","filename":"file1"},{"photo_id":"1395692019","filename":"file0"},{"photo_id":"1395692027","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692036":["hashtag1","hashtag2"]},{"1395692030":["hashtag1","hashtag2"]},{"1395692027":["hashtag1","hashtag2"]},{"1395692020":["hashtag1","hashtag2"]},{"1395692023":["hashtag1","hashtag2"]},{"1395692019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692036, 1395692030, 1395692027, 1395692020, 1395692023, 1395692019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44535183906555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:01:03.109603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_21_2684.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_24_2795.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_28_3597.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_30_2589.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_33_2848.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_37_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_21_2684.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_24_2795.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_28_3597.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_30_2589.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_33_2848.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_37_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692096","1395692081","1395692077","1395692074","1395692058","1395692099"],"photo_ids_order":["1395692058","1395692074","1395692077","1395692081","1395692096","1395692099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05efb577b9933055b104880e57354193.jpg","text":"TemporaryFile(/tmp/multipartBody4316417086737232239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805723902,"filename":"image_22112025_10_59_33_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33adb0181f2b16bc752d3482dc19e4ec.jpg","text":"TemporaryFile(/tmp/multipartBody1616445168061493367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805723902,"filename":"image_22112025_10_59_30_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/225367914552996b5e7534d350d80beb.jpg","text":"TemporaryFile(/tmp/multipartBody9012095193542714973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805723902,"filename":"image_22112025_10_59_28_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16afb87d6a28391dc94ca6290bdb935e.jpg","text":"TemporaryFile(/tmp/multipartBody7382389688185358772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805723902,"filename":"image_22112025_10_59_24_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ed1470d591002b7cdb966cc5999ec12.jpg","text":"TemporaryFile(/tmp/multipartBody14799675913987152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805723902,"filename":"image_22112025_10_59_21_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d5a721f38bc6cd74e2c451e0fef4b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4678257655417684611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805723902,"filename":"image_22112025_10_59_37_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692077","file1":"1395692074","file0":"1395692058","file4":"1395692096","file5":"1395692099","file3":"1395692081"},"map_files_photo_id_array":[{"photo_id":"1395692099","filename":"file5"},{"photo_id":"1395692077","filename":"file2"},{"photo_id":"1395692096","filename":"file4"},{"photo_id":"1395692074","filename":"file1"},{"photo_id":"1395692058","filename":"file0"},{"photo_id":"1395692081","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692096":["hashtag1","hashtag2"]},{"1395692081":["hashtag1","hashtag2"]},{"1395692077":["hashtag1","hashtag2"]},{"1395692074":["hashtag1","hashtag2"]},{"1395692058":["hashtag1","hashtag2"]},{"1395692099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692096, 1395692081, 1395692077, 1395692074, 1395692058, 1395692099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79793643951416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:01:42.552154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_39_2616.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_42_2727.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_46_3647.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_49_2788.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_51_2675.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_39_2616.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_42_2727.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_46_3647.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_49_2788.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_51_2675.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_07_3012.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5835189819335938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:02:03.236841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_39_2616.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_42_2727.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_46_3647.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_49_2788.jpg', '/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_51_2675.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_39_2616.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_42_2727.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_46_3647.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_49_2788.jpg
/home/pi/Desktop/images/22112025/10/59/image_22112025_10_59_51_2675.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692117","1395692114","1395692122","1395692116","1395692119","1395692115"],"photo_ids_order":["1395692114","1395692115","1395692116","1395692117","1395692119","1395692122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43c4e4e9cba6b2cfab2104334e8c07d9.jpg","text":"TemporaryFile(/tmp/multipartBody3306431954963170309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805784017,"filename":"image_22112025_10_59_49_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a594923d84858d29d8a13333e4f661c1.jpg","text":"TemporaryFile(/tmp/multipartBody887389308483824735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805784017,"filename":"image_22112025_10_59_39_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e042c218a965ca696554a8430363422d.jpg","text":"TemporaryFile(/tmp/multipartBody6922017581867174518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805784017,"filename":"image_22112025_11_01_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ab19d24d6fdbba14c5fc3f3cc968eab.jpg","text":"TemporaryFile(/tmp/multipartBody5567629094318425887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805784017,"filename":"image_22112025_10_59_46_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48165921020eb841605d2e9a7fa8faee.jpg","text":"TemporaryFile(/tmp/multipartBody5966083257819989431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805784017,"filename":"image_22112025_10_59_51_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/debcfb85d867ca9e03dfa155fb912735.jpg","text":"TemporaryFile(/tmp/multipartBody6673379377799832591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805784017,"filename":"image_22112025_10_59_42_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692116","file1":"1395692115","file0":"1395692114","file4":"1395692119","file5":"1395692122","file3":"1395692117"},"map_files_photo_id_array":[{"photo_id":"1395692122","filename":"file5"},{"photo_id":"1395692116","filename":"file2"},{"photo_id":"1395692119","filename":"file4"},{"photo_id":"1395692115","filename":"file1"},{"photo_id":"1395692114","filename":"file0"},{"photo_id":"1395692117","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692117":["hashtag1","hashtag2"]},{"1395692114":["hashtag1","hashtag2"]},{"1395692122":["hashtag1","hashtag2"]},{"1395692116":["hashtag1","hashtag2"]},{"1395692119":["hashtag1","hashtag2"]},{"1395692115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692117, 1395692114, 1395692122, 1395692116, 1395692119, 1395692115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96770668029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:02:42.784217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_10_3551.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_13_2545.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_16_3565.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_19_2518.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_23_3649.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_25_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_10_3551.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_13_2545.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_16_3565.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_19_2518.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_23_3649.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_25_2516.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692135","1395692138","1395692134","1395692136","1395692130","1395692133"],"photo_ids_order":["1395692130","1395692133","1395692134","1395692135","1395692136","1395692138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5906f245b9dd6ba7f576da29affbc12.jpg","text":"TemporaryFile(/tmp/multipartBody7285558070128226001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805823469,"filename":"image_22112025_11_01_19_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6f5e26610a97feccfb23e9aef0e2157.jpg","text":"TemporaryFile(/tmp/multipartBody6506417561942415293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805823469,"filename":"image_22112025_11_01_25_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/affa8a8eb0c01c1d46e378e7c479924f.jpg","text":"TemporaryFile(/tmp/multipartBody8307289300294629823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805823469,"filename":"image_22112025_11_01_16_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f159a53f8df0de4a251e95ca3c9edac4.jpg","text":"TemporaryFile(/tmp/multipartBody3144266781193968796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805823469,"filename":"image_22112025_11_01_23_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f45c0b6a3833f521bab47a01d49e683b.jpg","text":"TemporaryFile(/tmp/multipartBody708934682424447771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805823469,"filename":"image_22112025_11_01_10_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16659b6dd416e71033c39920be3a7723.jpg","text":"TemporaryFile(/tmp/multipartBody8430404192124022267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805823469,"filename":"image_22112025_11_01_13_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692134","file1":"1395692133","file0":"1395692130","file4":"1395692136","file5":"1395692138","file3":"1395692135"},"map_files_photo_id_array":[{"photo_id":"1395692138","filename":"file5"},{"photo_id":"1395692134","filename":"file2"},{"photo_id":"1395692136","filename":"file4"},{"photo_id":"1395692133","filename":"file1"},{"photo_id":"1395692130","filename":"file0"},{"photo_id":"1395692135","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692135":["hashtag1","hashtag2"]},{"1395692138":["hashtag1","hashtag2"]},{"1395692134":["hashtag1","hashtag2"]},{"1395692136":["hashtag1","hashtag2"]},{"1395692130":["hashtag1","hashtag2"]},{"1395692133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692135, 1395692138, 1395692134, 1395692136, 1395692130, 1395692133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70131492614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:03:22.049702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_28_2804.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_32_3539.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_34_2605.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_37_2700.jpg', '/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_40_3641.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_28_2804.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_32_3539.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_34_2605.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_37_2700.jpg
/home/pi/Desktop/images/22112025/11/01/image_22112025_11_01_40_3641.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692153","1395692150","1395692143","1395692146","1395692140","1395692154"],"photo_ids_order":["1395692140","1395692143","1395692146","1395692150","1395692153","1395692154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e600f1fe91f4b9ebcffff12ae73e91a6.jpg","text":"TemporaryFile(/tmp/multipartBody7185207242919698148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805863358,"filename":"image_22112025_11_01_40_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfca44dfc47b5772d2af3cd4ae80f8dc.jpg","text":"TemporaryFile(/tmp/multipartBody843695972554480166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805863358,"filename":"image_22112025_11_01_37_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f72dbd9ccf628d210eba8509e8bb799.jpg","text":"TemporaryFile(/tmp/multipartBody2027039881444876077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805863358,"filename":"image_22112025_11_01_32_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16afeb6af9349976cd1867ad8195d9a9.jpg","text":"TemporaryFile(/tmp/multipartBody7663181495840024469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805863358,"filename":"image_22112025_11_01_34_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62107131eb4f50ffc9c46fcc97346e89.jpg","text":"TemporaryFile(/tmp/multipartBody3706854163440718242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805863358,"filename":"image_22112025_11_01_28_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27fffa0900016bdfd422c281e5e02383.jpg","text":"TemporaryFile(/tmp/multipartBody5031045588177122131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805863358,"filename":"image_22112025_11_03_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692146","file1":"1395692143","file0":"1395692140","file4":"1395692153","file5":"1395692154","file3":"1395692150"},"map_files_photo_id_array":[{"photo_id":"1395692154","filename":"file5"},{"photo_id":"1395692146","filename":"file2"},{"photo_id":"1395692153","filename":"file4"},{"photo_id":"1395692143","filename":"file1"},{"photo_id":"1395692140","filename":"file0"},{"photo_id":"1395692150","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692153":["hashtag1","hashtag2"]},{"1395692150":["hashtag1","hashtag2"]},{"1395692143":["hashtag1","hashtag2"]},{"1395692146":["hashtag1","hashtag2"]},{"1395692140":["hashtag1","hashtag2"]},{"1395692154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692153, 1395692150, 1395692143, 1395692146, 1395692140, 1395692154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.430525064468384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:04:03.002930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_11_3686.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_13_2565.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_17_3644.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_20_2698.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_22_2556.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_25_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_11_3686.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_13_2565.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_17_3644.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_20_2698.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_22_2556.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_25_2803.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6413455009460449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:04:22.438978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_11_3686.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_13_2565.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_17_3644.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_20_2698.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_22_2556.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_25_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_11_3686.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_13_2565.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_17_3644.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_20_2698.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_22_2556.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_25_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692168","1395692170","1395692164","1395692172","1395692175","1395692166"],"photo_ids_order":["1395692164","1395692166","1395692168","1395692170","1395692172","1395692175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1596b2722c4d8c05ce07ea3f4f892f64.jpg","text":"TemporaryFile(/tmp/multipartBody7081174681163658949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805923204,"filename":"image_22112025_11_03_17_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9e66488094bf46589f014d4a97437f8.jpg","text":"TemporaryFile(/tmp/multipartBody2311796380056153361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805923204,"filename":"image_22112025_11_03_20_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb95b12d3eed7824f14c535cf5bbb103.jpg","text":"TemporaryFile(/tmp/multipartBody57555655841822058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805923204,"filename":"image_22112025_11_03_11_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7444b9d73647f700d9645009f95397bc.jpg","text":"TemporaryFile(/tmp/multipartBody5245806927941531596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805923204,"filename":"image_22112025_11_03_22_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcb76255591c11b4310d06e72f61ef37.jpg","text":"TemporaryFile(/tmp/multipartBody7483425036785906720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805923204,"filename":"image_22112025_11_03_25_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2bfe90c025650cadbeed5b102b52a0c.jpg","text":"TemporaryFile(/tmp/multipartBody1358807586454861093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805923204,"filename":"image_22112025_11_03_13_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692168","file1":"1395692166","file0":"1395692164","file4":"1395692172","file5":"1395692175","file3":"1395692170"},"map_files_photo_id_array":[{"photo_id":"1395692175","filename":"file5"},{"photo_id":"1395692168","filename":"file2"},{"photo_id":"1395692172","filename":"file4"},{"photo_id":"1395692166","filename":"file1"},{"photo_id":"1395692164","filename":"file0"},{"photo_id":"1395692170","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692168":["hashtag1","hashtag2"]},{"1395692170":["hashtag1","hashtag2"]},{"1395692164":["hashtag1","hashtag2"]},{"1395692172":["hashtag1","hashtag2"]},{"1395692175":["hashtag1","hashtag2"]},{"1395692166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692168, 1395692170, 1395692164, 1395692172, 1395692175, 1395692166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.371357440948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:05:03.301441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_29_3667.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_32_2698.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_34_2667.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_38_3734.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_41_2572.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_43_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_29_3667.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_32_2698.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_34_2667.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_38_3734.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_41_2572.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_43_2675.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6543979644775391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:05:22.639999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_29_3667.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_32_2698.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_34_2667.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_38_3734.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_41_2572.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_43_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_29_3667.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_32_2698.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_34_2667.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_38_3734.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_41_2572.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_43_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692202","1395692210","1395692212","1395692206","1395692199","1395692208"],"photo_ids_order":["1395692199","1395692202","1395692206","1395692208","1395692210","1395692212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c1bb637d2a3f71e876d86a8f217e1e9.jpg","text":"TemporaryFile(/tmp/multipartBody6006330114057948039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805983368,"filename":"image_22112025_11_03_32_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1998ae86ed41833ce6924d714e30cbea.jpg","text":"TemporaryFile(/tmp/multipartBody5576453675495346840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805983368,"filename":"image_22112025_11_03_41_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dda7f85d66fe2db84947822f8974c988.jpg","text":"TemporaryFile(/tmp/multipartBody3532520732202238456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805983368,"filename":"image_22112025_11_03_43_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f0746a6ba22633ef45a6e97dee2ee0a.jpg","text":"TemporaryFile(/tmp/multipartBody6027339023981882909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805983368,"filename":"image_22112025_11_03_34_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2346128020b4baa6060731172325dfe8.jpg","text":"TemporaryFile(/tmp/multipartBody3159663136574247152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805983368,"filename":"image_22112025_11_03_29_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aab9dbe05e2ca1e0b0d0324bf562b368.jpg","text":"TemporaryFile(/tmp/multipartBody6268165752371781714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763805983368,"filename":"image_22112025_11_03_38_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692206","file1":"1395692202","file0":"1395692199","file4":"1395692210","file5":"1395692212","file3":"1395692208"},"map_files_photo_id_array":[{"photo_id":"1395692212","filename":"file5"},{"photo_id":"1395692206","filename":"file2"},{"photo_id":"1395692210","filename":"file4"},{"photo_id":"1395692202","filename":"file1"},{"photo_id":"1395692199","filename":"file0"},{"photo_id":"1395692208","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692202":["hashtag1","hashtag2"]},{"1395692210":["hashtag1","hashtag2"]},{"1395692212":["hashtag1","hashtag2"]},{"1395692206":["hashtag1","hashtag2"]},{"1395692199":["hashtag1","hashtag2"]},{"1395692208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692202, 1395692210, 1395692212, 1395692206, 1395692199, 1395692208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31943607330322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:06:03.312714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_47_3699.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_50_2680.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_52_2635.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_56_3683.jpg', '/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_59_2800.jpg', '/home/pi/Desktop/images/22112025/11/04/image_22112025_11_04_01_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_47_3699.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_50_2680.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_52_2635.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_56_3683.jpg
/home/pi/Desktop/images/22112025/11/03/image_22112025_11_03_59_2800.jpg
/home/pi/Desktop/images/22112025/11/04/image_22112025_11_04_01_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692222","1395692219","1395692224","1395692221","1395692226","1395692220"],"photo_ids_order":["1395692219","1395692220","1395692221","1395692222","1395692224","1395692226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f2238cf001fa43e9acb9bd74c2f9698.jpg","text":"TemporaryFile(/tmp/multipartBody7448859965740210214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806024039,"filename":"image_22112025_11_03_56_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b7edb98ed1a8a511a1a013675f5756d.jpg","text":"TemporaryFile(/tmp/multipartBody6825393856799574189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806024039,"filename":"image_22112025_11_03_47_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b879e029f224d8ca782d62cbc574927e.jpg","text":"TemporaryFile(/tmp/multipartBody6896656721413894600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806024039,"filename":"image_22112025_11_03_59_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d6cb8e145813c0daf61d6f6482c5c5d.jpg","text":"TemporaryFile(/tmp/multipartBody2455584519312103465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806024039,"filename":"image_22112025_11_03_52_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b165bbf4050bcb0c31f6d095523c0bb.jpg","text":"TemporaryFile(/tmp/multipartBody7255783511928853911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806024039,"filename":"image_22112025_11_04_01_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/467656f400605382800a25686daad903.jpg","text":"TemporaryFile(/tmp/multipartBody2966698092344881940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806024039,"filename":"image_22112025_11_03_50_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692221","file1":"1395692220","file0":"1395692219","file4":"1395692224","file5":"1395692226","file3":"1395692222"},"map_files_photo_id_array":[{"photo_id":"1395692226","filename":"file5"},{"photo_id":"1395692221","filename":"file2"},{"photo_id":"1395692224","filename":"file4"},{"photo_id":"1395692220","filename":"file1"},{"photo_id":"1395692219","filename":"file0"},{"photo_id":"1395692222","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692222":["hashtag1","hashtag2"]},{"1395692219":["hashtag1","hashtag2"]},{"1395692224":["hashtag1","hashtag2"]},{"1395692221":["hashtag1","hashtag2"]},{"1395692226":["hashtag1","hashtag2"]},{"1395692220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692222, 1395692219, 1395692224, 1395692221, 1395692226, 1395692220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9598023891449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:06:42.794725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_07_3019.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_11_3719.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_13_2537.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_17_3622.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_19_2634.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_22_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_07_3019.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_11_3719.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_13_2537.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_17_3622.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_19_2634.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_22_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692240","1395692234","1395692237","1395692239","1395692236","1395692238"],"photo_ids_order":["1395692234","1395692236","1395692237","1395692238","1395692239","1395692240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/019b21c4c466c3b6e6f7720b5e431454.jpg","text":"TemporaryFile(/tmp/multipartBody5925562243065390975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806063491,"filename":"image_22112025_11_05_22_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4ca12900423417494cd63b9f8ce4ea8.jpg","text":"TemporaryFile(/tmp/multipartBody3730471237889868009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806063491,"filename":"image_22112025_11_05_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/767ed86841c64e41f52a1be16f7aa671.jpg","text":"TemporaryFile(/tmp/multipartBody4880492207754740496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806063491,"filename":"image_22112025_11_05_13_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4baf649847c961e24ee69cb22b04557e.jpg","text":"TemporaryFile(/tmp/multipartBody2770295897812589269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806063491,"filename":"image_22112025_11_05_19_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f81f34e3810efe6252c48b1e8c55f17f.jpg","text":"TemporaryFile(/tmp/multipartBody2409245690782076951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806063491,"filename":"image_22112025_11_05_11_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f059a08e112d9c0cf9664c7e1b52dc5.jpg","text":"TemporaryFile(/tmp/multipartBody1880215998231079717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806063491,"filename":"image_22112025_11_05_17_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692237","file1":"1395692236","file0":"1395692234","file4":"1395692239","file5":"1395692240","file3":"1395692238"},"map_files_photo_id_array":[{"photo_id":"1395692240","filename":"file5"},{"photo_id":"1395692237","filename":"file2"},{"photo_id":"1395692239","filename":"file4"},{"photo_id":"1395692236","filename":"file1"},{"photo_id":"1395692234","filename":"file0"},{"photo_id":"1395692238","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692240":["hashtag1","hashtag2"]},{"1395692234":["hashtag1","hashtag2"]},{"1395692237":["hashtag1","hashtag2"]},{"1395692239":["hashtag1","hashtag2"]},{"1395692236":["hashtag1","hashtag2"]},{"1395692238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692240, 1395692234, 1395692237, 1395692239, 1395692236, 1395692238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70644545555115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:07:22.604355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_26_3748.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_28_2623.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_31_2536.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_35_3810.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_38_2747.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_40_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_26_3748.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_28_2623.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_31_2536.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_35_3810.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_38_2747.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_40_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692252","1395692246","1395692255","1395692248","1395692250","1395692244"],"photo_ids_order":["1395692244","1395692246","1395692248","1395692250","1395692252","1395692255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93adba9cddcaf4a6562d6e74a136acf3.jpg","text":"TemporaryFile(/tmp/multipartBody9035264578512718613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806103333,"filename":"image_22112025_11_05_38_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4dbf1a447971a4249b2645471bcfa3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2164292921412370773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806103333,"filename":"image_22112025_11_05_28_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a2e841858a482d7b3801d1ed671f03a.jpg","text":"TemporaryFile(/tmp/multipartBody983279716161036116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806103333,"filename":"image_22112025_11_05_40_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2a47d840e2557ae6ee931214be6f51d.jpg","text":"TemporaryFile(/tmp/multipartBody305592761459351970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806103333,"filename":"image_22112025_11_05_31_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d61494237e7931de7be15f58211e4fa.jpg","text":"TemporaryFile(/tmp/multipartBody121042638151838498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806103333,"filename":"image_22112025_11_05_35_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3206c5e79eb94dc4b19a4439d85a2e95.jpg","text":"TemporaryFile(/tmp/multipartBody439357449729345992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806103333,"filename":"image_22112025_11_05_26_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692248","file1":"1395692246","file0":"1395692244","file4":"1395692252","file5":"1395692255","file3":"1395692250"},"map_files_photo_id_array":[{"photo_id":"1395692255","filename":"file5"},{"photo_id":"1395692248","filename":"file2"},{"photo_id":"1395692252","filename":"file4"},{"photo_id":"1395692246","filename":"file1"},{"photo_id":"1395692244","filename":"file0"},{"photo_id":"1395692250","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692252":["hashtag1","hashtag2"]},{"1395692246":["hashtag1","hashtag2"]},{"1395692255":["hashtag1","hashtag2"]},{"1395692248":["hashtag1","hashtag2"]},{"1395692250":["hashtag1","hashtag2"]},{"1395692244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692252, 1395692246, 1395692255, 1395692248, 1395692250, 1395692244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90176343917847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:08:02.298526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_43_2586.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_47_3695.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_49_2687.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_52_2598.jpg', '/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_56_3647.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_43_2586.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_47_3695.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_49_2687.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_52_2598.jpg
/home/pi/Desktop/images/22112025/11/05/image_22112025_11_05_56_3647.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692264","1395692258","1395692261","1395692257","1395692256","1395692259"],"photo_ids_order":["1395692256","1395692257","1395692258","1395692259","1395692261","1395692264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0d1686dc1b7c57a1c488c8ff0399900.jpg","text":"TemporaryFile(/tmp/multipartBody3477661688369527925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806143034,"filename":"image_22112025_11_07_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/300811219ef69d0f199caab312357c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1011500674131656385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806143034,"filename":"image_22112025_11_05_49_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47d785d14b9b642295fa4613e221bbb8.jpg","text":"TemporaryFile(/tmp/multipartBody6468973194874934786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806143034,"filename":"image_22112025_11_05_56_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82b29bb2677b715f8640c3022bd0e7ff.jpg","text":"TemporaryFile(/tmp/multipartBody3619469113628721553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806143034,"filename":"image_22112025_11_05_47_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b695da6a42ea002f76f67900c6a84e76.jpg","text":"TemporaryFile(/tmp/multipartBody7674165594115606346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806143034,"filename":"image_22112025_11_05_43_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17fb4bc049711d34f31cc95f4fecfc4d.jpg","text":"TemporaryFile(/tmp/multipartBody7028578992873143578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806143034,"filename":"image_22112025_11_05_52_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692258","file1":"1395692257","file0":"1395692256","file4":"1395692261","file5":"1395692264","file3":"1395692259"},"map_files_photo_id_array":[{"photo_id":"1395692264","filename":"file5"},{"photo_id":"1395692258","filename":"file2"},{"photo_id":"1395692261","filename":"file4"},{"photo_id":"1395692257","filename":"file1"},{"photo_id":"1395692256","filename":"file0"},{"photo_id":"1395692259","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692264":["hashtag1","hashtag2"]},{"1395692258":["hashtag1","hashtag2"]},{"1395692261":["hashtag1","hashtag2"]},{"1395692257":["hashtag1","hashtag2"]},{"1395692256":["hashtag1","hashtag2"]},{"1395692259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692264, 1395692258, 1395692261, 1395692257, 1395692256, 1395692259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98936080932617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:08:41.827816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_11_3616.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_13_2577.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_17_3698.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_20_2589.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_22_2638.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_26_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_11_3616.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_13_2577.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_17_3698.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_20_2589.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_22_2638.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_26_3708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5845253467559814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:09:02.631782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_11_3616.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_13_2577.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_17_3698.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_20_2589.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_22_2638.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_26_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_11_3616.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_13_2577.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_17_3698.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_20_2589.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_22_2638.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_26_3708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692284","1395692286","1395692289","1395692280","1395692283","1395692282"],"photo_ids_order":["1395692280","1395692282","1395692283","1395692284","1395692286","1395692289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dea76346b6b8ae129a3c0af8ae500da.jpg","text":"TemporaryFile(/tmp/multipartBody331388760252223661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806203567,"filename":"image_22112025_11_07_20_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50f36be32adbb26d82dc8e368c1d03c8.jpg","text":"TemporaryFile(/tmp/multipartBody4718202039630909599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806203567,"filename":"image_22112025_11_07_22_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c64f3f98c6336b527fae2e45d0f6172.jpg","text":"TemporaryFile(/tmp/multipartBody8014146613764978337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806203567,"filename":"image_22112025_11_07_26_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca48d3002f9d6c2f27acf63adccc7162.jpg","text":"TemporaryFile(/tmp/multipartBody5003599386367633106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806203567,"filename":"image_22112025_11_07_11_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc4d3eae54d8f8d7bbef4ea8694662fa.jpg","text":"TemporaryFile(/tmp/multipartBody5232333571753878961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806203567,"filename":"image_22112025_11_07_17_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/387fcb46e9004ad98a83f0b07f7167b9.jpg","text":"TemporaryFile(/tmp/multipartBody3373234072146395461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806203567,"filename":"image_22112025_11_07_13_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692283","file1":"1395692282","file0":"1395692280","file4":"1395692286","file5":"1395692289","file3":"1395692284"},"map_files_photo_id_array":[{"photo_id":"1395692289","filename":"file5"},{"photo_id":"1395692283","filename":"file2"},{"photo_id":"1395692286","filename":"file4"},{"photo_id":"1395692282","filename":"file1"},{"photo_id":"1395692280","filename":"file0"},{"photo_id":"1395692284","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692284":["hashtag1","hashtag2"]},{"1395692286":["hashtag1","hashtag2"]},{"1395692289":["hashtag1","hashtag2"]},{"1395692280":["hashtag1","hashtag2"]},{"1395692283":["hashtag1","hashtag2"]},{"1395692282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692284, 1395692286, 1395692289, 1395692280, 1395692283, 1395692282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74369287490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:09:41.924064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_29_2813.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_32_2752.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_34_2623.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_38_3581.jpg', '/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_40_2652.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_29_2813.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_32_2752.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_34_2623.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_38_3581.jpg
/home/pi/Desktop/images/22112025/11/07/image_22112025_11_07_40_2652.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_06_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692315","1395692296","1395692383","1395692299","1395692298","1395692349"],"photo_ids_order":["1395692296","1395692298","1395692299","1395692315","1395692349","1395692383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c412d34a23f4c016bf75d9cc1624bafe.jpg","text":"TemporaryFile(/tmp/multipartBody2040457979440616862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806242614,"filename":"image_22112025_11_07_38_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28c9de5218fdbcbf220f47bfc5210c9f.jpg","text":"TemporaryFile(/tmp/multipartBody4561728063659972535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806242614,"filename":"image_22112025_11_07_29_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19799256b95c066b71a6ce0911736405.jpg","text":"TemporaryFile(/tmp/multipartBody2995381363390126423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806242614,"filename":"image_22112025_11_09_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0b34c031d65dc72c07bebc6299f75c7.jpg","text":"TemporaryFile(/tmp/multipartBody3488533780138056035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806242614,"filename":"image_22112025_11_07_34_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/486cc8b807a08339602a43ba83fd00ef.jpg","text":"TemporaryFile(/tmp/multipartBody8695193284765815207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806242614,"filename":"image_22112025_11_07_32_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8266cce5b7ba19b542ba25a59e486450.jpg","text":"TemporaryFile(/tmp/multipartBody8608688820847175025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806242614,"filename":"image_22112025_11_07_40_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692299","file1":"1395692298","file0":"1395692296","file4":"1395692349","file5":"1395692383","file3":"1395692315"},"map_files_photo_id_array":[{"photo_id":"1395692383","filename":"file5"},{"photo_id":"1395692299","filename":"file2"},{"photo_id":"1395692349","filename":"file4"},{"photo_id":"1395692298","filename":"file1"},{"photo_id":"1395692296","filename":"file0"},{"photo_id":"1395692315","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692315":["hashtag1","hashtag2"]},{"1395692296":["hashtag1","hashtag2"]},{"1395692383":["hashtag1","hashtag2"]},{"1395692299":["hashtag1","hashtag2"]},{"1395692298":["hashtag1","hashtag2"]},{"1395692349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692315, 1395692296, 1395692383, 1395692299, 1395692298, 1395692349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96263384819031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:10:22.146741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_10_3639.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_13_2622.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_16_3557.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_19_2611.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_21_2584.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_25_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_10_3639.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_13_2622.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_16_3557.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_19_2611.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_21_2584.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_25_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395692656","1395692536","1395692743","1395692697","1395692614","1395692574"],"photo_ids_order":["1395692536","1395692574","1395692614","1395692656","1395692697","1395692743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95a5476f98aeb09aeeb9f1c3e68ff0d6.jpg","text":"TemporaryFile(/tmp/multipartBody251922689068417411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806282841,"filename":"image_22112025_11_09_19_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc9e24449145e3e6aa56d12e0b2e4601.jpg","text":"TemporaryFile(/tmp/multipartBody4837070972551658835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806282841,"filename":"image_22112025_11_09_10_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f40ad5a42229c54f508f93b50e9ef98c.jpg","text":"TemporaryFile(/tmp/multipartBody5555156067686193138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806282841,"filename":"image_22112025_11_09_25_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/550b7d75e4d579829f9cee40f3502871.jpg","text":"TemporaryFile(/tmp/multipartBody128659084945089188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806282841,"filename":"image_22112025_11_09_21_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0c6c83ff6b693e63fa990ec7310aaaf.jpg","text":"TemporaryFile(/tmp/multipartBody7216630130215891256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806282841,"filename":"image_22112025_11_09_16_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3173cdd2b974ece1b1c7bbe1b90cb5fb.jpg","text":"TemporaryFile(/tmp/multipartBody5409793871460644312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806282841,"filename":"image_22112025_11_09_13_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692614","file1":"1395692574","file0":"1395692536","file4":"1395692697","file5":"1395692743","file3":"1395692656"},"map_files_photo_id_array":[{"photo_id":"1395692743","filename":"file5"},{"photo_id":"1395692614","filename":"file2"},{"photo_id":"1395692697","filename":"file4"},{"photo_id":"1395692574","filename":"file1"},{"photo_id":"1395692536","filename":"file0"},{"photo_id":"1395692656","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395692656":["hashtag1","hashtag2"]},{"1395692536":["hashtag1","hashtag2"]},{"1395692743":["hashtag1","hashtag2"]},{"1395692697":["hashtag1","hashtag2"]},{"1395692614":["hashtag1","hashtag2"]},{"1395692574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395692656, 1395692536, 1395692743, 1395692697, 1395692614, 1395692574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04149389266968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:11:03.381941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_28_2660.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_30_2631.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_34_3633.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_37_2631.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_39_2742.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_43_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_28_2660.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_30_2631.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_34_3633.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_37_2631.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_39_2742.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_43_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693007","1395693084","1395692932","1395692967","1395692895","1395693045"],"photo_ids_order":["1395692895","1395692932","1395692967","1395693007","1395693045","1395693084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2ded025b9f9cbd7232021be53e79aa1.jpg","text":"TemporaryFile(/tmp/multipartBody3787604251909668290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806324165,"filename":"image_22112025_11_09_37_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50a9b6ad4618f0e3700954e502acd378.jpg","text":"TemporaryFile(/tmp/multipartBody4149202475173750175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806324165,"filename":"image_22112025_11_09_43_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eebc7bfded7e0b436b1e1f01de9f74c9.jpg","text":"TemporaryFile(/tmp/multipartBody7657256933422105921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806324165,"filename":"image_22112025_11_09_30_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48c95f993d27f086acaa63e6e3e773ff.jpg","text":"TemporaryFile(/tmp/multipartBody4163562837148166874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806324165,"filename":"image_22112025_11_09_34_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1517b7bea52cb0024b1a4ffa8338d26e.jpg","text":"TemporaryFile(/tmp/multipartBody5014211315478329293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806324165,"filename":"image_22112025_11_09_28_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fe8ea15797f626e1823f1bcc6980c69.jpg","text":"TemporaryFile(/tmp/multipartBody4749382797346174826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806324165,"filename":"image_22112025_11_09_39_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395692967","file1":"1395692932","file0":"1395692895","file4":"1395693045","file5":"1395693084","file3":"1395693007"},"map_files_photo_id_array":[{"photo_id":"1395693084","filename":"file5"},{"photo_id":"1395692967","filename":"file2"},{"photo_id":"1395693045","filename":"file4"},{"photo_id":"1395692932","filename":"file1"},{"photo_id":"1395692895","filename":"file0"},{"photo_id":"1395693007","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693007":["hashtag1","hashtag2"]},{"1395693084":["hashtag1","hashtag2"]},{"1395692932":["hashtag1","hashtag2"]},{"1395692967":["hashtag1","hashtag2"]},{"1395692895":["hashtag1","hashtag2"]},{"1395693045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693007, 1395693084, 1395692932, 1395692967, 1395692895, 1395693045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94403529167175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:11:42.748631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_46_2733.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_49_2828.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_52_3582.jpg', '/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_55_2599.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_06_3011.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_10_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_46_2733.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_49_2828.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_52_3582.jpg
/home/pi/Desktop/images/22112025/11/09/image_22112025_11_09_55_2599.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_06_3011.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_10_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693212","1395693206","1395693205","1395693202","1395693210","1395693207"],"photo_ids_order":["1395693202","1395693205","1395693206","1395693207","1395693210","1395693212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f5bf90c462457edf0e1e799d88cf204.jpg","text":"TemporaryFile(/tmp/multipartBody1778749180847490781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806363448,"filename":"image_22112025_11_11_10_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84ad5333d32f477dec1b67eaf5be1de5.jpg","text":"TemporaryFile(/tmp/multipartBody6728151120671918845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806363448,"filename":"image_22112025_11_09_52_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ad1317654e5856a984106945df11b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4344282404279412903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806363448,"filename":"image_22112025_11_09_49_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88ca618dc65a6530c46b92369f824d96.jpg","text":"TemporaryFile(/tmp/multipartBody7971902562555222705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806363448,"filename":"image_22112025_11_09_46_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/758e558b946a028035cdfc7bed194790.jpg","text":"TemporaryFile(/tmp/multipartBody2975047972623398334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806363448,"filename":"image_22112025_11_11_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfe884d2dc71cf9024eb2ca81a22fb6e.jpg","text":"TemporaryFile(/tmp/multipartBody3368791692903416185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806363448,"filename":"image_22112025_11_09_55_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693206","file1":"1395693205","file0":"1395693202","file4":"1395693210","file5":"1395693212","file3":"1395693207"},"map_files_photo_id_array":[{"photo_id":"1395693212","filename":"file5"},{"photo_id":"1395693206","filename":"file2"},{"photo_id":"1395693210","filename":"file4"},{"photo_id":"1395693205","filename":"file1"},{"photo_id":"1395693202","filename":"file0"},{"photo_id":"1395693207","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693212":["hashtag1","hashtag2"]},{"1395693206":["hashtag1","hashtag2"]},{"1395693205":["hashtag1","hashtag2"]},{"1395693202":["hashtag1","hashtag2"]},{"1395693210":["hashtag1","hashtag2"]},{"1395693207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693212, 1395693206, 1395693205, 1395693202, 1395693210, 1395693207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.428223848342896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:12:21.995980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_13_2569.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_16_3750.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_19_2719.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_22_2576.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_25_3720.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_28_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_13_2569.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_16_3750.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_19_2719.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_22_2576.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_25_3720.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_28_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693367","1395693409","1395693372","1395693330","1395693423","1395693377"],"photo_ids_order":["1395693330","1395693367","1395693372","1395693377","1395693409","1395693423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7a8e22c335919227c97b765f8ca5da5.jpg","text":"TemporaryFile(/tmp/multipartBody3829303927264716083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806402732,"filename":"image_22112025_11_11_16_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56bd349ea1376688f1330dc7968637e0.jpg","text":"TemporaryFile(/tmp/multipartBody4557928001877341557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806402732,"filename":"image_22112025_11_11_25_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19e96c130bcfbf7099d3bab23972fec7.jpg","text":"TemporaryFile(/tmp/multipartBody7001466517853808908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806402732,"filename":"image_22112025_11_11_19_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25baa707839d81bf73357bb5263cdad2.jpg","text":"TemporaryFile(/tmp/multipartBody6201678195128067168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806402732,"filename":"image_22112025_11_11_13_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68da5ffed5cc076722647ca82d7479f0.jpg","text":"TemporaryFile(/tmp/multipartBody5947102659823130902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806402732,"filename":"image_22112025_11_11_28_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e22a71ae01888c84fb5daf967ddcb813.jpg","text":"TemporaryFile(/tmp/multipartBody8889069448737220376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806402732,"filename":"image_22112025_11_11_22_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693372","file1":"1395693367","file0":"1395693330","file4":"1395693409","file5":"1395693423","file3":"1395693377"},"map_files_photo_id_array":[{"photo_id":"1395693423","filename":"file5"},{"photo_id":"1395693372","filename":"file2"},{"photo_id":"1395693409","filename":"file4"},{"photo_id":"1395693367","filename":"file1"},{"photo_id":"1395693330","filename":"file0"},{"photo_id":"1395693377","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693367":["hashtag1","hashtag2"]},{"1395693409":["hashtag1","hashtag2"]},{"1395693372":["hashtag1","hashtag2"]},{"1395693330":["hashtag1","hashtag2"]},{"1395693423":["hashtag1","hashtag2"]},{"1395693377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693367, 1395693409, 1395693372, 1395693330, 1395693423, 1395693377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48087668418884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:13:03.395823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_31_2664.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_33_2663.jpg', '/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_37_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_31_2664.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_33_2663.jpg
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_37_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693478","1395693480","1395693479"],"photo_ids_order":["1395693478","1395693479","1395693480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d49a27db99a655446d4d376ddd78a42.jpg","text":"TemporaryFile(/tmp/multipartBody667027949472749515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806444070,"filename":"image_22112025_11_11_31_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8b3d1acfcd3de9831f2042f0f85ba7c.jpg","text":"TemporaryFile(/tmp/multipartBody27448534245097275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806444070,"filename":"image_22112025_11_11_37_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/253b2e0a147409ef52cbba4a4f41bf75.jpg","text":"TemporaryFile(/tmp/multipartBody1689661316982764170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806444070,"filename":"image_22112025_11_11_33_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693480","file1":"1395693479","file0":"1395693478"},"map_files_photo_id_array":[{"photo_id":"1395693480","filename":"file2"},{"photo_id":"1395693479","filename":"file1"},{"photo_id":"1395693478","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693478":["hashtag1","hashtag2"]},{"1395693480":["hashtag1","hashtag2"]},{"1395693479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693478, 1395693480, 1395693479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.0348961353302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:13:42.732173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_40_2566.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_06_3011.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_10_3691.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_12_2535.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_16_3685.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_19_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/11/image_22112025_11_11_40_2566.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_06_3011.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_10_3691.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_12_2535.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_16_3685.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_19_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693496","1395693499","1395693492","1395693495","1395693497","1395693494"],"photo_ids_order":["1395693492","1395693494","1395693495","1395693496","1395693497","1395693499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fd612960a7427d3978a414d4d56be30.jpg","text":"TemporaryFile(/tmp/multipartBody3122981857582891963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806483429,"filename":"image_22112025_11_13_12_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fcafcc997c3506f3bc121622cbe13db.jpg","text":"TemporaryFile(/tmp/multipartBody2674155141600970184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806483429,"filename":"image_22112025_11_13_19_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb36dd330f6854ab599460f895b64fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3722405931539376908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806483429,"filename":"image_22112025_11_11_40_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d63e247375a94020aafc470600c3286.jpg","text":"TemporaryFile(/tmp/multipartBody1649490105116513495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806483429,"filename":"image_22112025_11_13_10_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cc4d1c3e2553ea5064faf792f51528d.jpg","text":"TemporaryFile(/tmp/multipartBody512919706355615445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806483429,"filename":"image_22112025_11_13_16_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48d516aa4d71ec934adc2a649998d6d9.jpg","text":"TemporaryFile(/tmp/multipartBody4847928847595819931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806483429,"filename":"image_22112025_11_13_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693495","file1":"1395693494","file0":"1395693492","file4":"1395693497","file5":"1395693499","file3":"1395693496"},"map_files_photo_id_array":[{"photo_id":"1395693499","filename":"file5"},{"photo_id":"1395693495","filename":"file2"},{"photo_id":"1395693497","filename":"file4"},{"photo_id":"1395693494","filename":"file1"},{"photo_id":"1395693492","filename":"file0"},{"photo_id":"1395693496","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693496":["hashtag1","hashtag2"]},{"1395693499":["hashtag1","hashtag2"]},{"1395693492":["hashtag1","hashtag2"]},{"1395693495":["hashtag1","hashtag2"]},{"1395693497":["hashtag1","hashtag2"]},{"1395693494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693496, 1395693499, 1395693492, 1395693495, 1395693497, 1395693494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2288236618042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:14:21.998545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_22_2640.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_24_2797.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_28_3652.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_31_2623.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_33_2839.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_37_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_22_2640.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_24_2797.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_28_3652.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_31_2623.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_33_2839.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_37_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693514","1395693508","1395693502","1395693505","1395693519","1395693522"],"photo_ids_order":["1395693502","1395693505","1395693508","1395693514","1395693519","1395693522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/840e90591c637e9c0b1dd098933ce12a.jpg","text":"TemporaryFile(/tmp/multipartBody6516954840604760016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806522693,"filename":"image_22112025_11_13_31_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f7ff9cde6cc54554afa59af764b68ba.jpg","text":"TemporaryFile(/tmp/multipartBody1024088006374415503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806522693,"filename":"image_22112025_11_13_28_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5474d7d1e5243ee0a228cea00d2cebdb.jpg","text":"TemporaryFile(/tmp/multipartBody2141961278528616484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806522693,"filename":"image_22112025_11_13_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66ba07c5f724eabdb658004276e03db0.jpg","text":"TemporaryFile(/tmp/multipartBody1022688882016806263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806522693,"filename":"image_22112025_11_13_24_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05a216385191a413b666d706f1898cd2.jpg","text":"TemporaryFile(/tmp/multipartBody5850651424275389394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806522693,"filename":"image_22112025_11_13_33_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3514094eea6037be0d38fd03aa55e750.jpg","text":"TemporaryFile(/tmp/multipartBody5010215028187611860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806522693,"filename":"image_22112025_11_13_37_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693508","file1":"1395693505","file0":"1395693502","file4":"1395693519","file5":"1395693522","file3":"1395693514"},"map_files_photo_id_array":[{"photo_id":"1395693522","filename":"file5"},{"photo_id":"1395693508","filename":"file2"},{"photo_id":"1395693519","filename":"file4"},{"photo_id":"1395693505","filename":"file1"},{"photo_id":"1395693502","filename":"file0"},{"photo_id":"1395693514","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693514":["hashtag1","hashtag2"]},{"1395693508":["hashtag1","hashtag2"]},{"1395693502":["hashtag1","hashtag2"]},{"1395693505":["hashtag1","hashtag2"]},{"1395693519":["hashtag1","hashtag2"]},{"1395693522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693514, 1395693508, 1395693502, 1395693505, 1395693519, 1395693522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43003034591675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:15:02.498601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_40_2650.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_42_2578.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_46_3612.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_48_2569.jpg', '/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_52_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_40_2650.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_42_2578.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_46_3612.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_48_2569.jpg
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_52_3561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693530","1395693532","1395693531","1395693534","1395693528"],"photo_ids_order":["1395693528","1395693530","1395693531","1395693532","1395693534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2666b12ef837230cf252057534d151d.jpg","text":"TemporaryFile(/tmp/multipartBody5237571000404087746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806563252,"filename":"image_22112025_11_13_42_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f5ced7157b70d6588dbab3c288ce2d4.jpg","text":"TemporaryFile(/tmp/multipartBody715917587853260803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806563252,"filename":"image_22112025_11_13_48_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff4c3a266daad570236fba012ccd227f.jpg","text":"TemporaryFile(/tmp/multipartBody3092536498139029081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806563252,"filename":"image_22112025_11_13_46_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d35c45debbedc2383e85ceeb8f8f3c3b.jpg","text":"TemporaryFile(/tmp/multipartBody8882191853181967953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806563252,"filename":"image_22112025_11_13_52_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00ffc4e64957fedda815559f393f4321.jpg","text":"TemporaryFile(/tmp/multipartBody8618246175200871916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806563252,"filename":"image_22112025_11_13_40_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693531","file1":"1395693530","file0":"1395693528","file4":"1395693534","file3":"1395693532"},"map_files_photo_id_array":[{"photo_id":"1395693531","filename":"file2"},{"photo_id":"1395693534","filename":"file4"},{"photo_id":"1395693530","filename":"file1"},{"photo_id":"1395693528","filename":"file0"},{"photo_id":"1395693532","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693530":["hashtag1","hashtag2"]},{"1395693532":["hashtag1","hashtag2"]},{"1395693531":["hashtag1","hashtag2"]},{"1395693534":["hashtag1","hashtag2"]},{"1395693528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693530, 1395693532, 1395693531, 1395693534, 1395693528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.144323348999023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:15:41.915319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_55_2585.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_06_3011.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_10_3804.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_13_2697.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_16_2693.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_19_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_55_2585.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_06_3011.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_10_3804.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_13_2697.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_16_2693.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_19_3737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5922644138336182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:16:02.597122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_55_2585.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_06_3011.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_10_3804.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_13_2697.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_16_2693.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_19_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/13/image_22112025_11_13_55_2585.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_06_3011.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_10_3804.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_13_2697.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_16_2693.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_19_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693559","1395693553","1395693556","1395693552","1395693551","1395693554"],"photo_ids_order":["1395693551","1395693552","1395693553","1395693554","1395693556","1395693559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9e0592ac118cb7c857a6bbd3c6a2981.jpg","text":"TemporaryFile(/tmp/multipartBody7448442289930304270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806623345,"filename":"image_22112025_11_15_19_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/965969baaa0ebfb7c12ea1d10b8f8635.jpg","text":"TemporaryFile(/tmp/multipartBody1532317715505201442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806623345,"filename":"image_22112025_11_15_10_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b33ed0bc6387b25da231b1797600ef66.jpg","text":"TemporaryFile(/tmp/multipartBody2894861205163126940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806623345,"filename":"image_22112025_11_15_16_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d17133a59d14a506e255122848b9b4a.jpg","text":"TemporaryFile(/tmp/multipartBody3118504985505496649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806623345,"filename":"image_22112025_11_15_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b13352dd97546bb48ea806d3a741ec37.jpg","text":"TemporaryFile(/tmp/multipartBody3506228829445844291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806623345,"filename":"image_22112025_11_13_55_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3049eb8355b3aab2e0f10feeb50e791.jpg","text":"TemporaryFile(/tmp/multipartBody6373049824501430355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806623345,"filename":"image_22112025_11_15_13_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693553","file1":"1395693552","file0":"1395693551","file4":"1395693556","file5":"1395693559","file3":"1395693554"},"map_files_photo_id_array":[{"photo_id":"1395693559","filename":"file5"},{"photo_id":"1395693553","filename":"file2"},{"photo_id":"1395693556","filename":"file4"},{"photo_id":"1395693552","filename":"file1"},{"photo_id":"1395693551","filename":"file0"},{"photo_id":"1395693554","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693559":["hashtag1","hashtag2"]},{"1395693553":["hashtag1","hashtag2"]},{"1395693556":["hashtag1","hashtag2"]},{"1395693552":["hashtag1","hashtag2"]},{"1395693551":["hashtag1","hashtag2"]},{"1395693554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693559, 1395693553, 1395693556, 1395693552, 1395693551, 1395693554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12005305290222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:16:42.181851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_22_2596.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_25_2624.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_28_3711.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_31_2607.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_34_2811.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_37_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_22_2596.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_25_2624.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_28_3711.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_31_2607.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_34_2811.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_37_3575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693574","1395693568","1395693573","1395693576","1395693570","1395693572"],"photo_ids_order":["1395693568","1395693570","1395693572","1395693573","1395693574","1395693576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a38523264bd61bd6b4730249ce81e54.jpg","text":"TemporaryFile(/tmp/multipartBody3549542067276339873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806662915,"filename":"image_22112025_11_15_34_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e161cb849a23cdea42fcb74eb4278cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6089860431964037072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806662915,"filename":"image_22112025_11_15_22_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8c893af235a099f3d0dccd1e04e97d9.jpg","text":"TemporaryFile(/tmp/multipartBody3910748413254886770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806662915,"filename":"image_22112025_11_15_31_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/922b2ec791d230e36d4ce1e4784a53ae.jpg","text":"TemporaryFile(/tmp/multipartBody1980615862104698513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806662915,"filename":"image_22112025_11_15_37_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efcd163e0c2742fc8897dbb4d86a4531.jpg","text":"TemporaryFile(/tmp/multipartBody351880835923216129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806662915,"filename":"image_22112025_11_15_25_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11b881577191e210a197b2c98686225f.jpg","text":"TemporaryFile(/tmp/multipartBody8286966376204645840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806662915,"filename":"image_22112025_11_15_28_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693572","file1":"1395693570","file0":"1395693568","file4":"1395693574","file5":"1395693576","file3":"1395693573"},"map_files_photo_id_array":[{"photo_id":"1395693576","filename":"file5"},{"photo_id":"1395693572","filename":"file2"},{"photo_id":"1395693574","filename":"file4"},{"photo_id":"1395693570","filename":"file1"},{"photo_id":"1395693568","filename":"file0"},{"photo_id":"1395693573","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693574":["hashtag1","hashtag2"]},{"1395693568":["hashtag1","hashtag2"]},{"1395693573":["hashtag1","hashtag2"]},{"1395693576":["hashtag1","hashtag2"]},{"1395693570":["hashtag1","hashtag2"]},{"1395693572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693574, 1395693568, 1395693573, 1395693576, 1395693570, 1395693572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.065016984939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:17:22.435442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_40_2603.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_42_2573.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_46_3792.jpg', '/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_49_2604.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_10_3505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_40_2603.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_42_2573.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_46_3792.jpg
/home/pi/Desktop/images/22112025/11/15/image_22112025_11_15_49_2604.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_07_3011.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_10_3505.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693580","1395693596","1395693590","1395693584","1395693593","1395693587"],"photo_ids_order":["1395693580","1395693584","1395693587","1395693590","1395693593","1395693596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e20053051c4d1da98e1d118f3cee8f4.jpg","text":"TemporaryFile(/tmp/multipartBody8025100782436412581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806703188,"filename":"image_22112025_11_15_40_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40370c5606702b9ed41922ff38c06783.jpg","text":"TemporaryFile(/tmp/multipartBody7611756264931403145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806703188,"filename":"image_22112025_11_17_10_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02befa58b38e62511330c3a4426b7bf0.jpg","text":"TemporaryFile(/tmp/multipartBody4382037727296157078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806703188,"filename":"image_22112025_11_15_49_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/decdd837d98e1f9e7bc70063fd4e9a19.jpg","text":"TemporaryFile(/tmp/multipartBody7967062746526505894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806703188,"filename":"image_22112025_11_15_42_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae34c5549e7d5ccc365c1c52c2df8f27.jpg","text":"TemporaryFile(/tmp/multipartBody6870741647783348267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806703188,"filename":"image_22112025_11_17_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be8f699d002fb7a97ad966dbe944dcad.jpg","text":"TemporaryFile(/tmp/multipartBody828399710571068068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806703188,"filename":"image_22112025_11_15_46_3792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693587","file1":"1395693584","file0":"1395693580","file4":"1395693593","file5":"1395693596","file3":"1395693590"},"map_files_photo_id_array":[{"photo_id":"1395693596","filename":"file5"},{"photo_id":"1395693587","filename":"file2"},{"photo_id":"1395693593","filename":"file4"},{"photo_id":"1395693584","filename":"file1"},{"photo_id":"1395693580","filename":"file0"},{"photo_id":"1395693590","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693580":["hashtag1","hashtag2"]},{"1395693596":["hashtag1","hashtag2"]},{"1395693590":["hashtag1","hashtag2"]},{"1395693584":["hashtag1","hashtag2"]},{"1395693593":["hashtag1","hashtag2"]},{"1395693587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693580, 1395693596, 1395693590, 1395693584, 1395693593, 1395693587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14872193336487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:18:03.063004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_13_2586.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_16_3494.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_19_2637.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_23_3693.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_28_2805.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_31_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_13_2586.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_16_3494.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_19_2637.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_23_3693.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_28_2805.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_31_2670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6611380577087402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:18:22.739635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_13_2586.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_16_3494.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_19_2637.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_23_3693.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_28_2805.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_31_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_13_2586.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_16_3494.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_19_2637.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_23_3693.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_28_2805.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_31_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693623","1395693617","1395693611","1395693608","1395693620","1395693614"],"photo_ids_order":["1395693608","1395693611","1395693614","1395693617","1395693620","1395693623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a5cc560c32dbc02a03696da4e7d89f6.jpg","text":"TemporaryFile(/tmp/multipartBody7309274539352904373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806763481,"filename":"image_22112025_11_17_31_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d033840f0ea62142714ad1c5178bfa8a.jpg","text":"TemporaryFile(/tmp/multipartBody3769475231822131513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806763481,"filename":"image_22112025_11_17_23_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef004521a7856c3c7a2f0b5331003cdc.jpg","text":"TemporaryFile(/tmp/multipartBody41242620297058113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806763481,"filename":"image_22112025_11_17_16_3494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0c6c27bae00da5d6b92111597efaf74.jpg","text":"TemporaryFile(/tmp/multipartBody9121629635147764414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806763481,"filename":"image_22112025_11_17_13_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97e904df7b7caeed0a762b7ff3a61fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4983483976754678362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806763481,"filename":"image_22112025_11_17_28_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01910bd5b4133f81243f6de168c0f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody4611057250220364517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806763481,"filename":"image_22112025_11_17_19_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693614","file1":"1395693611","file0":"1395693608","file4":"1395693620","file5":"1395693623","file3":"1395693617"},"map_files_photo_id_array":[{"photo_id":"1395693623","filename":"file5"},{"photo_id":"1395693614","filename":"file2"},{"photo_id":"1395693620","filename":"file4"},{"photo_id":"1395693611","filename":"file1"},{"photo_id":"1395693608","filename":"file0"},{"photo_id":"1395693617","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693623":["hashtag1","hashtag2"]},{"1395693617":["hashtag1","hashtag2"]},{"1395693611":["hashtag1","hashtag2"]},{"1395693608":["hashtag1","hashtag2"]},{"1395693620":["hashtag1","hashtag2"]},{"1395693614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693623, 1395693617, 1395693611, 1395693608, 1395693620, 1395693614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67841172218323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:19:02.664112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_34_3641.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_37_2596.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_40_2761.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_43_3720.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_46_2560.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_49_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_34_3641.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_37_2596.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_40_2761.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_43_3720.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_46_2560.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_49_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693631","1395693625","1395693634","1395693628","1395693627","1395693629"],"photo_ids_order":["1395693625","1395693627","1395693628","1395693629","1395693631","1395693634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d6771f5846f50a50a87078986b91ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7509259174957771496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806803490,"filename":"image_22112025_11_17_46_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b3c31e1c5c94cc30584a9e10d83a10d.jpg","text":"TemporaryFile(/tmp/multipartBody7283600805202884163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806803490,"filename":"image_22112025_11_17_34_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fbcafab10e50a8192df8d16b2d3ef34.jpg","text":"TemporaryFile(/tmp/multipartBody3325401655097836682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806803490,"filename":"image_22112025_11_17_49_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48ce0ccaf52d2c88bba9940d0bdc44b8.jpg","text":"TemporaryFile(/tmp/multipartBody7763792484629324790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806803490,"filename":"image_22112025_11_17_40_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ed7ad3dd5ef3ea82385aa65ed7a0311.jpg","text":"TemporaryFile(/tmp/multipartBody3448337257443811140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806803490,"filename":"image_22112025_11_17_37_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4c3bf2e28b682c6c27858bbe3edbf1e.jpg","text":"TemporaryFile(/tmp/multipartBody2182502033820389132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806803490,"filename":"image_22112025_11_17_43_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693628","file1":"1395693627","file0":"1395693625","file4":"1395693631","file5":"1395693634","file3":"1395693629"},"map_files_photo_id_array":[{"photo_id":"1395693634","filename":"file5"},{"photo_id":"1395693628","filename":"file2"},{"photo_id":"1395693631","filename":"file4"},{"photo_id":"1395693627","filename":"file1"},{"photo_id":"1395693625","filename":"file0"},{"photo_id":"1395693629","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693631":["hashtag1","hashtag2"]},{"1395693625":["hashtag1","hashtag2"]},{"1395693634":["hashtag1","hashtag2"]},{"1395693628":["hashtag1","hashtag2"]},{"1395693627":["hashtag1","hashtag2"]},{"1395693629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693631, 1395693625, 1395693634, 1395693628, 1395693627, 1395693629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74774646759033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:19:42.087639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_52_3660.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_55_2614.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_58_2711.jpg', '/home/pi/Desktop/images/22112025/11/17/image_22112025_11_18_01_3600.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_11_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_52_3660.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_55_2614.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_17_58_2711.jpg
/home/pi/Desktop/images/22112025/11/17/image_22112025_11_18_01_3600.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_07_3011.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_11_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693643","1395693646","1395693649","1395693648","1395693645","1395693647"],"photo_ids_order":["1395693643","1395693645","1395693646","1395693647","1395693648","1395693649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28eb6000e935e200fb19e37119e61eae.jpg","text":"TemporaryFile(/tmp/multipartBody7214452244372587127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806842796,"filename":"image_22112025_11_17_52_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b0b85c3f54b2725be379751fbbd13ce.jpg","text":"TemporaryFile(/tmp/multipartBody7906793411106625612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806842796,"filename":"image_22112025_11_17_58_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff14d561ed17f6db5a217afe8e20299e.jpg","text":"TemporaryFile(/tmp/multipartBody1244452959227172804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806842796,"filename":"image_22112025_11_19_11_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f1c2f42940c0061ed6243e4b66056fd.jpg","text":"TemporaryFile(/tmp/multipartBody7771036167309576967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806842796,"filename":"image_22112025_11_19_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5ede4d9668c0b5088c42eb039938d17.jpg","text":"TemporaryFile(/tmp/multipartBody6381610082999557592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806842796,"filename":"image_22112025_11_17_55_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df7f99f282ee5dd161c7bbb9a4eb5781.jpg","text":"TemporaryFile(/tmp/multipartBody3236241751899196034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806842796,"filename":"image_22112025_11_18_01_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693646","file1":"1395693645","file0":"1395693643","file4":"1395693648","file5":"1395693649","file3":"1395693647"},"map_files_photo_id_array":[{"photo_id":"1395693649","filename":"file5"},{"photo_id":"1395693646","filename":"file2"},{"photo_id":"1395693648","filename":"file4"},{"photo_id":"1395693645","filename":"file1"},{"photo_id":"1395693643","filename":"file0"},{"photo_id":"1395693647","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693643":["hashtag1","hashtag2"]},{"1395693646":["hashtag1","hashtag2"]},{"1395693649":["hashtag1","hashtag2"]},{"1395693648":["hashtag1","hashtag2"]},{"1395693645":["hashtag1","hashtag2"]},{"1395693647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693643, 1395693646, 1395693649, 1395693648, 1395693645, 1395693647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09983253479004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:20:22.308153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_13_2617.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_20_3570.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_22_2611.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_26_3586.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_29_2765.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_31_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_13_2617.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_20_3570.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_22_2611.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_26_3586.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_29_2765.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_31_2881.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693666","1395693669","1395693654","1395693657","1395693651","1395693674"],"photo_ids_order":["1395693651","1395693654","1395693657","1395693666","1395693669","1395693674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67e35e1226fb2ecfa3bb85c779592952.jpg","text":"TemporaryFile(/tmp/multipartBody639312369575603421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806882994,"filename":"image_22112025_11_19_26_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c676af4352f703b521f51b7c5683490e.jpg","text":"TemporaryFile(/tmp/multipartBody8167245983149198640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806882994,"filename":"image_22112025_11_19_29_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4597b8559562b93979d71315d37a792d.jpg","text":"TemporaryFile(/tmp/multipartBody1217468074265225232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806882994,"filename":"image_22112025_11_19_20_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fb59e5377db169db6b85ef13242e9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3422874007404027382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806882994,"filename":"image_22112025_11_19_22_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91f52c51d43f148c324567d8e2464318.jpg","text":"TemporaryFile(/tmp/multipartBody4075528534807966726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806882994,"filename":"image_22112025_11_19_13_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d5a872423892c1f5ba5ed1df01efc26.jpg","text":"TemporaryFile(/tmp/multipartBody7438325386846837233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806882994,"filename":"image_22112025_11_19_31_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693657","file1":"1395693654","file0":"1395693651","file4":"1395693669","file5":"1395693674","file3":"1395693666"},"map_files_photo_id_array":[{"photo_id":"1395693674","filename":"file5"},{"photo_id":"1395693657","filename":"file2"},{"photo_id":"1395693669","filename":"file4"},{"photo_id":"1395693654","filename":"file1"},{"photo_id":"1395693651","filename":"file0"},{"photo_id":"1395693666","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693666":["hashtag1","hashtag2"]},{"1395693669":["hashtag1","hashtag2"]},{"1395693654":["hashtag1","hashtag2"]},{"1395693657":["hashtag1","hashtag2"]},{"1395693651":["hashtag1","hashtag2"]},{"1395693674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693666, 1395693669, 1395693654, 1395693657, 1395693651, 1395693674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.954827547073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:21:03.075334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_34_2692.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_38_3561.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_40_2680.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_43_2784.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_47_3630.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_49_2499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_34_2692.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_38_3561.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_40_2680.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_43_2784.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_47_3630.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_49_2499.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693682","1395693679","1395693684","1395693681","1395693686","1395693680"],"photo_ids_order":["1395693679","1395693680","1395693681","1395693682","1395693684","1395693686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f0b11a02023a34e1eb764812cb923a9.jpg","text":"TemporaryFile(/tmp/multipartBody7153640240693460876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806923889,"filename":"image_22112025_11_19_43_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa8a67f380483cfff0f75303062a21c7.jpg","text":"TemporaryFile(/tmp/multipartBody1312512744709995543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806923889,"filename":"image_22112025_11_19_34_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fea0e6564d750b5546b51bfbe240bc59.jpg","text":"TemporaryFile(/tmp/multipartBody1182931511224781572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806923889,"filename":"image_22112025_11_19_47_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec426675fcdaa5c59dfb8a85f71195c1.jpg","text":"TemporaryFile(/tmp/multipartBody2962766157084312191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806923889,"filename":"image_22112025_11_19_40_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d7afde8ed30ca228c3dc25b374f1998.jpg","text":"TemporaryFile(/tmp/multipartBody4559842652627612315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806923889,"filename":"image_22112025_11_19_49_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3115001002dd345cf0344ef2cc0c61f2.jpg","text":"TemporaryFile(/tmp/multipartBody5132715271210765606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806923889,"filename":"image_22112025_11_19_38_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693681","file1":"1395693680","file0":"1395693679","file4":"1395693684","file5":"1395693686","file3":"1395693682"},"map_files_photo_id_array":[{"photo_id":"1395693686","filename":"file5"},{"photo_id":"1395693681","filename":"file2"},{"photo_id":"1395693684","filename":"file4"},{"photo_id":"1395693680","filename":"file1"},{"photo_id":"1395693679","filename":"file0"},{"photo_id":"1395693682","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693682":["hashtag1","hashtag2"]},{"1395693679":["hashtag1","hashtag2"]},{"1395693684":["hashtag1","hashtag2"]},{"1395693681":["hashtag1","hashtag2"]},{"1395693686":["hashtag1","hashtag2"]},{"1395693680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693682, 1395693679, 1395693684, 1395693681, 1395693686, 1395693680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37516164779663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:21:42.382681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_52_2844.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_56_3642.jpg', '/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_58_2540.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_10_3619.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_13_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_52_2844.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_56_3642.jpg
/home/pi/Desktop/images/22112025/11/19/image_22112025_11_19_58_2540.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_07_3011.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_10_3619.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_13_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693704","1395693706","1395693715","1395693709","1395693695","1395693702"],"photo_ids_order":["1395693695","1395693702","1395693704","1395693706","1395693709","1395693715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dce874089301cc75f51059cd45a2cbf.jpg","text":"TemporaryFile(/tmp/multipartBody5896282454545623339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806963091,"filename":"image_22112025_11_19_58_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b0618e7eb3a47b8f53371031448f7c4.jpg","text":"TemporaryFile(/tmp/multipartBody929611526041791197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806963091,"filename":"image_22112025_11_21_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73365d9555aace4e2e95fcc09fab62b2.jpg","text":"TemporaryFile(/tmp/multipartBody9115839702425482976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806963091,"filename":"image_22112025_11_21_13_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/036e69fd415f98da89ef3671fcc6d9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5205298224795908666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806963091,"filename":"image_22112025_11_21_10_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08bdcc6e1d0b5c7e726194cb5c306b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1341966762080922338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806963091,"filename":"image_22112025_11_19_52_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8602bdd14c8a835b70aecf159349740.jpg","text":"TemporaryFile(/tmp/multipartBody7393493052845173850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763806963091,"filename":"image_22112025_11_19_56_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693704","file1":"1395693702","file0":"1395693695","file4":"1395693709","file5":"1395693715","file3":"1395693706"},"map_files_photo_id_array":[{"photo_id":"1395693715","filename":"file5"},{"photo_id":"1395693704","filename":"file2"},{"photo_id":"1395693709","filename":"file4"},{"photo_id":"1395693702","filename":"file1"},{"photo_id":"1395693695","filename":"file0"},{"photo_id":"1395693706","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693704":["hashtag1","hashtag2"]},{"1395693706":["hashtag1","hashtag2"]},{"1395693715":["hashtag1","hashtag2"]},{"1395693709":["hashtag1","hashtag2"]},{"1395693695":["hashtag1","hashtag2"]},{"1395693702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693704, 1395693706, 1395693715, 1395693709, 1395693695, 1395693702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2032151222229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:22:22.665022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_16_2970.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_19_3550.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_22_2809.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_25_2666.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_29_3651.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_31_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_16_2970.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_19_3550.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_22_2809.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_25_2666.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_29_3651.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_31_2835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693745","1395693727","1395693747","1395693731","1395693740","1395693734"],"photo_ids_order":["1395693727","1395693731","1395693734","1395693740","1395693745","1395693747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2771dd4469dbd6d426635a6a93b76da6.jpg","text":"TemporaryFile(/tmp/multipartBody3486476459320605254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807003379,"filename":"image_22112025_11_21_29_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53c2f742a00890fb8e26d9e9f037882d.jpg","text":"TemporaryFile(/tmp/multipartBody5297522963493823773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807003379,"filename":"image_22112025_11_21_16_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f32624fe8f24708a33e58c53661a1aa5.jpg","text":"TemporaryFile(/tmp/multipartBody1804444650824013267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807003379,"filename":"image_22112025_11_21_31_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/026c552f04d6276c7ba0d72a6a041863.jpg","text":"TemporaryFile(/tmp/multipartBody4393998824355892010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807003379,"filename":"image_22112025_11_21_19_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75f97f29d6ae3876d87c6e0183f6cbba.jpg","text":"TemporaryFile(/tmp/multipartBody4762128850720593086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807003379,"filename":"image_22112025_11_21_25_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c1c17296854d6885aafd8c69a5cc562.jpg","text":"TemporaryFile(/tmp/multipartBody6553964135860147731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807003379,"filename":"image_22112025_11_21_22_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693734","file1":"1395693731","file0":"1395693727","file4":"1395693745","file5":"1395693747","file3":"1395693740"},"map_files_photo_id_array":[{"photo_id":"1395693747","filename":"file5"},{"photo_id":"1395693734","filename":"file2"},{"photo_id":"1395693745","filename":"file4"},{"photo_id":"1395693731","filename":"file1"},{"photo_id":"1395693727","filename":"file0"},{"photo_id":"1395693740","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693745":["hashtag1","hashtag2"]},{"1395693727":["hashtag1","hashtag2"]},{"1395693747":["hashtag1","hashtag2"]},{"1395693731":["hashtag1","hashtag2"]},{"1395693740":["hashtag1","hashtag2"]},{"1395693734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693745, 1395693727, 1395693747, 1395693731, 1395693740, 1395693734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.194971799850464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:23:02.632028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_34_2797.jpg', '/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_37_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_34_2797.jpg
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_37_2552.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693783","1395693779"],"photo_ids_order":["1395693779","1395693783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc8f116456d3b8c193145b7b817e44d6.jpg","text":"TemporaryFile(/tmp/multipartBody6114177669550130879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807043257,"filename":"image_22112025_11_21_37_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49e17258a1cfb0560b1988d0b280422a.jpg","text":"TemporaryFile(/tmp/multipartBody4556683739130165297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807043257,"filename":"image_22112025_11_21_34_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395693783","file0":"1395693779"},"map_files_photo_id_array":[{"photo_id":"1395693783","filename":"file1"},{"photo_id":"1395693779","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693783":["hashtag1","hashtag2"]},{"1395693779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693783, 1395693779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.676483869552612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:23:21.931116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_40_3601.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_11_3795.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_13_2650.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_16_2866.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_20_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/21/image_22112025_11_21_40_3601.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_07_3011.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_11_3795.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_13_2650.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_16_2866.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_20_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693789","1395693801","1395693804","1395693794","1395693797","1395693791"],"photo_ids_order":["1395693789","1395693791","1395693794","1395693797","1395693801","1395693804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f12aa31d4f119351d08d843aef6443a.jpg","text":"TemporaryFile(/tmp/multipartBody7618764380589276549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807062668,"filename":"image_22112025_11_21_40_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee1f406cf105ef132ce6719b94389a4a.jpg","text":"TemporaryFile(/tmp/multipartBody9218796362029602946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807062668,"filename":"image_22112025_11_23_16_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e880bb8cb54a76edad02164a86102317.jpg","text":"TemporaryFile(/tmp/multipartBody1444772182918572605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807062668,"filename":"image_22112025_11_23_20_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae4657d1c98215f6230ed62cb6ff49d8.jpg","text":"TemporaryFile(/tmp/multipartBody6863299262090685514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807062668,"filename":"image_22112025_11_23_11_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1eaca11c63dc8e62854604bcdc5bbc3.jpg","text":"TemporaryFile(/tmp/multipartBody2222790202172745359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807062668,"filename":"image_22112025_11_23_13_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b4595cd0f422a11ef43393ac7950a53.jpg","text":"TemporaryFile(/tmp/multipartBody3245116169021219958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807062668,"filename":"image_22112025_11_23_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693794","file1":"1395693791","file0":"1395693789","file4":"1395693801","file5":"1395693804","file3":"1395693797"},"map_files_photo_id_array":[{"photo_id":"1395693804","filename":"file5"},{"photo_id":"1395693794","filename":"file2"},{"photo_id":"1395693801","filename":"file4"},{"photo_id":"1395693791","filename":"file1"},{"photo_id":"1395693789","filename":"file0"},{"photo_id":"1395693797","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693789":["hashtag1","hashtag2"]},{"1395693801":["hashtag1","hashtag2"]},{"1395693804":["hashtag1","hashtag2"]},{"1395693794":["hashtag1","hashtag2"]},{"1395693797":["hashtag1","hashtag2"]},{"1395693791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693789, 1395693801, 1395693804, 1395693794, 1395693797, 1395693791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12699294090271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:24:02.881292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_22_2507.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_25_2641.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_29_3740.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_32_2885.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_34_2596.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_38_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_22_2507.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_25_2641.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_29_3740.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_32_2885.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_34_2596.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_38_3566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693821","1395693815","1395693818","1395693814","1395693808","1395693816"],"photo_ids_order":["1395693808","1395693814","1395693815","1395693816","1395693818","1395693821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80e92424d59658a21e4e5210f3f46fc4.jpg","text":"TemporaryFile(/tmp/multipartBody7185734127483370900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807103659,"filename":"image_22112025_11_23_38_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68036c67d9ed85246bb9749a8c3eb051.jpg","text":"TemporaryFile(/tmp/multipartBody7464160196497386603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807103659,"filename":"image_22112025_11_23_29_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/effda97d4696c5330b84d27bc80e28cf.jpg","text":"TemporaryFile(/tmp/multipartBody8328260104431324995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807103659,"filename":"image_22112025_11_23_34_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d26aad8eae55bc6990d34e0fe65a1779.jpg","text":"TemporaryFile(/tmp/multipartBody2595170085990138159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807103659,"filename":"image_22112025_11_23_25_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c2e34b3f7e6921dc4c893f7cd5719f3.jpg","text":"TemporaryFile(/tmp/multipartBody6783828826797159619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807103659,"filename":"image_22112025_11_23_22_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5f607676d407a951f2ec5cc53132330.jpg","text":"TemporaryFile(/tmp/multipartBody1028034112625389737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807103659,"filename":"image_22112025_11_23_32_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693815","file1":"1395693814","file0":"1395693808","file4":"1395693818","file5":"1395693821","file3":"1395693816"},"map_files_photo_id_array":[{"photo_id":"1395693821","filename":"file5"},{"photo_id":"1395693815","filename":"file2"},{"photo_id":"1395693818","filename":"file4"},{"photo_id":"1395693814","filename":"file1"},{"photo_id":"1395693808","filename":"file0"},{"photo_id":"1395693816","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693821":["hashtag1","hashtag2"]},{"1395693815":["hashtag1","hashtag2"]},{"1395693818":["hashtag1","hashtag2"]},{"1395693814":["hashtag1","hashtag2"]},{"1395693808":["hashtag1","hashtag2"]},{"1395693816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693821, 1395693815, 1395693818, 1395693814, 1395693808, 1395693816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.787328004837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:24:42.121966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_40_2753.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_43_2562.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_47_3679.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_49_2658.jpg', '/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_52_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_40_2753.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_43_2562.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_47_3679.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_49_2658.jpg
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_52_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693836","1395693835","1395693834","1395693837","1395693830"],"photo_ids_order":["1395693830","1395693834","1395693835","1395693836","1395693837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f49d98cdebde9c25253f83d90ce73bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5922292425122745336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807142777,"filename":"image_22112025_11_23_49_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d737ce81455f121a1fb93b7b0a213e1.jpg","text":"TemporaryFile(/tmp/multipartBody8756021359926245960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807142777,"filename":"image_22112025_11_23_47_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23c98553bc87befbb5a04a8a5ef2b60e.jpg","text":"TemporaryFile(/tmp/multipartBody8801681531324744240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807142777,"filename":"image_22112025_11_23_43_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfd3a87f2a653ba84f337002e297b854.jpg","text":"TemporaryFile(/tmp/multipartBody7867742795557736319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807142777,"filename":"image_22112025_11_23_52_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47856a6ab01759fc4ab25d91b2556609.jpg","text":"TemporaryFile(/tmp/multipartBody5768557702988449517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807142777,"filename":"image_22112025_11_23_40_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693835","file1":"1395693834","file0":"1395693830","file4":"1395693837","file3":"1395693836"},"map_files_photo_id_array":[{"photo_id":"1395693835","filename":"file2"},{"photo_id":"1395693837","filename":"file4"},{"photo_id":"1395693834","filename":"file1"},{"photo_id":"1395693830","filename":"file0"},{"photo_id":"1395693836","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693836":["hashtag1","hashtag2"]},{"1395693835":["hashtag1","hashtag2"]},{"1395693834":["hashtag1","hashtag2"]},{"1395693837":["hashtag1","hashtag2"]},{"1395693830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693836, 1395693835, 1395693834, 1395693837, 1395693830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.68703579902649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:25:25.807982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_56_3591.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_11_3575.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_13_2567.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_17_3636.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_19_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/23/image_22112025_11_23_56_3591.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_07_3011.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_11_3575.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_13_2567.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_17_3636.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_19_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693842","1395693853","1395693852","1395693849","1395693845","1395693854"],"photo_ids_order":["1395693842","1395693845","1395693849","1395693852","1395693853","1395693854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6199bb5e2ffb55855a4a4cf359265be.jpg","text":"TemporaryFile(/tmp/multipartBody6266203219863744710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807186524,"filename":"image_22112025_11_23_56_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0e50a4a075ecc94ca99ec404e3f107c.jpg","text":"TemporaryFile(/tmp/multipartBody7736360970075724215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807186524,"filename":"image_22112025_11_25_17_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10265cbeef7c6f91cc2dc9b3560db135.jpg","text":"TemporaryFile(/tmp/multipartBody331014890228467895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807186524,"filename":"image_22112025_11_25_13_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1cb9d19fc7431e5cbfe2408ce3d4b48.jpg","text":"TemporaryFile(/tmp/multipartBody1240124410421640646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807186524,"filename":"image_22112025_11_25_11_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44a75dae6a54454549d1cb0d71787c14.jpg","text":"TemporaryFile(/tmp/multipartBody6757329393113905077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807186524,"filename":"image_22112025_11_25_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1dafbba670cd4a44e431f7a5bd55c13.jpg","text":"TemporaryFile(/tmp/multipartBody5820521590770666745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807186524,"filename":"image_22112025_11_25_19_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693849","file1":"1395693845","file0":"1395693842","file4":"1395693853","file5":"1395693854","file3":"1395693852"},"map_files_photo_id_array":[{"photo_id":"1395693854","filename":"file5"},{"photo_id":"1395693849","filename":"file2"},{"photo_id":"1395693853","filename":"file4"},{"photo_id":"1395693845","filename":"file1"},{"photo_id":"1395693842","filename":"file0"},{"photo_id":"1395693852","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693842":["hashtag1","hashtag2"]},{"1395693853":["hashtag1","hashtag2"]},{"1395693852":["hashtag1","hashtag2"]},{"1395693849":["hashtag1","hashtag2"]},{"1395693845":["hashtag1","hashtag2"]},{"1395693854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693842, 1395693853, 1395693852, 1395693849, 1395693845, 1395693854)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 35.635258197784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:26:21.941741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_22_2621.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_26_3540.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_28_2524.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_32_3777.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_35_2780.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_37_2493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_22_2621.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_26_3540.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_28_2524.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_32_3777.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_35_2780.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_37_2493.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693862","1395693856","1395693865","1395693859","1395693872","1395693869"],"photo_ids_order":["1395693856","1395693859","1395693862","1395693865","1395693869","1395693872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfdbefa72f16135f73da93d586643b52.jpg","text":"TemporaryFile(/tmp/multipartBody3658526048573416160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807242644,"filename":"image_22112025_11_25_28_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a44fb4f3e5db1d16d576ee2ea25a25f4.jpg","text":"TemporaryFile(/tmp/multipartBody5240498206323227868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807242644,"filename":"image_22112025_11_25_22_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8baaacb8d43661425b10ec35d59ccc80.jpg","text":"TemporaryFile(/tmp/multipartBody2625277722505011533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807242644,"filename":"image_22112025_11_25_32_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a876669a450eb4a2dff63ea78bc2b16.jpg","text":"TemporaryFile(/tmp/multipartBody3193836849660577249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807242644,"filename":"image_22112025_11_25_26_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8543d81d4e8a4018a419ecce95b171e.jpg","text":"TemporaryFile(/tmp/multipartBody2657428399068539614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807242644,"filename":"image_22112025_11_25_37_2493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adfbfc489b8919b6b200971957fc0baa.jpg","text":"TemporaryFile(/tmp/multipartBody7508607036211602384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807242644,"filename":"image_22112025_11_25_35_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693862","file1":"1395693859","file0":"1395693856","file4":"1395693869","file5":"1395693872","file3":"1395693865"},"map_files_photo_id_array":[{"photo_id":"1395693872","filename":"file5"},{"photo_id":"1395693862","filename":"file2"},{"photo_id":"1395693869","filename":"file4"},{"photo_id":"1395693859","filename":"file1"},{"photo_id":"1395693856","filename":"file0"},{"photo_id":"1395693865","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693862":["hashtag1","hashtag2"]},{"1395693856":["hashtag1","hashtag2"]},{"1395693865":["hashtag1","hashtag2"]},{"1395693859":["hashtag1","hashtag2"]},{"1395693872":["hashtag1","hashtag2"]},{"1395693869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693862, 1395693856, 1395693865, 1395693859, 1395693872, 1395693869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13304901123047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:27:02.875633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_41_3721.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_44_2790.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_46_2687.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_49_2546.jpg', '/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_55_2722.jpg', '/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_02_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_41_3721.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_44_2790.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_46_2687.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_49_2546.jpg
/home/pi/Desktop/images/22112025/11/25/image_22112025_11_25_55_2722.jpg
/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_02_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693880","1395693883","1395693877","1395693876","1395693875","1395693878"],"photo_ids_order":["1395693875","1395693876","1395693877","1395693878","1395693880","1395693883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cb8e2173d241dd67ab971e40ad259ef.jpg","text":"TemporaryFile(/tmp/multipartBody2345019777518017952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807283641,"filename":"image_22112025_11_25_55_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b3590876ff2657ae31619dcb3d46790.jpg","text":"TemporaryFile(/tmp/multipartBody813219818332181184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807283641,"filename":"image_22112025_11_26_02_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae756c940d8a1ed6d7ff3a70eed4417c.jpg","text":"TemporaryFile(/tmp/multipartBody6874964545194458400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807283641,"filename":"image_22112025_11_25_46_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/070e8893768ec6cabf7687ab5d32f2f2.jpg","text":"TemporaryFile(/tmp/multipartBody3866977332462712473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807283641,"filename":"image_22112025_11_25_44_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac83c1fa81e9ca089f9b562afb135842.jpg","text":"TemporaryFile(/tmp/multipartBody9135404393313617207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807283641,"filename":"image_22112025_11_25_41_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8f5f0d4bf4a0bedf41ddfbcc6d96fab.jpg","text":"TemporaryFile(/tmp/multipartBody1981701595817423675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807283641,"filename":"image_22112025_11_25_49_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693877","file1":"1395693876","file0":"1395693875","file4":"1395693880","file5":"1395693883","file3":"1395693878"},"map_files_photo_id_array":[{"photo_id":"1395693883","filename":"file5"},{"photo_id":"1395693877","filename":"file2"},{"photo_id":"1395693880","filename":"file4"},{"photo_id":"1395693876","filename":"file1"},{"photo_id":"1395693875","filename":"file0"},{"photo_id":"1395693878","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693880":["hashtag1","hashtag2"]},{"1395693883":["hashtag1","hashtag2"]},{"1395693877":["hashtag1","hashtag2"]},{"1395693876":["hashtag1","hashtag2"]},{"1395693875":["hashtag1","hashtag2"]},{"1395693878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693880, 1395693883, 1395693877, 1395693876, 1395693875, 1395693878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88747596740723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:27:42.365381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_06_3863.jpg', '/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_07_1577.jpg', '/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_10_2750.jpg', '/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_16_2595.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_06_3014.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_10_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_06_3863.jpg
/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_07_1577.jpg
/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_10_2750.jpg
/home/pi/Desktop/images/22112025/11/26/image_22112025_11_26_16_2595.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_06_3014.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_10_3665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693898","1395693897","1395693901","1395693894","1395693900","1395693899"],"photo_ids_order":["1395693894","1395693897","1395693898","1395693899","1395693900","1395693901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95e57fe0c36b661bd92c3a1ef6209282.jpg","text":"TemporaryFile(/tmp/multipartBody5735594958745657766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807323041,"filename":"image_22112025_11_26_10_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89fc5af7919aa86dfb85b66b40d8fe54.jpg","text":"TemporaryFile(/tmp/multipartBody5856028891403119535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807323041,"filename":"image_22112025_11_26_07_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f34f354528ed95f1873444af10ff4f7.jpg","text":"TemporaryFile(/tmp/multipartBody8599596270361095041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807323041,"filename":"image_22112025_11_27_10_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/848cad1e9d70a52a68919e68db321b40.jpg","text":"TemporaryFile(/tmp/multipartBody7878246587272583767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807323041,"filename":"image_22112025_11_26_06_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/998b282971006656ce1377ad665634b4.jpg","text":"TemporaryFile(/tmp/multipartBody1506292536187277195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807323041,"filename":"image_22112025_11_27_06_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1c2af3c2a06fd00faee54e2f175b1f0.jpg","text":"TemporaryFile(/tmp/multipartBody6983624174870010197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807323041,"filename":"image_22112025_11_26_16_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693898","file1":"1395693897","file0":"1395693894","file4":"1395693900","file5":"1395693901","file3":"1395693899"},"map_files_photo_id_array":[{"photo_id":"1395693901","filename":"file5"},{"photo_id":"1395693898","filename":"file2"},{"photo_id":"1395693900","filename":"file4"},{"photo_id":"1395693897","filename":"file1"},{"photo_id":"1395693894","filename":"file0"},{"photo_id":"1395693899","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693898":["hashtag1","hashtag2"]},{"1395693897":["hashtag1","hashtag2"]},{"1395693901":["hashtag1","hashtag2"]},{"1395693894":["hashtag1","hashtag2"]},{"1395693900":["hashtag1","hashtag2"]},{"1395693899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693898, 1395693897, 1395693901, 1395693894, 1395693900, 1395693899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10170936584473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:28:22.673274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_12_2585.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_15_2776.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_19_3697.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_22_2587.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_24_2744.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_28_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_12_2585.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_15_2776.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_19_3697.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_22_2587.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_24_2744.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_28_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693914","1395693904","1395693909","1395693918","1395693912","1395693906"],"photo_ids_order":["1395693904","1395693906","1395693909","1395693912","1395693914","1395693918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09fa9776069e34eb6be2c13bcb7606ef.jpg","text":"TemporaryFile(/tmp/multipartBody2640501420377469738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807363474,"filename":"image_22112025_11_27_24_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c331a278aa67aa10b719941c0c67e33d.jpg","text":"TemporaryFile(/tmp/multipartBody6623220204396141361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807363474,"filename":"image_22112025_11_27_12_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98411ba4658d3fe18257fef29a69dba0.jpg","text":"TemporaryFile(/tmp/multipartBody3521071009186936947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807363474,"filename":"image_22112025_11_27_19_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a2ccf1e51cbc42f7e709373fc5e2a98.jpg","text":"TemporaryFile(/tmp/multipartBody5661126988681008841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807363474,"filename":"image_22112025_11_27_28_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/954648cd167bab4d0a6f44542a27531a.jpg","text":"TemporaryFile(/tmp/multipartBody6345392669791263517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807363474,"filename":"image_22112025_11_27_22_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d6b0abb43244f698676a2391bdf4d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8622069210465170979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807363474,"filename":"image_22112025_11_27_15_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693909","file1":"1395693906","file0":"1395693904","file4":"1395693914","file5":"1395693918","file3":"1395693912"},"map_files_photo_id_array":[{"photo_id":"1395693918","filename":"file5"},{"photo_id":"1395693909","filename":"file2"},{"photo_id":"1395693914","filename":"file4"},{"photo_id":"1395693906","filename":"file1"},{"photo_id":"1395693904","filename":"file0"},{"photo_id":"1395693912","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693914":["hashtag1","hashtag2"]},{"1395693904":["hashtag1","hashtag2"]},{"1395693909":["hashtag1","hashtag2"]},{"1395693918":["hashtag1","hashtag2"]},{"1395693912":["hashtag1","hashtag2"]},{"1395693906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693914, 1395693904, 1395693909, 1395693918, 1395693912, 1395693906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.547250747680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:29:03.017020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_30_2553.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_34_3581.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_37_2550.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_39_2640.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_43_3764.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_46_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_30_2553.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_34_3581.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_37_2550.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_39_2640.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_43_3764.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_46_2762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395693935","1395693929","1395693925","1395693928","1395693930","1395693932"],"photo_ids_order":["1395693925","1395693928","1395693929","1395693930","1395693932","1395693935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89cb085ca166c83af717c4de975da4d3.jpg","text":"TemporaryFile(/tmp/multipartBody7094623863366820490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807403803,"filename":"image_22112025_11_27_46_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/760d9a8822115b1e2b191c979d4718a3.jpg","text":"TemporaryFile(/tmp/multipartBody8121423216906365151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807403803,"filename":"image_22112025_11_27_37_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e28fe74c64ae657cb4b2a33c71a96e8.jpg","text":"TemporaryFile(/tmp/multipartBody5209967547420014207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807403803,"filename":"image_22112025_11_27_30_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ce94a20e06b8dbe71d7db5f4132d5ab.jpg","text":"TemporaryFile(/tmp/multipartBody3108817608125904249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807403803,"filename":"image_22112025_11_27_34_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f872314cff37ed82c9253dadf2dfb4ed.jpg","text":"TemporaryFile(/tmp/multipartBody1603302708010803734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807403803,"filename":"image_22112025_11_27_39_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08e414627ba2bda07a59367c2c446df7.jpg","text":"TemporaryFile(/tmp/multipartBody6118945537699611041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807403803,"filename":"image_22112025_11_27_43_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693929","file1":"1395693928","file0":"1395693925","file4":"1395693932","file5":"1395693935","file3":"1395693930"},"map_files_photo_id_array":[{"photo_id":"1395693935","filename":"file5"},{"photo_id":"1395693929","filename":"file2"},{"photo_id":"1395693932","filename":"file4"},{"photo_id":"1395693928","filename":"file1"},{"photo_id":"1395693925","filename":"file0"},{"photo_id":"1395693930","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395693935":["hashtag1","hashtag2"]},{"1395693929":["hashtag1","hashtag2"]},{"1395693925":["hashtag1","hashtag2"]},{"1395693928":["hashtag1","hashtag2"]},{"1395693930":["hashtag1","hashtag2"]},{"1395693932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395693935, 1395693929, 1395693925, 1395693928, 1395693930, 1395693932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95290756225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:29:42.309306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_49_2793.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_51_2750.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_55_3704.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_58_2701.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_28_00_2559.jpg', '/home/pi/Desktop/images/22112025/11/28/image_22112025_11_28_04_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_49_2793.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_51_2750.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_55_3704.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_58_2701.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_28_00_2559.jpg
/home/pi/Desktop/images/22112025/11/28/image_22112025_11_28_04_3744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8bfhbhoef</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8bfhbhoef</strong>.
uploaded 0 photos
time to upload: 48.421170711517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:30:42.536007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_49_2793.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_51_2750.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_55_3704.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_58_2701.jpg', '/home/pi/Desktop/images/22112025/11/27/image_22112025_11_28_00_2559.jpg', '/home/pi/Desktop/images/22112025/11/28/image_22112025_11_28_04_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_49_2793.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_51_2750.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_55_3704.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_27_58_2701.jpg
/home/pi/Desktop/images/22112025/11/27/image_22112025_11_28_00_2559.jpg
/home/pi/Desktop/images/22112025/11/28/image_22112025_11_28_04_3744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694000","1395693999","1395693972","1395694005","1395693998","1395694001"],"photo_ids_order":["1395693972","1395693998","1395693999","1395694000","1395694001","1395694005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e415ffbeee99f127927c34ee657adae4.jpg","text":"TemporaryFile(/tmp/multipartBody7908730559465257420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807503230,"filename":"image_22112025_11_27_58_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d072c0d9a7e7883488037edc08f83b0c.jpg","text":"TemporaryFile(/tmp/multipartBody7356560255363544120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807503230,"filename":"image_22112025_11_27_55_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b639c7fc0772f7ad27e330b9813f5e5f.jpg","text":"TemporaryFile(/tmp/multipartBody6968939016872981570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807503230,"filename":"image_22112025_11_27_49_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ba1131ba0e5d3795b9a203556f76031.jpg","text":"TemporaryFile(/tmp/multipartBody5152729628813577385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807503230,"filename":"image_22112025_11_28_04_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5973f7f2d8ad70ee87e2097a6d75779b.jpg","text":"TemporaryFile(/tmp/multipartBody2054786722071355619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807503230,"filename":"image_22112025_11_27_51_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/559b9bffa8d0fc3f7f0ea0358845cb5f.jpg","text":"TemporaryFile(/tmp/multipartBody5910386417498330620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807503230,"filename":"image_22112025_11_28_00_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395693999","file1":"1395693998","file0":"1395693972","file4":"1395694001","file5":"1395694005","file3":"1395694000"},"map_files_photo_id_array":[{"photo_id":"1395694005","filename":"file5"},{"photo_id":"1395693999","filename":"file2"},{"photo_id":"1395694001","filename":"file4"},{"photo_id":"1395693998","filename":"file1"},{"photo_id":"1395693972","filename":"file0"},{"photo_id":"1395694000","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694000":["hashtag1","hashtag2"]},{"1395693999":["hashtag1","hashtag2"]},{"1395693972":["hashtag1","hashtag2"]},{"1395694005":["hashtag1","hashtag2"]},{"1395693998":["hashtag1","hashtag2"]},{"1395694001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694000, 1395693999, 1395693972, 1395694005, 1395693998, 1395694001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60255575180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:31:22.619434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_07_3018.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_10_3657.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_13_2640.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_17_3608.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_20_2805.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_22_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_07_3018.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_10_3657.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_13_2640.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_17_3608.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_20_2805.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_22_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694051","1395694048","1395694043","1395694037","1395694046","1395694040"],"photo_ids_order":["1395694037","1395694040","1395694043","1395694046","1395694048","1395694051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa4e8c1b720657248f778adc8decef71.jpg","text":"TemporaryFile(/tmp/multipartBody1966919393996022511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807543337,"filename":"image_22112025_11_29_22_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0238a9814f1e01a752bb40b93f0327a.jpg","text":"TemporaryFile(/tmp/multipartBody8743944097208094415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807543337,"filename":"image_22112025_11_29_20_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db88c24dde23fdccb97959c2088cb432.jpg","text":"TemporaryFile(/tmp/multipartBody8844277288772937522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807543337,"filename":"image_22112025_11_29_13_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9c5909718cb9ca624d6575ef386dea7.jpg","text":"TemporaryFile(/tmp/multipartBody9076067774792586412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807543337,"filename":"image_22112025_11_29_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/998cf041f3d7bafd52f0880443d830c2.jpg","text":"TemporaryFile(/tmp/multipartBody3566139902852978112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807543337,"filename":"image_22112025_11_29_17_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22a5b796e8d7481843df641942844a88.jpg","text":"TemporaryFile(/tmp/multipartBody3780926318760196390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807543337,"filename":"image_22112025_11_29_10_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694043","file1":"1395694040","file0":"1395694037","file4":"1395694048","file5":"1395694051","file3":"1395694046"},"map_files_photo_id_array":[{"photo_id":"1395694051","filename":"file5"},{"photo_id":"1395694043","filename":"file2"},{"photo_id":"1395694048","filename":"file4"},{"photo_id":"1395694040","filename":"file1"},{"photo_id":"1395694037","filename":"file0"},{"photo_id":"1395694046","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694051":["hashtag1","hashtag2"]},{"1395694048":["hashtag1","hashtag2"]},{"1395694043":["hashtag1","hashtag2"]},{"1395694037":["hashtag1","hashtag2"]},{"1395694046":["hashtag1","hashtag2"]},{"1395694040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694051, 1395694048, 1395694043, 1395694037, 1395694046, 1395694040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4899480342865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:32:02.347307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_25_2572.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_28_3641.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_31_2613.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_35_3607.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_38_2794.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_40_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_25_2572.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_28_3641.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_31_2613.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_35_3607.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_38_2794.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_40_2564.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.67787766456604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:32:21.815171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_25_2572.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_28_3641.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_31_2613.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_35_3607.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_38_2794.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_40_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_25_2572.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_28_3641.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_31_2613.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_35_3607.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_38_2794.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_40_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694072","1395694066","1395694075","1395694069","1395694062","1395694059"],"photo_ids_order":["1395694059","1395694062","1395694066","1395694069","1395694072","1395694075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d3e1033e8b083088968333a8e7532e6.jpg","text":"TemporaryFile(/tmp/multipartBody2537910646871322504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807602572,"filename":"image_22112025_11_29_38_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76e9c52bd73eb47d20c515395de9227e.jpg","text":"TemporaryFile(/tmp/multipartBody4393605500771660522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807602572,"filename":"image_22112025_11_29_31_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6dcffeb221fe85e03c61c10229f9c8d7.jpg","text":"TemporaryFile(/tmp/multipartBody1888873333921960132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807602572,"filename":"image_22112025_11_29_40_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1196ce09c9a35c49e6d4620235d85a1.jpg","text":"TemporaryFile(/tmp/multipartBody3794505198306369153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807602572,"filename":"image_22112025_11_29_35_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78ebfb587a3b4f774f1c476d7b9c061b.jpg","text":"TemporaryFile(/tmp/multipartBody4545846911756914839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807602572,"filename":"image_22112025_11_29_28_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b365f5e32aba86f4b2b9e80b6660bc6a.jpg","text":"TemporaryFile(/tmp/multipartBody4831758077564246551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807602572,"filename":"image_22112025_11_29_25_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694066","file1":"1395694062","file0":"1395694059","file4":"1395694072","file5":"1395694075","file3":"1395694069"},"map_files_photo_id_array":[{"photo_id":"1395694075","filename":"file5"},{"photo_id":"1395694066","filename":"file2"},{"photo_id":"1395694072","filename":"file4"},{"photo_id":"1395694062","filename":"file1"},{"photo_id":"1395694059","filename":"file0"},{"photo_id":"1395694069","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694072":["hashtag1","hashtag2"]},{"1395694066":["hashtag1","hashtag2"]},{"1395694075":["hashtag1","hashtag2"]},{"1395694069":["hashtag1","hashtag2"]},{"1395694062":["hashtag1","hashtag2"]},{"1395694059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694072, 1395694066, 1395694075, 1395694069, 1395694062, 1395694059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1226704120636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:33:03.275161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_44_3610.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_46_2725.jpg', '/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_49_2663.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_10_3707.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_13_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_44_3610.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_46_2725.jpg
/home/pi/Desktop/images/22112025/11/29/image_22112025_11_29_49_2663.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_07_3011.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_10_3707.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_13_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694087","1395694081","1395694080","1395694082","1395694084","1395694078"],"photo_ids_order":["1395694078","1395694080","1395694081","1395694082","1395694084","1395694087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c023eaa5a21ee85aa8297d4d53921d03.jpg","text":"TemporaryFile(/tmp/multipartBody8931117755731963768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807644040,"filename":"image_22112025_11_31_13_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1df1facec95e2ec799c2f591f684a03.jpg","text":"TemporaryFile(/tmp/multipartBody1785873938165298164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807644040,"filename":"image_22112025_11_29_49_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acd66525f322605511e0c05d016e3b13.jpg","text":"TemporaryFile(/tmp/multipartBody8470873585941223286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807644040,"filename":"image_22112025_11_29_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fd75aec8dcd832ceec7d619375cc48b.jpg","text":"TemporaryFile(/tmp/multipartBody6829431263458485530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807644040,"filename":"image_22112025_11_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58bc47d803f67b3173b51d5d2c4df5a3.jpg","text":"TemporaryFile(/tmp/multipartBody1983008770087317857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807644040,"filename":"image_22112025_11_31_10_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f76bd32e280af4961f353f0573b1e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody9044414739481538359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807644040,"filename":"image_22112025_11_29_44_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694081","file1":"1395694080","file0":"1395694078","file4":"1395694084","file5":"1395694087","file3":"1395694082"},"map_files_photo_id_array":[{"photo_id":"1395694087","filename":"file5"},{"photo_id":"1395694081","filename":"file2"},{"photo_id":"1395694084","filename":"file4"},{"photo_id":"1395694080","filename":"file1"},{"photo_id":"1395694078","filename":"file0"},{"photo_id":"1395694082","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694087":["hashtag1","hashtag2"]},{"1395694081":["hashtag1","hashtag2"]},{"1395694080":["hashtag1","hashtag2"]},{"1395694082":["hashtag1","hashtag2"]},{"1395694084":["hashtag1","hashtag2"]},{"1395694078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694087, 1395694081, 1395694080, 1395694082, 1395694084, 1395694078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4776873588562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:33:42.552815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_16_2600.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_22_2670.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_25_2640.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_28_3516.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_35_3653.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_37_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_16_2600.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_22_2670.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_25_2640.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_28_3516.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_35_3653.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_37_2537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694103","1395694102","1395694101","1395694104","1395694100","1395694099"],"photo_ids_order":["1395694099","1395694100","1395694101","1395694102","1395694103","1395694104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4566e9729d0785a821198c30ef85d3b3.jpg","text":"TemporaryFile(/tmp/multipartBody2174068401239621457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807683257,"filename":"image_22112025_11_31_35_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f7e5c15c8ce984c7459f6326267c351.jpg","text":"TemporaryFile(/tmp/multipartBody3017989254533779015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807683257,"filename":"image_22112025_11_31_28_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fa4b749a435a7d06db7f4df9f690cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3023060438542450185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807683257,"filename":"image_22112025_11_31_25_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bac3aa62e6bdc5044d24f26505fcdbe.jpg","text":"TemporaryFile(/tmp/multipartBody5522175811757325050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807683257,"filename":"image_22112025_11_31_37_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eea40053f0dee3c83091f54df7ebea7a.jpg","text":"TemporaryFile(/tmp/multipartBody923186633501255534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807683257,"filename":"image_22112025_11_31_22_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11771019a5a49f65f7d0faac51d246af.jpg","text":"TemporaryFile(/tmp/multipartBody798603853872947284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807683257,"filename":"image_22112025_11_31_16_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694101","file1":"1395694100","file0":"1395694099","file4":"1395694103","file5":"1395694104","file3":"1395694102"},"map_files_photo_id_array":[{"photo_id":"1395694104","filename":"file5"},{"photo_id":"1395694101","filename":"file2"},{"photo_id":"1395694103","filename":"file4"},{"photo_id":"1395694100","filename":"file1"},{"photo_id":"1395694099","filename":"file0"},{"photo_id":"1395694102","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694103":["hashtag1","hashtag2"]},{"1395694102":["hashtag1","hashtag2"]},{"1395694101":["hashtag1","hashtag2"]},{"1395694104":["hashtag1","hashtag2"]},{"1395694100":["hashtag1","hashtag2"]},{"1395694099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694103, 1395694102, 1395694101, 1395694104, 1395694100, 1395694099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86857533454895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:34:22.733761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_40_2774.jpg', '/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_44_3565.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_06_3011.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_10_3645.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_13_2605.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_16_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_40_2774.jpg
/home/pi/Desktop/images/22112025/11/31/image_22112025_11_31_44_3565.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_06_3011.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_10_3645.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_13_2605.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_16_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694114","1395694111","1395694125","1395694107","1395694118","1395694121"],"photo_ids_order":["1395694107","1395694111","1395694114","1395694118","1395694121","1395694125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dab9f859197b96564450a56ae3e7d91.jpg","text":"TemporaryFile(/tmp/multipartBody5620020434728119881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807723418,"filename":"image_22112025_11_33_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34e664ce3f2fc7f79b3f8978850b442c.jpg","text":"TemporaryFile(/tmp/multipartBody5321163019172135830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807723418,"filename":"image_22112025_11_31_44_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e599599783f0e3ded5e376be3d1e0b98.jpg","text":"TemporaryFile(/tmp/multipartBody6335869805764631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807723418,"filename":"image_22112025_11_33_16_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f4f607dd9faf88bdb1973f558c87134.jpg","text":"TemporaryFile(/tmp/multipartBody3741477791483045593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807723418,"filename":"image_22112025_11_31_40_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3c65e617151788dea91ea4e82b29a18.jpg","text":"TemporaryFile(/tmp/multipartBody3340988530774140339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807723418,"filename":"image_22112025_11_33_10_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/657e4aa088cfa1fcbcd268dd2410f123.jpg","text":"TemporaryFile(/tmp/multipartBody1609043422015337910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807723418,"filename":"image_22112025_11_33_13_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694114","file1":"1395694111","file0":"1395694107","file4":"1395694121","file5":"1395694125","file3":"1395694118"},"map_files_photo_id_array":[{"photo_id":"1395694125","filename":"file5"},{"photo_id":"1395694114","filename":"file2"},{"photo_id":"1395694121","filename":"file4"},{"photo_id":"1395694111","filename":"file1"},{"photo_id":"1395694107","filename":"file0"},{"photo_id":"1395694118","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694114":["hashtag1","hashtag2"]},{"1395694111":["hashtag1","hashtag2"]},{"1395694125":["hashtag1","hashtag2"]},{"1395694107":["hashtag1","hashtag2"]},{"1395694118":["hashtag1","hashtag2"]},{"1395694121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694114, 1395694111, 1395694125, 1395694107, 1395694118, 1395694121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60881495475769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:35:03.285537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_19_2746.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_22_2621.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_24_2733.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_28_3831.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_31_2547.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_34_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_19_2746.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_22_2621.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_24_2733.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_28_3831.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_31_2547.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_34_3531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694132","1395694135","1395694131","1395694139","1395694130","1395694133"],"photo_ids_order":["1395694130","1395694131","1395694132","1395694133","1395694135","1395694139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13dbc2009f7a219da33c543d023b46fa.jpg","text":"TemporaryFile(/tmp/multipartBody1971603691008803753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807764044,"filename":"image_22112025_11_33_24_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9923a5760d7e6204a6f32ef23e4cb789.jpg","text":"TemporaryFile(/tmp/multipartBody6898624556136937695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807764044,"filename":"image_22112025_11_33_31_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ec3c1b7baa53ff722a617ea49101e84.jpg","text":"TemporaryFile(/tmp/multipartBody7389551922000308063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807764044,"filename":"image_22112025_11_33_22_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df17bc916b28234185995b20f8de431b.jpg","text":"TemporaryFile(/tmp/multipartBody4277659859538849397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807764044,"filename":"image_22112025_11_33_34_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e62ffb5e2873545307805a672e41b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody1065300818432051570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807764044,"filename":"image_22112025_11_33_19_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a7831011a2c91ea79e56b3efad85e33.jpg","text":"TemporaryFile(/tmp/multipartBody6982263096807076372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807764044,"filename":"image_22112025_11_33_28_3831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694132","file1":"1395694131","file0":"1395694130","file4":"1395694135","file5":"1395694139","file3":"1395694133"},"map_files_photo_id_array":[{"photo_id":"1395694139","filename":"file5"},{"photo_id":"1395694132","filename":"file2"},{"photo_id":"1395694135","filename":"file4"},{"photo_id":"1395694131","filename":"file1"},{"photo_id":"1395694130","filename":"file0"},{"photo_id":"1395694133","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694132":["hashtag1","hashtag2"]},{"1395694135":["hashtag1","hashtag2"]},{"1395694131":["hashtag1","hashtag2"]},{"1395694139":["hashtag1","hashtag2"]},{"1395694130":["hashtag1","hashtag2"]},{"1395694133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694132, 1395694135, 1395694131, 1395694139, 1395694130, 1395694133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27320861816406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:35:42.507777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_37_2792.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_40_2696.jpg', '/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_42_2663.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_11_3557.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_13_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_37_2792.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_40_2696.jpg
/home/pi/Desktop/images/22112025/11/33/image_22112025_11_33_42_2663.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_07_3011.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_11_3557.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_13_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694153","1395694162","1395694155","1395694148","1395694157","1395694151"],"photo_ids_order":["1395694148","1395694151","1395694153","1395694155","1395694157","1395694162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14ce8086e625910b33c3a5670708b0cb.jpg","text":"TemporaryFile(/tmp/multipartBody8760152743192333916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807803205,"filename":"image_22112025_11_33_42_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d16c32006c882c878b49de3c22b912b.jpg","text":"TemporaryFile(/tmp/multipartBody2838228925814312073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807803205,"filename":"image_22112025_11_35_13_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a04fc140ecbbd65db2fbee584639e4b7.jpg","text":"TemporaryFile(/tmp/multipartBody4391530511168409942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807803205,"filename":"image_22112025_11_35_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d42369cff810339235848b9cddf4fdb3.jpg","text":"TemporaryFile(/tmp/multipartBody7820288544770156574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807803205,"filename":"image_22112025_11_33_37_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9085924b940022295998698f59df17cd.jpg","text":"TemporaryFile(/tmp/multipartBody4792378236742012227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807803205,"filename":"image_22112025_11_35_11_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea8e75d7257f076d916ba764cbb6d172.jpg","text":"TemporaryFile(/tmp/multipartBody8986373693346184892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807803205,"filename":"image_22112025_11_33_40_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694153","file1":"1395694151","file0":"1395694148","file4":"1395694157","file5":"1395694162","file3":"1395694155"},"map_files_photo_id_array":[{"photo_id":"1395694162","filename":"file5"},{"photo_id":"1395694153","filename":"file2"},{"photo_id":"1395694157","filename":"file4"},{"photo_id":"1395694151","filename":"file1"},{"photo_id":"1395694148","filename":"file0"},{"photo_id":"1395694155","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694153":["hashtag1","hashtag2"]},{"1395694162":["hashtag1","hashtag2"]},{"1395694155":["hashtag1","hashtag2"]},{"1395694148":["hashtag1","hashtag2"]},{"1395694157":["hashtag1","hashtag2"]},{"1395694151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694153, 1395694162, 1395694155, 1395694148, 1395694157, 1395694151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26317477226257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:36:22.757395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_17_3630.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_20_2818.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_22_2615.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_26_3527.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_29_2588.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_31_2887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_17_3630.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_20_2818.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_22_2615.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_26_3527.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_29_2588.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_31_2887.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.58909010887146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:36:42.781567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_17_3630.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_20_2818.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_22_2615.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_26_3527.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_29_2588.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_31_2887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_17_3630.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_20_2818.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_22_2615.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_26_3527.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_29_2588.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_31_2887.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694186","1395694189","1395694188","1395694182","1395694185","1395694187"],"photo_ids_order":["1395694182","1395694185","1395694186","1395694187","1395694188","1395694189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9111f947b90ee5a934b37ef5699c2def.jpg","text":"TemporaryFile(/tmp/multipartBody6612990578376440512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807863594,"filename":"image_22112025_11_35_22_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42b3196023986e6028ba261cec5c5c68.jpg","text":"TemporaryFile(/tmp/multipartBody8253370572070245526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807863594,"filename":"image_22112025_11_35_31_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1dba3e075d0c32ee3080c4c0d3b84bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8387019945613114973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807863594,"filename":"image_22112025_11_35_29_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/938fc29194ca034d16c4b7f1636bfc75.jpg","text":"TemporaryFile(/tmp/multipartBody3017201839901927030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807863594,"filename":"image_22112025_11_35_17_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91b72996eba3783e86a6c9cf4cc68d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8028702680477491486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807863594,"filename":"image_22112025_11_35_20_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2bf838b8e212f7bc0379918c178c281.jpg","text":"TemporaryFile(/tmp/multipartBody8654885853008390885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807863594,"filename":"image_22112025_11_35_26_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694186","file1":"1395694185","file0":"1395694182","file4":"1395694188","file5":"1395694189","file3":"1395694187"},"map_files_photo_id_array":[{"photo_id":"1395694189","filename":"file5"},{"photo_id":"1395694186","filename":"file2"},{"photo_id":"1395694188","filename":"file4"},{"photo_id":"1395694185","filename":"file1"},{"photo_id":"1395694182","filename":"file0"},{"photo_id":"1395694187","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694186":["hashtag1","hashtag2"]},{"1395694189":["hashtag1","hashtag2"]},{"1395694188":["hashtag1","hashtag2"]},{"1395694182":["hashtag1","hashtag2"]},{"1395694185":["hashtag1","hashtag2"]},{"1395694187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694186, 1395694189, 1395694188, 1395694182, 1395694185, 1395694187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8478581905365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:37:22.072615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_38_2791.jpg', '/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_40_2604.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_11_3620.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_13_2696.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_16_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_38_2791.jpg
/home/pi/Desktop/images/22112025/11/35/image_22112025_11_35_40_2604.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_07_3011.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_11_3620.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_13_2696.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_16_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694202","1395694207","1395694199","1395694193","1395694196","1395694205"],"photo_ids_order":["1395694193","1395694196","1395694199","1395694202","1395694205","1395694207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f68cb69ccfa33a9763afafb7943b5cb4.jpg","text":"TemporaryFile(/tmp/multipartBody8331630029540622096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807902794,"filename":"image_22112025_11_37_11_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0450ce7bfb68b7379acfdaf86136e19d.jpg","text":"TemporaryFile(/tmp/multipartBody1710401641800302991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807902794,"filename":"image_22112025_11_37_16_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19af0951c032e91d52ea16678d63cb8c.jpg","text":"TemporaryFile(/tmp/multipartBody4605148129259006364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807902794,"filename":"image_22112025_11_37_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f42f21297625afbef6e0f9055b4966fa.jpg","text":"TemporaryFile(/tmp/multipartBody7690624339273472632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807902794,"filename":"image_22112025_11_35_38_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/542d5013b680dfb02c40961f866f07f3.jpg","text":"TemporaryFile(/tmp/multipartBody150417603390200377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807902794,"filename":"image_22112025_11_35_40_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08861980a5602db76c678f04779ed518.jpg","text":"TemporaryFile(/tmp/multipartBody8087851037136796441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807902794,"filename":"image_22112025_11_37_13_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694199","file1":"1395694196","file0":"1395694193","file4":"1395694205","file5":"1395694207","file3":"1395694202"},"map_files_photo_id_array":[{"photo_id":"1395694207","filename":"file5"},{"photo_id":"1395694199","filename":"file2"},{"photo_id":"1395694205","filename":"file4"},{"photo_id":"1395694196","filename":"file1"},{"photo_id":"1395694193","filename":"file0"},{"photo_id":"1395694202","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694202":["hashtag1","hashtag2"]},{"1395694207":["hashtag1","hashtag2"]},{"1395694199":["hashtag1","hashtag2"]},{"1395694193":["hashtag1","hashtag2"]},{"1395694196":["hashtag1","hashtag2"]},{"1395694205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694202, 1395694207, 1395694199, 1395694193, 1395694196, 1395694205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.374796867370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:38:02.662848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_20_3638.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_22_2538.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_26_3598.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_28_2702.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_31_2584.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_35_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_20_3638.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_22_2538.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_26_3598.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_28_2702.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_31_2584.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_35_3610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.624014139175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:38:22.334048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_20_3638.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_22_2538.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_26_3598.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_28_2702.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_31_2584.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_35_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_20_3638.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_22_2538.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_26_3598.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_28_2702.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_31_2584.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_35_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694230","1395694224","1395694227","1395694221","1395694215","1395694218"],"photo_ids_order":["1395694215","1395694218","1395694221","1395694224","1395694227","1395694230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/333d88605a033f9655ca28de85fa9e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3965881872833451841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807963097,"filename":"image_22112025_11_37_35_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a82667f38826866682abe513b47e919b.jpg","text":"TemporaryFile(/tmp/multipartBody5990944584035051960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807963097,"filename":"image_22112025_11_37_28_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c10d8af7805e051af4cb9612b57d6da2.jpg","text":"TemporaryFile(/tmp/multipartBody6931440757513645731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807963097,"filename":"image_22112025_11_37_31_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4cc6b6fa216bf89f12ae6335dffa2a8.jpg","text":"TemporaryFile(/tmp/multipartBody689677876634427650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807963097,"filename":"image_22112025_11_37_26_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e7bc88a3e91121bb782ebe5ef86f093.jpg","text":"TemporaryFile(/tmp/multipartBody3208657634762262142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807963097,"filename":"image_22112025_11_37_20_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d7af88518c60b774713da0c78c0c8a5.jpg","text":"TemporaryFile(/tmp/multipartBody4529911886861611971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763807963097,"filename":"image_22112025_11_37_22_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694221","file1":"1395694218","file0":"1395694215","file4":"1395694227","file5":"1395694230","file3":"1395694224"},"map_files_photo_id_array":[{"photo_id":"1395694230","filename":"file5"},{"photo_id":"1395694221","filename":"file2"},{"photo_id":"1395694227","filename":"file4"},{"photo_id":"1395694218","filename":"file1"},{"photo_id":"1395694215","filename":"file0"},{"photo_id":"1395694224","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694230":["hashtag1","hashtag2"]},{"1395694224":["hashtag1","hashtag2"]},{"1395694227":["hashtag1","hashtag2"]},{"1395694221":["hashtag1","hashtag2"]},{"1395694215":["hashtag1","hashtag2"]},{"1395694218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694230, 1395694224, 1395694227, 1395694221, 1395694215, 1395694218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27321982383728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:39:03.264676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_37_2712.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_40_2663.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_44_3688.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_46_2719.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_49_2506.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_53_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_37_2712.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_40_2663.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_44_3688.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_46_2719.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_49_2506.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_53_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694234","1395694242","1395694236","1395694235","1395694238","1395694232"],"photo_ids_order":["1395694232","1395694234","1395694235","1395694236","1395694238","1395694242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a708332ebac978785d98f0f757e8ed7.jpg","text":"TemporaryFile(/tmp/multipartBody6729783179443083862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808004122,"filename":"image_22112025_11_37_40_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11a657da73438c6b948d4f7174b47076.jpg","text":"TemporaryFile(/tmp/multipartBody6175027091353625180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808004122,"filename":"image_22112025_11_37_53_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d89560ccd3df39ae41546872be091db.jpg","text":"TemporaryFile(/tmp/multipartBody5508845225013922377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808004122,"filename":"image_22112025_11_37_46_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6cbb649b130acf180584840f3bd2f607.jpg","text":"TemporaryFile(/tmp/multipartBody6974782827883674926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808004122,"filename":"image_22112025_11_37_44_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2753cce88d7d349e279a36aecf418c92.jpg","text":"TemporaryFile(/tmp/multipartBody2015118067791775100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808004122,"filename":"image_22112025_11_37_49_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5314d37321ae7e37d51e09eca0086249.jpg","text":"TemporaryFile(/tmp/multipartBody5360108355447308816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808004122,"filename":"image_22112025_11_37_37_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694235","file1":"1395694234","file0":"1395694232","file4":"1395694238","file5":"1395694242","file3":"1395694236"},"map_files_photo_id_array":[{"photo_id":"1395694242","filename":"file5"},{"photo_id":"1395694235","filename":"file2"},{"photo_id":"1395694238","filename":"file4"},{"photo_id":"1395694234","filename":"file1"},{"photo_id":"1395694232","filename":"file0"},{"photo_id":"1395694236","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694234":["hashtag1","hashtag2"]},{"1395694242":["hashtag1","hashtag2"]},{"1395694236":["hashtag1","hashtag2"]},{"1395694235":["hashtag1","hashtag2"]},{"1395694238":["hashtag1","hashtag2"]},{"1395694232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694234, 1395694242, 1395694236, 1395694235, 1395694238, 1395694232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11954140663147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:39:42.450813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_55_2647.jpg', '/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_58_2804.jpg', '/home/pi/Desktop/images/22112025/11/38/image_22112025_11_38_02_3552.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_07_3017.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_10_3624.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_13_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_55_2647.jpg
/home/pi/Desktop/images/22112025/11/37/image_22112025_11_37_58_2804.jpg
/home/pi/Desktop/images/22112025/11/38/image_22112025_11_38_02_3552.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_07_3017.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_10_3624.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_13_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694252","1395694255","1395694251","1395694254","1395694253","1395694256"],"photo_ids_order":["1395694251","1395694252","1395694253","1395694254","1395694255","1395694256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/739e7d2d7045b8372886bdd1e472e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody7267078815522940763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808043131,"filename":"image_22112025_11_37_58_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e3c6c0c3063433f4abf88d0f5850497.jpg","text":"TemporaryFile(/tmp/multipartBody259427047909412487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808043131,"filename":"image_22112025_11_39_10_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/393724d8219ddb54254cb6ac4e8528fe.jpg","text":"TemporaryFile(/tmp/multipartBody4699264445473498844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808043131,"filename":"image_22112025_11_37_55_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9aedd656ed32481173d9c13c158da327.jpg","text":"TemporaryFile(/tmp/multipartBody5126600545607049235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808043131,"filename":"image_22112025_11_39_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c5621dc0cfee60f538ac522d73c4684.jpg","text":"TemporaryFile(/tmp/multipartBody6220517495108324271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808043131,"filename":"image_22112025_11_38_02_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bb7d941b66742c4e3f173a4b235dd62.jpg","text":"TemporaryFile(/tmp/multipartBody6021642254354454766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808043131,"filename":"image_22112025_11_39_13_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694253","file1":"1395694252","file0":"1395694251","file4":"1395694255","file5":"1395694256","file3":"1395694254"},"map_files_photo_id_array":[{"photo_id":"1395694256","filename":"file5"},{"photo_id":"1395694253","filename":"file2"},{"photo_id":"1395694255","filename":"file4"},{"photo_id":"1395694252","filename":"file1"},{"photo_id":"1395694251","filename":"file0"},{"photo_id":"1395694254","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694252":["hashtag1","hashtag2"]},{"1395694255":["hashtag1","hashtag2"]},{"1395694251":["hashtag1","hashtag2"]},{"1395694254":["hashtag1","hashtag2"]},{"1395694253":["hashtag1","hashtag2"]},{"1395694256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694252, 1395694255, 1395694251, 1395694254, 1395694253, 1395694256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75031280517578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:40:22.771257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_16_2648.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_20_3686.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_22_2664.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_26_3538.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_28_2697.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_31_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_16_2648.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_20_3686.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_22_2664.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_26_3538.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_28_2697.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_31_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694270","1395694273","1395694278","1395694266","1395694262","1395694259"],"photo_ids_order":["1395694259","1395694262","1395694266","1395694270","1395694273","1395694278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb358106b4322488d044970a60c3cd63.jpg","text":"TemporaryFile(/tmp/multipartBody6583523810668147540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808083484,"filename":"image_22112025_11_39_26_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c95ec2589415f5c46c38de873f6ac4b0.jpg","text":"TemporaryFile(/tmp/multipartBody8253190286336768605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808083484,"filename":"image_22112025_11_39_28_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c75167ed283097a380fdd5ae8d35a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody2209275004205796737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808083484,"filename":"image_22112025_11_39_31_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/470a93891de76320b08da223c387f506.jpg","text":"TemporaryFile(/tmp/multipartBody3965016712533675855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808083484,"filename":"image_22112025_11_39_22_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8445825ee06c9c1b5420bcf323119e8.jpg","text":"TemporaryFile(/tmp/multipartBody1144530668448564030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808083484,"filename":"image_22112025_11_39_20_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39ac8a7ac49c2da45b5220c2bed4fe16.jpg","text":"TemporaryFile(/tmp/multipartBody8201842883315809777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808083484,"filename":"image_22112025_11_39_16_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694266","file1":"1395694262","file0":"1395694259","file4":"1395694273","file5":"1395694278","file3":"1395694270"},"map_files_photo_id_array":[{"photo_id":"1395694278","filename":"file5"},{"photo_id":"1395694266","filename":"file2"},{"photo_id":"1395694273","filename":"file4"},{"photo_id":"1395694262","filename":"file1"},{"photo_id":"1395694259","filename":"file0"},{"photo_id":"1395694270","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694270":["hashtag1","hashtag2"]},{"1395694273":["hashtag1","hashtag2"]},{"1395694278":["hashtag1","hashtag2"]},{"1395694266":["hashtag1","hashtag2"]},{"1395694262":["hashtag1","hashtag2"]},{"1395694259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694270, 1395694273, 1395694278, 1395694266, 1395694262, 1395694259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55968260765076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:41:02.640766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_35_3649.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_38_2795.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_40_2592.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_43_2824.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_47_4184.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_49_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_35_3649.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_38_2795.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_40_2592.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_43_2824.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_47_4184.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_49_1701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694285","1395694287","1395694290","1395694284","1395694283","1395694282"],"photo_ids_order":["1395694282","1395694283","1395694284","1395694285","1395694287","1395694290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ee94883ece4c38baa8f888b456eba14.jpg","text":"TemporaryFile(/tmp/multipartBody5409864589221989379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808123408,"filename":"image_22112025_11_39_43_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df31600ce196a29c69140ac224790dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5153053230487623380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808123408,"filename":"image_22112025_11_39_47_4184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cfb44d49d6f89bf0518d7bc3c606148.jpg","text":"TemporaryFile(/tmp/multipartBody7662554022150777005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808123408,"filename":"image_22112025_11_39_49_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10539f5fbc4dc24cbc31fad193b2ebd6.jpg","text":"TemporaryFile(/tmp/multipartBody7528688167123353834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808123408,"filename":"image_22112025_11_39_40_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e58bdf74e36f8a13b3c8d9b4f013e736.jpg","text":"TemporaryFile(/tmp/multipartBody7842213579924002810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808123408,"filename":"image_22112025_11_39_38_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1564ac57058b73b9ad3cda5ec5d0aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5907117801948599749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808123408,"filename":"image_22112025_11_39_35_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694284","file1":"1395694283","file0":"1395694282","file4":"1395694287","file5":"1395694290","file3":"1395694285"},"map_files_photo_id_array":[{"photo_id":"1395694290","filename":"file5"},{"photo_id":"1395694284","filename":"file2"},{"photo_id":"1395694287","filename":"file4"},{"photo_id":"1395694283","filename":"file1"},{"photo_id":"1395694282","filename":"file0"},{"photo_id":"1395694285","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694285":["hashtag1","hashtag2"]},{"1395694287":["hashtag1","hashtag2"]},{"1395694290":["hashtag1","hashtag2"]},{"1395694284":["hashtag1","hashtag2"]},{"1395694283":["hashtag1","hashtag2"]},{"1395694282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694285, 1395694287, 1395694290, 1395694284, 1395694283, 1395694282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75367593765259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:41:41.928289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_53_3799.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_55_2702.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_58_2605.jpg', '/home/pi/Desktop/images/22112025/11/40/image_22112025_11_40_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_07_3018.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_11_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_53_3799.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_55_2702.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_58_2605.jpg
/home/pi/Desktop/images/22112025/11/40/image_22112025_11_40_07_3011.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_07_3018.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_11_3664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5920219421386719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:42:02.596119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_53_3799.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_55_2702.jpg', '/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_58_2605.jpg', '/home/pi/Desktop/images/22112025/11/40/image_22112025_11_40_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_07_3018.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_11_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_53_3799.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_55_2702.jpg
/home/pi/Desktop/images/22112025/11/39/image_22112025_11_39_58_2605.jpg
/home/pi/Desktop/images/22112025/11/40/image_22112025_11_40_07_3011.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_07_3018.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_11_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694318","1395694323","1395694320","1395694317","1395694316","1395694307"],"photo_ids_order":["1395694307","1395694316","1395694317","1395694318","1395694320","1395694323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/590263f6d91edaf3966f84cf18d16126.jpg","text":"TemporaryFile(/tmp/multipartBody8580284836866996979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808183323,"filename":"image_22112025_11_40_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48bbae0d341fec265239ae9c766c0c09.jpg","text":"TemporaryFile(/tmp/multipartBody5802814675511092895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808183323,"filename":"image_22112025_11_41_11_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8fc1ac14468b74d0ba43b014a062172.jpg","text":"TemporaryFile(/tmp/multipartBody1094834480416668939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808183323,"filename":"image_22112025_11_41_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ec7579afa4a3c3c25e1edd4fd14b9b9.jpg","text":"TemporaryFile(/tmp/multipartBody1461908937843325364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808183323,"filename":"image_22112025_11_39_58_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a2e15c22bf94d9ac0d2b586dee245b4.jpg","text":"TemporaryFile(/tmp/multipartBody8198632154345617179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808183323,"filename":"image_22112025_11_39_55_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df5f281af08c2b575992fd7ace190ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8803043100198871256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808183323,"filename":"image_22112025_11_39_53_3799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694317","file1":"1395694316","file0":"1395694307","file4":"1395694320","file5":"1395694323","file3":"1395694318"},"map_files_photo_id_array":[{"photo_id":"1395694323","filename":"file5"},{"photo_id":"1395694317","filename":"file2"},{"photo_id":"1395694320","filename":"file4"},{"photo_id":"1395694316","filename":"file1"},{"photo_id":"1395694307","filename":"file0"},{"photo_id":"1395694318","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694318":["hashtag1","hashtag2"]},{"1395694323":["hashtag1","hashtag2"]},{"1395694320":["hashtag1","hashtag2"]},{"1395694317":["hashtag1","hashtag2"]},{"1395694316":["hashtag1","hashtag2"]},{"1395694307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694318, 1395694323, 1395694320, 1395694317, 1395694316, 1395694307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.323012828826904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:42:42.196179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_13_2624.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_16_2887.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_19_2811.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_23_3642.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_25_2653.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_28_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_13_2624.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_16_2887.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_19_2811.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_23_3642.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_25_2653.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_28_2806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694339","1395694336","1395694338","1395694332","1395694334","1395694337"],"photo_ids_order":["1395694332","1395694334","1395694336","1395694337","1395694338","1395694339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a46f3a9e1d11ebf54fb1b6f77eaa96b.jpg","text":"TemporaryFile(/tmp/multipartBody1346568833774775130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808222883,"filename":"image_22112025_11_41_28_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ad4fc837f12ac8b95dc99c31c3f9f52.jpg","text":"TemporaryFile(/tmp/multipartBody2096378894154235162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808222883,"filename":"image_22112025_11_41_19_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3ddf5681d269cfab616945d4b08c797.jpg","text":"TemporaryFile(/tmp/multipartBody4163207808113632861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808222883,"filename":"image_22112025_11_41_25_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d6e65069535327de001a33d78f23861.jpg","text":"TemporaryFile(/tmp/multipartBody3280116024143605897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808222883,"filename":"image_22112025_11_41_13_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c347947f617f6759c5cf2352403a756.jpg","text":"TemporaryFile(/tmp/multipartBody2467715844732845739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808222883,"filename":"image_22112025_11_41_16_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b40005189bef0a5fff081bf8725cb9e.jpg","text":"TemporaryFile(/tmp/multipartBody2465607764834039167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808222883,"filename":"image_22112025_11_41_23_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694336","file1":"1395694334","file0":"1395694332","file4":"1395694338","file5":"1395694339","file3":"1395694337"},"map_files_photo_id_array":[{"photo_id":"1395694339","filename":"file5"},{"photo_id":"1395694336","filename":"file2"},{"photo_id":"1395694338","filename":"file4"},{"photo_id":"1395694334","filename":"file1"},{"photo_id":"1395694332","filename":"file0"},{"photo_id":"1395694337","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694339":["hashtag1","hashtag2"]},{"1395694336":["hashtag1","hashtag2"]},{"1395694338":["hashtag1","hashtag2"]},{"1395694332":["hashtag1","hashtag2"]},{"1395694334":["hashtag1","hashtag2"]},{"1395694337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694339, 1395694336, 1395694338, 1395694332, 1395694334, 1395694337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.242770195007324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:43:22.704135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_32_3642.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_34_2642.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_37_2577.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_41_3774.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_43_2603.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_46_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_32_3642.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_34_2642.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_37_2577.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_41_3774.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_43_2603.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_46_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694357","1395694351","1395694345","1395694354","1395694348","1395694359"],"photo_ids_order":["1395694345","1395694348","1395694351","1395694354","1395694357","1395694359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/942cc60fbd1c45c81e68eb752a90b8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3258244874474525102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808263418,"filename":"image_22112025_11_41_43_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec94dacbe16733d4b7b805a1ec1cabc0.jpg","text":"TemporaryFile(/tmp/multipartBody57472481435484364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808263418,"filename":"image_22112025_11_41_37_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c03282ca9ee96c6020d8192e2195b4ac.jpg","text":"TemporaryFile(/tmp/multipartBody1327607132427675504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808263418,"filename":"image_22112025_11_41_32_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c286379bf3dff865340f431b79f5a37d.jpg","text":"TemporaryFile(/tmp/multipartBody8020421641760662789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808263418,"filename":"image_22112025_11_41_41_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63bf7c6c597142838f2933eeecb54746.jpg","text":"TemporaryFile(/tmp/multipartBody5442943980771059591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808263418,"filename":"image_22112025_11_41_34_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/996e6a6b8aec324fed9fd8ff0b1e9dd8.jpg","text":"TemporaryFile(/tmp/multipartBody6676771382211149858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808263418,"filename":"image_22112025_11_41_46_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694351","file1":"1395694348","file0":"1395694345","file4":"1395694357","file5":"1395694359","file3":"1395694354"},"map_files_photo_id_array":[{"photo_id":"1395694359","filename":"file5"},{"photo_id":"1395694351","filename":"file2"},{"photo_id":"1395694357","filename":"file4"},{"photo_id":"1395694348","filename":"file1"},{"photo_id":"1395694345","filename":"file0"},{"photo_id":"1395694354","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694357":["hashtag1","hashtag2"]},{"1395694351":["hashtag1","hashtag2"]},{"1395694345":["hashtag1","hashtag2"]},{"1395694354":["hashtag1","hashtag2"]},{"1395694348":["hashtag1","hashtag2"]},{"1395694359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694357, 1395694351, 1395694345, 1395694354, 1395694348, 1395694359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56505060195923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:44:02.738692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_50_3679.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_52_2566.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_55_2722.jpg', '/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_59_3730.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_10_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_50_3679.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_52_2566.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_55_2722.jpg
/home/pi/Desktop/images/22112025/11/41/image_22112025_11_41_59_3730.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_07_3011.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_10_3536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694363","1395694366","1395694369","1395694360","1395694364","1395694361"],"photo_ids_order":["1395694360","1395694361","1395694363","1395694364","1395694366","1395694369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6deb4661772755da3d4c57667b91dfee.jpg","text":"TemporaryFile(/tmp/multipartBody6525899302564123307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808303521,"filename":"image_22112025_11_41_55_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2ee461b16404b2742bdfd9e3e17cf52.jpg","text":"TemporaryFile(/tmp/multipartBody485358148739686368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808303521,"filename":"image_22112025_11_43_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a96ffab747288e57a3b639c97d3b4100.jpg","text":"TemporaryFile(/tmp/multipartBody8116822565557969465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808303521,"filename":"image_22112025_11_43_10_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edbb6b71d0745fffbec91624b96eeec0.jpg","text":"TemporaryFile(/tmp/multipartBody2248526672260792229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808303521,"filename":"image_22112025_11_41_50_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcfcb85be7d8368c9e07c94a8aa2602f.jpg","text":"TemporaryFile(/tmp/multipartBody8487890328222149598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808303521,"filename":"image_22112025_11_41_59_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bd69586deabca968abae85919f6ba92.jpg","text":"TemporaryFile(/tmp/multipartBody8871297858790137546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808303521,"filename":"image_22112025_11_41_52_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694363","file1":"1395694361","file0":"1395694360","file4":"1395694366","file5":"1395694369","file3":"1395694364"},"map_files_photo_id_array":[{"photo_id":"1395694369","filename":"file5"},{"photo_id":"1395694363","filename":"file2"},{"photo_id":"1395694366","filename":"file4"},{"photo_id":"1395694361","filename":"file1"},{"photo_id":"1395694360","filename":"file0"},{"photo_id":"1395694364","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694363":["hashtag1","hashtag2"]},{"1395694366":["hashtag1","hashtag2"]},{"1395694369":["hashtag1","hashtag2"]},{"1395694360":["hashtag1","hashtag2"]},{"1395694364":["hashtag1","hashtag2"]},{"1395694361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694363, 1395694366, 1395694369, 1395694360, 1395694364, 1395694361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.781277894973755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:44:42.095046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_13_2535.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_16_3609.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_19_2696.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_22_3568.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_25_2619.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_28_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_13_2535.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_16_3609.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_19_2696.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_22_3568.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_25_2619.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_28_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694384","1395694386","1395694380","1395694383","1395694385","1395694388"],"photo_ids_order":["1395694380","1395694383","1395694384","1395694385","1395694386","1395694388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf5401a70f249928eda36f81f9734fff.jpg","text":"TemporaryFile(/tmp/multipartBody7673197381120385365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808342782,"filename":"image_22112025_11_43_19_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74e5cd03f854073df0333b934cd2215e.jpg","text":"TemporaryFile(/tmp/multipartBody627535340946334724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808342782,"filename":"image_22112025_11_43_25_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af0b636528628a38c18e59343bfc0fcc.jpg","text":"TemporaryFile(/tmp/multipartBody8772664292985334629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808342782,"filename":"image_22112025_11_43_13_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a72db661935c7d06445bb40d5ccd21ea.jpg","text":"TemporaryFile(/tmp/multipartBody1456552255268884722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808342782,"filename":"image_22112025_11_43_16_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a6ef3d1d931d35d8bfd76d008c90bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3320407597111748196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808342782,"filename":"image_22112025_11_43_22_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cae4bace280e50640f21b2ccced6f13d.jpg","text":"TemporaryFile(/tmp/multipartBody7001291261743748761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808342782,"filename":"image_22112025_11_43_28_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694384","file1":"1395694383","file0":"1395694380","file4":"1395694386","file5":"1395694388","file3":"1395694385"},"map_files_photo_id_array":[{"photo_id":"1395694388","filename":"file5"},{"photo_id":"1395694384","filename":"file2"},{"photo_id":"1395694386","filename":"file4"},{"photo_id":"1395694383","filename":"file1"},{"photo_id":"1395694380","filename":"file0"},{"photo_id":"1395694385","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694384":["hashtag1","hashtag2"]},{"1395694386":["hashtag1","hashtag2"]},{"1395694380":["hashtag1","hashtag2"]},{"1395694383":["hashtag1","hashtag2"]},{"1395694385":["hashtag1","hashtag2"]},{"1395694388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694384, 1395694386, 1395694380, 1395694383, 1395694385, 1395694388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16078019142151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:45:22.337402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_31_2888.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_34_3636.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_37_2639.jpg', '/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_40_2606.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_07_3012.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_10_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_31_2888.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_34_3636.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_37_2639.jpg
/home/pi/Desktop/images/22112025/11/43/image_22112025_11_43_40_2606.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_07_3012.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_10_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694402","1395694405","1395694397","1395694391","1395694394","1395694400"],"photo_ids_order":["1395694391","1395694394","1395694397","1395694400","1395694402","1395694405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21dfdc5ef9b77b82fb4d25d6b58388b6.jpg","text":"TemporaryFile(/tmp/multipartBody6489072025537906836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808383057,"filename":"image_22112025_11_45_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6fd0096413f3fe73d0925500cc4612b.jpg","text":"TemporaryFile(/tmp/multipartBody1089921402231859648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808383057,"filename":"image_22112025_11_45_10_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bd235d7fa94303e60dd94d8128ccb23.jpg","text":"TemporaryFile(/tmp/multipartBody842356337626976254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808383057,"filename":"image_22112025_11_43_37_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1fa3ec9f49d76067c1c8b745f45bcab.jpg","text":"TemporaryFile(/tmp/multipartBody8566018362492822038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808383057,"filename":"image_22112025_11_43_31_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b3f00cc9af84ef0a0388a5e8e80e691.jpg","text":"TemporaryFile(/tmp/multipartBody6524404161056449981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808383057,"filename":"image_22112025_11_43_34_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2132b5cc9e72a259c71e5e86cd87d1c8.jpg","text":"TemporaryFile(/tmp/multipartBody7627187924811935305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808383057,"filename":"image_22112025_11_43_40_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694397","file1":"1395694394","file0":"1395694391","file4":"1395694402","file5":"1395694405","file3":"1395694400"},"map_files_photo_id_array":[{"photo_id":"1395694405","filename":"file5"},{"photo_id":"1395694397","filename":"file2"},{"photo_id":"1395694402","filename":"file4"},{"photo_id":"1395694394","filename":"file1"},{"photo_id":"1395694391","filename":"file0"},{"photo_id":"1395694400","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694402":["hashtag1","hashtag2"]},{"1395694405":["hashtag1","hashtag2"]},{"1395694397":["hashtag1","hashtag2"]},{"1395694391":["hashtag1","hashtag2"]},{"1395694394":["hashtag1","hashtag2"]},{"1395694400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694402, 1395694405, 1395694397, 1395694391, 1395694394, 1395694400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00700116157532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:46:03.032781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_13_2570.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_17_3775.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_19_2555.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_22_2647.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_25_3564.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_28_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_13_2570.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_17_3775.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_19_2555.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_22_2647.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_25_3564.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_28_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694411","1395694414","1395694408","1395694407","1395694409","1395694406"],"photo_ids_order":["1395694406","1395694407","1395694408","1395694409","1395694411","1395694414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5813a18f25514d700ab49a10dc8dab35.jpg","text":"TemporaryFile(/tmp/multipartBody363064060942124268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808423754,"filename":"image_22112025_11_45_25_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2887bbbd325b5e56134ebf42b034a12c.jpg","text":"TemporaryFile(/tmp/multipartBody6956687912412089383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808423754,"filename":"image_22112025_11_45_28_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c616f417c7f5d24568c176aa3408aad.jpg","text":"TemporaryFile(/tmp/multipartBody2455759748038517691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808423754,"filename":"image_22112025_11_45_19_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c72d6c249f44058b1dc709004dfb0c8.jpg","text":"TemporaryFile(/tmp/multipartBody3976743078307918876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808423754,"filename":"image_22112025_11_45_17_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a13bcb23d8efe700c7cbb32cb608202.jpg","text":"TemporaryFile(/tmp/multipartBody7511519052448982650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808423754,"filename":"image_22112025_11_45_22_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10947ffcef52089d6663b72dd3b47a18.jpg","text":"TemporaryFile(/tmp/multipartBody4917559140142515858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808423754,"filename":"image_22112025_11_45_13_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694408","file1":"1395694407","file0":"1395694406","file4":"1395694411","file5":"1395694414","file3":"1395694409"},"map_files_photo_id_array":[{"photo_id":"1395694414","filename":"file5"},{"photo_id":"1395694408","filename":"file2"},{"photo_id":"1395694411","filename":"file4"},{"photo_id":"1395694407","filename":"file1"},{"photo_id":"1395694406","filename":"file0"},{"photo_id":"1395694409","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694411":["hashtag1","hashtag2"]},{"1395694414":["hashtag1","hashtag2"]},{"1395694408":["hashtag1","hashtag2"]},{"1395694407":["hashtag1","hashtag2"]},{"1395694409":["hashtag1","hashtag2"]},{"1395694406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694411, 1395694414, 1395694408, 1395694407, 1395694409, 1395694406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81769871711731 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:47:03.070059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_31_2738.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_34_3526.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_37_2783.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_40_2782.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_43_3593.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_46_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_31_2738.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_34_3526.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_37_2783.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_40_2782.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_43_3593.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_46_2509.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694462","1395694456","1395694459","1395694455","1395694448","1395694457"],"photo_ids_order":["1395694448","1395694455","1395694456","1395694457","1395694459","1395694462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21105506a023eb4d2e92c3e5cc3390b1.jpg","text":"TemporaryFile(/tmp/multipartBody5871179543135904722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808483875,"filename":"image_22112025_11_45_46_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f8e20d093195433a49f4b37cd8dbd3c.jpg","text":"TemporaryFile(/tmp/multipartBody941544941000662972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808483875,"filename":"image_22112025_11_45_37_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3ccd33c30c9d8f0fa55c49ee29fc85b.jpg","text":"TemporaryFile(/tmp/multipartBody1207915432821476704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808483875,"filename":"image_22112025_11_45_43_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f8bcb2a6ddf57616ec8f32dafd9b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody2573085510844895641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808483875,"filename":"image_22112025_11_45_34_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a160f02667f60d48576a951de1e6290.jpg","text":"TemporaryFile(/tmp/multipartBody6992113691245535828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808483875,"filename":"image_22112025_11_45_31_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd2a5b321c2d59cd6796e21496772cd7.jpg","text":"TemporaryFile(/tmp/multipartBody5681687703080613123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808483875,"filename":"image_22112025_11_45_40_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694456","file1":"1395694455","file0":"1395694448","file4":"1395694459","file5":"1395694462","file3":"1395694457"},"map_files_photo_id_array":[{"photo_id":"1395694462","filename":"file5"},{"photo_id":"1395694456","filename":"file2"},{"photo_id":"1395694459","filename":"file4"},{"photo_id":"1395694455","filename":"file1"},{"photo_id":"1395694448","filename":"file0"},{"photo_id":"1395694457","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694462":["hashtag1","hashtag2"]},{"1395694456":["hashtag1","hashtag2"]},{"1395694459":["hashtag1","hashtag2"]},{"1395694455":["hashtag1","hashtag2"]},{"1395694448":["hashtag1","hashtag2"]},{"1395694457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694462, 1395694456, 1395694459, 1395694455, 1395694448, 1395694457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16743803024292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:47:42.342897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_50_3613.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_52_2761.jpg', '/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_55_2825.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_11_3695.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_13_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_50_3613.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_52_2761.jpg
/home/pi/Desktop/images/22112025/11/45/image_22112025_11_45_55_2825.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_07_3011.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_11_3695.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_13_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694477","1395694471","1395694476","1395694481","1395694475","1395694474"],"photo_ids_order":["1395694471","1395694474","1395694475","1395694476","1395694477","1395694481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17a0b2e5933938f64c0bfe64f7034280.jpg","text":"TemporaryFile(/tmp/multipartBody7717846857338765586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808523034,"filename":"image_22112025_11_47_11_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bf0134de5e0b37adc9626d5c87293c1.jpg","text":"TemporaryFile(/tmp/multipartBody8623221696249375951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808523034,"filename":"image_22112025_11_45_50_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71f290d4bfcba0be5be46f71e4d819d2.jpg","text":"TemporaryFile(/tmp/multipartBody1828664579149269929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808523034,"filename":"image_22112025_11_47_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70fff4c463ca224362dbcbe3ba14ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody4449688112082400441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808523034,"filename":"image_22112025_11_47_13_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2731b19089196604b32242ec0809a99e.jpg","text":"TemporaryFile(/tmp/multipartBody8271118615825885304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808523034,"filename":"image_22112025_11_45_55_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb2a3a2aca0c8f73a385b680ab46a06c.jpg","text":"TemporaryFile(/tmp/multipartBody6565732049902784682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808523034,"filename":"image_22112025_11_45_52_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694475","file1":"1395694474","file0":"1395694471","file4":"1395694477","file5":"1395694481","file3":"1395694476"},"map_files_photo_id_array":[{"photo_id":"1395694481","filename":"file5"},{"photo_id":"1395694475","filename":"file2"},{"photo_id":"1395694477","filename":"file4"},{"photo_id":"1395694474","filename":"file1"},{"photo_id":"1395694471","filename":"file0"},{"photo_id":"1395694476","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694477":["hashtag1","hashtag2"]},{"1395694471":["hashtag1","hashtag2"]},{"1395694476":["hashtag1","hashtag2"]},{"1395694481":["hashtag1","hashtag2"]},{"1395694475":["hashtag1","hashtag2"]},{"1395694474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694477, 1395694471, 1395694476, 1395694481, 1395694475, 1395694474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.841885805130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:48:22.597663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_16_2798.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_20_3630.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_22_2626.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_25_2554.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_42_17248.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_44_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_16_2798.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_20_3630.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_22_2626.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_25_2554.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_42_17248.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_44_1624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694497","1395694491","1395694494","1395694503","1395694506","1395694500"],"photo_ids_order":["1395694491","1395694494","1395694497","1395694500","1395694503","1395694506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b22db8f8fcde93a3a1d499dd5101c10.jpg","text":"TemporaryFile(/tmp/multipartBody7595926529850619880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808563327,"filename":"image_22112025_11_47_22_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/359d7e2e3d6bb5c2c34a9de0754ffbdd.jpg","text":"TemporaryFile(/tmp/multipartBody621243092284122487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808563327,"filename":"image_22112025_11_47_16_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24219e03872d02d074190c58a7ce1236.jpg","text":"TemporaryFile(/tmp/multipartBody456356939172173564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808563327,"filename":"image_22112025_11_47_20_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5834f02a6ae25e01c849a77c5d8bbec2.jpg","text":"TemporaryFile(/tmp/multipartBody7669272278258006511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808563327,"filename":"image_22112025_11_47_42_17248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57a9bd40119ac3052f3c32cb6d83f968.jpg","text":"TemporaryFile(/tmp/multipartBody1882544682983388892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808563327,"filename":"image_22112025_11_47_44_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/120faecc3b20ae1d8510cf1b0353f156.jpg","text":"TemporaryFile(/tmp/multipartBody4420012603379895945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808563327,"filename":"image_22112025_11_47_25_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694497","file1":"1395694494","file0":"1395694491","file4":"1395694503","file5":"1395694506","file3":"1395694500"},"map_files_photo_id_array":[{"photo_id":"1395694506","filename":"file5"},{"photo_id":"1395694497","filename":"file2"},{"photo_id":"1395694503","filename":"file4"},{"photo_id":"1395694494","filename":"file1"},{"photo_id":"1395694491","filename":"file0"},{"photo_id":"1395694500","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694497":["hashtag1","hashtag2"]},{"1395694491":["hashtag1","hashtag2"]},{"1395694494":["hashtag1","hashtag2"]},{"1395694503":["hashtag1","hashtag2"]},{"1395694506":["hashtag1","hashtag2"]},{"1395694500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694497, 1395694491, 1395694494, 1395694503, 1395694506, 1395694500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.438528060913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:49:02.780101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_46_1679.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_47_1621.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_49_1600.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_50_1569.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_52_1520.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_53_1541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_46_1679.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_47_1621.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_49_1600.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_50_1569.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_52_1520.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_53_1541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694519","1395694513","1395694522","1395694515","1395694512","1395694514"],"photo_ids_order":["1395694512","1395694513","1395694514","1395694515","1395694519","1395694522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39caa0eb1a7265d77162e8026a6cb82e.jpg","text":"TemporaryFile(/tmp/multipartBody5518561279398981856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808603644,"filename":"image_22112025_11_47_52_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b193ab5645237da863ae1b7ca4bac85.jpg","text":"TemporaryFile(/tmp/multipartBody1129927005359767210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808603644,"filename":"image_22112025_11_47_47_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fdf53f4b752a0089481e6947359a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody2633760434946537016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808603644,"filename":"image_22112025_11_47_53_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/335e330607592e70c8fbe41ac379278c.jpg","text":"TemporaryFile(/tmp/multipartBody4545667553174045001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808603644,"filename":"image_22112025_11_47_50_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11932f0247e4c80597764f00bef32eb3.jpg","text":"TemporaryFile(/tmp/multipartBody664762774893837953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808603644,"filename":"image_22112025_11_47_46_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d627d740779f41181ddc4fdb122b600a.jpg","text":"TemporaryFile(/tmp/multipartBody7113091617928103945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808603644,"filename":"image_22112025_11_47_49_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694514","file1":"1395694513","file0":"1395694512","file4":"1395694519","file5":"1395694522","file3":"1395694515"},"map_files_photo_id_array":[{"photo_id":"1395694522","filename":"file5"},{"photo_id":"1395694514","filename":"file2"},{"photo_id":"1395694519","filename":"file4"},{"photo_id":"1395694513","filename":"file1"},{"photo_id":"1395694512","filename":"file0"},{"photo_id":"1395694515","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694519":["hashtag1","hashtag2"]},{"1395694513":["hashtag1","hashtag2"]},{"1395694522":["hashtag1","hashtag2"]},{"1395694515":["hashtag1","hashtag2"]},{"1395694512":["hashtag1","hashtag2"]},{"1395694514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694519, 1395694513, 1395694522, 1395694515, 1395694512, 1395694514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80756711959839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:49:41.862483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_55_1684.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_57_1606.jpg', '/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_58_1632.jpg', '/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_07_3011.jpg', '/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_10_3664.jpg', '/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_13_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_55_1684.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_57_1606.jpg
/home/pi/Desktop/images/22112025/11/47/image_22112025_11_47_58_1632.jpg
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_07_3011.jpg
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_10_3664.jpg
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_13_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694531","1395694534","1395694533","1395694536","1395694532","1395694529"],"photo_ids_order":["1395694529","1395694531","1395694532","1395694533","1395694534","1395694536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f20cbe17b85492c4f84a86813c55c2d.jpg","text":"TemporaryFile(/tmp/multipartBody304007385439706924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808642555,"filename":"image_22112025_11_47_57_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd85bd462ce02ec49c57249342739717.jpg","text":"TemporaryFile(/tmp/multipartBody8446892603950232441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808642555,"filename":"image_22112025_11_49_10_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7b32fee6b6b04fac2eefb79de533872.jpg","text":"TemporaryFile(/tmp/multipartBody4443373063938631934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808642555,"filename":"image_22112025_11_49_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/930f3a0d3cfd1b2ec9ad4bfe5ac98a45.jpg","text":"TemporaryFile(/tmp/multipartBody4501287090406835846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808642555,"filename":"image_22112025_11_49_13_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13fd7ddf2b5a8e783ac1dce430729d85.jpg","text":"TemporaryFile(/tmp/multipartBody2728062357271556927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808642555,"filename":"image_22112025_11_47_58_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/024b1df606dbab1c55ac29767dd12301.jpg","text":"TemporaryFile(/tmp/multipartBody554902938668938869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808642555,"filename":"image_22112025_11_47_55_1684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694532","file1":"1395694531","file0":"1395694529","file4":"1395694534","file5":"1395694536","file3":"1395694533"},"map_files_photo_id_array":[{"photo_id":"1395694536","filename":"file5"},{"photo_id":"1395694532","filename":"file2"},{"photo_id":"1395694534","filename":"file4"},{"photo_id":"1395694531","filename":"file1"},{"photo_id":"1395694529","filename":"file0"},{"photo_id":"1395694533","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694531":["hashtag1","hashtag2"]},{"1395694534":["hashtag1","hashtag2"]},{"1395694533":["hashtag1","hashtag2"]},{"1395694536":["hashtag1","hashtag2"]},{"1395694532":["hashtag1","hashtag2"]},{"1395694529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694531, 1395694534, 1395694533, 1395694536, 1395694532, 1395694529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43017339706421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:50:22.045701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_17_3616.jpg', '/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_19_2814.jpg', '/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_22_2748.jpg', '/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_31_2435.jpg', '/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_35_3602.jpg', '/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_37_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_17_3616.jpg
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_19_2814.jpg
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_22_2748.jpg
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_31_2435.jpg
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_35_3602.jpg
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_37_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694540","1395694551","1395694554","1395694548","1395694542","1395694545"],"photo_ids_order":["1395694540","1395694542","1395694545","1395694548","1395694551","1395694554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79c07f7860aafa53796a3b447be709fa.jpg","text":"TemporaryFile(/tmp/multipartBody5272787574999179998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808682725,"filename":"image_22112025_11_49_17_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50efb5ec30c45037d9623e7b78639602.jpg","text":"TemporaryFile(/tmp/multipartBody1238125036978673667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808682725,"filename":"image_22112025_11_49_35_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bdefc19f7e94b2c5a374b916e4f893c.jpg","text":"TemporaryFile(/tmp/multipartBody6781535833586938586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808682725,"filename":"image_22112025_11_49_37_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f04b5072e41d2ddc151f16f49e63a63.jpg","text":"TemporaryFile(/tmp/multipartBody5497585270237193142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808682725,"filename":"image_22112025_11_49_31_2435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4beb6ee2963e73b473aa2c6444ab4bde.jpg","text":"TemporaryFile(/tmp/multipartBody2253219943758170612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808682725,"filename":"image_22112025_11_49_19_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b5932c9bb9e4b2c60c514ffe05612e8.jpg","text":"TemporaryFile(/tmp/multipartBody2499320683643675069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808682725,"filename":"image_22112025_11_49_22_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694545","file1":"1395694542","file0":"1395694540","file4":"1395694551","file5":"1395694554","file3":"1395694548"},"map_files_photo_id_array":[{"photo_id":"1395694554","filename":"file5"},{"photo_id":"1395694545","filename":"file2"},{"photo_id":"1395694551","filename":"file4"},{"photo_id":"1395694542","filename":"file1"},{"photo_id":"1395694540","filename":"file0"},{"photo_id":"1395694548","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694540":["hashtag1","hashtag2"]},{"1395694551":["hashtag1","hashtag2"]},{"1395694554":["hashtag1","hashtag2"]},{"1395694548":["hashtag1","hashtag2"]},{"1395694542":["hashtag1","hashtag2"]},{"1395694545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694540, 1395694551, 1395694554, 1395694548, 1395694542, 1395694545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1053204536438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:51:03.023018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_25_2744.jpg', '/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_32_2674.jpg', '/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_38_3636.jpg', '/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_43_2655.jpg', '/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_52_2748.jpg', '/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_58_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_25_2744.jpg
/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_32_2674.jpg
/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_38_3636.jpg
/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_43_2655.jpg
/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_52_2748.jpg
/home/pi/Desktop/images/20112025/19/01/image_20112025_19_01_58_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694558","1395694581","1395694557","1395694577","1395694556","1395694573"],"photo_ids_order":["1395694556","1395694557","1395694558","1395694573","1395694577","1395694581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/022e75ffa823638d0ae854970bdc4e9f.jpg","text":"TemporaryFile(/tmp/multipartBody891185745717353796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808725117,"filename":"image_20112025_19_01_38_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96c4511eaa546a627439b9ecda4b9211.jpg","text":"TemporaryFile(/tmp/multipartBody894842806372954009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808725117,"filename":"image_20112025_19_01_58_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4c80ab45ae8f7dc2359bb1a0e8421ab.jpg","text":"TemporaryFile(/tmp/multipartBody7228088373616488773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808725117,"filename":"image_20112025_19_01_32_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eac9e3584295cc1880fb193bc31f0590.jpg","text":"TemporaryFile(/tmp/multipartBody5720014217320289431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808725117,"filename":"image_20112025_19_01_52_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2694f37dba34aa9f58d281a8273fb58.jpg","text":"TemporaryFile(/tmp/multipartBody1215988805635788146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808725117,"filename":"image_20112025_19_01_25_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7916ed58b9e3251afd8e6446770c116.jpg","text":"TemporaryFile(/tmp/multipartBody4043904798905515477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808725117,"filename":"image_20112025_19_01_43_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694558","file1":"1395694557","file0":"1395694556","file4":"1395694577","file5":"1395694581","file3":"1395694573"},"map_files_photo_id_array":[{"photo_id":"1395694581","filename":"file5"},{"photo_id":"1395694558","filename":"file2"},{"photo_id":"1395694577","filename":"file4"},{"photo_id":"1395694557","filename":"file1"},{"photo_id":"1395694556","filename":"file0"},{"photo_id":"1395694573","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395694558":["hashtag1","hashtag2"]},{"1395694581":["hashtag1","hashtag2"]},{"1395694557":["hashtag1","hashtag2"]},{"1395694577":["hashtag1","hashtag2"]},{"1395694556":["hashtag1","hashtag2"]},{"1395694573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395694558, 1395694581, 1395694557, 1395694577, 1395694556, 1395694573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38217329978943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:51:42.294080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_40_2656.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_06_3011.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_10_3739.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_15_2558.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_19_3643.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_25_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/49/image_22112025_11_49_40_2656.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_06_3011.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_10_3739.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_15_2558.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_19_3643.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_25_2890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694593","1395694595","1395694589","1395694592","1395694591","1395694594"],"photo_ids_order":["1395694589","1395694591","1395694592","1395694593","1395694594","1395694595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54f1c9ae76f290097eed2184990fb9ca.jpg","text":"TemporaryFile(/tmp/multipartBody2557508573031558765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808762980,"filename":"image_22112025_11_51_15_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40d37064e125b1a921a1678c876de488.jpg","text":"TemporaryFile(/tmp/multipartBody8997657443477682605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808762980,"filename":"image_22112025_11_51_25_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d0a4aaf62da755047ca04c0acfa35be.jpg","text":"TemporaryFile(/tmp/multipartBody5006541802381878509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808762980,"filename":"image_22112025_11_49_40_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdc87e3bfdd1e7449aa45b19eac42661.jpg","text":"TemporaryFile(/tmp/multipartBody6130966755579715440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808762980,"filename":"image_22112025_11_51_10_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa9aed5daaac2d296d97fd4ea96a1e87.jpg","text":"TemporaryFile(/tmp/multipartBody736561720080493017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808762980,"filename":"image_22112025_11_51_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2db7e983968b9c8648b5db5a2951a8a.jpg","text":"TemporaryFile(/tmp/multipartBody6380960091983211950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808762980,"filename":"image_22112025_11_51_19_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694592","file1":"1395694591","file0":"1395694589","file4":"1395694594","file5":"1395694595","file3":"1395694593"},"map_files_photo_id_array":[{"photo_id":"1395694595","filename":"file5"},{"photo_id":"1395694592","filename":"file2"},{"photo_id":"1395694594","filename":"file4"},{"photo_id":"1395694591","filename":"file1"},{"photo_id":"1395694589","filename":"file0"},{"photo_id":"1395694593","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694593":["hashtag1","hashtag2"]},{"1395694595":["hashtag1","hashtag2"]},{"1395694589":["hashtag1","hashtag2"]},{"1395694592":["hashtag1","hashtag2"]},{"1395694591":["hashtag1","hashtag2"]},{"1395694594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694593, 1395694595, 1395694589, 1395694592, 1395694591, 1395694594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92884302139282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:52:22.608077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_31_2588.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_33_2553.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_36_3050.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_39_2886.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_43_3719.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_46_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_31_2588.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_33_2553.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_36_3050.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_39_2886.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_43_3719.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_46_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694599","1395694614","1395694602","1395694611","1395694608","1395694604"],"photo_ids_order":["1395694599","1395694602","1395694604","1395694608","1395694611","1395694614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c346d2a1fdc59abb6c8bf58a95a9561e.jpg","text":"TemporaryFile(/tmp/multipartBody9205215532421169970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808803334,"filename":"image_22112025_11_51_31_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2aa6a1fb7382880c67d862c475abc45.jpg","text":"TemporaryFile(/tmp/multipartBody275676946845033339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808803334,"filename":"image_22112025_11_51_46_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/737f437d34fbc69a22b646e06100f026.jpg","text":"TemporaryFile(/tmp/multipartBody7667038971432573778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808803334,"filename":"image_22112025_11_51_33_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51fc5105c41e563a603b6474ef641d54.jpg","text":"TemporaryFile(/tmp/multipartBody6878726798900942481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808803334,"filename":"image_22112025_11_51_43_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75c52ac1f54b5dedc68095393695016b.jpg","text":"TemporaryFile(/tmp/multipartBody8736148209022468063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808803334,"filename":"image_22112025_11_51_39_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16974b6d4a5c67a5be7f283a8cbcb8dd.jpg","text":"TemporaryFile(/tmp/multipartBody5904499028079140651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808803334,"filename":"image_22112025_11_51_36_3050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694604","file1":"1395694602","file0":"1395694599","file4":"1395694611","file5":"1395694614","file3":"1395694608"},"map_files_photo_id_array":[{"photo_id":"1395694614","filename":"file5"},{"photo_id":"1395694604","filename":"file2"},{"photo_id":"1395694611","filename":"file4"},{"photo_id":"1395694602","filename":"file1"},{"photo_id":"1395694599","filename":"file0"},{"photo_id":"1395694608","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694599":["hashtag1","hashtag2"]},{"1395694614":["hashtag1","hashtag2"]},{"1395694602":["hashtag1","hashtag2"]},{"1395694611":["hashtag1","hashtag2"]},{"1395694608":["hashtag1","hashtag2"]},{"1395694604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694599, 1395694614, 1395694602, 1395694611, 1395694608, 1395694604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89723324775696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:53:03.324391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_48_2655.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_52_3657.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_55_2593.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_57_2698.jpg', '/home/pi/Desktop/images/22112025/11/51/image_22112025_11_52_01_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_48_2655.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_52_3657.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_55_2593.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_51_57_2698.jpg
/home/pi/Desktop/images/22112025/11/51/image_22112025_11_52_01_3605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694621","1395694618","1395694617","1395694616","1395694619"],"photo_ids_order":["1395694616","1395694617","1395694618","1395694619","1395694621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c3d788c90ee6c6be73bdab064fe7c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8033833474105072036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808844115,"filename":"image_22112025_11_52_01_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/382ac63d24d6ab828357e6facfc1b5c9.jpg","text":"TemporaryFile(/tmp/multipartBody870910885379765762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808844115,"filename":"image_22112025_11_51_55_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa7818f4453d208955ada1dd19989e33.jpg","text":"TemporaryFile(/tmp/multipartBody3957821797446121783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808844115,"filename":"image_22112025_11_51_52_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6a33723152fc4582e9c717ff1ff25a7.jpg","text":"TemporaryFile(/tmp/multipartBody7471302228937026463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808844115,"filename":"image_22112025_11_51_48_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65c72683a59f8ffc7fb6890e682b44db.jpg","text":"TemporaryFile(/tmp/multipartBody593468656890602675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808844115,"filename":"image_22112025_11_51_57_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694618","file1":"1395694617","file0":"1395694616","file4":"1395694621","file3":"1395694619"},"map_files_photo_id_array":[{"photo_id":"1395694618","filename":"file2"},{"photo_id":"1395694621","filename":"file4"},{"photo_id":"1395694617","filename":"file1"},{"photo_id":"1395694616","filename":"file0"},{"photo_id":"1395694619","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694621":["hashtag1","hashtag2"]},{"1395694618":["hashtag1","hashtag2"]},{"1395694617":["hashtag1","hashtag2"]},{"1395694616":["hashtag1","hashtag2"]},{"1395694619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694621, 1395694618, 1395694617, 1395694616, 1395694619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.158267974853516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:53:42.669904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/52/image_22112025_11_52_04_2538.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_07_3018.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_10_3623.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_13_2601.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_17_3574.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_19_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/52/image_22112025_11_52_04_2538.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_07_3018.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_10_3623.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_13_2601.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_17_3574.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_19_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694633","1395694635","1395694638","1395694631","1395694634","1395694637"],"photo_ids_order":["1395694631","1395694633","1395694634","1395694635","1395694637","1395694638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79a03538a67d4d1376e6e913ec5d6545.jpg","text":"TemporaryFile(/tmp/multipartBody910818636624792867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808883361,"filename":"image_22112025_11_53_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba7e76338fcefae1067bce2e0bc4df6d.jpg","text":"TemporaryFile(/tmp/multipartBody4341164925020232132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808883361,"filename":"image_22112025_11_53_13_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb4932eae8e54e118d2800e25bf487d5.jpg","text":"TemporaryFile(/tmp/multipartBody8645409914054396202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808883361,"filename":"image_22112025_11_53_19_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8aa97b460d933ca8d160fef5624a36ad.jpg","text":"TemporaryFile(/tmp/multipartBody8379141272153590444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808883361,"filename":"image_22112025_11_52_04_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa22f5c629552a0e6910fa22782328a6.jpg","text":"TemporaryFile(/tmp/multipartBody2701545987594217974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808883361,"filename":"image_22112025_11_53_10_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb03646a81276616ab1c636bb44d7c45.jpg","text":"TemporaryFile(/tmp/multipartBody7856457713477953172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808883361,"filename":"image_22112025_11_53_17_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694634","file1":"1395694633","file0":"1395694631","file4":"1395694637","file5":"1395694638","file3":"1395694635"},"map_files_photo_id_array":[{"photo_id":"1395694638","filename":"file5"},{"photo_id":"1395694634","filename":"file2"},{"photo_id":"1395694637","filename":"file4"},{"photo_id":"1395694633","filename":"file1"},{"photo_id":"1395694631","filename":"file0"},{"photo_id":"1395694635","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694633":["hashtag1","hashtag2"]},{"1395694635":["hashtag1","hashtag2"]},{"1395694638":["hashtag1","hashtag2"]},{"1395694631":["hashtag1","hashtag2"]},{"1395694634":["hashtag1","hashtag2"]},{"1395694637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694633, 1395694635, 1395694638, 1395694631, 1395694634, 1395694637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68299651145935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:54:22.205750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_22_2717.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_25_3690.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_28_2562.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_31_2686.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_34_3676.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_37_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_22_2717.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_25_3690.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_28_2562.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_31_2686.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_34_3676.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_37_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694654","1395694648","1395694651","1395694644","1395694658","1395694640"],"photo_ids_order":["1395694640","1395694644","1395694648","1395694651","1395694654","1395694658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e55f7558678b7dea52f5ab18ae7415e5.jpg","text":"TemporaryFile(/tmp/multipartBody1285891793045369667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808922958,"filename":"image_22112025_11_53_34_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/598441fb215e31730aa512532fefb9e0.jpg","text":"TemporaryFile(/tmp/multipartBody4330108833675727921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808922958,"filename":"image_22112025_11_53_28_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/733240b6aad2e8a0d6b6dfa9be03d27a.jpg","text":"TemporaryFile(/tmp/multipartBody1651430201317736833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808922958,"filename":"image_22112025_11_53_31_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b524a41a5e037491c4cbdeb9c9934661.jpg","text":"TemporaryFile(/tmp/multipartBody2042313155096462784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808922958,"filename":"image_22112025_11_53_25_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0429020cc82c87cc95348be9fa03e82.jpg","text":"TemporaryFile(/tmp/multipartBody3839488372493901299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808922958,"filename":"image_22112025_11_53_37_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/705f66527bf252e8bb23a275cdcab4d1.jpg","text":"TemporaryFile(/tmp/multipartBody3709775900849974937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808922958,"filename":"image_22112025_11_53_22_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694648","file1":"1395694644","file0":"1395694640","file4":"1395694654","file5":"1395694658","file3":"1395694651"},"map_files_photo_id_array":[{"photo_id":"1395694658","filename":"file5"},{"photo_id":"1395694648","filename":"file2"},{"photo_id":"1395694654","filename":"file4"},{"photo_id":"1395694644","filename":"file1"},{"photo_id":"1395694640","filename":"file0"},{"photo_id":"1395694651","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694654":["hashtag1","hashtag2"]},{"1395694648":["hashtag1","hashtag2"]},{"1395694651":["hashtag1","hashtag2"]},{"1395694644":["hashtag1","hashtag2"]},{"1395694658":["hashtag1","hashtag2"]},{"1395694640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694654, 1395694648, 1395694651, 1395694644, 1395694658, 1395694640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.100444078445435 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:55:37.263488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_40_2693.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_44_3750.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_46_2789.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_49_2598.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_53_3695.jpg', '/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_55_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_40_2693.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_44_3750.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_46_2789.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_49_2598.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_53_3695.jpg
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_55_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694678","1395694671","1395694680","1395694674","1395694682","1395694684"],"photo_ids_order":["1395694671","1395694674","1395694678","1395694680","1395694682","1395694684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e77387a4ef65fe4b0e2b61b981891dd.jpg","text":"TemporaryFile(/tmp/multipartBody8793746731040785479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808998013,"filename":"image_22112025_11_53_46_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ac19d86a0dc7a0f7641b726d2e942e7.jpg","text":"TemporaryFile(/tmp/multipartBody1349914177973128715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808998013,"filename":"image_22112025_11_53_40_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b17461573080b824ae87bdf5c86c6f36.jpg","text":"TemporaryFile(/tmp/multipartBody2828139817966204540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808998013,"filename":"image_22112025_11_53_49_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a666f53215c0ae2266d2985e47156399.jpg","text":"TemporaryFile(/tmp/multipartBody7242057524642763376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808998013,"filename":"image_22112025_11_53_44_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79f9e7906b4859698ca68890dec6c530.jpg","text":"TemporaryFile(/tmp/multipartBody600703228755727278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808998013,"filename":"image_22112025_11_53_53_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49732c4e927d93aa8c6e59a8fbe1963e.jpg","text":"TemporaryFile(/tmp/multipartBody4434199527710589053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763808998013,"filename":"image_22112025_11_53_55_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694678","file1":"1395694674","file0":"1395694671","file4":"1395694682","file5":"1395694684","file3":"1395694680"},"map_files_photo_id_array":[{"photo_id":"1395694684","filename":"file5"},{"photo_id":"1395694678","filename":"file2"},{"photo_id":"1395694682","filename":"file4"},{"photo_id":"1395694674","filename":"file1"},{"photo_id":"1395694671","filename":"file0"},{"photo_id":"1395694680","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694678":["hashtag1","hashtag2"]},{"1395694671":["hashtag1","hashtag2"]},{"1395694680":["hashtag1","hashtag2"]},{"1395694674":["hashtag1","hashtag2"]},{"1395694682":["hashtag1","hashtag2"]},{"1395694684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694678, 1395694671, 1395694680, 1395694674, 1395694682, 1395694684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74949312210083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:56:22.384298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_58_2637.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_01_2767.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_04_3680.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_07_2609.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_10_2851.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_13_3527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/53/image_22112025_11_53_58_2637.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_01_2767.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_04_3680.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_07_2609.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_10_2851.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_13_3527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694695","1395694689","1395694710","1395694704","1395694691","1395694693"],"photo_ids_order":["1395694689","1395694691","1395694693","1395694695","1395694704","1395694710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a26da79e14b54b5298bf5b9067b1d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4965555929663713547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809043070,"filename":"image_22112025_11_54_07_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d913a396ded4314e38dcd6fa5fc19932.jpg","text":"TemporaryFile(/tmp/multipartBody8321268054977341536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809043070,"filename":"image_22112025_11_53_58_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9e1aaeba6c1d2701e50905164083930.jpg","text":"TemporaryFile(/tmp/multipartBody3681663808883935158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809043070,"filename":"image_22112025_11_54_13_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebac390b380a6cf376197cc99e95ec21.jpg","text":"TemporaryFile(/tmp/multipartBody2346259771420843355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809043070,"filename":"image_22112025_11_54_10_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3aec3fbc3aeef03ca0cd23c15a334668.jpg","text":"TemporaryFile(/tmp/multipartBody1010078093646815058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809043070,"filename":"image_22112025_11_54_01_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22aad0b22177d0afedb048ac1c2863d4.jpg","text":"TemporaryFile(/tmp/multipartBody544768109127828007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809043070,"filename":"image_22112025_11_54_04_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694693","file1":"1395694691","file0":"1395694689","file4":"1395694704","file5":"1395694710","file3":"1395694695"},"map_files_photo_id_array":[{"photo_id":"1395694710","filename":"file5"},{"photo_id":"1395694693","filename":"file2"},{"photo_id":"1395694704","filename":"file4"},{"photo_id":"1395694691","filename":"file1"},{"photo_id":"1395694689","filename":"file0"},{"photo_id":"1395694695","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694695":["hashtag1","hashtag2"]},{"1395694689":["hashtag1","hashtag2"]},{"1395694710":["hashtag1","hashtag2"]},{"1395694704":["hashtag1","hashtag2"]},{"1395694691":["hashtag1","hashtag2"]},{"1395694693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694695, 1395694689, 1395694710, 1395694704, 1395694691, 1395694693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91669011116028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:57:03.394556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_16_2792.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_19_2549.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_22_3656.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_25_2696.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_28_2602.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_31_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_16_2792.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_19_2549.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_22_3656.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_25_2696.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_28_2602.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_31_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694726","1395694722","1395694730","1395694724","1395694718","1395694733"],"photo_ids_order":["1395694718","1395694722","1395694724","1395694726","1395694730","1395694733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/275673c35d8afa8fd3d0b21919447561.jpg","text":"TemporaryFile(/tmp/multipartBody2668645053392867320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809084158,"filename":"image_22112025_11_54_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbe757d86dee03b23ffe0693de66f921.jpg","text":"TemporaryFile(/tmp/multipartBody7516494223624085621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809084158,"filename":"image_22112025_11_54_19_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcb31bc17fec370ae84bd12c72b87430.jpg","text":"TemporaryFile(/tmp/multipartBody2958324184014252340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809084158,"filename":"image_22112025_11_54_28_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4055adfa26a3f50f4d935e93d8aa2895.jpg","text":"TemporaryFile(/tmp/multipartBody5714602409295644534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809084158,"filename":"image_22112025_11_54_22_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d4313b63f82eca29f7846c30963bb50.jpg","text":"TemporaryFile(/tmp/multipartBody3152824206321418542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809084158,"filename":"image_22112025_11_54_16_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f3f27d95b976c234e698679bf4c57e3.jpg","text":"TemporaryFile(/tmp/multipartBody2740263129298022417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809084158,"filename":"image_22112025_11_54_31_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694724","file1":"1395694722","file0":"1395694718","file4":"1395694730","file5":"1395694733","file3":"1395694726"},"map_files_photo_id_array":[{"photo_id":"1395694733","filename":"file5"},{"photo_id":"1395694724","filename":"file2"},{"photo_id":"1395694730","filename":"file4"},{"photo_id":"1395694722","filename":"file1"},{"photo_id":"1395694718","filename":"file0"},{"photo_id":"1395694726","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694726":["hashtag1","hashtag2"]},{"1395694722":["hashtag1","hashtag2"]},{"1395694730":["hashtag1","hashtag2"]},{"1395694724":["hashtag1","hashtag2"]},{"1395694718":["hashtag1","hashtag2"]},{"1395694733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694726, 1395694722, 1395694730, 1395694724, 1395694718, 1395694733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91177988052368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:57:42.700985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_34_2680.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_37_2563.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_40_3581.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_43_2592.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_46_3195.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_08_3232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_34_2680.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_37_2563.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_40_3581.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_43_2592.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_46_3195.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_08_3232.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5740339756011963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 11:59:03.519069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_34_2680.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_37_2563.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_40_3581.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_43_2592.jpg', '/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_46_3195.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_08_3232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_34_2680.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_37_2563.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_40_3581.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_43_2592.jpg
/home/pi/Desktop/images/22112025/11/54/image_22112025_11_54_46_3195.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_08_3232.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395694915","1395694837","1395694878","1395695028","1395694950","1395694991"],"photo_ids_order":["1395694837","1395694878","1395694915","1395694950","1395694991","1395695028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6d0bc7ac5a9f91d2dd5008eb6095fa8.jpg","text":"TemporaryFile(/tmp/multipartBody5453668531532016290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809204375,"filename":"image_22112025_11_54_40_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/144c5961bd34e2fef318d54bad692be9.jpg","text":"TemporaryFile(/tmp/multipartBody1883186501588407309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809204375,"filename":"image_22112025_11_54_34_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92b525395b8a6fd1fe71017c50dc72e4.jpg","text":"TemporaryFile(/tmp/multipartBody6689727044047368628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809204375,"filename":"image_22112025_11_54_37_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0dcd7840252259a71e1bff31cc62658.jpg","text":"TemporaryFile(/tmp/multipartBody6087533908730646163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809204375,"filename":"image_22112025_11_56_08_3232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/164fda7561ee2b1e90e9005830f49d20.jpg","text":"TemporaryFile(/tmp/multipartBody6648418400102886485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809204375,"filename":"image_22112025_11_54_43_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3891724cc1e121972140525a6b4487d2.jpg","text":"TemporaryFile(/tmp/multipartBody932010762895552476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809204375,"filename":"image_22112025_11_54_46_3195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395694915","file1":"1395694878","file0":"1395694837","file4":"1395694991","file5":"1395695028","file3":"1395694950"},"map_files_photo_id_array":[{"photo_id":"1395695028","filename":"file5"},{"photo_id":"1395694915","filename":"file2"},{"photo_id":"1395694991","filename":"file4"},{"photo_id":"1395694878","filename":"file1"},{"photo_id":"1395694837","filename":"file0"},{"photo_id":"1395694950","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395694915":["hashtag1","hashtag2"]},{"1395694837":["hashtag1","hashtag2"]},{"1395694878":["hashtag1","hashtag2"]},{"1395695028":["hashtag1","hashtag2"]},{"1395694950":["hashtag1","hashtag2"]},{"1395694991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395694915, 1395694837, 1395694878, 1395695028, 1395694950, 1395694991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6584689617157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 11:59:42.597711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_13_4918.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_17_3699.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_19_1596.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_20_1742.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_37_16746.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_39_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_13_4918.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_17_3699.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_19_1596.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_20_1742.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_37_16746.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_39_1641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395695119","1395695121","1395695123","1395695117","1395695143","1395695125"],"photo_ids_order":["1395695117","1395695119","1395695121","1395695123","1395695125","1395695143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47e3caba083943c025ae9d599ea60d01.jpg","text":"TemporaryFile(/tmp/multipartBody1500660978736799818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809243270,"filename":"image_22112025_11_56_17_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e66a4c0fcc66f376bf0c440c1e76d37.jpg","text":"TemporaryFile(/tmp/multipartBody1598611546630501847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809243270,"filename":"image_22112025_11_56_19_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9dd7ccce47d696572b61ee1cf007503c.jpg","text":"TemporaryFile(/tmp/multipartBody2939280974486522346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809243270,"filename":"image_22112025_11_56_20_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/334603ef0cb8b39323d099f591fa9d17.jpg","text":"TemporaryFile(/tmp/multipartBody2302418813140536325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809243270,"filename":"image_22112025_11_56_13_4918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7453e090748a639b60e53ed8dc2a59e3.jpg","text":"TemporaryFile(/tmp/multipartBody7107306493514902799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809243270,"filename":"image_22112025_11_56_39_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68abbe13b90f4dc4cfa02ae5e2a14f96.jpg","text":"TemporaryFile(/tmp/multipartBody5088427643848723992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809243270,"filename":"image_22112025_11_56_37_16746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395695121","file1":"1395695119","file0":"1395695117","file4":"1395695125","file5":"1395695143","file3":"1395695123"},"map_files_photo_id_array":[{"photo_id":"1395695143","filename":"file5"},{"photo_id":"1395695121","filename":"file2"},{"photo_id":"1395695125","filename":"file4"},{"photo_id":"1395695119","filename":"file1"},{"photo_id":"1395695117","filename":"file0"},{"photo_id":"1395695123","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395695119":["hashtag1","hashtag2"]},{"1395695121":["hashtag1","hashtag2"]},{"1395695123":["hashtag1","hashtag2"]},{"1395695117":["hashtag1","hashtag2"]},{"1395695143":["hashtag1","hashtag2"]},{"1395695125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395695119, 1395695121, 1395695123, 1395695117, 1395695143, 1395695125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63533639907837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:00:21.826249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_40_1616.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_42_1717.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_44_1596.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_45_1655.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_47_1563.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_49_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_40_1616.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_42_1717.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_44_1596.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_45_1655.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_47_1563.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_49_1715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395695307","1395695276","1395695270","1395695264","1395695321","1395695324"],"photo_ids_order":["1395695264","1395695270","1395695276","1395695307","1395695321","1395695324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/270ac3200b8421d508257622c94029f1.jpg","text":"TemporaryFile(/tmp/multipartBody769918913329598671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809282661,"filename":"image_22112025_11_56_45_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4e87f4c8352828c7aa20c8ab0323d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2747125026090707546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809282661,"filename":"image_22112025_11_56_44_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a73f052f9b613780913345b052ab201.jpg","text":"TemporaryFile(/tmp/multipartBody308930252871239686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809282661,"filename":"image_22112025_11_56_42_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8402707416ee14a86c8246ec80de65d9.jpg","text":"TemporaryFile(/tmp/multipartBody7595779990289756042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809282661,"filename":"image_22112025_11_56_40_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d977037b6ece82e052228ee17e85843c.jpg","text":"TemporaryFile(/tmp/multipartBody1432232735167309912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809282661,"filename":"image_22112025_11_56_47_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b48391ea5b591c6e2f4701531069d14.jpg","text":"TemporaryFile(/tmp/multipartBody9164537991435156107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809282661,"filename":"image_22112025_11_56_49_1715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395695276","file1":"1395695270","file0":"1395695264","file4":"1395695321","file5":"1395695324","file3":"1395695307"},"map_files_photo_id_array":[{"photo_id":"1395695324","filename":"file5"},{"photo_id":"1395695276","filename":"file2"},{"photo_id":"1395695321","filename":"file4"},{"photo_id":"1395695270","filename":"file1"},{"photo_id":"1395695264","filename":"file0"},{"photo_id":"1395695307","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395695307":["hashtag1","hashtag2"]},{"1395695276":["hashtag1","hashtag2"]},{"1395695270":["hashtag1","hashtag2"]},{"1395695264":["hashtag1","hashtag2"]},{"1395695321":["hashtag1","hashtag2"]},{"1395695324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395695307, 1395695276, 1395695270, 1395695264, 1395695321, 1395695324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95881414413452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:01:02.623915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_50_1659.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_52_1503.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_54_1712.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_56_2684.jpg', '/home/pi/Desktop/images/22112025/11/56/image_22112025_11_57_00_3562.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_08_3364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_50_1659.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_52_1503.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_54_1712.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_56_56_2684.jpg
/home/pi/Desktop/images/22112025/11/56/image_22112025_11_57_00_3562.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_08_3364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395695326","1395695329","1395695334","1395695328","1395695331","1395695327"],"photo_ids_order":["1395695326","1395695327","1395695328","1395695329","1395695331","1395695334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6442c9db964042accc469d25485c86c.jpg","text":"TemporaryFile(/tmp/multipartBody3194320613902303033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809323401,"filename":"image_22112025_11_56_50_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f3ab46bfe4f8501291f8c082be39dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7791297381659738216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809323401,"filename":"image_22112025_11_56_56_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/663206fe1b7677b9fb32420b5ffaad51.jpg","text":"TemporaryFile(/tmp/multipartBody2755489188840552237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809323401,"filename":"image_22112025_11_58_08_3364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1479473ed9464f2eac94a89eb426fd8a.jpg","text":"TemporaryFile(/tmp/multipartBody2243910108905571828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809323401,"filename":"image_22112025_11_56_54_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7246ed3d3beb4103811beebfbfdbf5f.jpg","text":"TemporaryFile(/tmp/multipartBody8668829236154190563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809323401,"filename":"image_22112025_11_57_00_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d1b322052d20046d99d8580d3fefc6a.jpg","text":"TemporaryFile(/tmp/multipartBody1670982606845975930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809323401,"filename":"image_22112025_11_56_52_1503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395695328","file1":"1395695327","file0":"1395695326","file4":"1395695331","file5":"1395695334","file3":"1395695329"},"map_files_photo_id_array":[{"photo_id":"1395695334","filename":"file5"},{"photo_id":"1395695328","filename":"file2"},{"photo_id":"1395695331","filename":"file4"},{"photo_id":"1395695327","filename":"file1"},{"photo_id":"1395695326","filename":"file0"},{"photo_id":"1395695329","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395695326":["hashtag1","hashtag2"]},{"1395695329":["hashtag1","hashtag2"]},{"1395695334":["hashtag1","hashtag2"]},{"1395695328":["hashtag1","hashtag2"]},{"1395695331":["hashtag1","hashtag2"]},{"1395695327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395695326, 1395695329, 1395695334, 1395695328, 1395695331, 1395695327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47200036048889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:01:42.024645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_11_3595.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_14_2629.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_16_2508.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_20_3667.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_23_2528.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_28_5908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_11_3595.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_14_2629.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_16_2508.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_20_3667.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_23_2528.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_28_5908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395695347","1395695346","1395695345","1395695348","1395695341","1395695344"],"photo_ids_order":["1395695341","1395695344","1395695345","1395695346","1395695347","1395695348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e9b1e168c059f222a4ccafe71fdc848.jpg","text":"TemporaryFile(/tmp/multipartBody2543470533419998803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809362771,"filename":"image_22112025_11_58_23_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae1f26360ed631c0ff60f750177f65ff.jpg","text":"TemporaryFile(/tmp/multipartBody2049973402609968638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809362771,"filename":"image_22112025_11_58_20_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7705fd45cf5200c0003d2f2a38af703e.jpg","text":"TemporaryFile(/tmp/multipartBody1354229679116971353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809362771,"filename":"image_22112025_11_58_16_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ae8da9ca9fdab6dd9b7070ed82a674d.jpg","text":"TemporaryFile(/tmp/multipartBody2339237167343064412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809362771,"filename":"image_22112025_11_58_28_5908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f1d34796dd5d8fb11911e0dd37782cd.jpg","text":"TemporaryFile(/tmp/multipartBody7180039587321344890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809362771,"filename":"image_22112025_11_58_11_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d514877e20c0e7de7e270a93554362c.jpg","text":"TemporaryFile(/tmp/multipartBody4809369079086978978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809362771,"filename":"image_22112025_11_58_14_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395695345","file1":"1395695344","file0":"1395695341","file4":"1395695347","file5":"1395695348","file3":"1395695346"},"map_files_photo_id_array":[{"photo_id":"1395695348","filename":"file5"},{"photo_id":"1395695345","filename":"file2"},{"photo_id":"1395695347","filename":"file4"},{"photo_id":"1395695344","filename":"file1"},{"photo_id":"1395695341","filename":"file0"},{"photo_id":"1395695346","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395695347":["hashtag1","hashtag2"]},{"1395695346":["hashtag1","hashtag2"]},{"1395695345":["hashtag1","hashtag2"]},{"1395695348":["hashtag1","hashtag2"]},{"1395695341":["hashtag1","hashtag2"]},{"1395695344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395695347, 1395695346, 1395695345, 1395695348, 1395695341, 1395695344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98418593406677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:02:27.019774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_36_7812.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_38_1750.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_40_1600.jpg', '/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_43_1612.jpg', '/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_08_3011.jpg', '/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_11_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_36_7812.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_38_1750.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_40_1600.jpg
/home/pi/Desktop/images/22112025/11/58/image_22112025_11_58_43_1612.jpg
/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_08_3011.jpg
/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_11_3568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395695369","1395695363","1395695366","1395695360","1395695353","1395695356"],"photo_ids_order":["1395695353","1395695356","1395695360","1395695363","1395695366","1395695369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be3e1fa4d92faf693cb0ad9f83a06b10.jpg","text":"TemporaryFile(/tmp/multipartBody9034792181014331892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809407697,"filename":"image_22112025_12_00_11_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23925b3ecbfc84aa0250ed0e4b91fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody7016037887677563842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809407697,"filename":"image_22112025_11_58_43_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c42a316bd2ff8b8da23b65658d61c68.jpg","text":"TemporaryFile(/tmp/multipartBody2900315473551417056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809407697,"filename":"image_22112025_12_00_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8a4f8f79c1837aae19c469922bf0878.jpg","text":"TemporaryFile(/tmp/multipartBody6369722440067864553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809407697,"filename":"image_22112025_11_58_40_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cae922924cbe0726ab113d6e0cc0b29.jpg","text":"TemporaryFile(/tmp/multipartBody1862405022138280858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809407697,"filename":"image_22112025_11_58_36_7812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbca703528bf4c93adfad2e7c6158463.jpg","text":"TemporaryFile(/tmp/multipartBody5061398348673274495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809407697,"filename":"image_22112025_11_58_38_1750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395695360","file1":"1395695356","file0":"1395695353","file4":"1395695366","file5":"1395695369","file3":"1395695363"},"map_files_photo_id_array":[{"photo_id":"1395695369","filename":"file5"},{"photo_id":"1395695360","filename":"file2"},{"photo_id":"1395695366","filename":"file4"},{"photo_id":"1395695356","filename":"file1"},{"photo_id":"1395695353","filename":"file0"},{"photo_id":"1395695363","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395695369":["hashtag1","hashtag2"]},{"1395695363":["hashtag1","hashtag2"]},{"1395695366":["hashtag1","hashtag2"]},{"1395695360":["hashtag1","hashtag2"]},{"1395695353":["hashtag1","hashtag2"]},{"1395695356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395695369, 1395695363, 1395695366, 1395695360, 1395695353, 1395695356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87632608413696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:03:22.111440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_16_4213.jpg', '/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_17_1512.jpg', '/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_21_3635.jpg', '/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_23_2678.jpg', '/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_26_2448.jpg', '/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_29_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_16_4213.jpg
/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_17_1512.jpg
/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_21_3635.jpg
/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_23_2678.jpg
/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_26_2448.jpg
/home/pi/Desktop/images/22112025/12/00/image_22112025_12_00_29_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395695382","1395695379","1395695388","1395695384","1395695372","1395695374"],"photo_ids_order":["1395695372","1395695374","1395695379","1395695382","1395695384","1395695388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df9950c8bec01d243a3f9feaf9a2c238.jpg","text":"TemporaryFile(/tmp/multipartBody6860793324608617199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809462782,"filename":"image_22112025_12_00_23_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e78c7afba3bb212922fda94e44743d4.jpg","text":"TemporaryFile(/tmp/multipartBody8285305623857298045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809462782,"filename":"image_22112025_12_00_21_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b4568b0d26f86f20b728995107400d7.jpg","text":"TemporaryFile(/tmp/multipartBody8451257188122312540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809462782,"filename":"image_22112025_12_00_29_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a27f46e98e3a1f236f7a0a127241594b.jpg","text":"TemporaryFile(/tmp/multipartBody3285459871300734014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809462782,"filename":"image_22112025_12_00_26_2448.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ff090ab2a952beb45af295b6e759f09.jpg","text":"TemporaryFile(/tmp/multipartBody7053669780901738565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809462782,"filename":"image_22112025_12_00_16_4213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49092f17b8e2cc6c81d6ba57c7a9e80c.jpg","text":"TemporaryFile(/tmp/multipartBody3923864969198588146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809462782,"filename":"image_22112025_12_00_17_1512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395695379","file1":"1395695374","file0":"1395695372","file4":"1395695384","file5":"1395695388","file3":"1395695382"},"map_files_photo_id_array":[{"photo_id":"1395695388","filename":"file5"},{"photo_id":"1395695379","filename":"file2"},{"photo_id":"1395695384","filename":"file4"},{"photo_id":"1395695374","filename":"file1"},{"photo_id":"1395695372","filename":"file0"},{"photo_id":"1395695382","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395695382":["hashtag1","hashtag2"]},{"1395695379":["hashtag1","hashtag2"]},{"1395695388":["hashtag1","hashtag2"]},{"1395695384":["hashtag1","hashtag2"]},{"1395695372":["hashtag1","hashtag2"]},{"1395695374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395695382, 1395695379, 1395695388, 1395695384, 1395695372, 1395695374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03320550918579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:04:03.464628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_07_3012.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_11_3581.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_13_2533.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_17_3702.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_19_2700.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_22_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_07_3012.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_11_3581.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_13_2533.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_17_3702.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_19_2700.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_22_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395695545","1395695583","1395695511","1395695474","1395695659","1395695620"],"photo_ids_order":["1395695474","1395695511","1395695545","1395695583","1395695620","1395695659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54a5e1a3ef21339d54b40d115f150f67.jpg","text":"TemporaryFile(/tmp/multipartBody3789951402788363478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809504176,"filename":"image_22112025_12_02_13_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea4df6494180d231a174e6a5e3def2e3.jpg","text":"TemporaryFile(/tmp/multipartBody4568351239560519219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809504176,"filename":"image_22112025_12_02_17_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64ed7aa726449bf30e61fbe4d7b186df.jpg","text":"TemporaryFile(/tmp/multipartBody8517223592049888106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809504176,"filename":"image_22112025_12_02_11_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e9f62a0065af35948d0288f369160dc.jpg","text":"TemporaryFile(/tmp/multipartBody6771327274106888529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809504176,"filename":"image_22112025_12_02_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bc2111339166d6718e3ec25f87dee24.jpg","text":"TemporaryFile(/tmp/multipartBody3928610183443213107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809504176,"filename":"image_22112025_12_02_22_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65b5a9b7a3778726b29ebf2d7d9676a8.jpg","text":"TemporaryFile(/tmp/multipartBody1827454869246423402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809504176,"filename":"image_22112025_12_02_19_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395695545","file1":"1395695511","file0":"1395695474","file4":"1395695620","file5":"1395695659","file3":"1395695583"},"map_files_photo_id_array":[{"photo_id":"1395695659","filename":"file5"},{"photo_id":"1395695545","filename":"file2"},{"photo_id":"1395695620","filename":"file4"},{"photo_id":"1395695511","filename":"file1"},{"photo_id":"1395695474","filename":"file0"},{"photo_id":"1395695583","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395695545":["hashtag1","hashtag2"]},{"1395695583":["hashtag1","hashtag2"]},{"1395695511":["hashtag1","hashtag2"]},{"1395695474":["hashtag1","hashtag2"]},{"1395695659":["hashtag1","hashtag2"]},{"1395695620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395695545, 1395695583, 1395695511, 1395695474, 1395695659, 1395695620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85084080696106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:04:42.824230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_26_3789.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_28_2590.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_31_2627.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_35_3677.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_37_2513.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_40_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_26_3789.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_28_2590.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_31_2627.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_35_3677.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_37_2513.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_40_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395695981","1395695840","1395695909","1395695801","1395695875","1395695944"],"photo_ids_order":["1395695801","1395695840","1395695875","1395695909","1395695944","1395695981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/671ffa60348bd577a84fea50aace3fff.jpg","text":"TemporaryFile(/tmp/multipartBody6689178488190725727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809543508,"filename":"image_22112025_12_02_40_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4837f323da2d8f4c6309920b2c329d10.jpg","text":"TemporaryFile(/tmp/multipartBody4078526479224954632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809543508,"filename":"image_22112025_12_02_28_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47b19bfbec69967f60a6f93750472fc4.jpg","text":"TemporaryFile(/tmp/multipartBody151778085232180551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809543508,"filename":"image_22112025_12_02_35_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d9f290973639beb1008aed45e077d63.jpg","text":"TemporaryFile(/tmp/multipartBody250341941133947240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809543508,"filename":"image_22112025_12_02_26_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ac7d20ccaf93d70ee9c9f97507173b6.jpg","text":"TemporaryFile(/tmp/multipartBody2359940331081622751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809543508,"filename":"image_22112025_12_02_31_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad9095e7eccaedbb2944653301c6e07c.jpg","text":"TemporaryFile(/tmp/multipartBody2869674095601355019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809543508,"filename":"image_22112025_12_02_37_2513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395695875","file1":"1395695840","file0":"1395695801","file4":"1395695944","file5":"1395695981","file3":"1395695909"},"map_files_photo_id_array":[{"photo_id":"1395695981","filename":"file5"},{"photo_id":"1395695875","filename":"file2"},{"photo_id":"1395695944","filename":"file4"},{"photo_id":"1395695840","filename":"file1"},{"photo_id":"1395695801","filename":"file0"},{"photo_id":"1395695909","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395695981":["hashtag1","hashtag2"]},{"1395695840":["hashtag1","hashtag2"]},{"1395695909":["hashtag1","hashtag2"]},{"1395695801":["hashtag1","hashtag2"]},{"1395695875":["hashtag1","hashtag2"]},{"1395695944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395695981, 1395695840, 1395695909, 1395695801, 1395695875, 1395695944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73195958137512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:05:22.149376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_44_3694.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_46_2546.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_49_2797.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_53_3565.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_55_2647.jpg', '/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_59_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_44_3694.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_46_2546.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_49_2797.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_53_3565.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_55_2647.jpg
/home/pi/Desktop/images/22112025/12/02/image_22112025_12_02_59_3540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395696240","1395696449","1395696164","1395696323","1395696486","1395696406"],"photo_ids_order":["1395696164","1395696240","1395696323","1395696406","1395696449","1395696486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc435c9cb2b9d99235dc5578497b6e3a.jpg","text":"TemporaryFile(/tmp/multipartBody988901669153716503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809582934,"filename":"image_22112025_12_02_46_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49ad33029a37216bf8a5982842cdf000.jpg","text":"TemporaryFile(/tmp/multipartBody6540430682533199951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809582934,"filename":"image_22112025_12_02_55_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/640da529a620bacaf1796529549b4ba2.jpg","text":"TemporaryFile(/tmp/multipartBody6061339187085539599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809582934,"filename":"image_22112025_12_02_44_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa1e6a97f4cc65929789a1e4af24384d.jpg","text":"TemporaryFile(/tmp/multipartBody4653983205148095510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809582934,"filename":"image_22112025_12_02_49_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d54a61c7cf3318504dc540323da6a34.jpg","text":"TemporaryFile(/tmp/multipartBody7547783525558430794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809582934,"filename":"image_22112025_12_02_59_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfab0c947134c5fc022d36866366fb1a.jpg","text":"TemporaryFile(/tmp/multipartBody5201231743492985083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809582934,"filename":"image_22112025_12_02_53_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395696323","file1":"1395696240","file0":"1395696164","file4":"1395696449","file5":"1395696486","file3":"1395696406"},"map_files_photo_id_array":[{"photo_id":"1395696486","filename":"file5"},{"photo_id":"1395696323","filename":"file2"},{"photo_id":"1395696449","filename":"file4"},{"photo_id":"1395696240","filename":"file1"},{"photo_id":"1395696164","filename":"file0"},{"photo_id":"1395696406","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395696240":["hashtag1","hashtag2"]},{"1395696449":["hashtag1","hashtag2"]},{"1395696164":["hashtag1","hashtag2"]},{"1395696323":["hashtag1","hashtag2"]},{"1395696486":["hashtag1","hashtag2"]},{"1395696406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395696240, 1395696449, 1395696164, 1395696323, 1395696486, 1395696406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79365110397339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:06:02.508451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_07_3011.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_10_3851.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_13_2603.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_16_2587.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_19_3536.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_22_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_07_3011.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_10_3851.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_13_2603.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_16_2587.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_19_3536.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_22_2827.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.662050724029541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:06:22.053671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_07_3011.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_10_3851.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_13_2603.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_16_2587.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_19_3536.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_22_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_07_3011.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_10_3851.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_13_2603.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_16_2587.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_19_3536.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_22_2827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395696683","1395696962","1395696746","1395696911","1395696874","1395696823"],"photo_ids_order":["1395696683","1395696746","1395696823","1395696874","1395696911","1395696962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f295a4c61ae77c7a3f65c77d4dadf2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1204369168566725497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809642750,"filename":"image_22112025_12_04_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2b427a5b684f486e0020ab9aa10797e.jpg","text":"TemporaryFile(/tmp/multipartBody7411998436259053431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809642750,"filename":"image_22112025_12_04_22_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd603cb416795f3ab41212bce1cb576a.jpg","text":"TemporaryFile(/tmp/multipartBody2007987946789041550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809642750,"filename":"image_22112025_12_04_10_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/854215a99c027f4edffd25b2a29544bb.jpg","text":"TemporaryFile(/tmp/multipartBody2707261098998390394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809642750,"filename":"image_22112025_12_04_19_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb584cb131e4ec1592357f0719abc8bd.jpg","text":"TemporaryFile(/tmp/multipartBody866197425578422564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809642750,"filename":"image_22112025_12_04_16_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80216422fcdd5478ddfaba772cc8ad89.jpg","text":"TemporaryFile(/tmp/multipartBody3113880423197060545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809642750,"filename":"image_22112025_12_04_13_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395696823","file1":"1395696746","file0":"1395696683","file4":"1395696911","file5":"1395696962","file3":"1395696874"},"map_files_photo_id_array":[{"photo_id":"1395696962","filename":"file5"},{"photo_id":"1395696823","filename":"file2"},{"photo_id":"1395696911","filename":"file4"},{"photo_id":"1395696746","filename":"file1"},{"photo_id":"1395696683","filename":"file0"},{"photo_id":"1395696874","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395696683":["hashtag1","hashtag2"]},{"1395696962":["hashtag1","hashtag2"]},{"1395696746":["hashtag1","hashtag2"]},{"1395696911":["hashtag1","hashtag2"]},{"1395696874":["hashtag1","hashtag2"]},{"1395696823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395696683, 1395696962, 1395696746, 1395696911, 1395696874, 1395696823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.630300760269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:07:02.965746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_25_2795.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_28_2830.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_31_3578.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_34_2619.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_37_2820.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_40_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_25_2795.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_28_2830.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_31_3578.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_34_2619.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_37_2820.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_40_3785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395697101","1395697157","1395697100","1395697084","1395697111","1395697143"],"photo_ids_order":["1395697084","1395697100","1395697101","1395697111","1395697143","1395697157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b24e8887044d464d8a077bc98994b54d.jpg","text":"TemporaryFile(/tmp/multipartBody2986595173268201305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809683727,"filename":"image_22112025_12_04_31_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51c41d88bddf911dec52727cab6d3460.jpg","text":"TemporaryFile(/tmp/multipartBody6107355179830723104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809683727,"filename":"image_22112025_12_04_40_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0695825271c0fba921f126a2c40fcca.jpg","text":"TemporaryFile(/tmp/multipartBody6473737113278084754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809683727,"filename":"image_22112025_12_04_28_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4babcd68775c949d8ea52385eff6801.jpg","text":"TemporaryFile(/tmp/multipartBody6406576011640620909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809683727,"filename":"image_22112025_12_04_25_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb3c4b9514adbd3a1ad4aca3e784e5ec.jpg","text":"TemporaryFile(/tmp/multipartBody5531799435217818945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809683727,"filename":"image_22112025_12_04_34_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67507a9d20fe273ca731ebd737501dfa.jpg","text":"TemporaryFile(/tmp/multipartBody8350069099293963107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809683727,"filename":"image_22112025_12_04_37_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395697101","file1":"1395697100","file0":"1395697084","file4":"1395697143","file5":"1395697157","file3":"1395697111"},"map_files_photo_id_array":[{"photo_id":"1395697157","filename":"file5"},{"photo_id":"1395697101","filename":"file2"},{"photo_id":"1395697143","filename":"file4"},{"photo_id":"1395697100","filename":"file1"},{"photo_id":"1395697084","filename":"file0"},{"photo_id":"1395697111","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395697101":["hashtag1","hashtag2"]},{"1395697157":["hashtag1","hashtag2"]},{"1395697100":["hashtag1","hashtag2"]},{"1395697084":["hashtag1","hashtag2"]},{"1395697111":["hashtag1","hashtag2"]},{"1395697143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395697101, 1395697157, 1395697100, 1395697084, 1395697111, 1395697143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44704556465149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:07:42.141669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_43_2549.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_46_2631.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_49_3608.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_52_2785.jpg', '/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_55_2557.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_43_2549.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_46_2631.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_49_3608.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_52_2785.jpg
/home/pi/Desktop/images/22112025/12/04/image_22112025_12_04_55_2557.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395697190","1395697184","1395697187","1395697189","1395697186","1395697188"],"photo_ids_order":["1395697184","1395697186","1395697187","1395697188","1395697189","1395697190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/048f6019e91090166eff31a101fc55e1.jpg","text":"TemporaryFile(/tmp/multipartBody3207163538707956910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809722828,"filename":"image_22112025_12_06_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9495229085e7c84cd7f9efd264a973dd.jpg","text":"TemporaryFile(/tmp/multipartBody3676005528150103258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809722828,"filename":"image_22112025_12_04_43_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb85fdae8ed599c0774535f7be2e969a.jpg","text":"TemporaryFile(/tmp/multipartBody2567230883532827197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809722828,"filename":"image_22112025_12_04_49_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff630dc27cf52588bafd1ac2f808edcb.jpg","text":"TemporaryFile(/tmp/multipartBody3176042892957782386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809722828,"filename":"image_22112025_12_04_55_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/085b58d40aa99a59af65bf5cd573cd1d.jpg","text":"TemporaryFile(/tmp/multipartBody8827086204527332091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809722828,"filename":"image_22112025_12_04_46_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc8da575718c526db9e5fe4ba2b21d15.jpg","text":"TemporaryFile(/tmp/multipartBody5441028473655084211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809722828,"filename":"image_22112025_12_04_52_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395697187","file1":"1395697186","file0":"1395697184","file4":"1395697189","file5":"1395697190","file3":"1395697188"},"map_files_photo_id_array":[{"photo_id":"1395697190","filename":"file5"},{"photo_id":"1395697187","filename":"file2"},{"photo_id":"1395697189","filename":"file4"},{"photo_id":"1395697186","filename":"file1"},{"photo_id":"1395697184","filename":"file0"},{"photo_id":"1395697188","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395697190":["hashtag1","hashtag2"]},{"1395697184":["hashtag1","hashtag2"]},{"1395697187":["hashtag1","hashtag2"]},{"1395697189":["hashtag1","hashtag2"]},{"1395697186":["hashtag1","hashtag2"]},{"1395697188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395697190, 1395697184, 1395697187, 1395697189, 1395697186, 1395697188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3850154876709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:08:21.935182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_10_3672.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_13_2713.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_16_2644.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_19_3667.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_22_2672.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_25_3516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_10_3672.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_13_2713.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_16_2644.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_19_3667.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_22_2672.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_25_3516.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395697196","1395697205","1395697198","1395697192","1395697207","1395697194"],"photo_ids_order":["1395697192","1395697194","1395697196","1395697198","1395697205","1395697207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4977ebe8dc8c2644d932d1c5574e427.jpg","text":"TemporaryFile(/tmp/multipartBody530548381489200720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809762654,"filename":"image_22112025_12_06_16_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/937f2278fd6c049424a68c7f492b91e0.jpg","text":"TemporaryFile(/tmp/multipartBody1287123930295574612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809762654,"filename":"image_22112025_12_06_22_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46aca4dbc9deefe0f137306957db1b1f.jpg","text":"TemporaryFile(/tmp/multipartBody996655106481124658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809762654,"filename":"image_22112025_12_06_19_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0846a42534d52ff4c1e3d13365ddd839.jpg","text":"TemporaryFile(/tmp/multipartBody3739460032093335942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809762654,"filename":"image_22112025_12_06_10_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/274cd2658c93622302687bb7278e9ce8.jpg","text":"TemporaryFile(/tmp/multipartBody1833936725556753139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809762654,"filename":"image_22112025_12_06_25_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed37f2f49074852351dba611a49c7d93.jpg","text":"TemporaryFile(/tmp/multipartBody1706629879580900199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809762654,"filename":"image_22112025_12_06_13_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395697196","file1":"1395697194","file0":"1395697192","file4":"1395697205","file5":"1395697207","file3":"1395697198"},"map_files_photo_id_array":[{"photo_id":"1395697207","filename":"file5"},{"photo_id":"1395697196","filename":"file2"},{"photo_id":"1395697205","filename":"file4"},{"photo_id":"1395697194","filename":"file1"},{"photo_id":"1395697192","filename":"file0"},{"photo_id":"1395697198","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395697196":["hashtag1","hashtag2"]},{"1395697205":["hashtag1","hashtag2"]},{"1395697198":["hashtag1","hashtag2"]},{"1395697192":["hashtag1","hashtag2"]},{"1395697207":["hashtag1","hashtag2"]},{"1395697194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395697196, 1395697205, 1395697198, 1395697192, 1395697207, 1395697194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.048285484313965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:09:02.878930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_28_2685.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_31_2580.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_34_3678.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_37_2597.jpg', '/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_40_2727.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_28_2685.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_31_2580.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_34_3678.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_37_2597.jpg
/home/pi/Desktop/images/22112025/12/06/image_22112025_12_06_40_2727.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395697212","1395697215","1395697209","1395697211","1395697213","1395697210"],"photo_ids_order":["1395697209","1395697210","1395697211","1395697212","1395697213","1395697215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a62f0a272c76f0b4b0204d9518c51d4a.jpg","text":"TemporaryFile(/tmp/multipartBody3679710594728421899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809803768,"filename":"image_22112025_12_06_37_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a68fbd0e00b3075f550721a59ddd3c6.jpg","text":"TemporaryFile(/tmp/multipartBody5965021769601713770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809803768,"filename":"image_22112025_12_08_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f8cfcbb51a101f1348cfd4d81d91dff.jpg","text":"TemporaryFile(/tmp/multipartBody1367593665513989059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809803768,"filename":"image_22112025_12_06_28_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffa43664cbc53a90b40656546aea4ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8627976012412688443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809803768,"filename":"image_22112025_12_06_34_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d70e44f6e9ec56626dfa8a4c5e2c92ae.jpg","text":"TemporaryFile(/tmp/multipartBody4051622475353341300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809803768,"filename":"image_22112025_12_06_40_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6374c82280d54849cc6bcfd83d874291.jpg","text":"TemporaryFile(/tmp/multipartBody3713658798468872937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809803768,"filename":"image_22112025_12_06_31_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395697211","file1":"1395697210","file0":"1395697209","file4":"1395697213","file5":"1395697215","file3":"1395697212"},"map_files_photo_id_array":[{"photo_id":"1395697215","filename":"file5"},{"photo_id":"1395697211","filename":"file2"},{"photo_id":"1395697213","filename":"file4"},{"photo_id":"1395697210","filename":"file1"},{"photo_id":"1395697209","filename":"file0"},{"photo_id":"1395697212","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395697212":["hashtag1","hashtag2"]},{"1395697215":["hashtag1","hashtag2"]},{"1395697209":["hashtag1","hashtag2"]},{"1395697211":["hashtag1","hashtag2"]},{"1395697213":["hashtag1","hashtag2"]},{"1395697210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395697212, 1395697215, 1395697209, 1395697211, 1395697213, 1395697210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29861569404602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:09:42.046997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_10_3574.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_13_2679.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_16_2869.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_22_2746.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_25_2605.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_29_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_10_3574.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_13_2679.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_16_2869.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_22_2746.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_25_2605.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_29_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395697220","1395697223","1395697226","1395697225","1395697222","1395697224"],"photo_ids_order":["1395697220","1395697222","1395697223","1395697224","1395697225","1395697226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c525c3e388f9a8db6a1876d5b6a5ca18.jpg","text":"TemporaryFile(/tmp/multipartBody4396008228235205764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809842729,"filename":"image_22112025_12_08_10_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c54940ddb2b3478efd9dd2fa2846a7b8.jpg","text":"TemporaryFile(/tmp/multipartBody7114976323007087024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809842729,"filename":"image_22112025_12_08_16_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/370b707da12901c94c0a76a6a986ee90.jpg","text":"TemporaryFile(/tmp/multipartBody1624965369728391324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809842729,"filename":"image_22112025_12_08_29_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/749ccf29d6775085ef0f844c795c43c4.jpg","text":"TemporaryFile(/tmp/multipartBody317192308708654273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809842729,"filename":"image_22112025_12_08_25_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84cbad4804e490c55b778abfa5f9084d.jpg","text":"TemporaryFile(/tmp/multipartBody5223636428265073985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809842729,"filename":"image_22112025_12_08_13_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1974120024d2a7cecd055cc45925150e.jpg","text":"TemporaryFile(/tmp/multipartBody6341428613611021656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809842729,"filename":"image_22112025_12_08_22_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395697223","file1":"1395697222","file0":"1395697220","file4":"1395697225","file5":"1395697226","file3":"1395697224"},"map_files_photo_id_array":[{"photo_id":"1395697226","filename":"file5"},{"photo_id":"1395697223","filename":"file2"},{"photo_id":"1395697225","filename":"file4"},{"photo_id":"1395697222","filename":"file1"},{"photo_id":"1395697220","filename":"file0"},{"photo_id":"1395697224","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395697220":["hashtag1","hashtag2"]},{"1395697223":["hashtag1","hashtag2"]},{"1395697226":["hashtag1","hashtag2"]},{"1395697225":["hashtag1","hashtag2"]},{"1395697222":["hashtag1","hashtag2"]},{"1395697224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395697220, 1395697223, 1395697226, 1395697225, 1395697222, 1395697224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.476298093795776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:10:22.315950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_32_2738.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_34_2655.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_37_2665.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_40_3554.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_43_2502.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_47_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_32_2738.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_34_2655.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_37_2665.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_40_3554.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_43_2502.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_47_3661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6005167961120605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:10:42.249120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_32_2738.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_34_2655.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_37_2665.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_40_3554.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_43_2502.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_47_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_32_2738.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_34_2655.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_37_2665.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_40_3554.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_43_2502.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_47_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395697330","1395697689","1395697408","1395697609","1395697548","1395697476"],"photo_ids_order":["1395697330","1395697408","1395697476","1395697548","1395697609","1395697689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fdec029b94304da1b03a476d722d4ae.jpg","text":"TemporaryFile(/tmp/multipartBody3618816877484660566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809902921,"filename":"image_22112025_12_08_32_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb21728179b86e8b17afa9bbcf64e63d.jpg","text":"TemporaryFile(/tmp/multipartBody3401645889140026717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809902921,"filename":"image_22112025_12_08_47_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfe0eb7e6a40531f0c23f52a4dbb68c7.jpg","text":"TemporaryFile(/tmp/multipartBody7243034377841281953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809902921,"filename":"image_22112025_12_08_34_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa857da3e589adcb446528c5f8a13cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7626161981874520106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809902921,"filename":"image_22112025_12_08_43_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcbdfdc498d595f98904b5079e59b815.jpg","text":"TemporaryFile(/tmp/multipartBody7061445040560692726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809902921,"filename":"image_22112025_12_08_40_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60c05c6a02b41514646c9d5849761f66.jpg","text":"TemporaryFile(/tmp/multipartBody7341771170184965545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809902921,"filename":"image_22112025_12_08_37_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395697476","file1":"1395697408","file0":"1395697330","file4":"1395697609","file5":"1395697689","file3":"1395697548"},"map_files_photo_id_array":[{"photo_id":"1395697689","filename":"file5"},{"photo_id":"1395697476","filename":"file2"},{"photo_id":"1395697609","filename":"file4"},{"photo_id":"1395697408","filename":"file1"},{"photo_id":"1395697330","filename":"file0"},{"photo_id":"1395697548","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395697330":["hashtag1","hashtag2"]},{"1395697689":["hashtag1","hashtag2"]},{"1395697408":["hashtag1","hashtag2"]},{"1395697609":["hashtag1","hashtag2"]},{"1395697548":["hashtag1","hashtag2"]},{"1395697476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395697330, 1395697689, 1395697408, 1395697609, 1395697548, 1395697476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.177900075912476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:11:22.478154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_49_2664.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_52_2585.jpg', '/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_56_3867.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_07_3012.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_11_3748.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_14_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_49_2664.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_52_2585.jpg
/home/pi/Desktop/images/22112025/12/08/image_22112025_12_08_56_3867.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_07_3012.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_11_3748.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_14_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395698186","1395697976","1395698143","1395698022","1395697899","1395698063"],"photo_ids_order":["1395697899","1395697976","1395698022","1395698063","1395698143","1395698186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cef5cb0bcae5d32459014b0c4f8183e.jpg","text":"TemporaryFile(/tmp/multipartBody3640635664820806636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809943185,"filename":"image_22112025_12_10_14_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4254bd1c6208a54156a0a238bbb43fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8315264073855731096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809943185,"filename":"image_22112025_12_08_52_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12a1df8a7ce0a19b065714c3f24da3c7.jpg","text":"TemporaryFile(/tmp/multipartBody2559722278448649159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809943185,"filename":"image_22112025_12_10_11_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/953e679fc9b7090bc88067192ab738a3.jpg","text":"TemporaryFile(/tmp/multipartBody716768283738901962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809943185,"filename":"image_22112025_12_08_56_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff79278cd73acb41dfc31fcba979953a.jpg","text":"TemporaryFile(/tmp/multipartBody3781020057655935161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809943185,"filename":"image_22112025_12_08_49_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e0bcdb5431b67fdf1aa9ff8eec359a2.jpg","text":"TemporaryFile(/tmp/multipartBody5327115386021447835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809943185,"filename":"image_22112025_12_10_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395698022","file1":"1395697976","file0":"1395697899","file4":"1395698143","file5":"1395698186","file3":"1395698063"},"map_files_photo_id_array":[{"photo_id":"1395698186","filename":"file5"},{"photo_id":"1395698022","filename":"file2"},{"photo_id":"1395698143","filename":"file4"},{"photo_id":"1395697976","filename":"file1"},{"photo_id":"1395697899","filename":"file0"},{"photo_id":"1395698063","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395698186":["hashtag1","hashtag2"]},{"1395697976":["hashtag1","hashtag2"]},{"1395698143":["hashtag1","hashtag2"]},{"1395698022":["hashtag1","hashtag2"]},{"1395697899":["hashtag1","hashtag2"]},{"1395698063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395698186, 1395697976, 1395698143, 1395698022, 1395697899, 1395698063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70789384841919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:12:03.237869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_16_2644.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_20_3696.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_23_2609.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_25_2681.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_29_3725.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_32_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_16_2644.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_20_3696.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_23_2609.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_25_2681.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_29_3725.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_32_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395698345","1395698312","1395698464","1395698503","1395698424","1395698381"],"photo_ids_order":["1395698312","1395698345","1395698381","1395698424","1395698464","1395698503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb97b4b6f03e5b061cafe5a02e844b04.jpg","text":"TemporaryFile(/tmp/multipartBody5545477252227938645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809983967,"filename":"image_22112025_12_10_20_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d99cc2e4da50e7e31a3c2521d4dfa073.jpg","text":"TemporaryFile(/tmp/multipartBody3722282074444140363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809983967,"filename":"image_22112025_12_10_16_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba0dcbca4618675861546db1d5b3bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody8618062267610091223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809983967,"filename":"image_22112025_12_10_29_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b358a1b34be994977a416e91e780ccd.jpg","text":"TemporaryFile(/tmp/multipartBody545753676211359139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809983967,"filename":"image_22112025_12_10_32_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b99154ade437aa61f6da507452b3c991.jpg","text":"TemporaryFile(/tmp/multipartBody3013920216212265682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809983967,"filename":"image_22112025_12_10_25_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/facff63941572dd0decefb662b1aa5f8.jpg","text":"TemporaryFile(/tmp/multipartBody8511978026059585671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763809983967,"filename":"image_22112025_12_10_23_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395698381","file1":"1395698345","file0":"1395698312","file4":"1395698464","file5":"1395698503","file3":"1395698424"},"map_files_photo_id_array":[{"photo_id":"1395698503","filename":"file5"},{"photo_id":"1395698381","filename":"file2"},{"photo_id":"1395698464","filename":"file4"},{"photo_id":"1395698345","filename":"file1"},{"photo_id":"1395698312","filename":"file0"},{"photo_id":"1395698424","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395698345":["hashtag1","hashtag2"]},{"1395698312":["hashtag1","hashtag2"]},{"1395698464":["hashtag1","hashtag2"]},{"1395698503":["hashtag1","hashtag2"]},{"1395698424":["hashtag1","hashtag2"]},{"1395698381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395698345, 1395698312, 1395698464, 1395698503, 1395698424, 1395698381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09800386428833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:12:42.718387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_38_3578.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_41_2729.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_43_2645.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_47_3537.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_52_2580.jpg', '/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_56_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_38_3578.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_41_2729.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_43_2645.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_47_3537.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_52_2580.jpg
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_56_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395698630","1395698632","1395698629","1395698623","1395698625","1395698622"],"photo_ids_order":["1395698622","1395698623","1395698625","1395698629","1395698630","1395698632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddc207786bb28841cca92d96ad490154.jpg","text":"TemporaryFile(/tmp/multipartBody6516745103489312726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810023390,"filename":"image_22112025_12_10_52_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/568ed2849dda04d9e691b4328b0f3f66.jpg","text":"TemporaryFile(/tmp/multipartBody8907159606916929140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810023390,"filename":"image_22112025_12_10_56_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cad2ba61f75326bb16c88935a9fa795.jpg","text":"TemporaryFile(/tmp/multipartBody482445217116356205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810023390,"filename":"image_22112025_12_10_47_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/336e7537837e91e5517ff07431d1cd95.jpg","text":"TemporaryFile(/tmp/multipartBody1868176586957961180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810023390,"filename":"image_22112025_12_10_41_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9d8be6788f922cf606da7889b1817fd.jpg","text":"TemporaryFile(/tmp/multipartBody7511490877200786917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810023390,"filename":"image_22112025_12_10_43_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb625dbc2ddcdbbe46ce0e3dc5969644.jpg","text":"TemporaryFile(/tmp/multipartBody1933410665367465539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810023390,"filename":"image_22112025_12_10_38_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395698625","file1":"1395698623","file0":"1395698622","file4":"1395698630","file5":"1395698632","file3":"1395698629"},"map_files_photo_id_array":[{"photo_id":"1395698632","filename":"file5"},{"photo_id":"1395698625","filename":"file2"},{"photo_id":"1395698630","filename":"file4"},{"photo_id":"1395698623","filename":"file1"},{"photo_id":"1395698622","filename":"file0"},{"photo_id":"1395698629","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395698630":["hashtag1","hashtag2"]},{"1395698632":["hashtag1","hashtag2"]},{"1395698629":["hashtag1","hashtag2"]},{"1395698623":["hashtag1","hashtag2"]},{"1395698625":["hashtag1","hashtag2"]},{"1395698622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395698630, 1395698632, 1395698629, 1395698623, 1395698625, 1395698622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21760869026184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:13:21.871444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_59_2845.jpg', '/home/pi/Desktop/images/22112025/12/11/image_22112025_12_11_01_2598.jpg', '/home/pi/Desktop/images/22112025/12/11/image_22112025_12_11_05_3657.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_07_3017.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_11_3775.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_13_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/10/image_22112025_12_10_59_2845.jpg
/home/pi/Desktop/images/22112025/12/11/image_22112025_12_11_01_2598.jpg
/home/pi/Desktop/images/22112025/12/11/image_22112025_12_11_05_3657.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_07_3017.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_11_3775.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_13_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395698846","1395698813","1395698741","1395698704","1395698778","1395698882"],"photo_ids_order":["1395698704","1395698741","1395698778","1395698813","1395698846","1395698882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07f7cce6526f933e3e30888c18c86d97.jpg","text":"TemporaryFile(/tmp/multipartBody791750166821110528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810062576,"filename":"image_22112025_12_12_11_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfd3f2d5be7001cf6582e7eecdab7e00.jpg","text":"TemporaryFile(/tmp/multipartBody3425690852795403003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810062576,"filename":"image_22112025_12_12_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b41c246990962857fefc22c6d425f242.jpg","text":"TemporaryFile(/tmp/multipartBody2641275596963947101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810062576,"filename":"image_22112025_12_11_01_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85c3a30ff20a18e0c721b03aecb333fb.jpg","text":"TemporaryFile(/tmp/multipartBody3037203613407631705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810062576,"filename":"image_22112025_12_10_59_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7caf3d082fd84573e586b1caf18b87bf.jpg","text":"TemporaryFile(/tmp/multipartBody1402028932393399460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810062576,"filename":"image_22112025_12_11_05_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d591c26fdd7f6de79911c1f7596446c5.jpg","text":"TemporaryFile(/tmp/multipartBody8515956463417051424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810062576,"filename":"image_22112025_12_12_13_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395698778","file1":"1395698741","file0":"1395698704","file4":"1395698846","file5":"1395698882","file3":"1395698813"},"map_files_photo_id_array":[{"photo_id":"1395698882","filename":"file5"},{"photo_id":"1395698778","filename":"file2"},{"photo_id":"1395698846","filename":"file4"},{"photo_id":"1395698741","filename":"file1"},{"photo_id":"1395698704","filename":"file0"},{"photo_id":"1395698813","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395698846":["hashtag1","hashtag2"]},{"1395698813":["hashtag1","hashtag2"]},{"1395698741":["hashtag1","hashtag2"]},{"1395698704":["hashtag1","hashtag2"]},{"1395698778":["hashtag1","hashtag2"]},{"1395698882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395698846, 1395698813, 1395698741, 1395698704, 1395698778, 1395698882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98919439315796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:14:02.835071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_16_2788.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_20_3790.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_22_2580.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_25_2617.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_28_2833.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_32_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_16_2788.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_20_3790.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_22_2580.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_25_2617.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_28_2833.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_32_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699101","1395699195","1395699189","1395699162","1395699234","1395699191"],"photo_ids_order":["1395699101","1395699162","1395699189","1395699191","1395699195","1395699234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0851bf3348edb75895fc4d533f5dc16.jpg","text":"TemporaryFile(/tmp/multipartBody4003626584708229648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810103600,"filename":"image_22112025_12_12_16_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/382ec41b7ca8cb38cbc7818ed2dedac3.jpg","text":"TemporaryFile(/tmp/multipartBody5181232241438241553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810103600,"filename":"image_22112025_12_12_28_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9819f03b441d89787e98bfe60fa1e854.jpg","text":"TemporaryFile(/tmp/multipartBody4626308216960904792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810103600,"filename":"image_22112025_12_12_22_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c84423def5906c4f50d168d8b586cf4b.jpg","text":"TemporaryFile(/tmp/multipartBody2208972591888109239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810103600,"filename":"image_22112025_12_12_20_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27fd656c2ed89983d532a92ad6014bff.jpg","text":"TemporaryFile(/tmp/multipartBody3198067875802708969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810103600,"filename":"image_22112025_12_12_32_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45ec3f719ecad3bddbc68764ae822998.jpg","text":"TemporaryFile(/tmp/multipartBody7362334999679275138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810103600,"filename":"image_22112025_12_12_25_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699189","file1":"1395699162","file0":"1395699101","file4":"1395699195","file5":"1395699234","file3":"1395699191"},"map_files_photo_id_array":[{"photo_id":"1395699234","filename":"file5"},{"photo_id":"1395699189","filename":"file2"},{"photo_id":"1395699195","filename":"file4"},{"photo_id":"1395699162","filename":"file1"},{"photo_id":"1395699101","filename":"file0"},{"photo_id":"1395699191","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699101":["hashtag1","hashtag2"]},{"1395699195":["hashtag1","hashtag2"]},{"1395699189":["hashtag1","hashtag2"]},{"1395699162":["hashtag1","hashtag2"]},{"1395699234":["hashtag1","hashtag2"]},{"1395699191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699101, 1395699195, 1395699189, 1395699162, 1395699234, 1395699191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18275332450867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:14:42.163509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_34_2541.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_38_3648.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_40_2554.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_43_2815.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_47_3646.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_49_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_34_2541.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_38_3648.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_40_2554.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_43_2815.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_47_3646.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_49_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699305","1395699308","1395699301","1395699310","1395699307","1395699309"],"photo_ids_order":["1395699301","1395699305","1395699307","1395699308","1395699309","1395699310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c88e46282e0b3204f83fc9d184e4663.jpg","text":"TemporaryFile(/tmp/multipartBody7561049322969380845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810142970,"filename":"image_22112025_12_12_38_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a6b41f8296842bf4849d82bda817ed7.jpg","text":"TemporaryFile(/tmp/multipartBody88752273461560694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810142970,"filename":"image_22112025_12_12_43_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22a12c77c8c6532457b651f05482142f.jpg","text":"TemporaryFile(/tmp/multipartBody6372469355386363447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810142970,"filename":"image_22112025_12_12_34_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9de58ee36657b8a2f8d6277d795844df.jpg","text":"TemporaryFile(/tmp/multipartBody5512223768460912406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810142970,"filename":"image_22112025_12_12_49_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5af2fd2d0a885d5de144e5cfb5419e21.jpg","text":"TemporaryFile(/tmp/multipartBody4837899354646950784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810142970,"filename":"image_22112025_12_12_40_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfdb0f86a67fe5f2d62118aaca38873f.jpg","text":"TemporaryFile(/tmp/multipartBody4132826761246896371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810142970,"filename":"image_22112025_12_12_47_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699307","file1":"1395699305","file0":"1395699301","file4":"1395699309","file5":"1395699310","file3":"1395699308"},"map_files_photo_id_array":[{"photo_id":"1395699310","filename":"file5"},{"photo_id":"1395699307","filename":"file2"},{"photo_id":"1395699309","filename":"file4"},{"photo_id":"1395699305","filename":"file1"},{"photo_id":"1395699301","filename":"file0"},{"photo_id":"1395699308","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699305":["hashtag1","hashtag2"]},{"1395699308":["hashtag1","hashtag2"]},{"1395699301":["hashtag1","hashtag2"]},{"1395699310":["hashtag1","hashtag2"]},{"1395699307":["hashtag1","hashtag2"]},{"1395699309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699305, 1395699308, 1395699301, 1395699310, 1395699307, 1395699309)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.98525667190552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:15:42.167133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_52_2741.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_56_3638.jpg', '/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_58_2607.jpg', '/home/pi/Desktop/images/22112025/12/13/image_22112025_12_13_01_2593.jpg', '/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_06_3018.jpg', '/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_10_3818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_52_2741.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_56_3638.jpg
/home/pi/Desktop/images/22112025/12/12/image_22112025_12_12_58_2607.jpg
/home/pi/Desktop/images/22112025/12/13/image_22112025_12_13_01_2593.jpg
/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_06_3018.jpg
/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_10_3818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699326","1395699322","1395699325","1395699324","1395699321","1395699323"],"photo_ids_order":["1395699321","1395699322","1395699323","1395699324","1395699325","1395699326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e64193e65ddc7cf9a0d557b40ddc8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6477071650232539504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810202875,"filename":"image_22112025_12_14_10_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9210c298a4576a7aefb4b41821bdf900.jpg","text":"TemporaryFile(/tmp/multipartBody5368391503186277014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810202875,"filename":"image_22112025_12_12_56_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e80c901f8fce57bf4f7c5b5885ffe99c.jpg","text":"TemporaryFile(/tmp/multipartBody7188762054160436249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810202875,"filename":"image_22112025_12_14_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35285a0801054fde732fb1ae41ed5a82.jpg","text":"TemporaryFile(/tmp/multipartBody4608988983745739324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810202875,"filename":"image_22112025_12_13_01_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c70f575ba8197aa5a78b237b6db52382.jpg","text":"TemporaryFile(/tmp/multipartBody8159009478274225434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810202875,"filename":"image_22112025_12_12_52_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99a0a9869f3cb5d075843708a4807504.jpg","text":"TemporaryFile(/tmp/multipartBody6348736823580372268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810202875,"filename":"image_22112025_12_12_58_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699323","file1":"1395699322","file0":"1395699321","file4":"1395699325","file5":"1395699326","file3":"1395699324"},"map_files_photo_id_array":[{"photo_id":"1395699326","filename":"file5"},{"photo_id":"1395699323","filename":"file2"},{"photo_id":"1395699325","filename":"file4"},{"photo_id":"1395699322","filename":"file1"},{"photo_id":"1395699321","filename":"file0"},{"photo_id":"1395699324","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699326":["hashtag1","hashtag2"]},{"1395699322":["hashtag1","hashtag2"]},{"1395699325":["hashtag1","hashtag2"]},{"1395699324":["hashtag1","hashtag2"]},{"1395699321":["hashtag1","hashtag2"]},{"1395699323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699326, 1395699322, 1395699325, 1395699324, 1395699321, 1395699323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26033616065979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:16:22.296437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_14_4190.jpg', '/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_16_1660.jpg', '/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_18_2576.jpg', '/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_22_3645.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_07_3015.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_11_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_14_4190.jpg
/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_16_1660.jpg
/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_18_2576.jpg
/home/pi/Desktop/images/22112025/12/14/image_22112025_12_14_22_3645.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_07_3015.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_11_3605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699328","1395699343","1395699339","1395699333","1395699347","1395699335"],"photo_ids_order":["1395699328","1395699333","1395699335","1395699339","1395699343","1395699347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5b00db0d9da3b35d1a9feb4019dfcb7.jpg","text":"TemporaryFile(/tmp/multipartBody2356363869126316577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810242977,"filename":"image_22112025_12_14_14_4190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fc474c44e2ca886b10aaa070fb62752.jpg","text":"TemporaryFile(/tmp/multipartBody5673023593080626198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810242977,"filename":"image_22112025_12_15_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0ddb6fc9886c49d39301fc7794efa2c.jpg","text":"TemporaryFile(/tmp/multipartBody256921081558317415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810242977,"filename":"image_22112025_12_14_22_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60f3a3ff9cc7764f8fbf8d582c32e9fc.jpg","text":"TemporaryFile(/tmp/multipartBody6955172153304363915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810242977,"filename":"image_22112025_12_14_16_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56aca8d07401fb025fa8aa54332b0545.jpg","text":"TemporaryFile(/tmp/multipartBody4868670751711914371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810242977,"filename":"image_22112025_12_15_11_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46e4ab5031646be3bb333dcf3ad4e52b.jpg","text":"TemporaryFile(/tmp/multipartBody151384175512012605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810242977,"filename":"image_22112025_12_14_18_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699335","file1":"1395699333","file0":"1395699328","file4":"1395699343","file5":"1395699347","file3":"1395699339"},"map_files_photo_id_array":[{"photo_id":"1395699347","filename":"file5"},{"photo_id":"1395699335","filename":"file2"},{"photo_id":"1395699343","filename":"file4"},{"photo_id":"1395699333","filename":"file1"},{"photo_id":"1395699328","filename":"file0"},{"photo_id":"1395699339","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699328":["hashtag1","hashtag2"]},{"1395699343":["hashtag1","hashtag2"]},{"1395699339":["hashtag1","hashtag2"]},{"1395699333":["hashtag1","hashtag2"]},{"1395699347":["hashtag1","hashtag2"]},{"1395699335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699328, 1395699343, 1395699339, 1395699333, 1395699347, 1395699335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.392818450927734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:17:02.595900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_13_2560.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_17_3620.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_19_2650.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_22_2813.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_26_3633.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_29_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_13_2560.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_17_3620.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_19_2650.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_22_2813.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_26_3633.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_29_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699352","1395699361","1395699355","1395699357","1395699354","1395699353"],"photo_ids_order":["1395699352","1395699353","1395699354","1395699355","1395699357","1395699361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a657f4bdb008ece3e4f6cb15e9752c2c.jpg","text":"TemporaryFile(/tmp/multipartBody5136624196562940651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810283364,"filename":"image_22112025_12_15_13_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6da5c87effb8875e1dc83296f494f35.jpg","text":"TemporaryFile(/tmp/multipartBody2027430861218059587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810283364,"filename":"image_22112025_12_15_29_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0217a6bea0dceaf77888cad408d0c154.jpg","text":"TemporaryFile(/tmp/multipartBody5046297054047776590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810283364,"filename":"image_22112025_12_15_22_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd8ec576567fa4c2e7e05bed8df2e13e.jpg","text":"TemporaryFile(/tmp/multipartBody1992617659115776261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810283364,"filename":"image_22112025_12_15_26_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38a3baeff7c1f604da498761d9243e85.jpg","text":"TemporaryFile(/tmp/multipartBody1611444574941236986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810283364,"filename":"image_22112025_12_15_19_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbc01aaba95bca2186d25eb356df4d1f.jpg","text":"TemporaryFile(/tmp/multipartBody1685055441994010384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810283364,"filename":"image_22112025_12_15_17_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699354","file1":"1395699353","file0":"1395699352","file4":"1395699357","file5":"1395699361","file3":"1395699355"},"map_files_photo_id_array":[{"photo_id":"1395699361","filename":"file5"},{"photo_id":"1395699354","filename":"file2"},{"photo_id":"1395699357","filename":"file4"},{"photo_id":"1395699353","filename":"file1"},{"photo_id":"1395699352","filename":"file0"},{"photo_id":"1395699355","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699352":["hashtag1","hashtag2"]},{"1395699361":["hashtag1","hashtag2"]},{"1395699355":["hashtag1","hashtag2"]},{"1395699357":["hashtag1","hashtag2"]},{"1395699354":["hashtag1","hashtag2"]},{"1395699353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699352, 1395699361, 1395699355, 1395699357, 1395699354, 1395699353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.510266065597534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:17:41.839064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_31_2790.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_34_2658.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_38_3653.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_40_2734.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_43_2687.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_47_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_31_2790.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_34_2658.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_38_3653.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_40_2734.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_43_2687.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_47_3590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699376","1395699373","1395699375","1395699371","1395699368","1395699377"],"photo_ids_order":["1395699368","1395699371","1395699373","1395699375","1395699376","1395699377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2232b434d342855e86cc6a07b0e2304.jpg","text":"TemporaryFile(/tmp/multipartBody3524515583311859575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810322606,"filename":"image_22112025_12_15_43_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e678b1796cf897704c80b23d57ae2560.jpg","text":"TemporaryFile(/tmp/multipartBody3708863794767888299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810322606,"filename":"image_22112025_12_15_38_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb7939d141d29b3e61d285770611dbc5.jpg","text":"TemporaryFile(/tmp/multipartBody8880315858773371088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810322606,"filename":"image_22112025_12_15_40_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fa6b4758ec475b8fc1541a9bdd5188e.jpg","text":"TemporaryFile(/tmp/multipartBody8070761283916181192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810322606,"filename":"image_22112025_12_15_34_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19356d4c8c82931716b118d3bd1b5b9e.jpg","text":"TemporaryFile(/tmp/multipartBody1493853998584618971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810322606,"filename":"image_22112025_12_15_31_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a854337ff37358329ce04c4c6ae5f9d.jpg","text":"TemporaryFile(/tmp/multipartBody6857339351802519624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810322606,"filename":"image_22112025_12_15_47_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699373","file1":"1395699371","file0":"1395699368","file4":"1395699376","file5":"1395699377","file3":"1395699375"},"map_files_photo_id_array":[{"photo_id":"1395699377","filename":"file5"},{"photo_id":"1395699373","filename":"file2"},{"photo_id":"1395699376","filename":"file4"},{"photo_id":"1395699371","filename":"file1"},{"photo_id":"1395699368","filename":"file0"},{"photo_id":"1395699375","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699376":["hashtag1","hashtag2"]},{"1395699373":["hashtag1","hashtag2"]},{"1395699375":["hashtag1","hashtag2"]},{"1395699371":["hashtag1","hashtag2"]},{"1395699368":["hashtag1","hashtag2"]},{"1395699377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699376, 1395699373, 1395699375, 1395699371, 1395699368, 1395699377)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.6960563659668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:18:42.110217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_49_2690.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_52_2679.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_55_2789.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_07_3012.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_10_3657.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_16_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_49_2690.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_52_2679.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_55_2789.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_07_3012.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_10_3657.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_16_3637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5807278156280518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:19:03.708373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_49_2690.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_52_2679.jpg', '/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_55_2789.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_07_3012.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_10_3657.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_16_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_49_2690.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_52_2679.jpg
/home/pi/Desktop/images/22112025/12/15/image_22112025_12_15_55_2789.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_07_3012.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_10_3657.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_16_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699394","1395699393","1395699396","1395699398","1395699402","1395699395"],"photo_ids_order":["1395699393","1395699394","1395699395","1395699396","1395699398","1395699402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51bdfa970d2c13d005681491d44adb5f.jpg","text":"TemporaryFile(/tmp/multipartBody3329209767137254079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810404587,"filename":"image_22112025_12_15_52_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1c201a10982c491a9336acb40d93134.jpg","text":"TemporaryFile(/tmp/multipartBody7666850582312001401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810404587,"filename":"image_22112025_12_15_49_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2405b6a9e3704a5792a21b3a6b3124d4.jpg","text":"TemporaryFile(/tmp/multipartBody861076663508153423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810404587,"filename":"image_22112025_12_17_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5db99d524f3ea78410d4e464d3803a51.jpg","text":"TemporaryFile(/tmp/multipartBody4858233140557289875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810404587,"filename":"image_22112025_12_17_10_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b7c4fba797ed8810bd07eaf3791784a.jpg","text":"TemporaryFile(/tmp/multipartBody9181509156470373370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810404587,"filename":"image_22112025_12_17_16_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc5073af7c816cd2ca187e19f43e6b66.jpg","text":"TemporaryFile(/tmp/multipartBody6186145996648118225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810404587,"filename":"image_22112025_12_15_55_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699395","file1":"1395699394","file0":"1395699393","file4":"1395699398","file5":"1395699402","file3":"1395699396"},"map_files_photo_id_array":[{"photo_id":"1395699402","filename":"file5"},{"photo_id":"1395699395","filename":"file2"},{"photo_id":"1395699398","filename":"file4"},{"photo_id":"1395699394","filename":"file1"},{"photo_id":"1395699393","filename":"file0"},{"photo_id":"1395699396","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699394":["hashtag1","hashtag2"]},{"1395699393":["hashtag1","hashtag2"]},{"1395699396":["hashtag1","hashtag2"]},{"1395699398":["hashtag1","hashtag2"]},{"1395699402":["hashtag1","hashtag2"]},{"1395699395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699394, 1395699393, 1395699396, 1395699398, 1395699402, 1395699395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53779315948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:19:42.722644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_19_2742.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_22_2529.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_25_3652.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_28_2651.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_31_2657.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_34_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_19_2742.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_22_2529.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_25_3652.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_28_2651.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_31_2657.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_34_3754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699410","1395699413","1395699412","1395699415","1395699417","1395699414"],"photo_ids_order":["1395699410","1395699412","1395699413","1395699414","1395699415","1395699417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50fd92883fdfd7aaa8171b2905adbca4.jpg","text":"TemporaryFile(/tmp/multipartBody1169966205336031647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810443442,"filename":"image_22112025_12_17_19_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8cb7c8c0a4efffb8a0a1f67755c76cb.jpg","text":"TemporaryFile(/tmp/multipartBody7496232098638727485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810443442,"filename":"image_22112025_12_17_25_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99f4d87f2aae94d821e5c53be66cd874.jpg","text":"TemporaryFile(/tmp/multipartBody5697211632418504055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810443442,"filename":"image_22112025_12_17_22_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26e708d82bc96b81598ec94acff26121.jpg","text":"TemporaryFile(/tmp/multipartBody6437002280937651517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810443442,"filename":"image_22112025_12_17_31_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1b6ec652bb258498499354ade1a0849.jpg","text":"TemporaryFile(/tmp/multipartBody1654508206456127878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810443442,"filename":"image_22112025_12_17_34_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82cee48f0cd95681c4105d47db95fe6a.jpg","text":"TemporaryFile(/tmp/multipartBody2622851811081600014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810443442,"filename":"image_22112025_12_17_28_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699413","file1":"1395699412","file0":"1395699410","file4":"1395699415","file5":"1395699417","file3":"1395699414"},"map_files_photo_id_array":[{"photo_id":"1395699417","filename":"file5"},{"photo_id":"1395699413","filename":"file2"},{"photo_id":"1395699415","filename":"file4"},{"photo_id":"1395699412","filename":"file1"},{"photo_id":"1395699410","filename":"file0"},{"photo_id":"1395699414","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699410":["hashtag1","hashtag2"]},{"1395699413":["hashtag1","hashtag2"]},{"1395699412":["hashtag1","hashtag2"]},{"1395699415":["hashtag1","hashtag2"]},{"1395699417":["hashtag1","hashtag2"]},{"1395699414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699410, 1395699413, 1395699412, 1395699415, 1395699417, 1395699414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.924243211746216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:20:22.000380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_37_2663.jpg', '/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_40_2701.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_06_3011.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_10_3619.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_12_2621.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_15_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_37_2663.jpg
/home/pi/Desktop/images/22112025/12/17/image_22112025_12_17_40_2701.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_06_3011.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_10_3619.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_12_2621.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_15_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699431","1395699433","1395699427","1395699421","1395699423","1395699429"],"photo_ids_order":["1395699421","1395699423","1395699427","1395699429","1395699431","1395699433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80f489d9c961f4ce1874b882d372abd4.jpg","text":"TemporaryFile(/tmp/multipartBody574047139184571780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810482775,"filename":"image_22112025_12_19_12_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c5435d37c9d9935904dbe2287e39412.jpg","text":"TemporaryFile(/tmp/multipartBody4001675896725725995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810482775,"filename":"image_22112025_12_19_15_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a660c2e5f45145521ff10de5baf4c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8144841765983664353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810482775,"filename":"image_22112025_12_19_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/791dc331a47fca0a0a69cb998607393c.jpg","text":"TemporaryFile(/tmp/multipartBody5163371018134795085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810482775,"filename":"image_22112025_12_17_37_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f367e034e2a3664637e066663823cea.jpg","text":"TemporaryFile(/tmp/multipartBody2116264557153857219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810482775,"filename":"image_22112025_12_17_40_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84d53dd4bc19f9f6f45a65d2f34803ba.jpg","text":"TemporaryFile(/tmp/multipartBody3828361854496205366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810482775,"filename":"image_22112025_12_19_10_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699427","file1":"1395699423","file0":"1395699421","file4":"1395699431","file5":"1395699433","file3":"1395699429"},"map_files_photo_id_array":[{"photo_id":"1395699433","filename":"file5"},{"photo_id":"1395699427","filename":"file2"},{"photo_id":"1395699431","filename":"file4"},{"photo_id":"1395699423","filename":"file1"},{"photo_id":"1395699421","filename":"file0"},{"photo_id":"1395699429","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699431":["hashtag1","hashtag2"]},{"1395699433":["hashtag1","hashtag2"]},{"1395699427":["hashtag1","hashtag2"]},{"1395699421":["hashtag1","hashtag2"]},{"1395699423":["hashtag1","hashtag2"]},{"1395699429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699431, 1395699433, 1395699427, 1395699421, 1395699423, 1395699429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90122151374817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:21:02.896223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_19_3624.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_22_2741.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_24_2695.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_27_2899.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_31_3860.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_34_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_19_3624.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_22_2741.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_24_2695.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_27_2899.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_31_3860.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_34_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699436","1395699435","1395699438","1395699440","1395699443","1395699437"],"photo_ids_order":["1395699435","1395699436","1395699437","1395699438","1395699440","1395699443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05221ba7993391a37149769ea2881581.jpg","text":"TemporaryFile(/tmp/multipartBody2739630297537211563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810523675,"filename":"image_22112025_12_19_22_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfefdb20bbcf5e698496112b71364dec.jpg","text":"TemporaryFile(/tmp/multipartBody2192303452069990769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810523675,"filename":"image_22112025_12_19_19_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4b1f8a96ea4b9f059de96605fed1ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4644745297920343378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810523675,"filename":"image_22112025_12_19_27_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fe8a3ec34497e5e5558d74817ca7e00.jpg","text":"TemporaryFile(/tmp/multipartBody550054824244376412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810523675,"filename":"image_22112025_12_19_31_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a03b0f7594fa401fb69f1403626be1f.jpg","text":"TemporaryFile(/tmp/multipartBody1727608064885776333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810523675,"filename":"image_22112025_12_19_34_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ceecc690764fdb5a945bf5e87f26350.jpg","text":"TemporaryFile(/tmp/multipartBody1659702887752845191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810523675,"filename":"image_22112025_12_19_24_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699437","file1":"1395699436","file0":"1395699435","file4":"1395699440","file5":"1395699443","file3":"1395699438"},"map_files_photo_id_array":[{"photo_id":"1395699443","filename":"file5"},{"photo_id":"1395699437","filename":"file2"},{"photo_id":"1395699440","filename":"file4"},{"photo_id":"1395699436","filename":"file1"},{"photo_id":"1395699435","filename":"file0"},{"photo_id":"1395699438","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699436":["hashtag1","hashtag2"]},{"1395699435":["hashtag1","hashtag2"]},{"1395699438":["hashtag1","hashtag2"]},{"1395699440":["hashtag1","hashtag2"]},{"1395699443":["hashtag1","hashtag2"]},{"1395699437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699436, 1395699435, 1395699438, 1395699440, 1395699443, 1395699437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57657432556152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:21:42.360876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_37_2803.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_39_2705.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_43_3581.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_46_2665.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_48_2699.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_52_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_37_2803.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_39_2705.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_43_3581.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_46_2665.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_48_2699.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_52_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699457","1395699454","1395699453","1395699456","1395699452","1395699455"],"photo_ids_order":["1395699452","1395699453","1395699454","1395699455","1395699456","1395699457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6c5df1d37b73e574df8b57529d43691.jpg","text":"TemporaryFile(/tmp/multipartBody4589867930739691032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810563054,"filename":"image_22112025_12_19_52_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b998766cc813a01c32665755c81bab4.jpg","text":"TemporaryFile(/tmp/multipartBody6703158930065172768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810563054,"filename":"image_22112025_12_19_43_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a93711e87f1a9ae3ebdaf36a47e6aa6.jpg","text":"TemporaryFile(/tmp/multipartBody6774420474509261450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810563054,"filename":"image_22112025_12_19_39_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21074888d4a608996a14665462cc6385.jpg","text":"TemporaryFile(/tmp/multipartBody2537467590767970072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810563054,"filename":"image_22112025_12_19_48_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e07f7e1c9176f48a0cf3cd075373ed9.jpg","text":"TemporaryFile(/tmp/multipartBody5315443305529201000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810563054,"filename":"image_22112025_12_19_37_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/035223ef898150fa75e0660cf2b2a589.jpg","text":"TemporaryFile(/tmp/multipartBody5317143723938607981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810563054,"filename":"image_22112025_12_19_46_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699454","file1":"1395699453","file0":"1395699452","file4":"1395699456","file5":"1395699457","file3":"1395699455"},"map_files_photo_id_array":[{"photo_id":"1395699457","filename":"file5"},{"photo_id":"1395699454","filename":"file2"},{"photo_id":"1395699456","filename":"file4"},{"photo_id":"1395699453","filename":"file1"},{"photo_id":"1395699452","filename":"file0"},{"photo_id":"1395699455","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699457":["hashtag1","hashtag2"]},{"1395699454":["hashtag1","hashtag2"]},{"1395699453":["hashtag1","hashtag2"]},{"1395699456":["hashtag1","hashtag2"]},{"1395699452":["hashtag1","hashtag2"]},{"1395699455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699457, 1395699454, 1395699453, 1395699456, 1395699452, 1395699455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28578209877014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:22:22.645735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_55_2782.jpg', '/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_58_2934.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_06_3011.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_10_3733.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_12_2510.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_16_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_55_2782.jpg
/home/pi/Desktop/images/22112025/12/19/image_22112025_12_19_58_2934.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_06_3011.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_10_3733.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_12_2510.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_16_3541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699463","1395699472","1395699466","1395699469","1395699474","1395699461"],"photo_ids_order":["1395699461","1395699463","1395699466","1395699469","1395699472","1395699474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/170898660c7f3b4422be8fb1765fe062.jpg","text":"TemporaryFile(/tmp/multipartBody3578381445563619988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810603334,"filename":"image_22112025_12_19_58_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6fc757c36baa9fbdae755454c5b1efb.jpg","text":"TemporaryFile(/tmp/multipartBody9211916981484873892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810603334,"filename":"image_22112025_12_21_12_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49c24e89bc9f36e037621f4db0b1802c.jpg","text":"TemporaryFile(/tmp/multipartBody467134747852142871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810603334,"filename":"image_22112025_12_21_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b512dea4e740f70e52176d1c71f3dd20.jpg","text":"TemporaryFile(/tmp/multipartBody4512005960815414955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810603334,"filename":"image_22112025_12_21_10_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a472b39b65c5197d94b6290309b74bf.jpg","text":"TemporaryFile(/tmp/multipartBody3700864878612034630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810603334,"filename":"image_22112025_12_21_16_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3da8c1c161cccc731898be3690ef1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7734930890637628049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810603334,"filename":"image_22112025_12_19_55_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699466","file1":"1395699463","file0":"1395699461","file4":"1395699472","file5":"1395699474","file3":"1395699469"},"map_files_photo_id_array":[{"photo_id":"1395699474","filename":"file5"},{"photo_id":"1395699466","filename":"file2"},{"photo_id":"1395699472","filename":"file4"},{"photo_id":"1395699463","filename":"file1"},{"photo_id":"1395699461","filename":"file0"},{"photo_id":"1395699469","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699463":["hashtag1","hashtag2"]},{"1395699472":["hashtag1","hashtag2"]},{"1395699466":["hashtag1","hashtag2"]},{"1395699469":["hashtag1","hashtag2"]},{"1395699474":["hashtag1","hashtag2"]},{"1395699461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699463, 1395699472, 1395699466, 1395699469, 1395699474, 1395699461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41194534301758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:23:02.672829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_19_2827.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_21_2655.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_25_3506.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_28_2619.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_30_2585.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_34_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_19_2827.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_21_2655.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_25_3506.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_28_2619.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_30_2585.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_34_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699475","1395699478","1395699480","1395699483","1395699477","1395699476"],"photo_ids_order":["1395699475","1395699476","1395699477","1395699478","1395699480","1395699483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de9925b317921bdc16bca2112812a3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3319483185282495545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810643472,"filename":"image_22112025_12_21_19_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bc908d72eb6ad6391cbde94f51c0c75.jpg","text":"TemporaryFile(/tmp/multipartBody1434989570986960174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810643472,"filename":"image_22112025_12_21_28_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f13b4a0f986ad5bdc298d98bfe59604b.jpg","text":"TemporaryFile(/tmp/multipartBody3973138840975888539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810643472,"filename":"image_22112025_12_21_30_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88b7b7729449f0a7dc0e645ab41beedc.jpg","text":"TemporaryFile(/tmp/multipartBody4263963403461946969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810643472,"filename":"image_22112025_12_21_34_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/759c81242d093367c166f741a592290b.jpg","text":"TemporaryFile(/tmp/multipartBody5316291280286662680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810643472,"filename":"image_22112025_12_21_25_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9599c9c15f39f16f8158346e8ee99524.jpg","text":"TemporaryFile(/tmp/multipartBody8185449349595534664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810643472,"filename":"image_22112025_12_21_21_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699477","file1":"1395699476","file0":"1395699475","file4":"1395699480","file5":"1395699483","file3":"1395699478"},"map_files_photo_id_array":[{"photo_id":"1395699483","filename":"file5"},{"photo_id":"1395699477","filename":"file2"},{"photo_id":"1395699480","filename":"file4"},{"photo_id":"1395699476","filename":"file1"},{"photo_id":"1395699475","filename":"file0"},{"photo_id":"1395699478","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699475":["hashtag1","hashtag2"]},{"1395699478":["hashtag1","hashtag2"]},{"1395699480":["hashtag1","hashtag2"]},{"1395699483":["hashtag1","hashtag2"]},{"1395699477":["hashtag1","hashtag2"]},{"1395699476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699475, 1395699478, 1395699480, 1395699483, 1395699477, 1395699476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35485076904297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:23:41.862111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_36_2539.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_39_2856.jpg', '/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_43_3713.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_07_3011.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_10_3565.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_13_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_36_2539.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_39_2856.jpg
/home/pi/Desktop/images/22112025/12/21/image_22112025_12_21_43_3713.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_07_3011.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_10_3565.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_13_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699493","1395699496","1395699495","1395699497","1395699491","1395699494"],"photo_ids_order":["1395699491","1395699493","1395699494","1395699495","1395699496","1395699497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63560578762bb0b5ad908cbc242b2b36.jpg","text":"TemporaryFile(/tmp/multipartBody3675700604749084797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810682578,"filename":"image_22112025_12_21_39_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b79da705fe502090d242019104b4b94c.jpg","text":"TemporaryFile(/tmp/multipartBody5256955046228521059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810682578,"filename":"image_22112025_12_23_10_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e48d1bcc08a3d3bb8c3feec875d689c.jpg","text":"TemporaryFile(/tmp/multipartBody961605858875044132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810682578,"filename":"image_22112025_12_23_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b29318733c63fe45f8a567b601f90ee6.jpg","text":"TemporaryFile(/tmp/multipartBody8482726367710221492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810682578,"filename":"image_22112025_12_23_13_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/546f5769658249baecfcdd506ec2bef1.jpg","text":"TemporaryFile(/tmp/multipartBody781510560428984223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810682578,"filename":"image_22112025_12_21_36_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21861516e66cbc74fe1c919ad0a0bda4.jpg","text":"TemporaryFile(/tmp/multipartBody1278616455914728407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810682578,"filename":"image_22112025_12_21_43_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699494","file1":"1395699493","file0":"1395699491","file4":"1395699496","file5":"1395699497","file3":"1395699495"},"map_files_photo_id_array":[{"photo_id":"1395699497","filename":"file5"},{"photo_id":"1395699494","filename":"file2"},{"photo_id":"1395699496","filename":"file4"},{"photo_id":"1395699493","filename":"file1"},{"photo_id":"1395699491","filename":"file0"},{"photo_id":"1395699495","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699493":["hashtag1","hashtag2"]},{"1395699496":["hashtag1","hashtag2"]},{"1395699495":["hashtag1","hashtag2"]},{"1395699497":["hashtag1","hashtag2"]},{"1395699491":["hashtag1","hashtag2"]},{"1395699494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699493, 1395699496, 1395699495, 1395699497, 1395699491, 1395699494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.577173471450806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:24:22.126950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_17_3725.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_19_2666.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_22_2630.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_26_3667.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_28_2564.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_31_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_17_3725.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_19_2666.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_22_2630.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_26_3667.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_28_2564.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_31_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699499","1395699517","1395699502","1395699505","1395699513","1395699509"],"photo_ids_order":["1395699499","1395699502","1395699505","1395699509","1395699513","1395699517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a0e21cce49fba150f04a0564323f6d9.jpg","text":"TemporaryFile(/tmp/multipartBody5601643296307862598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810722836,"filename":"image_22112025_12_23_17_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5990f861f78385888d8cdc16730d4e7.jpg","text":"TemporaryFile(/tmp/multipartBody5209491546147794558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810722836,"filename":"image_22112025_12_23_31_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efd67f4f8cea8ce2bca7cfe3bf5adc16.jpg","text":"TemporaryFile(/tmp/multipartBody4048648893654447834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810722836,"filename":"image_22112025_12_23_19_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d499df6e956fb6809e13c31e6b29e280.jpg","text":"TemporaryFile(/tmp/multipartBody5193910027749217482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810722836,"filename":"image_22112025_12_23_22_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6227195eb34e62b69666d1006ea87591.jpg","text":"TemporaryFile(/tmp/multipartBody2380902342830926730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810722836,"filename":"image_22112025_12_23_28_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be3aad38619f8eac2e5a7de036b90cef.jpg","text":"TemporaryFile(/tmp/multipartBody95060176609386552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810722836,"filename":"image_22112025_12_23_26_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699505","file1":"1395699502","file0":"1395699499","file4":"1395699513","file5":"1395699517","file3":"1395699509"},"map_files_photo_id_array":[{"photo_id":"1395699517","filename":"file5"},{"photo_id":"1395699505","filename":"file2"},{"photo_id":"1395699513","filename":"file4"},{"photo_id":"1395699502","filename":"file1"},{"photo_id":"1395699499","filename":"file0"},{"photo_id":"1395699509","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699499":["hashtag1","hashtag2"]},{"1395699517":["hashtag1","hashtag2"]},{"1395699502":["hashtag1","hashtag2"]},{"1395699505":["hashtag1","hashtag2"]},{"1395699513":["hashtag1","hashtag2"]},{"1395699509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699499, 1395699517, 1395699502, 1395699505, 1395699513, 1395699509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55861449241638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:25:03.045047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_35_3653.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_40_2626.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_44_3593.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_46_2619.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_49_2673.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_53_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_35_3653.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_40_2626.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_44_3593.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_46_2619.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_49_2673.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_53_3751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699530","1395699524","1395699526","1395699522","1395699525","1395699528"],"photo_ids_order":["1395699522","1395699524","1395699525","1395699526","1395699528","1395699530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c91f562116830cf7cf353e49f317631e.jpg","text":"TemporaryFile(/tmp/multipartBody8218531416238357616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810763835,"filename":"image_22112025_12_23_53_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fecebbcc23adf465da733ee0bba41d04.jpg","text":"TemporaryFile(/tmp/multipartBody144426806245731291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810763835,"filename":"image_22112025_12_23_40_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/513404267f1881ee85a4c875edf04500.jpg","text":"TemporaryFile(/tmp/multipartBody2256515088321671321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810763835,"filename":"image_22112025_12_23_46_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/737679475460eeb949af1a8291534d8e.jpg","text":"TemporaryFile(/tmp/multipartBody7412752037083262749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810763835,"filename":"image_22112025_12_23_35_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58a2f7cf45e6a77cd2cb8531c731836a.jpg","text":"TemporaryFile(/tmp/multipartBody3365546568292648738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810763835,"filename":"image_22112025_12_23_44_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d360cce07d57520877e04bea01fb6a77.jpg","text":"TemporaryFile(/tmp/multipartBody8356467472283660965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810763835,"filename":"image_22112025_12_23_49_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699525","file1":"1395699524","file0":"1395699522","file4":"1395699528","file5":"1395699530","file3":"1395699526"},"map_files_photo_id_array":[{"photo_id":"1395699530","filename":"file5"},{"photo_id":"1395699525","filename":"file2"},{"photo_id":"1395699528","filename":"file4"},{"photo_id":"1395699524","filename":"file1"},{"photo_id":"1395699522","filename":"file0"},{"photo_id":"1395699526","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699530":["hashtag1","hashtag2"]},{"1395699524":["hashtag1","hashtag2"]},{"1395699526":["hashtag1","hashtag2"]},{"1395699522":["hashtag1","hashtag2"]},{"1395699525":["hashtag1","hashtag2"]},{"1395699528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699530, 1395699524, 1395699526, 1395699522, 1395699525, 1395699528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34887933731079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:25:42.379155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_56_2886.jpg', '/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_58_2649.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_07_3012.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_10_3647.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_13_2595.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_16_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_56_2886.jpg
/home/pi/Desktop/images/22112025/12/23/image_22112025_12_23_58_2649.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_07_3012.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_10_3647.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_13_2595.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_16_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699544","1395699538","1395699547","1395699540","1395699546","1395699542"],"photo_ids_order":["1395699538","1395699540","1395699542","1395699544","1395699546","1395699547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ca6968d106101a35c196029c42ca6de.jpg","text":"TemporaryFile(/tmp/multipartBody3686267892550585692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810803060,"filename":"image_22112025_12_25_10_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5078cdbc237c2d2cb8c373f89c889aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6489482994065241679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810803060,"filename":"image_22112025_12_23_56_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/099684978bbe675f4983652eb88b20b6.jpg","text":"TemporaryFile(/tmp/multipartBody8338872183321428448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810803060,"filename":"image_22112025_12_25_16_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a43c31db3ff7009a4842b84069e341ed.jpg","text":"TemporaryFile(/tmp/multipartBody1381478409843858547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810803060,"filename":"image_22112025_12_23_58_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca7d45d876686bac4a89c1220adeea12.jpg","text":"TemporaryFile(/tmp/multipartBody8930789962790790689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810803060,"filename":"image_22112025_12_25_13_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/899cf0159cd67974a80f5036143f3a6b.jpg","text":"TemporaryFile(/tmp/multipartBody723552459976491062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810803060,"filename":"image_22112025_12_25_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699542","file1":"1395699540","file0":"1395699538","file4":"1395699546","file5":"1395699547","file3":"1395699544"},"map_files_photo_id_array":[{"photo_id":"1395699547","filename":"file5"},{"photo_id":"1395699542","filename":"file2"},{"photo_id":"1395699546","filename":"file4"},{"photo_id":"1395699540","filename":"file1"},{"photo_id":"1395699538","filename":"file0"},{"photo_id":"1395699544","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699544":["hashtag1","hashtag2"]},{"1395699538":["hashtag1","hashtag2"]},{"1395699547":["hashtag1","hashtag2"]},{"1395699540":["hashtag1","hashtag2"]},{"1395699546":["hashtag1","hashtag2"]},{"1395699542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699544, 1395699538, 1395699547, 1395699540, 1395699546, 1395699542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18070602416992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:26:22.639809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_19_2565.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_22_2661.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_25_3614.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_28_2594.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_31_2644.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_34_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_19_2565.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_22_2661.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_25_3614.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_28_2594.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_31_2644.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_34_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699562","1395699563","1395699551","1395699560","1395699554","1395699557"],"photo_ids_order":["1395699551","1395699554","1395699557","1395699560","1395699562","1395699563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/237c3897cfd18318bc91fe1eb326f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody738211189495202077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810843380,"filename":"image_22112025_12_25_31_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e4df400ebe24735972806751c5a4595.jpg","text":"TemporaryFile(/tmp/multipartBody2353874915080828553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810843380,"filename":"image_22112025_12_25_34_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a6090f6c67c280695b0e4db6b479361.jpg","text":"TemporaryFile(/tmp/multipartBody39996759467065685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810843380,"filename":"image_22112025_12_25_19_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d93181ab788cc8673c1391bd5f296f1.jpg","text":"TemporaryFile(/tmp/multipartBody484038708613143812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810843380,"filename":"image_22112025_12_25_28_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d276728916bce46475d9f293a7ad610c.jpg","text":"TemporaryFile(/tmp/multipartBody5614740011249191270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810843380,"filename":"image_22112025_12_25_22_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d5ca624c0c3155590a314b382192ec0.jpg","text":"TemporaryFile(/tmp/multipartBody2623033149140598105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810843380,"filename":"image_22112025_12_25_25_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699557","file1":"1395699554","file0":"1395699551","file4":"1395699562","file5":"1395699563","file3":"1395699560"},"map_files_photo_id_array":[{"photo_id":"1395699563","filename":"file5"},{"photo_id":"1395699557","filename":"file2"},{"photo_id":"1395699562","filename":"file4"},{"photo_id":"1395699554","filename":"file1"},{"photo_id":"1395699551","filename":"file0"},{"photo_id":"1395699560","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699562":["hashtag1","hashtag2"]},{"1395699563":["hashtag1","hashtag2"]},{"1395699551":["hashtag1","hashtag2"]},{"1395699560":["hashtag1","hashtag2"]},{"1395699554":["hashtag1","hashtag2"]},{"1395699557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699562, 1395699563, 1395699551, 1395699560, 1395699554, 1395699557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63842034339905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:27:02.618219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_37_2685.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_41_3607.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_43_2608.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_46_2591.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_49_3677.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_52_2873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_37_2685.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_41_3607.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_43_2608.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_46_2591.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_49_3677.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_52_2873.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699565","1395699570","1395699567","1395699572","1395699575","1395699569"],"photo_ids_order":["1395699565","1395699567","1395699569","1395699570","1395699572","1395699575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abd39b3cb9efa7f0db8eb07911563647.jpg","text":"TemporaryFile(/tmp/multipartBody8080668678904196204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810883369,"filename":"image_22112025_12_25_37_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d1fda78bc503aca90574b7d8e7a33d4.jpg","text":"TemporaryFile(/tmp/multipartBody7016646057956147974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810883369,"filename":"image_22112025_12_25_46_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccbf2c4ebb121566dce36d37c70bfbeb.jpg","text":"TemporaryFile(/tmp/multipartBody5055234832300269698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810883369,"filename":"image_22112025_12_25_41_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df8ac6ec840eb5886031ff8052a9c8d7.jpg","text":"TemporaryFile(/tmp/multipartBody8201231538031079369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810883369,"filename":"image_22112025_12_25_49_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bd9fb90c8e3af36de1c38f05dbc4021.jpg","text":"TemporaryFile(/tmp/multipartBody1390847279784337083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810883369,"filename":"image_22112025_12_25_52_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86d0f9971092dde67e931dad336eb256.jpg","text":"TemporaryFile(/tmp/multipartBody6261692373264847829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810883369,"filename":"image_22112025_12_25_43_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699569","file1":"1395699567","file0":"1395699565","file4":"1395699572","file5":"1395699575","file3":"1395699570"},"map_files_photo_id_array":[{"photo_id":"1395699575","filename":"file5"},{"photo_id":"1395699569","filename":"file2"},{"photo_id":"1395699572","filename":"file4"},{"photo_id":"1395699567","filename":"file1"},{"photo_id":"1395699565","filename":"file0"},{"photo_id":"1395699570","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699565":["hashtag1","hashtag2"]},{"1395699570":["hashtag1","hashtag2"]},{"1395699567":["hashtag1","hashtag2"]},{"1395699572":["hashtag1","hashtag2"]},{"1395699575":["hashtag1","hashtag2"]},{"1395699569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699565, 1395699570, 1395699567, 1395699572, 1395699575, 1395699569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.533496618270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:27:41.917672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_55_2685.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_58_2591.jpg', '/home/pi/Desktop/images/22112025/12/25/image_22112025_12_26_01_3761.jpg', '/home/pi/Desktop/images/22112025/12/26/image_22112025_12_26_04_2780.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_07_3018.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_10_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_55_2685.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_25_58_2591.jpg
/home/pi/Desktop/images/22112025/12/25/image_22112025_12_26_01_3761.jpg
/home/pi/Desktop/images/22112025/12/26/image_22112025_12_26_04_2780.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_07_3018.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_10_3623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699589","1395699591","1395699588","1395699590","1395699584","1395699587"],"photo_ids_order":["1395699584","1395699587","1395699588","1395699589","1395699590","1395699591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c513fc74e525fb03b9d14a447b9c2ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5643209738360764439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810922666,"filename":"image_22112025_12_26_04_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad83ba816010d5409876c188c9a1c3db.jpg","text":"TemporaryFile(/tmp/multipartBody8311086441988971348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810922666,"filename":"image_22112025_12_27_10_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ebc4a1dfdce9f99a3597bb82a5d0100.jpg","text":"TemporaryFile(/tmp/multipartBody8169427733311956378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810922666,"filename":"image_22112025_12_26_01_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9800b1e735335ff85a04cbfc6a91cd03.jpg","text":"TemporaryFile(/tmp/multipartBody7848486064806408978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810922666,"filename":"image_22112025_12_27_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1a59b99156bc0e830dee9186cd6b676.jpg","text":"TemporaryFile(/tmp/multipartBody131885624156095168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810922666,"filename":"image_22112025_12_25_55_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49449e6702e10c9853988a6b691438f5.jpg","text":"TemporaryFile(/tmp/multipartBody2857285540570356213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810922666,"filename":"image_22112025_12_25_58_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699588","file1":"1395699587","file0":"1395699584","file4":"1395699590","file5":"1395699591","file3":"1395699589"},"map_files_photo_id_array":[{"photo_id":"1395699591","filename":"file5"},{"photo_id":"1395699588","filename":"file2"},{"photo_id":"1395699590","filename":"file4"},{"photo_id":"1395699587","filename":"file1"},{"photo_id":"1395699584","filename":"file0"},{"photo_id":"1395699589","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699589":["hashtag1","hashtag2"]},{"1395699591":["hashtag1","hashtag2"]},{"1395699588":["hashtag1","hashtag2"]},{"1395699590":["hashtag1","hashtag2"]},{"1395699584":["hashtag1","hashtag2"]},{"1395699587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699589, 1395699591, 1395699588, 1395699590, 1395699584, 1395699587)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.88840866088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:28:42.123233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_13_2669.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_17_3658.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_19_2629.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_22_2755.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_25_2719.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_28_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_13_2669.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_17_3658.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_19_2629.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_22_2755.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_25_2719.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_28_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699605","1395699607","1395699601","1395699604","1395699606","1395699608"],"photo_ids_order":["1395699601","1395699604","1395699605","1395699606","1395699607","1395699608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ce81da94c342fb5b51bd1e61932a00e.jpg","text":"TemporaryFile(/tmp/multipartBody3226976317444164236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810982846,"filename":"image_22112025_12_27_19_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fe03e2481624704c35f19e921d0d1dc.jpg","text":"TemporaryFile(/tmp/multipartBody6303655005933228715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810982846,"filename":"image_22112025_12_27_25_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cbe024d04ba220903263ae734988600.jpg","text":"TemporaryFile(/tmp/multipartBody7085825561611173945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810982846,"filename":"image_22112025_12_27_13_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ca2bd4f02763ff9c71c0cefcd50a681.jpg","text":"TemporaryFile(/tmp/multipartBody3169101033462835017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810982846,"filename":"image_22112025_12_27_17_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90219dd7042c4abd97500e7e0632e853.jpg","text":"TemporaryFile(/tmp/multipartBody4795872036512795557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810982846,"filename":"image_22112025_12_27_22_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/480d64585e8017fa17ed4edf04d6dff0.jpg","text":"TemporaryFile(/tmp/multipartBody6117200110530286732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763810982846,"filename":"image_22112025_12_27_28_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699605","file1":"1395699604","file0":"1395699601","file4":"1395699607","file5":"1395699608","file3":"1395699606"},"map_files_photo_id_array":[{"photo_id":"1395699608","filename":"file5"},{"photo_id":"1395699605","filename":"file2"},{"photo_id":"1395699607","filename":"file4"},{"photo_id":"1395699604","filename":"file1"},{"photo_id":"1395699601","filename":"file0"},{"photo_id":"1395699606","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699605":["hashtag1","hashtag2"]},{"1395699607":["hashtag1","hashtag2"]},{"1395699601":["hashtag1","hashtag2"]},{"1395699604":["hashtag1","hashtag2"]},{"1395699606":["hashtag1","hashtag2"]},{"1395699608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699605, 1395699607, 1395699601, 1395699604, 1395699606, 1395699608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66441822052002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:29:22.344437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_31_2577.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_37_2624.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_40_2594.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_44_3797.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_46_2565.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_49_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_31_2577.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_37_2624.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_40_2594.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_44_3797.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_46_2565.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_49_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699623","1395699615","1395699624","1395699612","1395699626","1395699620"],"photo_ids_order":["1395699612","1395699615","1395699620","1395699623","1395699624","1395699626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/408173c88a9cc94f9e620fe996bc413a.jpg","text":"TemporaryFile(/tmp/multipartBody9021542489358629592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811023071,"filename":"image_22112025_12_27_44_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18b096cf22416b1fbfd8434cc64c5756.jpg","text":"TemporaryFile(/tmp/multipartBody6236790519551447148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811023071,"filename":"image_22112025_12_27_37_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cf908572777fd173d6340273473474a.jpg","text":"TemporaryFile(/tmp/multipartBody4919444238316654844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811023071,"filename":"image_22112025_12_27_46_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/856081eb824d22264d3010bf481c0abc.jpg","text":"TemporaryFile(/tmp/multipartBody6995947703173495958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811023071,"filename":"image_22112025_12_27_31_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87bb703741f5d8d14fea3815395c7ba6.jpg","text":"TemporaryFile(/tmp/multipartBody669104385820137024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811023071,"filename":"image_22112025_12_27_49_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c8bca43f2c2ee01c0e2adc37690d61c.jpg","text":"TemporaryFile(/tmp/multipartBody2299066856552104350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811023071,"filename":"image_22112025_12_27_40_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699620","file1":"1395699615","file0":"1395699612","file4":"1395699624","file5":"1395699626","file3":"1395699623"},"map_files_photo_id_array":[{"photo_id":"1395699626","filename":"file5"},{"photo_id":"1395699620","filename":"file2"},{"photo_id":"1395699624","filename":"file4"},{"photo_id":"1395699615","filename":"file1"},{"photo_id":"1395699612","filename":"file0"},{"photo_id":"1395699623","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699623":["hashtag1","hashtag2"]},{"1395699615":["hashtag1","hashtag2"]},{"1395699624":["hashtag1","hashtag2"]},{"1395699612":["hashtag1","hashtag2"]},{"1395699626":["hashtag1","hashtag2"]},{"1395699620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699623, 1395699615, 1395699624, 1395699612, 1395699626, 1395699620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06198763847351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:30:03.102680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_53_3744.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_55_2652.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_58_2814.jpg', '/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_01_2706.jpg', '/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_05_3649.jpg', '/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_07_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_53_3744.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_55_2652.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_58_2814.jpg
/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_01_2706.jpg
/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_05_3649.jpg
/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_07_2783.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6422038078308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:30:22.524057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_53_3744.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_55_2652.jpg', '/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_58_2814.jpg', '/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_01_2706.jpg', '/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_05_3649.jpg', '/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_07_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_53_3744.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_55_2652.jpg
/home/pi/Desktop/images/22112025/12/27/image_22112025_12_27_58_2814.jpg
/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_01_2706.jpg
/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_05_3649.jpg
/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_07_2783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699643","1395699648","1395699636","1395699645","1395699639","1395699641"],"photo_ids_order":["1395699636","1395699639","1395699641","1395699643","1395699645","1395699648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05888aa510702659adaf93cef5ffe543.jpg","text":"TemporaryFile(/tmp/multipartBody6978756967982172993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811083240,"filename":"image_22112025_12_28_01_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bfaaf83059c33b2cbf291d03f5275a7.jpg","text":"TemporaryFile(/tmp/multipartBody6830286843304324083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811083240,"filename":"image_22112025_12_28_07_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bac634124cc312f3705f93f24d1df55.jpg","text":"TemporaryFile(/tmp/multipartBody5418093619731612053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811083240,"filename":"image_22112025_12_27_53_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/356ae1656a03c44314146df98dbcdc71.jpg","text":"TemporaryFile(/tmp/multipartBody7390204244819230266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811083240,"filename":"image_22112025_12_28_05_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dccc3ee83d1019507a03112149715125.jpg","text":"TemporaryFile(/tmp/multipartBody3464550048925943840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811083240,"filename":"image_22112025_12_27_55_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e8a03c9788ad68f3a7c43f0c6d63f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2283787026556300682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811083240,"filename":"image_22112025_12_27_58_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699641","file1":"1395699639","file0":"1395699636","file4":"1395699645","file5":"1395699648","file3":"1395699643"},"map_files_photo_id_array":[{"photo_id":"1395699648","filename":"file5"},{"photo_id":"1395699641","filename":"file2"},{"photo_id":"1395699645","filename":"file4"},{"photo_id":"1395699639","filename":"file1"},{"photo_id":"1395699636","filename":"file0"},{"photo_id":"1395699643","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699643":["hashtag1","hashtag2"]},{"1395699648":["hashtag1","hashtag2"]},{"1395699636":["hashtag1","hashtag2"]},{"1395699645":["hashtag1","hashtag2"]},{"1395699639":["hashtag1","hashtag2"]},{"1395699641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699643, 1395699648, 1395699636, 1395699645, 1395699639, 1395699641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20842504501343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:31:02.768412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_10_2618.jpg', '/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_14_3655.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_06_3013.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_15_8923.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_18_2844.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_20_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_10_2618.jpg
/home/pi/Desktop/images/22112025/12/28/image_22112025_12_28_14_3655.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_06_3013.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_15_8923.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_18_2844.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_20_1615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699673","1395699681","1395699680","1395699683","1395699686","1395699665"],"photo_ids_order":["1395699665","1395699673","1395699680","1395699681","1395699683","1395699686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b94699e06203db10d7150b974fd4e80.jpg","text":"TemporaryFile(/tmp/multipartBody6310886427178654039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811123520,"filename":"image_22112025_12_28_14_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/667f03dc56c3fd81e121191e3b21d50b.jpg","text":"TemporaryFile(/tmp/multipartBody7492065632170067070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811123520,"filename":"image_22112025_12_29_15_8923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17f5c6ea02ad87b6da816e1fded9490d.jpg","text":"TemporaryFile(/tmp/multipartBody6677800402935867883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811123520,"filename":"image_22112025_12_29_06_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc0ca4d62e9f7417be08e5652ed17f27.jpg","text":"TemporaryFile(/tmp/multipartBody366056905519154439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811123520,"filename":"image_22112025_12_29_18_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6320fe5212a60e21176d9c242530ba14.jpg","text":"TemporaryFile(/tmp/multipartBody8594055851662527894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811123520,"filename":"image_22112025_12_29_20_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48fa985d8d8179d742cd10d0276800e1.jpg","text":"TemporaryFile(/tmp/multipartBody4581685758410493279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811123520,"filename":"image_22112025_12_28_10_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699680","file1":"1395699673","file0":"1395699665","file4":"1395699683","file5":"1395699686","file3":"1395699681"},"map_files_photo_id_array":[{"photo_id":"1395699686","filename":"file5"},{"photo_id":"1395699680","filename":"file2"},{"photo_id":"1395699683","filename":"file4"},{"photo_id":"1395699673","filename":"file1"},{"photo_id":"1395699665","filename":"file0"},{"photo_id":"1395699681","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699673":["hashtag1","hashtag2"]},{"1395699681":["hashtag1","hashtag2"]},{"1395699680":["hashtag1","hashtag2"]},{"1395699683":["hashtag1","hashtag2"]},{"1395699686":["hashtag1","hashtag2"]},{"1395699665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699673, 1395699681, 1395699680, 1395699683, 1395699686, 1395699665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.052921295166016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:31:41.944549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_35_15739.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_37_1572.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_39_1786.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_40_1723.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_42_1738.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_44_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_35_15739.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_37_1572.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_39_1786.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_40_1723.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_42_1738.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_44_1571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699694","1395699697","1395699696","1395699700","1395699699","1395699698"],"photo_ids_order":["1395699694","1395699696","1395699697","1395699698","1395699699","1395699700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21a9ed70602993b591cc6371e3ab3471.jpg","text":"TemporaryFile(/tmp/multipartBody848505618678789413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811162617,"filename":"image_22112025_12_29_35_15739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/380f78719a148d4ec6b93d2c9ba91022.jpg","text":"TemporaryFile(/tmp/multipartBody9001643366588722365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811162617,"filename":"image_22112025_12_29_39_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cfb6ab2e37e87402a59597eaf9f6d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4773300838081355260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811162617,"filename":"image_22112025_12_29_37_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a74140c61547ade9a6d8772ff92f098.jpg","text":"TemporaryFile(/tmp/multipartBody1131016283944543768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811162617,"filename":"image_22112025_12_29_44_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9a8c85b35161dc6c0bc205d3df122ad.jpg","text":"TemporaryFile(/tmp/multipartBody3502277314811173393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811162617,"filename":"image_22112025_12_29_42_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16bacff0af76032d1765fdf8895e6c76.jpg","text":"TemporaryFile(/tmp/multipartBody5649969973952644013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811162617,"filename":"image_22112025_12_29_40_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699697","file1":"1395699696","file0":"1395699694","file4":"1395699699","file5":"1395699700","file3":"1395699698"},"map_files_photo_id_array":[{"photo_id":"1395699700","filename":"file5"},{"photo_id":"1395699697","filename":"file2"},{"photo_id":"1395699699","filename":"file4"},{"photo_id":"1395699696","filename":"file1"},{"photo_id":"1395699694","filename":"file0"},{"photo_id":"1395699698","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699694":["hashtag1","hashtag2"]},{"1395699697":["hashtag1","hashtag2"]},{"1395699696":["hashtag1","hashtag2"]},{"1395699700":["hashtag1","hashtag2"]},{"1395699699":["hashtag1","hashtag2"]},{"1395699698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699694, 1395699697, 1395699696, 1395699700, 1395699699, 1395699698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.457059144973755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:32:22.159432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_45_1517.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_47_1566.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_49_1764.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_50_1773.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_52_1580.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_53_1542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_45_1517.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_47_1566.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_49_1764.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_50_1773.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_52_1580.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_53_1542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699712","1395699715","1395699709","1395699717","1395699702","1395699705"],"photo_ids_order":["1395699702","1395699705","1395699709","1395699712","1395699715","1395699717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51abeea08e036c4b8c856c1017282e5b.jpg","text":"TemporaryFile(/tmp/multipartBody5870144381151424755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811202835,"filename":"image_22112025_12_29_50_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2abb86d6145c6f410140b18185dded65.jpg","text":"TemporaryFile(/tmp/multipartBody314160691819660853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811202835,"filename":"image_22112025_12_29_52_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/841d0241afb78d2e1b5803582287cf81.jpg","text":"TemporaryFile(/tmp/multipartBody4416978129028025363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811202835,"filename":"image_22112025_12_29_49_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8b83281f487139a6bc3e6ac2e848969.jpg","text":"TemporaryFile(/tmp/multipartBody2385689277103899789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811202835,"filename":"image_22112025_12_29_53_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02e68b6795e7d383e24f487043c3f200.jpg","text":"TemporaryFile(/tmp/multipartBody1540905713498886303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811202835,"filename":"image_22112025_12_29_45_1517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/316dfa20682376e7566b37efe1cbe46a.jpg","text":"TemporaryFile(/tmp/multipartBody135567476294705404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811202835,"filename":"image_22112025_12_29_47_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699709","file1":"1395699705","file0":"1395699702","file4":"1395699715","file5":"1395699717","file3":"1395699712"},"map_files_photo_id_array":[{"photo_id":"1395699717","filename":"file5"},{"photo_id":"1395699709","filename":"file2"},{"photo_id":"1395699715","filename":"file4"},{"photo_id":"1395699705","filename":"file1"},{"photo_id":"1395699702","filename":"file0"},{"photo_id":"1395699712","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699712":["hashtag1","hashtag2"]},{"1395699715":["hashtag1","hashtag2"]},{"1395699709":["hashtag1","hashtag2"]},{"1395699717":["hashtag1","hashtag2"]},{"1395699702":["hashtag1","hashtag2"]},{"1395699705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699712, 1395699715, 1395699709, 1395699717, 1395699702, 1395699705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48967218399048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:33:02.899906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_55_1705.jpg', '/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_58_2629.jpg', '/home/pi/Desktop/images/22112025/12/30/image_22112025_12_30_07_3012.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_07_3011.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_11_3766.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_13_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_55_1705.jpg
/home/pi/Desktop/images/22112025/12/29/image_22112025_12_29_58_2629.jpg
/home/pi/Desktop/images/22112025/12/30/image_22112025_12_30_07_3012.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_07_3011.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_11_3766.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_13_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699722","1395699719","1395699721","1395699724","1395699727","1395699720"],"photo_ids_order":["1395699719","1395699720","1395699721","1395699722","1395699724","1395699727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56b57d8fa47ec075728b1156ce680a67.jpg","text":"TemporaryFile(/tmp/multipartBody5752155567329881252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811243674,"filename":"image_22112025_12_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d3e2fc620cdfc0ad7f4a3eb6772df10.jpg","text":"TemporaryFile(/tmp/multipartBody2688754751081796819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811243674,"filename":"image_22112025_12_29_55_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fee7fb9aa365c72dfbbb39c9acaa8f8.jpg","text":"TemporaryFile(/tmp/multipartBody5373590066642843510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811243674,"filename":"image_22112025_12_30_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f4743f157c4f4f8fc440ce58352d6c8.jpg","text":"TemporaryFile(/tmp/multipartBody8309453159470318526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811243674,"filename":"image_22112025_12_31_11_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6dcaa248309c2f21448f658a9a7e139.jpg","text":"TemporaryFile(/tmp/multipartBody4590963879807455039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811243674,"filename":"image_22112025_12_31_13_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54851811c773fde1d88bc654c4e778fd.jpg","text":"TemporaryFile(/tmp/multipartBody5834405672853560470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811243674,"filename":"image_22112025_12_29_58_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699721","file1":"1395699720","file0":"1395699719","file4":"1395699724","file5":"1395699727","file3":"1395699722"},"map_files_photo_id_array":[{"photo_id":"1395699727","filename":"file5"},{"photo_id":"1395699721","filename":"file2"},{"photo_id":"1395699724","filename":"file4"},{"photo_id":"1395699720","filename":"file1"},{"photo_id":"1395699719","filename":"file0"},{"photo_id":"1395699722","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699722":["hashtag1","hashtag2"]},{"1395699719":["hashtag1","hashtag2"]},{"1395699721":["hashtag1","hashtag2"]},{"1395699724":["hashtag1","hashtag2"]},{"1395699727":["hashtag1","hashtag2"]},{"1395699720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699722, 1395699719, 1395699721, 1395699724, 1395699727, 1395699720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54047513008118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:33:42.233700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_16_2684.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_20_3604.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_22_2672.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_25_2577.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_29_3870.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_31_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_16_2684.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_20_3604.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_22_2672.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_25_2577.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_29_3870.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_31_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699742","1395699736","1395699739","1395699741","1395699738","1395699740"],"photo_ids_order":["1395699736","1395699738","1395699739","1395699740","1395699741","1395699742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb4408e79f0d266af923405070c770a6.jpg","text":"TemporaryFile(/tmp/multipartBody2110722779266566378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811282901,"filename":"image_22112025_12_31_31_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c16c73136c4c5c8e2113bb1ed8d170e.jpg","text":"TemporaryFile(/tmp/multipartBody5465823319523203175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811282901,"filename":"image_22112025_12_31_16_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97cd0b8dc15e6ea409749b127cc5ea22.jpg","text":"TemporaryFile(/tmp/multipartBody3894063545866407376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811282901,"filename":"image_22112025_12_31_22_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/388983c5fad57f9af72372f47a2a80b3.jpg","text":"TemporaryFile(/tmp/multipartBody2589745644993743931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811282901,"filename":"image_22112025_12_31_29_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df7e71c820a2956ecec8bcb26c39e83a.jpg","text":"TemporaryFile(/tmp/multipartBody29225856656182767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811282901,"filename":"image_22112025_12_31_20_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef3202097203a10232186a0028271835.jpg","text":"TemporaryFile(/tmp/multipartBody6935829482508870515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811282901,"filename":"image_22112025_12_31_25_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699739","file1":"1395699738","file0":"1395699736","file4":"1395699741","file5":"1395699742","file3":"1395699740"},"map_files_photo_id_array":[{"photo_id":"1395699742","filename":"file5"},{"photo_id":"1395699739","filename":"file2"},{"photo_id":"1395699741","filename":"file4"},{"photo_id":"1395699738","filename":"file1"},{"photo_id":"1395699736","filename":"file0"},{"photo_id":"1395699740","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699742":["hashtag1","hashtag2"]},{"1395699736":["hashtag1","hashtag2"]},{"1395699739":["hashtag1","hashtag2"]},{"1395699741":["hashtag1","hashtag2"]},{"1395699738":["hashtag1","hashtag2"]},{"1395699740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699742, 1395699736, 1395699739, 1395699741, 1395699738, 1395699740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64150261878967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:34:22.536143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_34_2672.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_37_2727.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_40_3616.jpg', '/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_43_2492.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_06_3011.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_10_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_34_2672.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_37_2727.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_40_3616.jpg
/home/pi/Desktop/images/22112025/12/31/image_22112025_12_31_43_2492.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_06_3011.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_10_3582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699760","1395699748","1395699757","1395699745","1395699752","1395699755"],"photo_ids_order":["1395699745","1395699748","1395699752","1395699755","1395699757","1395699760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06168a814ca0fc6aed6306f13c28065d.jpg","text":"TemporaryFile(/tmp/multipartBody6864495364770095834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811323232,"filename":"image_22112025_12_33_10_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e93f0eb55519ebfadd507304123c466.jpg","text":"TemporaryFile(/tmp/multipartBody1681096132081431425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811323232,"filename":"image_22112025_12_31_37_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75b20cd590b792a6bb2a3477dd83ce31.jpg","text":"TemporaryFile(/tmp/multipartBody687920274464394471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811323232,"filename":"image_22112025_12_33_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d4f4e11ed82be9cbe4d39b5440f8420.jpg","text":"TemporaryFile(/tmp/multipartBody5308545063657101132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811323232,"filename":"image_22112025_12_31_34_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7938759de6f21b4fb1131b9a6a39b04d.jpg","text":"TemporaryFile(/tmp/multipartBody397340452447070883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811323232,"filename":"image_22112025_12_31_40_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adcd7db911db4e86ab58e94ed59d48f9.jpg","text":"TemporaryFile(/tmp/multipartBody1431412588190981513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811323232,"filename":"image_22112025_12_31_43_2492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699752","file1":"1395699748","file0":"1395699745","file4":"1395699757","file5":"1395699760","file3":"1395699755"},"map_files_photo_id_array":[{"photo_id":"1395699760","filename":"file5"},{"photo_id":"1395699752","filename":"file2"},{"photo_id":"1395699757","filename":"file4"},{"photo_id":"1395699748","filename":"file1"},{"photo_id":"1395699745","filename":"file0"},{"photo_id":"1395699755","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699760":["hashtag1","hashtag2"]},{"1395699748":["hashtag1","hashtag2"]},{"1395699757":["hashtag1","hashtag2"]},{"1395699745":["hashtag1","hashtag2"]},{"1395699752":["hashtag1","hashtag2"]},{"1395699755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699760, 1395699748, 1395699757, 1395699745, 1395699752, 1395699755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.651949882507324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:35:03.222655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_13_2556.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_16_3693.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_19_2596.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_21_2541.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_25_3650.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_28_2512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_13_2556.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_16_3693.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_19_2596.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_21_2541.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_25_3650.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_28_2512.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699784","1395699781","1395699783","1395699786","1395699788","1395699782"],"photo_ids_order":["1395699781","1395699782","1395699783","1395699784","1395699786","1395699788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c0e99d2e7a856bf62764ba79586a47a.jpg","text":"TemporaryFile(/tmp/multipartBody7595762558107481505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811364018,"filename":"image_22112025_12_33_21_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86dad768ec25ae541fc8b71a77da0887.jpg","text":"TemporaryFile(/tmp/multipartBody2130387022290590117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811364018,"filename":"image_22112025_12_33_13_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5978ceb3f575a7cd4c495626e8a87547.jpg","text":"TemporaryFile(/tmp/multipartBody4930547311139478352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811364018,"filename":"image_22112025_12_33_19_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45a34290c6fe68d050cf046e9534364b.jpg","text":"TemporaryFile(/tmp/multipartBody2030646337509791595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811364018,"filename":"image_22112025_12_33_25_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44031041223ccdbe43ae9d2886dc2853.jpg","text":"TemporaryFile(/tmp/multipartBody4553426004559156357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811364018,"filename":"image_22112025_12_33_28_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5020cfdab0321c4440620ca3d298a6d.jpg","text":"TemporaryFile(/tmp/multipartBody940079206668310066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811364018,"filename":"image_22112025_12_33_16_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699783","file1":"1395699782","file0":"1395699781","file4":"1395699786","file5":"1395699788","file3":"1395699784"},"map_files_photo_id_array":[{"photo_id":"1395699788","filename":"file5"},{"photo_id":"1395699783","filename":"file2"},{"photo_id":"1395699786","filename":"file4"},{"photo_id":"1395699782","filename":"file1"},{"photo_id":"1395699781","filename":"file0"},{"photo_id":"1395699784","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699784":["hashtag1","hashtag2"]},{"1395699781":["hashtag1","hashtag2"]},{"1395699783":["hashtag1","hashtag2"]},{"1395699786":["hashtag1","hashtag2"]},{"1395699788":["hashtag1","hashtag2"]},{"1395699782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699784, 1395699781, 1395699783, 1395699786, 1395699788, 1395699782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79348373413086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:35:42.714900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_31_3787.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_37_2621.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_40_3642.jpg', '/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_43_2829.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_07_3011.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_11_3776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_31_3787.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_37_2621.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_40_3642.jpg
/home/pi/Desktop/images/22112025/12/33/image_22112025_12_33_43_2829.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_07_3011.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_11_3776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699799","1395699802","1395699808","1395699810","1395699804","1395699806"],"photo_ids_order":["1395699799","1395699802","1395699804","1395699806","1395699808","1395699810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cb931a0fe9ccecb6913c29914d66ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4581879676206519490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811403401,"filename":"image_22112025_12_33_31_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba0fea6284313ee34c43fc7474f1755d.jpg","text":"TemporaryFile(/tmp/multipartBody7448787589054495671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811403401,"filename":"image_22112025_12_33_37_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/514192c1cfd666acd4a0ceee8f9a6cdd.jpg","text":"TemporaryFile(/tmp/multipartBody4360460469999915149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811403401,"filename":"image_22112025_12_35_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b1253c53dccb7a18fc0df3a26c9f366.jpg","text":"TemporaryFile(/tmp/multipartBody2993084398351036605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811403401,"filename":"image_22112025_12_35_11_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6c513b2dc1ef854d9764a51555d53fe.jpg","text":"TemporaryFile(/tmp/multipartBody83944843713092718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811403401,"filename":"image_22112025_12_33_40_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4aaa5974cc223a787ceb40328dfa93c.jpg","text":"TemporaryFile(/tmp/multipartBody6283987239057447678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811403401,"filename":"image_22112025_12_33_43_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699804","file1":"1395699802","file0":"1395699799","file4":"1395699808","file5":"1395699810","file3":"1395699806"},"map_files_photo_id_array":[{"photo_id":"1395699810","filename":"file5"},{"photo_id":"1395699804","filename":"file2"},{"photo_id":"1395699808","filename":"file4"},{"photo_id":"1395699802","filename":"file1"},{"photo_id":"1395699799","filename":"file0"},{"photo_id":"1395699806","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699799":["hashtag1","hashtag2"]},{"1395699802":["hashtag1","hashtag2"]},{"1395699808":["hashtag1","hashtag2"]},{"1395699810":["hashtag1","hashtag2"]},{"1395699804":["hashtag1","hashtag2"]},{"1395699806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699799, 1395699802, 1395699808, 1395699810, 1395699804, 1395699806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19452261924744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:36:21.944037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_13_2709.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_16_2750.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_20_3674.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_23_2666.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_25_2568.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_31_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_13_2709.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_16_2750.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_20_3674.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_23_2666.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_25_2568.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_31_2713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5917942523956299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:36:41.896930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_13_2709.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_16_2750.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_20_3674.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_23_2666.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_25_2568.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_31_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_13_2709.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_16_2750.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_20_3674.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_23_2666.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_25_2568.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_31_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699832","1395699834","1395699836","1395699830","1395699833","1395699827"],"photo_ids_order":["1395699827","1395699830","1395699832","1395699833","1395699834","1395699836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca1e8e3e024fcab87a56ea007a9de22c.jpg","text":"TemporaryFile(/tmp/multipartBody7438119246155478106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811462562,"filename":"image_22112025_12_35_20_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b823dfa226db5698e8bc7501f87de45.jpg","text":"TemporaryFile(/tmp/multipartBody894969347329832630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811462562,"filename":"image_22112025_12_35_25_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afc53b526a8b0e9bffdbaf3f41aa8a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7626466033228850064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811462562,"filename":"image_22112025_12_35_31_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27fe3dc30917140330a451424a61aa80.jpg","text":"TemporaryFile(/tmp/multipartBody7945053062841418056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811462562,"filename":"image_22112025_12_35_16_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad879964fbacfc3e0defc6a261a59e7b.jpg","text":"TemporaryFile(/tmp/multipartBody2406248838740958157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811462562,"filename":"image_22112025_12_35_23_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fc90bf030d59e685393513db694c2ac.jpg","text":"TemporaryFile(/tmp/multipartBody4021784850215337594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811462562,"filename":"image_22112025_12_35_13_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699832","file1":"1395699830","file0":"1395699827","file4":"1395699834","file5":"1395699836","file3":"1395699833"},"map_files_photo_id_array":[{"photo_id":"1395699836","filename":"file5"},{"photo_id":"1395699832","filename":"file2"},{"photo_id":"1395699834","filename":"file4"},{"photo_id":"1395699830","filename":"file1"},{"photo_id":"1395699827","filename":"file0"},{"photo_id":"1395699833","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699832":["hashtag1","hashtag2"]},{"1395699834":["hashtag1","hashtag2"]},{"1395699836":["hashtag1","hashtag2"]},{"1395699830":["hashtag1","hashtag2"]},{"1395699833":["hashtag1","hashtag2"]},{"1395699827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699832, 1395699834, 1395699836, 1395699830, 1395699833, 1395699827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86700654029846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:37:22.127264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_34_2645.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_38_3537.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_40_2637.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_43_2727.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_47_3700.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_49_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_34_2645.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_38_3537.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_40_2637.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_43_2727.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_47_3700.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_49_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699853","1395699852","1395699842","1395699845","1395699839","1395699848"],"photo_ids_order":["1395699839","1395699842","1395699845","1395699848","1395699852","1395699853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cee07688c4eed14eda29c9cad26eadce.jpg","text":"TemporaryFile(/tmp/multipartBody8105307884806968072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811503432,"filename":"image_22112025_12_35_49_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d9163a48899ffaaa00fcdcf68c92754.jpg","text":"TemporaryFile(/tmp/multipartBody8426053372408850093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811503432,"filename":"image_22112025_12_35_47_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df1c5327e7cee41836277cf3d9600c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3916056340500825311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811503432,"filename":"image_22112025_12_35_38_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56a642c0755201afb5e7b6ec5e89a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody6901395434171287073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811503432,"filename":"image_22112025_12_35_40_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbf6bd50b8651bbf9bd2a46157e665ce.jpg","text":"TemporaryFile(/tmp/multipartBody8711193828634928248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811503432,"filename":"image_22112025_12_35_34_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5e6c0a171ec5bcdb3f33182123e345d.jpg","text":"TemporaryFile(/tmp/multipartBody3890398448006158925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811503432,"filename":"image_22112025_12_35_43_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699845","file1":"1395699842","file0":"1395699839","file4":"1395699852","file5":"1395699853","file3":"1395699848"},"map_files_photo_id_array":[{"photo_id":"1395699853","filename":"file5"},{"photo_id":"1395699845","filename":"file2"},{"photo_id":"1395699852","filename":"file4"},{"photo_id":"1395699842","filename":"file1"},{"photo_id":"1395699839","filename":"file0"},{"photo_id":"1395699848","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699853":["hashtag1","hashtag2"]},{"1395699852":["hashtag1","hashtag2"]},{"1395699842":["hashtag1","hashtag2"]},{"1395699845":["hashtag1","hashtag2"]},{"1395699839":["hashtag1","hashtag2"]},{"1395699848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699853, 1395699852, 1395699842, 1395699845, 1395699839, 1395699848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90633821487427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:38:02.744201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_52_2699.jpg', '/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_56_3816.jpg', '/home/pi/Desktop/images/22112025/12/36/image_22112025_12_36_01_2646.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_06_3018.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_10_3742.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_13_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_52_2699.jpg
/home/pi/Desktop/images/22112025/12/35/image_22112025_12_35_56_3816.jpg
/home/pi/Desktop/images/22112025/12/36/image_22112025_12_36_01_2646.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_06_3018.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_10_3742.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_13_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699856","1395699858","1395699855","1395699860","1395699863","1395699857"],"photo_ids_order":["1395699855","1395699856","1395699857","1395699858","1395699860","1395699863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9542f5309c8b142f8b684fe836c81e17.jpg","text":"TemporaryFile(/tmp/multipartBody2421110814290699146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811543465,"filename":"image_22112025_12_35_56_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e7d58897d00470a6afcf4ef6bc4c9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3509760273872452852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811543465,"filename":"image_22112025_12_37_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fc8e384d048b8cc38921d07395357bb.jpg","text":"TemporaryFile(/tmp/multipartBody779239537344812402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811543465,"filename":"image_22112025_12_35_52_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/016d6da3dd7ad8a9ce0cdaf7f3f41d70.jpg","text":"TemporaryFile(/tmp/multipartBody8698946271730377146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811543465,"filename":"image_22112025_12_37_10_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c3004ce6db3e307e668fc379a245205.jpg","text":"TemporaryFile(/tmp/multipartBody7509965581328918195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811543465,"filename":"image_22112025_12_37_13_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbedb15196936dce1ea0c3e99321ec40.jpg","text":"TemporaryFile(/tmp/multipartBody4030917221405919297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811543465,"filename":"image_22112025_12_36_01_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699857","file1":"1395699856","file0":"1395699855","file4":"1395699860","file5":"1395699863","file3":"1395699858"},"map_files_photo_id_array":[{"photo_id":"1395699863","filename":"file5"},{"photo_id":"1395699857","filename":"file2"},{"photo_id":"1395699860","filename":"file4"},{"photo_id":"1395699856","filename":"file1"},{"photo_id":"1395699855","filename":"file0"},{"photo_id":"1395699858","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699856":["hashtag1","hashtag2"]},{"1395699858":["hashtag1","hashtag2"]},{"1395699855":["hashtag1","hashtag2"]},{"1395699860":["hashtag1","hashtag2"]},{"1395699863":["hashtag1","hashtag2"]},{"1395699857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699856, 1395699858, 1395699855, 1395699860, 1395699863, 1395699857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47736692428589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:38:42.376531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_15_2803.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_19_3633.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_22_2694.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_24_2711.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_27_2829.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_31_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_15_2803.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_19_3633.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_22_2694.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_24_2711.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_27_2829.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_31_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699871","1395699874","1395699870","1395699873","1395699872","1395699875"],"photo_ids_order":["1395699870","1395699871","1395699872","1395699873","1395699874","1395699875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2af1c80e6f11b54956d4fd8f330511f.jpg","text":"TemporaryFile(/tmp/multipartBody5026846455489166854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811583043,"filename":"image_22112025_12_37_19_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/276be2707d7ab3a760642c8c0f54b885.jpg","text":"TemporaryFile(/tmp/multipartBody5675364532875387551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811583043,"filename":"image_22112025_12_37_27_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51c80e62867a1fe09ab3719a5e093063.jpg","text":"TemporaryFile(/tmp/multipartBody2592774824355773607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811583043,"filename":"image_22112025_12_37_15_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/559f3dfb1e5666dbca0e0aa5bb67cb0e.jpg","text":"TemporaryFile(/tmp/multipartBody3471470100836416950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811583043,"filename":"image_22112025_12_37_24_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae82bbec314b23f7e44504456449ed49.jpg","text":"TemporaryFile(/tmp/multipartBody1164427444608735157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811583043,"filename":"image_22112025_12_37_22_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc453f311d5f775d9a755927fcfd5722.jpg","text":"TemporaryFile(/tmp/multipartBody888424435069914030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811583043,"filename":"image_22112025_12_37_31_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699872","file1":"1395699871","file0":"1395699870","file4":"1395699874","file5":"1395699875","file3":"1395699873"},"map_files_photo_id_array":[{"photo_id":"1395699875","filename":"file5"},{"photo_id":"1395699872","filename":"file2"},{"photo_id":"1395699874","filename":"file4"},{"photo_id":"1395699871","filename":"file1"},{"photo_id":"1395699870","filename":"file0"},{"photo_id":"1395699873","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699871":["hashtag1","hashtag2"]},{"1395699874":["hashtag1","hashtag2"]},{"1395699870":["hashtag1","hashtag2"]},{"1395699873":["hashtag1","hashtag2"]},{"1395699872":["hashtag1","hashtag2"]},{"1395699875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699871, 1395699874, 1395699870, 1395699873, 1395699872, 1395699875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28326201438904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:39:22.573463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_33_2539.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_37_3608.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_40_2680.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_42_2565.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_46_3619.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_49_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_33_2539.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_37_3608.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_40_2680.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_42_2565.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_46_3619.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_49_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699892","1395699879","1395699890","1395699887","1395699881","1395699884"],"photo_ids_order":["1395699879","1395699881","1395699884","1395699887","1395699890","1395699892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8ae93ee1204f507dd5ae6645f8a4fea.jpg","text":"TemporaryFile(/tmp/multipartBody5451582696753330546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811623281,"filename":"image_22112025_12_37_49_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c430158db7ab8beb53f100154ffd6902.jpg","text":"TemporaryFile(/tmp/multipartBody2128294457454999664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811623281,"filename":"image_22112025_12_37_33_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f352c97006d1a7bfab4e11a8686e6b1d.jpg","text":"TemporaryFile(/tmp/multipartBody4442217732547519148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811623281,"filename":"image_22112025_12_37_46_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87521cfe98367d6e0ba664d6a42c522a.jpg","text":"TemporaryFile(/tmp/multipartBody3233861423401492432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811623281,"filename":"image_22112025_12_37_42_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c463b270411e626a9da81474109c8035.jpg","text":"TemporaryFile(/tmp/multipartBody3056456353975707756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811623281,"filename":"image_22112025_12_37_37_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50d9259a13689fbd4d542162ebd4267e.jpg","text":"TemporaryFile(/tmp/multipartBody5201421439766010431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811623281,"filename":"image_22112025_12_37_40_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699884","file1":"1395699881","file0":"1395699879","file4":"1395699890","file5":"1395699892","file3":"1395699887"},"map_files_photo_id_array":[{"photo_id":"1395699892","filename":"file5"},{"photo_id":"1395699884","filename":"file2"},{"photo_id":"1395699890","filename":"file4"},{"photo_id":"1395699881","filename":"file1"},{"photo_id":"1395699879","filename":"file0"},{"photo_id":"1395699887","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699892":["hashtag1","hashtag2"]},{"1395699879":["hashtag1","hashtag2"]},{"1395699890":["hashtag1","hashtag2"]},{"1395699887":["hashtag1","hashtag2"]},{"1395699881":["hashtag1","hashtag2"]},{"1395699884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699892, 1395699879, 1395699890, 1395699887, 1395699881, 1395699884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89506554603577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:40:02.324492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_51_2618.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_54_2891.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_58_3643.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_38_01_2728.jpg', '/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_03_2662.jpg', '/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_07_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_51_2618.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_54_2891.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_58_3643.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_38_01_2728.jpg
/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_03_2662.jpg
/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_07_3719.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6348180770874023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:40:21.828772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_51_2618.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_54_2891.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_58_3643.jpg', '/home/pi/Desktop/images/22112025/12/37/image_22112025_12_38_01_2728.jpg', '/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_03_2662.jpg', '/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_07_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_51_2618.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_54_2891.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_37_58_3643.jpg
/home/pi/Desktop/images/22112025/12/37/image_22112025_12_38_01_2728.jpg
/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_03_2662.jpg
/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_07_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699916","1395699899","1395699903","1395699906","1395699923","1395699926"],"photo_ids_order":["1395699899","1395699903","1395699906","1395699916","1395699923","1395699926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa36fcbfe3a90168302f7daa3fac5223.jpg","text":"TemporaryFile(/tmp/multipartBody9048586220969259535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811682587,"filename":"image_22112025_12_38_01_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e402ff715184dd4a8845d2d330f5c81.jpg","text":"TemporaryFile(/tmp/multipartBody4150415243680388934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811682587,"filename":"image_22112025_12_37_51_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b87f6134490d3931733115b623f42d52.jpg","text":"TemporaryFile(/tmp/multipartBody4091518349519581197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811682587,"filename":"image_22112025_12_37_54_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5185e5dd9ce2708dedfb1e05cc69ba2.jpg","text":"TemporaryFile(/tmp/multipartBody1815582863636132823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811682587,"filename":"image_22112025_12_37_58_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2815cda45e1438b079e0e5e15d31cb9d.jpg","text":"TemporaryFile(/tmp/multipartBody6724601584076415898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811682587,"filename":"image_22112025_12_38_03_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bda91627bf79af79fe645cffa28fb09.jpg","text":"TemporaryFile(/tmp/multipartBody7473371204992450358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811682587,"filename":"image_22112025_12_38_07_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699906","file1":"1395699903","file0":"1395699899","file4":"1395699923","file5":"1395699926","file3":"1395699916"},"map_files_photo_id_array":[{"photo_id":"1395699926","filename":"file5"},{"photo_id":"1395699906","filename":"file2"},{"photo_id":"1395699923","filename":"file4"},{"photo_id":"1395699903","filename":"file1"},{"photo_id":"1395699899","filename":"file0"},{"photo_id":"1395699916","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699916":["hashtag1","hashtag2"]},{"1395699899":["hashtag1","hashtag2"]},{"1395699903":["hashtag1","hashtag2"]},{"1395699906":["hashtag1","hashtag2"]},{"1395699923":["hashtag1","hashtag2"]},{"1395699926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699916, 1395699899, 1395699903, 1395699906, 1395699923, 1395699926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90696597099304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:41:02.758576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_10_2698.jpg', '/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_12_2678.jpg', '/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_16_3579.jpg', '/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_19_2762.jpg', '/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_07_3016.jpg', '/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_10_3509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_10_2698.jpg
/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_12_2678.jpg
/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_16_3579.jpg
/home/pi/Desktop/images/22112025/12/38/image_22112025_12_38_19_2762.jpg
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_07_3016.jpg
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_10_3509.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699929","1395699940","1395699928","1395699930","1395699927","1395699935"],"photo_ids_order":["1395699927","1395699928","1395699929","1395699930","1395699935","1395699940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/111b187e82a7fdf6eb87ec5df9a869be.jpg","text":"TemporaryFile(/tmp/multipartBody317199885835990129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811723507,"filename":"image_22112025_12_38_16_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccf602f80ffeb70d476313917a411d5d.jpg","text":"TemporaryFile(/tmp/multipartBody2383279170352296776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811723507,"filename":"image_22112025_12_39_10_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d182a5688037736d97ae6da00150e01.jpg","text":"TemporaryFile(/tmp/multipartBody6210114103533761838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811723507,"filename":"image_22112025_12_38_12_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd2e95851b7bb50cb1aa5e35f74b0077.jpg","text":"TemporaryFile(/tmp/multipartBody4003822962549153777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811723507,"filename":"image_22112025_12_38_19_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8febb2707058ac264fcb8e2011f87474.jpg","text":"TemporaryFile(/tmp/multipartBody1009551320705671745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811723507,"filename":"image_22112025_12_38_10_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b651b2759e0671bfe185670097ad31b.jpg","text":"TemporaryFile(/tmp/multipartBody351398700416205605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811723507,"filename":"image_22112025_12_39_07_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699929","file1":"1395699928","file0":"1395699927","file4":"1395699935","file5":"1395699940","file3":"1395699930"},"map_files_photo_id_array":[{"photo_id":"1395699940","filename":"file5"},{"photo_id":"1395699929","filename":"file2"},{"photo_id":"1395699935","filename":"file4"},{"photo_id":"1395699928","filename":"file1"},{"photo_id":"1395699927","filename":"file0"},{"photo_id":"1395699930","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699929":["hashtag1","hashtag2"]},{"1395699940":["hashtag1","hashtag2"]},{"1395699928":["hashtag1","hashtag2"]},{"1395699930":["hashtag1","hashtag2"]},{"1395699927":["hashtag1","hashtag2"]},{"1395699935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699929, 1395699940, 1395699928, 1395699930, 1395699927, 1395699935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96096062660217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:41:41.939380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_16_3529.jpg', '/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_19_2824.jpg', '/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_22_2856.jpg', '/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_26_3589.jpg', '/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_31_2621.jpg', '/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_34_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_16_3529.jpg
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_19_2824.jpg
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_22_2856.jpg
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_26_3589.jpg
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_31_2621.jpg
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_34_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699970","1395699981","1395699969","1395699966","1395699971","1395699968"],"photo_ids_order":["1395699966","1395699968","1395699969","1395699970","1395699971","1395699981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e8d68148b00391ba1d4e19ff415d51c.jpg","text":"TemporaryFile(/tmp/multipartBody6231876406524739172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811762615,"filename":"image_22112025_12_39_26_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7764a86db5e31da57c9b46be89863ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2888524032794489181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811762615,"filename":"image_22112025_12_39_34_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73f6ed1db95661247e0f053bd4ef2056.jpg","text":"TemporaryFile(/tmp/multipartBody8138567406102794118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811762615,"filename":"image_22112025_12_39_22_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6cff36caf42e3f167d9d0527e373760b.jpg","text":"TemporaryFile(/tmp/multipartBody7990000845087044992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811762615,"filename":"image_22112025_12_39_16_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76e4fd3a8bd1075831552f81d62d1916.jpg","text":"TemporaryFile(/tmp/multipartBody8408869702801374570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811762615,"filename":"image_22112025_12_39_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba9c783d07c386583e8c2c67846a8721.jpg","text":"TemporaryFile(/tmp/multipartBody7712756719227098597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811762615,"filename":"image_22112025_12_39_19_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699969","file1":"1395699968","file0":"1395699966","file4":"1395699971","file5":"1395699981","file3":"1395699970"},"map_files_photo_id_array":[{"photo_id":"1395699981","filename":"file5"},{"photo_id":"1395699969","filename":"file2"},{"photo_id":"1395699971","filename":"file4"},{"photo_id":"1395699968","filename":"file1"},{"photo_id":"1395699966","filename":"file0"},{"photo_id":"1395699970","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699970":["hashtag1","hashtag2"]},{"1395699981":["hashtag1","hashtag2"]},{"1395699969":["hashtag1","hashtag2"]},{"1395699966":["hashtag1","hashtag2"]},{"1395699971":["hashtag1","hashtag2"]},{"1395699968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699970, 1395699981, 1395699969, 1395699966, 1395699971, 1395699968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06473445892334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:42:22.168839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_38_3794.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_06_3011.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_10_3586.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_12_2680.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_15_2740.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_19_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/39/image_22112025_12_39_38_3794.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_06_3011.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_10_3586.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_12_2680.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_15_2740.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_19_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395699997","1395699985","1395699994","1395699988","1395699996","1395699992"],"photo_ids_order":["1395699985","1395699988","1395699992","1395699994","1395699996","1395699997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4d2b43b4cf6c5c9ac1aa3a449026e80.jpg","text":"TemporaryFile(/tmp/multipartBody2253769207771825083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811802920,"filename":"image_22112025_12_41_19_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/933ca821668d6d3437a2f57d99371aaa.jpg","text":"TemporaryFile(/tmp/multipartBody142727226963794677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811802920,"filename":"image_22112025_12_39_38_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f0c3b7088fa3daea3e0b86fa2563374.jpg","text":"TemporaryFile(/tmp/multipartBody3351923031216819068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811802920,"filename":"image_22112025_12_41_12_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d46d66daf01ca3d286d4b182894d3afb.jpg","text":"TemporaryFile(/tmp/multipartBody975638897463082903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811802920,"filename":"image_22112025_12_41_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bcfc24c46ca3097df3285ac8ab122fc.jpg","text":"TemporaryFile(/tmp/multipartBody3883757855398094813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811802920,"filename":"image_22112025_12_41_15_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c62ed87aae8c1112737274addf88986.jpg","text":"TemporaryFile(/tmp/multipartBody3824841166853895415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811802920,"filename":"image_22112025_12_41_10_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395699992","file1":"1395699988","file0":"1395699985","file4":"1395699996","file5":"1395699997","file3":"1395699994"},"map_files_photo_id_array":[{"photo_id":"1395699997","filename":"file5"},{"photo_id":"1395699992","filename":"file2"},{"photo_id":"1395699996","filename":"file4"},{"photo_id":"1395699988","filename":"file1"},{"photo_id":"1395699985","filename":"file0"},{"photo_id":"1395699994","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395699997":["hashtag1","hashtag2"]},{"1395699985":["hashtag1","hashtag2"]},{"1395699994":["hashtag1","hashtag2"]},{"1395699988":["hashtag1","hashtag2"]},{"1395699996":["hashtag1","hashtag2"]},{"1395699992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395699997, 1395699985, 1395699994, 1395699988, 1395699996, 1395699992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76151251792908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:43:03.426939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_21_2614.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_24_2817.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_28_3610.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_33_2639.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_37_3620.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_39_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_21_2614.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_24_2817.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_28_3610.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_33_2639.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_37_3620.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_39_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700000","1395700003","1395699999","1395699998","1395700001","1395700007"],"photo_ids_order":["1395699998","1395699999","1395700000","1395700001","1395700003","1395700007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/245676526ad91adae2aacef63351e9be.jpg","text":"TemporaryFile(/tmp/multipartBody8141437715252216176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811844161,"filename":"image_22112025_12_41_28_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8226e2b70f4795799fa95990ce815ebf.jpg","text":"TemporaryFile(/tmp/multipartBody4671931526085464582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811844161,"filename":"image_22112025_12_41_37_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c03dbfd6ce980e866666afc8fe382ac1.jpg","text":"TemporaryFile(/tmp/multipartBody3993913188934057414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811844161,"filename":"image_22112025_12_41_24_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a852f70239fd0e579ee31f820cd3f234.jpg","text":"TemporaryFile(/tmp/multipartBody9078036702869842652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811844161,"filename":"image_22112025_12_41_21_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41a9905f9c4dc69aa09a890b09046eb0.jpg","text":"TemporaryFile(/tmp/multipartBody4183991006306133437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811844161,"filename":"image_22112025_12_41_33_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e51a4717f19040363e3121d2a147c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4209842659131914873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811844161,"filename":"image_22112025_12_41_39_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700000","file1":"1395699999","file0":"1395699998","file4":"1395700003","file5":"1395700007","file3":"1395700001"},"map_files_photo_id_array":[{"photo_id":"1395700007","filename":"file5"},{"photo_id":"1395700000","filename":"file2"},{"photo_id":"1395700003","filename":"file4"},{"photo_id":"1395699999","filename":"file1"},{"photo_id":"1395699998","filename":"file0"},{"photo_id":"1395700001","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700000":["hashtag1","hashtag2"]},{"1395700003":["hashtag1","hashtag2"]},{"1395699999":["hashtag1","hashtag2"]},{"1395699998":["hashtag1","hashtag2"]},{"1395700001":["hashtag1","hashtag2"]},{"1395700007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700000, 1395700003, 1395699999, 1395699998, 1395700001, 1395700007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.081406593322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:43:42.698609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_42_2664.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_46_3741.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_48_2578.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_51_2791.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_55_3747.jpg', '/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_58_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_42_2664.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_46_3741.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_48_2578.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_51_2791.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_55_3747.jpg
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_41_58_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700015","1395700018","1395700017","1395700014","1395700016","1395700019"],"photo_ids_order":["1395700014","1395700015","1395700016","1395700017","1395700018","1395700019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25ce128c3f7dc4ab60479c3d3a3be277.jpg","text":"TemporaryFile(/tmp/multipartBody4362524219727558886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811883382,"filename":"image_22112025_12_41_46_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcd388479c387c62157ccb610d335356.jpg","text":"TemporaryFile(/tmp/multipartBody5976399112821704421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811883382,"filename":"image_22112025_12_41_55_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05327712774e45de62f2235f0c0bcd89.jpg","text":"TemporaryFile(/tmp/multipartBody1097112022400335035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811883382,"filename":"image_22112025_12_41_51_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fbdc2c12e8782a6ec42ae7f2832c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody6092588526103168124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811883382,"filename":"image_22112025_12_41_42_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46230e5775786c0ac7061f4820c55cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2224034572538146056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811883382,"filename":"image_22112025_12_41_48_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/165b21add7e2f9ce4555a56af479bea4.jpg","text":"TemporaryFile(/tmp/multipartBody5750150178560215048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811883382,"filename":"image_22112025_12_41_58_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700016","file1":"1395700015","file0":"1395700014","file4":"1395700018","file5":"1395700019","file3":"1395700017"},"map_files_photo_id_array":[{"photo_id":"1395700019","filename":"file5"},{"photo_id":"1395700016","filename":"file2"},{"photo_id":"1395700018","filename":"file4"},{"photo_id":"1395700015","filename":"file1"},{"photo_id":"1395700014","filename":"file0"},{"photo_id":"1395700017","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700015":["hashtag1","hashtag2"]},{"1395700018":["hashtag1","hashtag2"]},{"1395700017":["hashtag1","hashtag2"]},{"1395700014":["hashtag1","hashtag2"]},{"1395700016":["hashtag1","hashtag2"]},{"1395700019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700015, 1395700018, 1395700017, 1395700014, 1395700016, 1395700019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4788544178009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:44:21.959699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/41/image_22112025_12_42_00_2583.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_06_3018.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_10_3646.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_13_2654.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_16_3541.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_19_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/41/image_22112025_12_42_00_2583.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_06_3018.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_10_3646.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_13_2654.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_16_3541.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_19_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700023","1395700040","1395700034","1395700037","1395700025","1395700030"],"photo_ids_order":["1395700023","1395700025","1395700030","1395700034","1395700037","1395700040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/182b67b34ede345f44e590dbda6c33cc.jpg","text":"TemporaryFile(/tmp/multipartBody4190613279962513682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811922636,"filename":"image_22112025_12_42_00_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46b1e3f63311a1f6f3a3f7bf62278891.jpg","text":"TemporaryFile(/tmp/multipartBody3217966693605553306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811922636,"filename":"image_22112025_12_43_19_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76cc3d47ec205c4970d9dd40b27086a4.jpg","text":"TemporaryFile(/tmp/multipartBody1576013137021234929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811922636,"filename":"image_22112025_12_43_13_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e366eea4ac2725ef3ed0db45ba048189.jpg","text":"TemporaryFile(/tmp/multipartBody2935968176572426964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811922636,"filename":"image_22112025_12_43_16_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20b184f35003ce0501bfd9c3d902d343.jpg","text":"TemporaryFile(/tmp/multipartBody8859036008036026410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811922636,"filename":"image_22112025_12_43_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/465692a1faed6f574c22c21f1c090bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6596537671538465027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811922636,"filename":"image_22112025_12_43_10_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700030","file1":"1395700025","file0":"1395700023","file4":"1395700037","file5":"1395700040","file3":"1395700034"},"map_files_photo_id_array":[{"photo_id":"1395700040","filename":"file5"},{"photo_id":"1395700030","filename":"file2"},{"photo_id":"1395700037","filename":"file4"},{"photo_id":"1395700025","filename":"file1"},{"photo_id":"1395700023","filename":"file0"},{"photo_id":"1395700034","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700023":["hashtag1","hashtag2"]},{"1395700040":["hashtag1","hashtag2"]},{"1395700034":["hashtag1","hashtag2"]},{"1395700037":["hashtag1","hashtag2"]},{"1395700025":["hashtag1","hashtag2"]},{"1395700030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700023, 1395700040, 1395700034, 1395700037, 1395700025, 1395700030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6753044128418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:45:02.778890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_22_2743.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_25_3597.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_28_2658.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_34_3618.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_37_2680.jpg', '/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_39_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_22_2743.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_25_3597.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_28_2658.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_34_3618.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_37_2680.jpg
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_39_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700044","1395700047","1395700046","1395700049","1395700051","1395700045"],"photo_ids_order":["1395700044","1395700045","1395700046","1395700047","1395700049","1395700051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53e54ba6b6e0f07f2f39f4369671b72d.jpg","text":"TemporaryFile(/tmp/multipartBody3232197257111070798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811963537,"filename":"image_22112025_12_43_22_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28ea4d87dfb77c42cea574a271154b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1386404536238275322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811963537,"filename":"image_22112025_12_43_34_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c6f7b1a323b268de9dcc53a565a0af9.jpg","text":"TemporaryFile(/tmp/multipartBody1323913185185835894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811963537,"filename":"image_22112025_12_43_28_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33b8eb2709039326f3742e3dbaf7cf50.jpg","text":"TemporaryFile(/tmp/multipartBody3760420222266546870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811963537,"filename":"image_22112025_12_43_37_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f85ff5a4f4a71e7a54d4c6fcd190d94b.jpg","text":"TemporaryFile(/tmp/multipartBody1048209386968546977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811963537,"filename":"image_22112025_12_43_39_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05a62ec63989d0aff821b8d16ce52356.jpg","text":"TemporaryFile(/tmp/multipartBody2131027741765003124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763811963537,"filename":"image_22112025_12_43_25_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700046","file1":"1395700045","file0":"1395700044","file4":"1395700049","file5":"1395700051","file3":"1395700047"},"map_files_photo_id_array":[{"photo_id":"1395700051","filename":"file5"},{"photo_id":"1395700046","filename":"file2"},{"photo_id":"1395700049","filename":"file4"},{"photo_id":"1395700045","filename":"file1"},{"photo_id":"1395700044","filename":"file0"},{"photo_id":"1395700047","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700044":["hashtag1","hashtag2"]},{"1395700047":["hashtag1","hashtag2"]},{"1395700046":["hashtag1","hashtag2"]},{"1395700049":["hashtag1","hashtag2"]},{"1395700051":["hashtag1","hashtag2"]},{"1395700045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700044, 1395700047, 1395700046, 1395700049, 1395700051, 1395700045)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.67196536064148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:46:02.776559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_43_3683.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_06_3012.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_10_3690.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_13_2586.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_16_3583.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_19_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/43/image_22112025_12_43_43_3683.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_06_3012.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_10_3690.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_13_2586.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_16_3583.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_19_2808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700062","1395700059","1395700064","1395700067","1395700061","1395700060"],"photo_ids_order":["1395700059","1395700060","1395700061","1395700062","1395700064","1395700067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a52f85c618510a95299cd0efc278d62.jpg","text":"TemporaryFile(/tmp/multipartBody6957331169039903521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812023484,"filename":"image_22112025_12_45_13_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62413a3cec2cf90b23aa7c7e3979fc75.jpg","text":"TemporaryFile(/tmp/multipartBody362448941671425878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812023484,"filename":"image_22112025_12_43_43_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67600b79199648aff07c5b1cd53fcdfa.jpg","text":"TemporaryFile(/tmp/multipartBody9083494377220857695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812023484,"filename":"image_22112025_12_45_16_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0625293fdace4fe26bc5a66a1b871899.jpg","text":"TemporaryFile(/tmp/multipartBody5745735349337506834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812023484,"filename":"image_22112025_12_45_19_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7b5567b747ea35360e52c25e3cf527e.jpg","text":"TemporaryFile(/tmp/multipartBody1914076929128763579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812023484,"filename":"image_22112025_12_45_10_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6a7066aad9b3027141fd8b68432fbff.jpg","text":"TemporaryFile(/tmp/multipartBody2992947718218639762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812023484,"filename":"image_22112025_12_45_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700061","file1":"1395700060","file0":"1395700059","file4":"1395700064","file5":"1395700067","file3":"1395700062"},"map_files_photo_id_array":[{"photo_id":"1395700067","filename":"file5"},{"photo_id":"1395700061","filename":"file2"},{"photo_id":"1395700064","filename":"file4"},{"photo_id":"1395700060","filename":"file1"},{"photo_id":"1395700059","filename":"file0"},{"photo_id":"1395700062","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700062":["hashtag1","hashtag2"]},{"1395700059":["hashtag1","hashtag2"]},{"1395700064":["hashtag1","hashtag2"]},{"1395700067":["hashtag1","hashtag2"]},{"1395700061":["hashtag1","hashtag2"]},{"1395700060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700062, 1395700059, 1395700064, 1395700067, 1395700061, 1395700060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79694199562073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:46:42.431232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_22_2596.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_24_2754.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_28_3865.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_31_2575.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_34_2668.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_37_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_22_2596.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_24_2754.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_28_3865.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_31_2575.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_34_2668.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_37_3714.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5835680961608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:47:03.318987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_22_2596.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_24_2754.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_28_3865.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_31_2575.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_34_2668.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_37_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_22_2596.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_24_2754.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_28_3865.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_31_2575.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_34_2668.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_37_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700083","1395700082","1395700091","1395700085","1395700088","1395700081"],"photo_ids_order":["1395700081","1395700082","1395700083","1395700085","1395700088","1395700091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c86cbe9c78be74bf10aad66d79956624.jpg","text":"TemporaryFile(/tmp/multipartBody6898172945381935276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812086225,"filename":"image_22112025_12_45_28_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4aa1b5756a3fb928250a970d6332df33.jpg","text":"TemporaryFile(/tmp/multipartBody4959954074556816967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812086225,"filename":"image_22112025_12_45_24_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc6444426522f20dbeba8254d50e7e17.jpg","text":"TemporaryFile(/tmp/multipartBody4694538425451386879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812086225,"filename":"image_22112025_12_45_37_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd178853cfb2a24509cedb5b609e03df.jpg","text":"TemporaryFile(/tmp/multipartBody2239076964565428689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812086225,"filename":"image_22112025_12_45_31_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/181b24a693ca1eb55f2e882335bd886c.jpg","text":"TemporaryFile(/tmp/multipartBody5903133802605618341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812086225,"filename":"image_22112025_12_45_34_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d9dd06a85247ac6a9ac15dc19c8ef07.jpg","text":"TemporaryFile(/tmp/multipartBody2098079912640395380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812086225,"filename":"image_22112025_12_45_22_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700083","file1":"1395700082","file0":"1395700081","file4":"1395700088","file5":"1395700091","file3":"1395700085"},"map_files_photo_id_array":[{"photo_id":"1395700091","filename":"file5"},{"photo_id":"1395700083","filename":"file2"},{"photo_id":"1395700088","filename":"file4"},{"photo_id":"1395700082","filename":"file1"},{"photo_id":"1395700081","filename":"file0"},{"photo_id":"1395700085","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700083":["hashtag1","hashtag2"]},{"1395700082":["hashtag1","hashtag2"]},{"1395700091":["hashtag1","hashtag2"]},{"1395700085":["hashtag1","hashtag2"]},{"1395700088":["hashtag1","hashtag2"]},{"1395700081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700083, 1395700082, 1395700091, 1395700085, 1395700088, 1395700081)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.78547430038452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:48:02.393235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_40_2652.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_46_3569.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_49_2557.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_55_2600.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_58_2792.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_46_01_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_40_2652.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_46_3569.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_49_2557.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_55_2600.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_58_2792.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_46_01_3538.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5884368419647217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:48:21.916443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_40_2652.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_46_3569.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_49_2557.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_55_2600.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_58_2792.jpg', '/home/pi/Desktop/images/22112025/12/45/image_22112025_12_46_01_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_40_2652.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_46_3569.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_49_2557.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_55_2600.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_45_58_2792.jpg
/home/pi/Desktop/images/22112025/12/45/image_22112025_12_46_01_3538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700111","1395700120","1395700108","1395700116","1395700121","1395700118"],"photo_ids_order":["1395700108","1395700111","1395700116","1395700118","1395700120","1395700121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b4806c79790774a15094f9ac2a092dc.jpg","text":"TemporaryFile(/tmp/multipartBody407912541637064219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812162608,"filename":"image_22112025_12_45_46_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc63a235653dff090bd3f5a16e4fcbc4.jpg","text":"TemporaryFile(/tmp/multipartBody8100599082415626254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812162608,"filename":"image_22112025_12_45_58_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/893c2a10bf13eb8005d92a4d6b2287d9.jpg","text":"TemporaryFile(/tmp/multipartBody5068604780887748650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812162608,"filename":"image_22112025_12_45_40_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c7c5fee600e234233a4f330bcd452ed.jpg","text":"TemporaryFile(/tmp/multipartBody2414365645740521952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812162608,"filename":"image_22112025_12_45_49_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97b2901e8ab50b3dc38f94f143576a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5525156470967315067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812162608,"filename":"image_22112025_12_46_01_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e6607781f69a809bb8597c96d57115b.jpg","text":"TemporaryFile(/tmp/multipartBody8344363412175567285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812162608,"filename":"image_22112025_12_45_55_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700116","file1":"1395700111","file0":"1395700108","file4":"1395700120","file5":"1395700121","file3":"1395700118"},"map_files_photo_id_array":[{"photo_id":"1395700121","filename":"file5"},{"photo_id":"1395700116","filename":"file2"},{"photo_id":"1395700120","filename":"file4"},{"photo_id":"1395700111","filename":"file1"},{"photo_id":"1395700108","filename":"file0"},{"photo_id":"1395700118","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700111":["hashtag1","hashtag2"]},{"1395700120":["hashtag1","hashtag2"]},{"1395700108":["hashtag1","hashtag2"]},{"1395700116":["hashtag1","hashtag2"]},{"1395700121":["hashtag1","hashtag2"]},{"1395700118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700111, 1395700120, 1395700108, 1395700116, 1395700121, 1395700118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29031682014465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:49:03.316480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/46/image_22112025_12_46_04_2584.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_07_3017.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_10_3646.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_13_2557.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_17_3717.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_19_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/46/image_22112025_12_46_04_2584.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_07_3017.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_10_3646.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_13_2557.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_17_3717.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_19_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700126","1395700129","1395700131","1395700125","1395700127","1395700124"],"photo_ids_order":["1395700124","1395700125","1395700126","1395700127","1395700129","1395700131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adaab91de0c5f101d802032da260b703.jpg","text":"TemporaryFile(/tmp/multipartBody2415022519965124217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812204199,"filename":"image_22112025_12_47_10_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6c949e428472d89b918f911f6f1db5e.jpg","text":"TemporaryFile(/tmp/multipartBody6445577864612382672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812204199,"filename":"image_22112025_12_47_17_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16a51744d28ef525fe4ba49a4e21a5b1.jpg","text":"TemporaryFile(/tmp/multipartBody8454819469362265614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812204199,"filename":"image_22112025_12_47_19_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b6a0e40b4a9d3be76c3ce2c4464c8a7.jpg","text":"TemporaryFile(/tmp/multipartBody3773065782221619921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812204199,"filename":"image_22112025_12_47_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86dfeeb167bf1968f2dd00a7b57994cc.jpg","text":"TemporaryFile(/tmp/multipartBody1248456204379197762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812204199,"filename":"image_22112025_12_47_13_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f6a06fd00148e5a177e79b7eaec2992.jpg","text":"TemporaryFile(/tmp/multipartBody4311969814472094205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812204199,"filename":"image_22112025_12_46_04_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700126","file1":"1395700125","file0":"1395700124","file4":"1395700129","file5":"1395700131","file3":"1395700127"},"map_files_photo_id_array":[{"photo_id":"1395700131","filename":"file5"},{"photo_id":"1395700126","filename":"file2"},{"photo_id":"1395700129","filename":"file4"},{"photo_id":"1395700125","filename":"file1"},{"photo_id":"1395700124","filename":"file0"},{"photo_id":"1395700127","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700126":["hashtag1","hashtag2"]},{"1395700129":["hashtag1","hashtag2"]},{"1395700131":["hashtag1","hashtag2"]},{"1395700125":["hashtag1","hashtag2"]},{"1395700127":["hashtag1","hashtag2"]},{"1395700124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700126, 1395700129, 1395700131, 1395700125, 1395700127, 1395700124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.712258100509644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:49:42.474274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_22_2808.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_26_3526.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_28_2587.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_31_2734.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_34_3530.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_43_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_22_2808.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_26_3526.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_28_2587.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_31_2734.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_34_3530.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_43_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700147","1395700143","1395700146","1395700145","1395700141","1395700144"],"photo_ids_order":["1395700141","1395700143","1395700144","1395700145","1395700146","1395700147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9d3243ff32fc207ea3d64286bc1fe67.jpg","text":"TemporaryFile(/tmp/multipartBody6235004689192817149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812243137,"filename":"image_22112025_12_47_43_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/756bd010a6457654cba694a6c20b3ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5730194688241457819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812243137,"filename":"image_22112025_12_47_26_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23893a42c785b33068eb6d80c61d618e.jpg","text":"TemporaryFile(/tmp/multipartBody4195002455170576293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812243137,"filename":"image_22112025_12_47_34_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/889a3a0662471abb241f3b597c63a679.jpg","text":"TemporaryFile(/tmp/multipartBody2154597678374581401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812243137,"filename":"image_22112025_12_47_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98ecd8da2cad52a941de5bad17404031.jpg","text":"TemporaryFile(/tmp/multipartBody5600024904679493143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812243137,"filename":"image_22112025_12_47_22_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70ee22ed4ddd91086767b56811072ada.jpg","text":"TemporaryFile(/tmp/multipartBody4988890760621222869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812243137,"filename":"image_22112025_12_47_28_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700144","file1":"1395700143","file0":"1395700141","file4":"1395700146","file5":"1395700147","file3":"1395700145"},"map_files_photo_id_array":[{"photo_id":"1395700147","filename":"file5"},{"photo_id":"1395700144","filename":"file2"},{"photo_id":"1395700146","filename":"file4"},{"photo_id":"1395700143","filename":"file1"},{"photo_id":"1395700141","filename":"file0"},{"photo_id":"1395700145","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700147":["hashtag1","hashtag2"]},{"1395700143":["hashtag1","hashtag2"]},{"1395700146":["hashtag1","hashtag2"]},{"1395700145":["hashtag1","hashtag2"]},{"1395700141":["hashtag1","hashtag2"]},{"1395700144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700147, 1395700143, 1395700146, 1395700145, 1395700141, 1395700144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.437504053115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:50:22.655922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_46_3628.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_49_2573.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_52_3520.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_55_2870.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_58_2602.jpg', '/home/pi/Desktop/images/22112025/12/47/image_22112025_12_48_01_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_46_3628.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_49_2573.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_52_3520.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_55_2870.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_47_58_2602.jpg
/home/pi/Desktop/images/22112025/12/47/image_22112025_12_48_01_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700152","1395700155","1395700164","1395700166","1395700169","1395700150"],"photo_ids_order":["1395700150","1395700152","1395700155","1395700164","1395700166","1395700169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30ba2a4cf18b6d5d593fe12b8b2661c3.jpg","text":"TemporaryFile(/tmp/multipartBody1434207210902498566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812283316,"filename":"image_22112025_12_47_49_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94f7729eeb307213a6e84e301f20dce6.jpg","text":"TemporaryFile(/tmp/multipartBody7200945526522392853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812283316,"filename":"image_22112025_12_47_52_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e074c0698c0538056bbf19b5ef785612.jpg","text":"TemporaryFile(/tmp/multipartBody8540671154765119861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812283316,"filename":"image_22112025_12_47_55_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/168a3d4c582fa67d055faad0cffa855b.jpg","text":"TemporaryFile(/tmp/multipartBody1701188329182096686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812283316,"filename":"image_22112025_12_47_58_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da96c465f6e38c4b650787bc488393e7.jpg","text":"TemporaryFile(/tmp/multipartBody2038565611367593717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812283316,"filename":"image_22112025_12_48_01_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63817faf438f935c2acc2e49960ca0ef.jpg","text":"TemporaryFile(/tmp/multipartBody2779629245855954291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812283316,"filename":"image_22112025_12_47_46_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700155","file1":"1395700152","file0":"1395700150","file4":"1395700166","file5":"1395700169","file3":"1395700164"},"map_files_photo_id_array":[{"photo_id":"1395700169","filename":"file5"},{"photo_id":"1395700155","filename":"file2"},{"photo_id":"1395700166","filename":"file4"},{"photo_id":"1395700152","filename":"file1"},{"photo_id":"1395700150","filename":"file0"},{"photo_id":"1395700164","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700152":["hashtag1","hashtag2"]},{"1395700155":["hashtag1","hashtag2"]},{"1395700164":["hashtag1","hashtag2"]},{"1395700166":["hashtag1","hashtag2"]},{"1395700169":["hashtag1","hashtag2"]},{"1395700150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700152, 1395700155, 1395700164, 1395700166, 1395700169, 1395700150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64042115211487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:51:02.743629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/48/image_22112025_12_48_07_2723.jpg', '/home/pi/Desktop/images/22112025/12/48/image_22112025_12_48_10_3520.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_06_3018.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_10_3679.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_13_2600.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_16_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/48/image_22112025_12_48_07_2723.jpg
/home/pi/Desktop/images/22112025/12/48/image_22112025_12_48_10_3520.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_06_3018.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_10_3679.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_13_2600.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_16_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700179","1395700176","1395700181","1395700175","1395700174","1395700177"],"photo_ids_order":["1395700174","1395700175","1395700176","1395700177","1395700179","1395700181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e20ef6b825d9acba28ab99ee5a6315da.jpg","text":"TemporaryFile(/tmp/multipartBody361563323112734477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812323487,"filename":"image_22112025_12_49_13_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cc1593daf4c3b993ca24ae58bdf2b53.jpg","text":"TemporaryFile(/tmp/multipartBody2205567676750609023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812323487,"filename":"image_22112025_12_49_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1816e0b140a0d57b3b8c4dbe4cff7395.jpg","text":"TemporaryFile(/tmp/multipartBody6631146107865495715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812323487,"filename":"image_22112025_12_49_16_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bab17f7fe485de17e88dcf9f40d1fb65.jpg","text":"TemporaryFile(/tmp/multipartBody4087736330695101395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812323487,"filename":"image_22112025_12_48_10_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/538292117f9b0f0d3ce7846fe0e449be.jpg","text":"TemporaryFile(/tmp/multipartBody3590228607663436963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812323487,"filename":"image_22112025_12_48_07_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1b440d99125ca3abe5e59853abc6632.jpg","text":"TemporaryFile(/tmp/multipartBody312217054429496588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812323487,"filename":"image_22112025_12_49_10_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700176","file1":"1395700175","file0":"1395700174","file4":"1395700179","file5":"1395700181","file3":"1395700177"},"map_files_photo_id_array":[{"photo_id":"1395700181","filename":"file5"},{"photo_id":"1395700176","filename":"file2"},{"photo_id":"1395700179","filename":"file4"},{"photo_id":"1395700175","filename":"file1"},{"photo_id":"1395700174","filename":"file0"},{"photo_id":"1395700177","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700179":["hashtag1","hashtag2"]},{"1395700176":["hashtag1","hashtag2"]},{"1395700181":["hashtag1","hashtag2"]},{"1395700175":["hashtag1","hashtag2"]},{"1395700174":["hashtag1","hashtag2"]},{"1395700177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700179, 1395700176, 1395700181, 1395700175, 1395700174, 1395700177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.183268547058105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:51:42.030758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_19_2706.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_22_2787.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_24_2664.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_28_3790.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_31_2643.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_33_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_19_2706.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_22_2787.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_24_2664.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_28_3790.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_31_2643.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_33_2739.jpg
 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":["1395700197","1395700194","1395700193","1395700199","1395700189","1395700198"],"photo_ids_order":["1395700189","1395700193","1395700194","1395700197","1395700198","1395700199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/524d58d58a826134336cb1ece4fc9f84.jpg","text":"TemporaryFile(/tmp/multipartBody1831514272600800617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812362709,"filename":"image_22112025_12_49_28_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7471ea7f0276da018495ef7fad16a600.jpg","text":"TemporaryFile(/tmp/multipartBody574978383863181910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812362709,"filename":"image_22112025_12_49_24_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9903f10b96c10665d0dd19673c131991.jpg","text":"TemporaryFile(/tmp/multipartBody2838560368751151534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812362709,"filename":"image_22112025_12_49_22_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee46070c5dd0a8286fb29eb4f950e64e.jpg","text":"TemporaryFile(/tmp/multipartBody7609966021390557898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812362709,"filename":"image_22112025_12_49_33_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c0b463d0614362734a81f672d703b00.jpg","text":"TemporaryFile(/tmp/multipartBody5247495663603458823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812362709,"filename":"image_22112025_12_49_19_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c244704c4578bfcb9eef8992c6aaeb18.jpg","text":"TemporaryFile(/tmp/multipartBody5873662701299305814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812362709,"filename":"image_22112025_12_49_31_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700194","file1":"1395700193","file0":"1395700189","file4":"1395700198","file5":"1395700199","file3":"1395700197"},"map_files_photo_id_array":[{"photo_id":"1395700199","filename":"file5"},{"photo_id":"1395700194","filename":"file2"},{"photo_id":"1395700198","filename":"file4"},{"photo_id":"1395700193","filename":"file1"},{"photo_id":"1395700189","filename":"file0"},{"photo_id":"1395700197","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700197":["hashtag1","hashtag2"]},{"1395700194":["hashtag1","hashtag2"]},{"1395700193":["hashtag1","hashtag2"]},{"1395700199":["hashtag1","hashtag2"]},{"1395700189":["hashtag1","hashtag2"]},{"1395700198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700197, 1395700194, 1395700193, 1395700199, 1395700189, 1395700198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.69185662269592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:52:42.254178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_36_2697.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_40_3879.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_43_2633.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_45_2680.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_07_3037.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_11_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_36_2697.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_40_3879.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_43_2633.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_45_2680.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_07_3037.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_11_3611.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6619679927825928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:53:03.177592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_36_2697.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_40_3879.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_43_2633.jpg', '/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_45_2680.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_07_3037.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_11_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_36_2697.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_40_3879.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_43_2633.jpg
/home/pi/Desktop/images/22112025/12/49/image_22112025_12_49_45_2680.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_07_3037.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_11_3611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700216","1395700215","1395700218","1395700220","1395700223","1395700217"],"photo_ids_order":["1395700215","1395700216","1395700217","1395700218","1395700220","1395700223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d7e4028ee3247d235b848fc8b732b10.jpg","text":"TemporaryFile(/tmp/multipartBody8337713956888229253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812443963,"filename":"image_22112025_12_49_40_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61dc6350c4f9fac1a4518ae6035e3983.jpg","text":"TemporaryFile(/tmp/multipartBody5159489088575656553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812443963,"filename":"image_22112025_12_49_36_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c07fe7187f5d29c5495fb6a9b3d4bce.jpg","text":"TemporaryFile(/tmp/multipartBody9014884513304238713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812443963,"filename":"image_22112025_12_49_45_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a37dc321bb786d4a106e54c3598e912.jpg","text":"TemporaryFile(/tmp/multipartBody807530178775641457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812443963,"filename":"image_22112025_12_51_07_3037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e38dfe582202d11197803596023f194e.jpg","text":"TemporaryFile(/tmp/multipartBody170237438501284670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812443963,"filename":"image_22112025_12_51_11_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca0e698f218e515fc21b90ba5e3ec4fe.jpg","text":"TemporaryFile(/tmp/multipartBody4609791656001956546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812443963,"filename":"image_22112025_12_49_43_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700217","file1":"1395700216","file0":"1395700215","file4":"1395700220","file5":"1395700223","file3":"1395700218"},"map_files_photo_id_array":[{"photo_id":"1395700223","filename":"file5"},{"photo_id":"1395700217","filename":"file2"},{"photo_id":"1395700220","filename":"file4"},{"photo_id":"1395700216","filename":"file1"},{"photo_id":"1395700215","filename":"file0"},{"photo_id":"1395700218","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700216":["hashtag1","hashtag2"]},{"1395700215":["hashtag1","hashtag2"]},{"1395700218":["hashtag1","hashtag2"]},{"1395700220":["hashtag1","hashtag2"]},{"1395700223":["hashtag1","hashtag2"]},{"1395700217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700216, 1395700215, 1395700218, 1395700220, 1395700223, 1395700217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84843397140503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:53:42.538092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_13_2692.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_16_2692.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_20_3780.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_22_2740.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_25_2559.jpg', '/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_29_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_13_2692.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_16_2692.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_20_3780.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_22_2740.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_25_2559.jpg
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_29_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700231","1395700233","1395700230","1395700232","1395700240","1395700237"],"photo_ids_order":["1395700230","1395700231","1395700232","1395700233","1395700237","1395700240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac31bc12b65c88ef38adfe04a4776798.jpg","text":"TemporaryFile(/tmp/multipartBody21171001170754078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812483255,"filename":"image_22112025_12_51_16_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b0922d5ba0af1880aa4e3b939e65ae5.jpg","text":"TemporaryFile(/tmp/multipartBody3028151241866105548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812483255,"filename":"image_22112025_12_51_22_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c80e944d1dfacac05550b89f2750bbc.jpg","text":"TemporaryFile(/tmp/multipartBody6525996722816999337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812483255,"filename":"image_22112025_12_51_13_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2649cf5f5f595dbf25bee2a9e788167e.jpg","text":"TemporaryFile(/tmp/multipartBody729362477227157102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812483255,"filename":"image_22112025_12_51_20_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c0d178893303c5e8a4f6524de0114a6.jpg","text":"TemporaryFile(/tmp/multipartBody8429507029593648001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812483255,"filename":"image_22112025_12_51_29_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66976c8ac1b761419130c7e52594c02e.jpg","text":"TemporaryFile(/tmp/multipartBody2907774839512062741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812483255,"filename":"image_22112025_12_51_25_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700232","file1":"1395700231","file0":"1395700230","file4":"1395700237","file5":"1395700240","file3":"1395700233"},"map_files_photo_id_array":[{"photo_id":"1395700240","filename":"file5"},{"photo_id":"1395700232","filename":"file2"},{"photo_id":"1395700237","filename":"file4"},{"photo_id":"1395700231","filename":"file1"},{"photo_id":"1395700230","filename":"file0"},{"photo_id":"1395700233","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700231":["hashtag1","hashtag2"]},{"1395700233":["hashtag1","hashtag2"]},{"1395700230":["hashtag1","hashtag2"]},{"1395700232":["hashtag1","hashtag2"]},{"1395700240":["hashtag1","hashtag2"]},{"1395700237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700231, 1395700233, 1395700230, 1395700232, 1395700240, 1395700237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53482484817505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:54:22.819068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_34_2548.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_06_3011.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_10_3756.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_13_2602.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_15_2645.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_28_12747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/51/image_22112025_12_51_34_2548.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_06_3011.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_10_3756.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_13_2602.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_15_2645.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_28_12747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700246","1395700248","1395700257","1395700259","1395700253","1395700243"],"photo_ids_order":["1395700243","1395700246","1395700248","1395700253","1395700257","1395700259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c36c7cd9ec7dc0cabc04e7550eba6947.jpg","text":"TemporaryFile(/tmp/multipartBody8792068366094462688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812523526,"filename":"image_22112025_12_53_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff1e82145b1464f2a0d4ef982b9c0941.jpg","text":"TemporaryFile(/tmp/multipartBody4395639862535842559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812523526,"filename":"image_22112025_12_53_10_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e88835b1d46bb989139079f3ed280b3.jpg","text":"TemporaryFile(/tmp/multipartBody5773335251116212255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812523526,"filename":"image_22112025_12_53_15_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f6af717ebd134bbf8644404dd4cb9ae.jpg","text":"TemporaryFile(/tmp/multipartBody1295293827687621954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812523526,"filename":"image_22112025_12_53_28_12747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40723716ed262c132ed71f8f125954cd.jpg","text":"TemporaryFile(/tmp/multipartBody6942231677700239287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812523526,"filename":"image_22112025_12_53_13_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/962d397bbd39988ae7b3cf2e13e3124b.jpg","text":"TemporaryFile(/tmp/multipartBody2925320416343902657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812523526,"filename":"image_22112025_12_51_34_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700248","file1":"1395700246","file0":"1395700243","file4":"1395700257","file5":"1395700259","file3":"1395700253"},"map_files_photo_id_array":[{"photo_id":"1395700259","filename":"file5"},{"photo_id":"1395700248","filename":"file2"},{"photo_id":"1395700257","filename":"file4"},{"photo_id":"1395700246","filename":"file1"},{"photo_id":"1395700243","filename":"file0"},{"photo_id":"1395700253","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700246":["hashtag1","hashtag2"]},{"1395700248":["hashtag1","hashtag2"]},{"1395700257":["hashtag1","hashtag2"]},{"1395700259":["hashtag1","hashtag2"]},{"1395700253":["hashtag1","hashtag2"]},{"1395700243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700246, 1395700248, 1395700257, 1395700259, 1395700253, 1395700243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83487319946289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:55:02.405647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_30_1804.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_32_1596.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_33_1577.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_35_1606.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_37_1719.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_40_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_30_1804.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_32_1596.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_33_1577.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_35_1606.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_37_1719.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_40_1630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700263","1395700266","1395700269","1395700262","1395700261","1395700264"],"photo_ids_order":["1395700261","1395700262","1395700263","1395700264","1395700266","1395700269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/379b41e2f321f0cdb64ddabe6ee5d275.jpg","text":"TemporaryFile(/tmp/multipartBody1634469574617146454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812563171,"filename":"image_22112025_12_53_33_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffc3f83936296ad8d7f40d2af1080b17.jpg","text":"TemporaryFile(/tmp/multipartBody1424517607213794219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812563171,"filename":"image_22112025_12_53_37_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2070f368bbb3106a303d4cbef6415ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5310622668761820188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812563171,"filename":"image_22112025_12_53_40_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b63da35b9a5ba4f5816bd85bcc0ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody6971397627554901223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812563171,"filename":"image_22112025_12_53_32_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79714265a202173f000f0bab3858d395.jpg","text":"TemporaryFile(/tmp/multipartBody8012607972242280497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812563171,"filename":"image_22112025_12_53_30_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a354585a4ad2dddc90a11c23bee7fca.jpg","text":"TemporaryFile(/tmp/multipartBody3937071003840486068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812563171,"filename":"image_22112025_12_53_35_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700263","file1":"1395700262","file0":"1395700261","file4":"1395700266","file5":"1395700269","file3":"1395700264"},"map_files_photo_id_array":[{"photo_id":"1395700269","filename":"file5"},{"photo_id":"1395700263","filename":"file2"},{"photo_id":"1395700266","filename":"file4"},{"photo_id":"1395700262","filename":"file1"},{"photo_id":"1395700261","filename":"file0"},{"photo_id":"1395700264","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700263":["hashtag1","hashtag2"]},{"1395700266":["hashtag1","hashtag2"]},{"1395700269":["hashtag1","hashtag2"]},{"1395700262":["hashtag1","hashtag2"]},{"1395700261":["hashtag1","hashtag2"]},{"1395700264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700263, 1395700266, 1395700269, 1395700262, 1395700261, 1395700264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41608262062073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:55:41.832939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_43_3629.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_46_2614.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_49_2560.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_52_3033.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_55_3770.jpg', '/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_58_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_43_3629.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_46_2614.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_49_2560.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_52_3033.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_55_3770.jpg
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_53_58_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700281","1395700278","1395700275","1395700280","1395700277","1395700279"],"photo_ids_order":["1395700275","1395700277","1395700278","1395700279","1395700280","1395700281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70c537d334dac15fecab6f4a722773ef.jpg","text":"TemporaryFile(/tmp/multipartBody3834073583819550467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812602485,"filename":"image_22112025_12_53_58_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5845e0870376d2e1a575fc2609709a9d.jpg","text":"TemporaryFile(/tmp/multipartBody7442984582872040540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812602485,"filename":"image_22112025_12_53_49_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdbb6338d50d67326205de6f3a1595df.jpg","text":"TemporaryFile(/tmp/multipartBody702221104900664281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812602485,"filename":"image_22112025_12_53_43_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7c65ad0f101f311dfb4f8a48d8c3837.jpg","text":"TemporaryFile(/tmp/multipartBody3349054802292425508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812602485,"filename":"image_22112025_12_53_55_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0099d0d389a0f7a010dc84485efa72a.jpg","text":"TemporaryFile(/tmp/multipartBody2564986638842038429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812602485,"filename":"image_22112025_12_53_46_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c707853ca4ab0e54bd42b87b3832cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6787650259738003453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812602485,"filename":"image_22112025_12_53_52_3033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700278","file1":"1395700277","file0":"1395700275","file4":"1395700280","file5":"1395700281","file3":"1395700279"},"map_files_photo_id_array":[{"photo_id":"1395700281","filename":"file5"},{"photo_id":"1395700278","filename":"file2"},{"photo_id":"1395700280","filename":"file4"},{"photo_id":"1395700277","filename":"file1"},{"photo_id":"1395700275","filename":"file0"},{"photo_id":"1395700279","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700281":["hashtag1","hashtag2"]},{"1395700278":["hashtag1","hashtag2"]},{"1395700275":["hashtag1","hashtag2"]},{"1395700280":["hashtag1","hashtag2"]},{"1395700277":["hashtag1","hashtag2"]},{"1395700279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700281, 1395700278, 1395700275, 1395700280, 1395700277, 1395700279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.878581523895264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:56:22.069420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/53/image_22112025_12_54_00_2496.jpg', '/home/pi/Desktop/images/22112025/12/54/image_22112025_12_54_04_3570.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_07_3016.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_11_3567.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_14_2810.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_17_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/53/image_22112025_12_54_00_2496.jpg
/home/pi/Desktop/images/22112025/12/54/image_22112025_12_54_04_3570.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_07_3016.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_11_3567.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_14_2810.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_17_3541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700296","1395700290","1395700293","1395700298","1395700283","1395700286"],"photo_ids_order":["1395700283","1395700286","1395700290","1395700293","1395700296","1395700298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/321a7e5ab9293269e5bf42cd97ed2233.jpg","text":"TemporaryFile(/tmp/multipartBody501153901227835250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812642762,"filename":"image_22112025_12_55_14_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/456465b59bd3b056938ff326e5e70eab.jpg","text":"TemporaryFile(/tmp/multipartBody375683720632336425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812642762,"filename":"image_22112025_12_55_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75a70cb613ff39ec95032fb76245434b.jpg","text":"TemporaryFile(/tmp/multipartBody242346120062302268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812642762,"filename":"image_22112025_12_55_11_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f99fd819f01bf55e69411e4dc8ac49b4.jpg","text":"TemporaryFile(/tmp/multipartBody3587057957097662110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812642762,"filename":"image_22112025_12_55_17_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c235a53913dea1afc62847807da0805.jpg","text":"TemporaryFile(/tmp/multipartBody6437198723831939603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812642762,"filename":"image_22112025_12_54_00_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/733d057ddefa8b5a1df5005d66616172.jpg","text":"TemporaryFile(/tmp/multipartBody700671205044324852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812642762,"filename":"image_22112025_12_54_04_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700290","file1":"1395700286","file0":"1395700283","file4":"1395700296","file5":"1395700298","file3":"1395700293"},"map_files_photo_id_array":[{"photo_id":"1395700298","filename":"file5"},{"photo_id":"1395700290","filename":"file2"},{"photo_id":"1395700296","filename":"file4"},{"photo_id":"1395700286","filename":"file1"},{"photo_id":"1395700283","filename":"file0"},{"photo_id":"1395700293","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700296":["hashtag1","hashtag2"]},{"1395700290":["hashtag1","hashtag2"]},{"1395700293":["hashtag1","hashtag2"]},{"1395700298":["hashtag1","hashtag2"]},{"1395700283":["hashtag1","hashtag2"]},{"1395700286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700296, 1395700290, 1395700293, 1395700298, 1395700283, 1395700286)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.291775941848755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 12:57:24.820821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_20_2636.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_22_2674.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_25_2785.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_29_3780.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_32_2699.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_34_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_20_2636.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_22_2674.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_25_2785.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_29_3780.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_32_2699.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_34_2517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700318","1395700303","1395700306","1395700310","1395700313","1395700316"],"photo_ids_order":["1395700303","1395700306","1395700310","1395700313","1395700316","1395700318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5c36cdc0b922e9af3a20049175f23ac.jpg","text":"TemporaryFile(/tmp/multipartBody5648278548518033456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812705528,"filename":"image_22112025_12_55_34_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f99d3c2f2080bc7115a2d97b4cb8356.jpg","text":"TemporaryFile(/tmp/multipartBody7049725085635533936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812705528,"filename":"image_22112025_12_55_20_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d5605aa72b438ea54c1a582025aa4e5.jpg","text":"TemporaryFile(/tmp/multipartBody6025169507151514931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812705528,"filename":"image_22112025_12_55_22_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b5700de924f3e43e6cab92805fbd489.jpg","text":"TemporaryFile(/tmp/multipartBody7356055239838225327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812705528,"filename":"image_22112025_12_55_25_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfc53cc66a1d3833afa72653e15a03cf.jpg","text":"TemporaryFile(/tmp/multipartBody1230161604471625369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812705528,"filename":"image_22112025_12_55_29_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42f4db19da92e3c4cb0433befbb1cc06.jpg","text":"TemporaryFile(/tmp/multipartBody3633016573646280748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812705528,"filename":"image_22112025_12_55_32_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700310","file1":"1395700306","file0":"1395700303","file4":"1395700316","file5":"1395700318","file3":"1395700313"},"map_files_photo_id_array":[{"photo_id":"1395700318","filename":"file5"},{"photo_id":"1395700310","filename":"file2"},{"photo_id":"1395700316","filename":"file4"},{"photo_id":"1395700306","filename":"file1"},{"photo_id":"1395700303","filename":"file0"},{"photo_id":"1395700313","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700318":["hashtag1","hashtag2"]},{"1395700303":["hashtag1","hashtag2"]},{"1395700306":["hashtag1","hashtag2"]},{"1395700310":["hashtag1","hashtag2"]},{"1395700313":["hashtag1","hashtag2"]},{"1395700316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700318, 1395700303, 1395700306, 1395700310, 1395700313, 1395700316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30948829650879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 12:59:03.421683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_38_3665.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_40_2532.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_44_3594.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_47_2582.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_49_2763.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_53_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_38_3665.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_40_2532.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_44_3594.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_47_2582.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_49_2763.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_53_3742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700516","1395700519","1395700510","1395700523","1395700526","1395700513"],"photo_ids_order":["1395700510","1395700513","1395700516","1395700519","1395700523","1395700526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/365ddcd99e09ad76bcfc5c303299082b.jpg","text":"TemporaryFile(/tmp/multipartBody7425950619300240150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812806669,"filename":"image_22112025_12_55_44_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f929125370f67f8f8a3959e7905c581.jpg","text":"TemporaryFile(/tmp/multipartBody6676255833968640691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812806669,"filename":"image_22112025_12_55_47_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bed241d5d401d520fc7640b8eec551b.jpg","text":"TemporaryFile(/tmp/multipartBody3714428811095101107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812806669,"filename":"image_22112025_12_55_38_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a075642c6349273126a4470514a8e58.jpg","text":"TemporaryFile(/tmp/multipartBody8030372134281881984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812806669,"filename":"image_22112025_12_55_49_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff2340e9ac1dbca10ab44820fc678bf5.jpg","text":"TemporaryFile(/tmp/multipartBody8909864720018630211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812806669,"filename":"image_22112025_12_55_53_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4790ac450f28f901e2d19c88bc2dc199.jpg","text":"TemporaryFile(/tmp/multipartBody2496372064853797953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812806669,"filename":"image_22112025_12_55_40_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700516","file1":"1395700513","file0":"1395700510","file4":"1395700523","file5":"1395700526","file3":"1395700519"},"map_files_photo_id_array":[{"photo_id":"1395700526","filename":"file5"},{"photo_id":"1395700516","filename":"file2"},{"photo_id":"1395700523","filename":"file4"},{"photo_id":"1395700513","filename":"file1"},{"photo_id":"1395700510","filename":"file0"},{"photo_id":"1395700519","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700516":["hashtag1","hashtag2"]},{"1395700519":["hashtag1","hashtag2"]},{"1395700510":["hashtag1","hashtag2"]},{"1395700523":["hashtag1","hashtag2"]},{"1395700526":["hashtag1","hashtag2"]},{"1395700513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700516, 1395700519, 1395700510, 1395700523, 1395700526, 1395700513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35645055770874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:00:10.384598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:00:33.184376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_56_2651.jpg', '/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_58_2582.jpg', '/home/pi/Desktop/images/22112025/12/56/image_22112025_12_56_01_2786.jpg', '/home/pi/Desktop/images/22112025/12/56/image_22112025_12_56_05_3632.jpg', '/home/pi/Desktop/images/22112025/12/56/image_22112025_12_56_07_2597.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_06_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_56_2651.jpg
/home/pi/Desktop/images/22112025/12/55/image_22112025_12_55_58_2582.jpg
/home/pi/Desktop/images/22112025/12/56/image_22112025_12_56_01_2786.jpg
/home/pi/Desktop/images/22112025/12/56/image_22112025_12_56_05_3632.jpg
/home/pi/Desktop/images/22112025/12/56/image_22112025_12_56_07_2597.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_06_3017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700557","1395700542","1395700551","1395700545","1395700554","1395700547"],"photo_ids_order":["1395700542","1395700545","1395700547","1395700551","1395700554","1395700557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d85966adb3b1cf88a14800677b2e8c81.jpg","text":"TemporaryFile(/tmp/multipartBody3884026892160118426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812893791,"filename":"image_22112025_12_57_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e49f9dbe763df241eec2217a9ac6419.jpg","text":"TemporaryFile(/tmp/multipartBody4731511305205636184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812893791,"filename":"image_22112025_12_55_56_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7689a5e9e92190db3530c436242405b0.jpg","text":"TemporaryFile(/tmp/multipartBody3469464337497118476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812893791,"filename":"image_22112025_12_56_05_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3bd3f3291a15414d26f1f78f4cccc2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3750548330688616475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812893791,"filename":"image_22112025_12_55_58_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98eaa80ab151b2243b09e4710131f583.jpg","text":"TemporaryFile(/tmp/multipartBody6947726152292940611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812893791,"filename":"image_22112025_12_56_07_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1558ef39fcd075dbc1527aa72f1a2619.jpg","text":"TemporaryFile(/tmp/multipartBody148622346816578716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812893791,"filename":"image_22112025_12_56_01_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700547","file1":"1395700545","file0":"1395700542","file4":"1395700554","file5":"1395700557","file3":"1395700551"},"map_files_photo_id_array":[{"photo_id":"1395700557","filename":"file5"},{"photo_id":"1395700547","filename":"file2"},{"photo_id":"1395700554","filename":"file4"},{"photo_id":"1395700545","filename":"file1"},{"photo_id":"1395700542","filename":"file0"},{"photo_id":"1395700551","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700557":["hashtag1","hashtag2"]},{"1395700542":["hashtag1","hashtag2"]},{"1395700551":["hashtag1","hashtag2"]},{"1395700545":["hashtag1","hashtag2"]},{"1395700554":["hashtag1","hashtag2"]},{"1395700547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700557, 1395700542, 1395700551, 1395700545, 1395700554, 1395700547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85770082473755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:01:24.790151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_10_3525.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_13_2702.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_16_3704.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_19_2527.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_22_2762.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_25_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_10_3525.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_13_2702.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_16_3704.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_19_2527.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_22_2762.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_25_3569.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5753107070922852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:01:42.390092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_10_3525.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_13_2702.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_16_3704.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_19_2527.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_22_2762.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_25_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_10_3525.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_13_2702.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_16_3704.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_19_2527.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_22_2762.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_25_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395700581","1395700578","1395700577","1395700576","1395700579","1395700573"],"photo_ids_order":["1395700573","1395700576","1395700577","1395700578","1395700579","1395700581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db55ae57b5c227dc04754d96fd293df4.jpg","text":"TemporaryFile(/tmp/multipartBody6658152322434194909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812963036,"filename":"image_22112025_12_57_25_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb73b32b530f7441290e073755790ffb.jpg","text":"TemporaryFile(/tmp/multipartBody7707241033667376032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812963036,"filename":"image_22112025_12_57_19_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a0acab5a06a92edaab1fba354e4b800.jpg","text":"TemporaryFile(/tmp/multipartBody6378063631672481638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812963036,"filename":"image_22112025_12_57_16_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9455f585cf649a7e494162c809ba3d29.jpg","text":"TemporaryFile(/tmp/multipartBody3851461927552056898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812963036,"filename":"image_22112025_12_57_13_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ca5e3c5a21c3135a828dd87003cbbcd.jpg","text":"TemporaryFile(/tmp/multipartBody851853922326364111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812963036,"filename":"image_22112025_12_57_22_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afd4ed1f9140020e8c6319f5ff9abdb7.jpg","text":"TemporaryFile(/tmp/multipartBody4744838640892987942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763812963036,"filename":"image_22112025_12_57_10_3525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395700577","file1":"1395700576","file0":"1395700573","file4":"1395700579","file5":"1395700581","file3":"1395700578"},"map_files_photo_id_array":[{"photo_id":"1395700581","filename":"file5"},{"photo_id":"1395700577","filename":"file2"},{"photo_id":"1395700579","filename":"file4"},{"photo_id":"1395700576","filename":"file1"},{"photo_id":"1395700573","filename":"file0"},{"photo_id":"1395700578","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395700581":["hashtag1","hashtag2"]},{"1395700578":["hashtag1","hashtag2"]},{"1395700577":["hashtag1","hashtag2"]},{"1395700576":["hashtag1","hashtag2"]},{"1395700579":["hashtag1","hashtag2"]},{"1395700573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395700581, 1395700578, 1395700577, 1395700576, 1395700579, 1395700573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.572876930236816 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:02:44.111432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_28_2590.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_31_3548.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_34_2739.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_37_2689.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_39_2656.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_45_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_28_2590.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_31_3548.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_34_2739.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_37_2689.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_39_2656.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_45_2632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6133987903594971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:03:02.925183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:03:22.317389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_28_2590.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_31_3548.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_34_2739.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_37_2689.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_39_2656.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_45_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_28_2590.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_31_3548.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_34_2739.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_37_2689.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_39_2656.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_45_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701079","1395701046","1395701045","1395701126","1395701044","1395701110"],"photo_ids_order":["1395701044","1395701045","1395701046","1395701079","1395701110","1395701126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e68ca44344688675cc0f1d5c1dd935e4.jpg","text":"TemporaryFile(/tmp/multipartBody5703523440797073059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813063007,"filename":"image_22112025_12_57_37_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb2637dba4614f75a62ba9e1d174c06b.jpg","text":"TemporaryFile(/tmp/multipartBody274713691457161655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813063007,"filename":"image_22112025_12_57_34_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b79bb89ce88b300037efa7139984b73f.jpg","text":"TemporaryFile(/tmp/multipartBody5761507331010862670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813063007,"filename":"image_22112025_12_57_31_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68452d6896b66e345f68395efdb49245.jpg","text":"TemporaryFile(/tmp/multipartBody275216390634334233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813063007,"filename":"image_22112025_12_57_45_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/341d6530cd393462af5a0ff33c376686.jpg","text":"TemporaryFile(/tmp/multipartBody6793934467121966488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813063007,"filename":"image_22112025_12_57_28_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7b688139ec3bbd8d3486240c605c294.jpg","text":"TemporaryFile(/tmp/multipartBody2333776418770085885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813063007,"filename":"image_22112025_12_57_39_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701046","file1":"1395701045","file0":"1395701044","file4":"1395701110","file5":"1395701126","file3":"1395701079"},"map_files_photo_id_array":[{"photo_id":"1395701126","filename":"file5"},{"photo_id":"1395701046","filename":"file2"},{"photo_id":"1395701110","filename":"file4"},{"photo_id":"1395701045","filename":"file1"},{"photo_id":"1395701044","filename":"file0"},{"photo_id":"1395701079","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701079":["hashtag1","hashtag2"]},{"1395701046":["hashtag1","hashtag2"]},{"1395701045":["hashtag1","hashtag2"]},{"1395701126":["hashtag1","hashtag2"]},{"1395701044":["hashtag1","hashtag2"]},{"1395701110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701079, 1395701046, 1395701045, 1395701126, 1395701044, 1395701110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.070422887802124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:04:09.101849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:04:26.130551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_49_3560.jpg', '/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_52_2630.jpg', '/home/pi/Desktop/images/22112025/12/58/image_22112025_12_58_05_12903.jpg', '/home/pi/Desktop/images/22112025/12/58/image_22112025_12_58_06_1542.jpg', '/home/pi/Desktop/images/22112025/12/58/image_22112025_12_58_08_1508.jpg', '/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_06_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_49_3560.jpg
/home/pi/Desktop/images/22112025/12/57/image_22112025_12_57_52_2630.jpg
/home/pi/Desktop/images/22112025/12/58/image_22112025_12_58_05_12903.jpg
/home/pi/Desktop/images/22112025/12/58/image_22112025_12_58_06_1542.jpg
/home/pi/Desktop/images/22112025/12/58/image_22112025_12_58_08_1508.jpg
/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_06_3019.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701156","1395701150","1395701144","1395701147","1395701152","1395701155"],"photo_ids_order":["1395701144","1395701147","1395701150","1395701152","1395701155","1395701156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/902324ab78c5ca62992bcc265ba3ce1f.jpg","text":"TemporaryFile(/tmp/multipartBody414309071850428133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813126738,"filename":"image_22112025_12_59_06_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3158f4db802de5e6fa12edc0e362bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8437981961744361595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813126738,"filename":"image_22112025_12_58_05_12903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/204726cf32b726a3630457786511b3f1.jpg","text":"TemporaryFile(/tmp/multipartBody860463015385850726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813126738,"filename":"image_22112025_12_57_49_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c41183d7ad3c4d26bee62fbb3a030de4.jpg","text":"TemporaryFile(/tmp/multipartBody6773781913801945488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813126738,"filename":"image_22112025_12_57_52_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f22a6bf035ca685749694bd566ab6317.jpg","text":"TemporaryFile(/tmp/multipartBody8111103338358630630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813126738,"filename":"image_22112025_12_58_06_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0742c6ed41ce495f9d5831b1cc092ad.jpg","text":"TemporaryFile(/tmp/multipartBody6472643550104989304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813126738,"filename":"image_22112025_12_58_08_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701150","file1":"1395701147","file0":"1395701144","file4":"1395701155","file5":"1395701156","file3":"1395701152"},"map_files_photo_id_array":[{"photo_id":"1395701156","filename":"file5"},{"photo_id":"1395701150","filename":"file2"},{"photo_id":"1395701155","filename":"file4"},{"photo_id":"1395701147","filename":"file1"},{"photo_id":"1395701144","filename":"file0"},{"photo_id":"1395701152","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701156":["hashtag1","hashtag2"]},{"1395701150":["hashtag1","hashtag2"]},{"1395701144":["hashtag1","hashtag2"]},{"1395701147":["hashtag1","hashtag2"]},{"1395701152":["hashtag1","hashtag2"]},{"1395701155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701156, 1395701150, 1395701144, 1395701147, 1395701152, 1395701155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62663817405701 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:05:22.358408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_10_3741.jpg', '/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_13_2604.jpg', '/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_15_2687.jpg', '/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_19_3586.jpg', '/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_23_4404.jpg', '/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_25_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_10_3741.jpg
/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_13_2604.jpg
/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_15_2687.jpg
/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_19_3586.jpg
/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_23_4404.jpg
/home/pi/Desktop/images/22112025/12/59/image_22112025_12_59_25_1580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701331","1395701444","1395701371","1395701251","1395701292","1395701404"],"photo_ids_order":["1395701251","1395701292","1395701331","1395701371","1395701404","1395701444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8fbaab7df15736d7faefb2a4706a4f1.jpg","text":"TemporaryFile(/tmp/multipartBody2610841559206939531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813183017,"filename":"image_22112025_12_59_15_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9be13afa80c034c3deeb5f365df19062.jpg","text":"TemporaryFile(/tmp/multipartBody1522594500862389566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813183017,"filename":"image_22112025_12_59_25_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acac1a3946f2341e5a1725839698104c.jpg","text":"TemporaryFile(/tmp/multipartBody8175027858149573475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813183017,"filename":"image_22112025_12_59_19_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f8524ae9f19bc11a370791a372ebabf.jpg","text":"TemporaryFile(/tmp/multipartBody6949679951129367570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813183017,"filename":"image_22112025_12_59_10_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be473c48eb2104ae2dff31d4df9f312b.jpg","text":"TemporaryFile(/tmp/multipartBody8289301062191350047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813183017,"filename":"image_22112025_12_59_13_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c095928b19767feba00005f740d6556.jpg","text":"TemporaryFile(/tmp/multipartBody3965374167795489652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813183017,"filename":"image_22112025_12_59_23_4404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701331","file1":"1395701292","file0":"1395701251","file4":"1395701404","file5":"1395701444","file3":"1395701371"},"map_files_photo_id_array":[{"photo_id":"1395701444","filename":"file5"},{"photo_id":"1395701331","filename":"file2"},{"photo_id":"1395701404","filename":"file4"},{"photo_id":"1395701292","filename":"file1"},{"photo_id":"1395701251","filename":"file0"},{"photo_id":"1395701371","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701331":["hashtag1","hashtag2"]},{"1395701444":["hashtag1","hashtag2"]},{"1395701371":["hashtag1","hashtag2"]},{"1395701251":["hashtag1","hashtag2"]},{"1395701292":["hashtag1","hashtag2"]},{"1395701404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701331, 1395701444, 1395701371, 1395701251, 1395701292, 1395701404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36154627799988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:06:02.380263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_07_3036.jpg', '/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_16_8714.jpg', '/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_18_1787.jpg', '/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_20_1660.jpg', '/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_21_1657.jpg', '/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_23_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_07_3036.jpg
/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_16_8714.jpg
/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_18_1787.jpg
/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_20_1660.jpg
/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_21_1657.jpg
/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_23_1624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701585","1395701573","1395701587","1395701635","1395701598","1395701586"],"photo_ids_order":["1395701573","1395701585","1395701586","1395701587","1395701598","1395701635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b4a4d959f25760591c63975fb7b20f3.jpg","text":"TemporaryFile(/tmp/multipartBody6370909238319249361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813223073,"filename":"image_22112025_13_00_16_8714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8b3bf1e15bc97a80c6a309af0d387b3.jpg","text":"TemporaryFile(/tmp/multipartBody6274503767135728026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813223073,"filename":"image_22112025_13_00_07_3036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac23409d243e0dffa6abd153ef1c7d62.jpg","text":"TemporaryFile(/tmp/multipartBody6859897880951389025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813223073,"filename":"image_22112025_13_00_20_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68ae9e88918c54a6e4b43760934f997b.jpg","text":"TemporaryFile(/tmp/multipartBody1656477530793783636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813223073,"filename":"image_22112025_13_00_23_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6c5e485678f916ad17eb5ca793ec098.jpg","text":"TemporaryFile(/tmp/multipartBody5930508845991409167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813223073,"filename":"image_22112025_13_00_21_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bcc788122b0877bde238da3cc21cc58.jpg","text":"TemporaryFile(/tmp/multipartBody6979959667370418588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813223073,"filename":"image_22112025_13_00_18_1787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701586","file1":"1395701585","file0":"1395701573","file4":"1395701598","file5":"1395701635","file3":"1395701587"},"map_files_photo_id_array":[{"photo_id":"1395701635","filename":"file5"},{"photo_id":"1395701586","filename":"file2"},{"photo_id":"1395701598","filename":"file4"},{"photo_id":"1395701585","filename":"file1"},{"photo_id":"1395701573","filename":"file0"},{"photo_id":"1395701587","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701585":["hashtag1","hashtag2"]},{"1395701573":["hashtag1","hashtag2"]},{"1395701587":["hashtag1","hashtag2"]},{"1395701635":["hashtag1","hashtag2"]},{"1395701598":["hashtag1","hashtag2"]},{"1395701586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701585, 1395701573, 1395701587, 1395701635, 1395701598, 1395701586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.235785484313965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:06:41.906631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_27_4253.jpg', '/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_07_3304.jpg', '/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_13_5540.jpg', '/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_16_2922.jpg', '/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_17_1593.jpg', '/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_22_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/00/image_22112025_13_00_27_4253.jpg
/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_07_3304.jpg
/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_13_5540.jpg
/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_16_2922.jpg
/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_17_1593.jpg
/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_22_3602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701727","1395701730","1395701703","1395701729","1395701702","1395701731"],"photo_ids_order":["1395701702","1395701703","1395701727","1395701729","1395701730","1395701731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96e5aa3492333709592185122a98e825.jpg","text":"TemporaryFile(/tmp/multipartBody7119282335544760421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813262606,"filename":"image_22112025_13_02_13_5540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8225f3926676873dcda8406a3f312fac.jpg","text":"TemporaryFile(/tmp/multipartBody8392563707731743817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813262606,"filename":"image_22112025_13_02_17_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bad1c5edb9a65b49fba00393b761804c.jpg","text":"TemporaryFile(/tmp/multipartBody5398731481496060735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813262606,"filename":"image_22112025_13_02_07_3304.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1835e95cea907200506f80b5f53d947c.jpg","text":"TemporaryFile(/tmp/multipartBody4512410044246470679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813262606,"filename":"image_22112025_13_02_16_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/909ee881d31f4e4aa967ab236ba42cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5631003003830340437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813262606,"filename":"image_22112025_13_00_27_4253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf6ac7249785abf100665d3efe199b8e.jpg","text":"TemporaryFile(/tmp/multipartBody5045215894002986088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813262606,"filename":"image_22112025_13_02_22_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701727","file1":"1395701703","file0":"1395701702","file4":"1395701730","file5":"1395701731","file3":"1395701729"},"map_files_photo_id_array":[{"photo_id":"1395701731","filename":"file5"},{"photo_id":"1395701727","filename":"file2"},{"photo_id":"1395701730","filename":"file4"},{"photo_id":"1395701703","filename":"file1"},{"photo_id":"1395701702","filename":"file0"},{"photo_id":"1395701729","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701727":["hashtag1","hashtag2"]},{"1395701730":["hashtag1","hashtag2"]},{"1395701703":["hashtag1","hashtag2"]},{"1395701729":["hashtag1","hashtag2"]},{"1395701702":["hashtag1","hashtag2"]},{"1395701731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701727, 1395701730, 1395701703, 1395701729, 1395701702, 1395701731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.118271589279175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:07:22.114754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_26_3278.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_07_3234.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_16_2541.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_20_3604.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_22_2621.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_25_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_26_3278.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_07_3234.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_16_2541.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_20_3604.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_22_2621.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_25_2527.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5730078220367432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:07:42.119141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_26_3278.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_07_3234.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_16_2541.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_20_3604.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_22_2621.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_25_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/02/image_22112025_13_02_26_3278.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_07_3234.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_16_2541.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_20_3604.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_22_2621.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_25_2527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701751","1395701750","1395701753","1395701747","1395701752","1395701749"],"photo_ids_order":["1395701747","1395701749","1395701750","1395701751","1395701752","1395701753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf930af05d04c75e33bb8094cc872488.jpg","text":"TemporaryFile(/tmp/multipartBody8410147613028895728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813322739,"filename":"image_22112025_13_04_20_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2640f1a40c45925cd1a71af15ba2d65a.jpg","text":"TemporaryFile(/tmp/multipartBody3560147685836747551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813322739,"filename":"image_22112025_13_04_16_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d70b00e91b5c1245ee6ace6789c146e.jpg","text":"TemporaryFile(/tmp/multipartBody8665880835486479333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813322739,"filename":"image_22112025_13_04_25_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/656f93965155c07b9faf7c8b6bb22b1e.jpg","text":"TemporaryFile(/tmp/multipartBody346235407460725426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813322739,"filename":"image_22112025_13_02_26_3278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd0c6046686ae3b5361c952d589f6f4f.jpg","text":"TemporaryFile(/tmp/multipartBody2176891857632770949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813322739,"filename":"image_22112025_13_04_22_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/223a33ed9d282976e1a160c142ea6bc8.jpg","text":"TemporaryFile(/tmp/multipartBody396311801612387914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813322739,"filename":"image_22112025_13_04_07_3234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701750","file1":"1395701749","file0":"1395701747","file4":"1395701752","file5":"1395701753","file3":"1395701751"},"map_files_photo_id_array":[{"photo_id":"1395701753","filename":"file5"},{"photo_id":"1395701750","filename":"file2"},{"photo_id":"1395701752","filename":"file4"},{"photo_id":"1395701749","filename":"file1"},{"photo_id":"1395701747","filename":"file0"},{"photo_id":"1395701751","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701751":["hashtag1","hashtag2"]},{"1395701750":["hashtag1","hashtag2"]},{"1395701753":["hashtag1","hashtag2"]},{"1395701747":["hashtag1","hashtag2"]},{"1395701752":["hashtag1","hashtag2"]},{"1395701749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701751, 1395701750, 1395701753, 1395701747, 1395701752, 1395701749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.221211671829224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:08:25.001896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_28_3462.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_31_2620.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_34_2783.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_37_3639.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_40_2626.jpg', '/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_44_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_28_3462.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_31_2620.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_34_2783.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_37_3639.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_40_2626.jpg
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_44_3627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701766","1395701769","1395701771","1395701768","1395701761","1395701758"],"photo_ids_order":["1395701758","1395701761","1395701766","1395701768","1395701769","1395701771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2c963c39da2c084886dd46a01a1bded.jpg","text":"TemporaryFile(/tmp/multipartBody904826289206236893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813367321,"filename":"image_22112025_13_04_34_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e17cd4f3be1c1094320bc38a6c7ea961.jpg","text":"TemporaryFile(/tmp/multipartBody4218368115019897698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813367321,"filename":"image_22112025_13_04_40_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc617ecf7a07dc0a01fc5942ff1e3e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8786414010672612612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813367321,"filename":"image_22112025_13_04_44_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85387ab533ca010d66a1804f89c2a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody5041215371443106552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813367321,"filename":"image_22112025_13_04_37_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b59469164b8c01ba5e34a9cdfd701964.jpg","text":"TemporaryFile(/tmp/multipartBody2225031846951353620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813367321,"filename":"image_22112025_13_04_31_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab0648a19e1902db7ce7e99a9cd6ed54.jpg","text":"TemporaryFile(/tmp/multipartBody3923356015633947319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813367321,"filename":"image_22112025_13_04_28_3462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701766","file1":"1395701761","file0":"1395701758","file4":"1395701769","file5":"1395701771","file3":"1395701768"},"map_files_photo_id_array":[{"photo_id":"1395701771","filename":"file5"},{"photo_id":"1395701766","filename":"file2"},{"photo_id":"1395701769","filename":"file4"},{"photo_id":"1395701761","filename":"file1"},{"photo_id":"1395701758","filename":"file0"},{"photo_id":"1395701768","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701766":["hashtag1","hashtag2"]},{"1395701769":["hashtag1","hashtag2"]},{"1395701771":["hashtag1","hashtag2"]},{"1395701768":["hashtag1","hashtag2"]},{"1395701761":["hashtag1","hashtag2"]},{"1395701758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701766, 1395701769, 1395701771, 1395701768, 1395701761, 1395701758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.175827503204346 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:09:22.540047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_46_2644.jpg', '/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_07_3011.jpg', '/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_22_2704.jpg', '/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_26_3543.jpg', '/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_31_2910.jpg', '/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_40_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/04/image_22112025_13_04_46_2644.jpg
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_07_3011.jpg
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_22_2704.jpg
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_26_3543.jpg
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_31_2910.jpg
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_40_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701780","1395701791","1395701785","1395701788","1395701782","1395701776"],"photo_ids_order":["1395701776","1395701780","1395701782","1395701785","1395701788","1395701791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db620b6b567b2f0fb2293da65578190e.jpg","text":"TemporaryFile(/tmp/multipartBody1846457557783108534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813423174,"filename":"image_22112025_13_06_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63bc38d4d9236dcc71e930c472e843b3.jpg","text":"TemporaryFile(/tmp/multipartBody5639431605312159923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813423174,"filename":"image_22112025_13_06_40_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f6efde4f29eb755723e023bf0944ea5.jpg","text":"TemporaryFile(/tmp/multipartBody5255756039030588545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813423174,"filename":"image_22112025_13_06_26_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b891635aa4034b62f5501c05dad15dee.jpg","text":"TemporaryFile(/tmp/multipartBody2299703820944242009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813423174,"filename":"image_22112025_13_06_31_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bbb2760744a594f5f340a00d2d8e3e2.jpg","text":"TemporaryFile(/tmp/multipartBody2238102674293764837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813423174,"filename":"image_22112025_13_06_22_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebf34ac3ca93239ad3fc648456e3bbd5.jpg","text":"TemporaryFile(/tmp/multipartBody6337597864078637410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813423174,"filename":"image_22112025_13_04_46_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701782","file1":"1395701780","file0":"1395701776","file4":"1395701788","file5":"1395701791","file3":"1395701785"},"map_files_photo_id_array":[{"photo_id":"1395701791","filename":"file5"},{"photo_id":"1395701782","filename":"file2"},{"photo_id":"1395701788","filename":"file4"},{"photo_id":"1395701780","filename":"file1"},{"photo_id":"1395701776","filename":"file0"},{"photo_id":"1395701785","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701780":["hashtag1","hashtag2"]},{"1395701791":["hashtag1","hashtag2"]},{"1395701785":["hashtag1","hashtag2"]},{"1395701788":["hashtag1","hashtag2"]},{"1395701782":["hashtag1","hashtag2"]},{"1395701776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701780, 1395701791, 1395701785, 1395701788, 1395701782, 1395701776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6933708190918 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:10:27.885717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:10:45.804230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_44_3612.jpg', '/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_47_2621.jpg', '/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_49_2682.jpg', '/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_52_2706.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_07_3011.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_11_3906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_44_3612.jpg
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_47_2621.jpg
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_49_2682.jpg
/home/pi/Desktop/images/22112025/13/06/image_22112025_13_06_52_2706.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_07_3011.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_11_3906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701805","1395701810","1395701807","1395701803","1395701806","1395701809"],"photo_ids_order":["1395701803","1395701805","1395701806","1395701807","1395701809","1395701810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/456c5e179487c9eefc31b22a35106ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6432136922809911062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813506418,"filename":"image_22112025_13_06_47_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7a1d161642fd99c3ad4663b9423f438.jpg","text":"TemporaryFile(/tmp/multipartBody1850268002831473819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813506418,"filename":"image_22112025_13_08_11_3906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a0da094bf45c73c8a1938ed446dfcc5.jpg","text":"TemporaryFile(/tmp/multipartBody1720253609900607120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813506418,"filename":"image_22112025_13_06_52_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa363826e3f9479111b0262a4452ecdb.jpg","text":"TemporaryFile(/tmp/multipartBody6981649016669121456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813506418,"filename":"image_22112025_13_06_44_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4c0a02692fc95708478b4678bc522ac.jpg","text":"TemporaryFile(/tmp/multipartBody7270040933438862517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813506418,"filename":"image_22112025_13_06_49_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bce879abdc459b52bbdde0f919bd0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1932183499002410510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813506418,"filename":"image_22112025_13_08_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701806","file1":"1395701805","file0":"1395701803","file4":"1395701809","file5":"1395701810","file3":"1395701807"},"map_files_photo_id_array":[{"photo_id":"1395701810","filename":"file5"},{"photo_id":"1395701806","filename":"file2"},{"photo_id":"1395701809","filename":"file4"},{"photo_id":"1395701805","filename":"file1"},{"photo_id":"1395701803","filename":"file0"},{"photo_id":"1395701807","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701805":["hashtag1","hashtag2"]},{"1395701810":["hashtag1","hashtag2"]},{"1395701807":["hashtag1","hashtag2"]},{"1395701803":["hashtag1","hashtag2"]},{"1395701806":["hashtag1","hashtag2"]},{"1395701809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701805, 1395701810, 1395701807, 1395701803, 1395701806, 1395701809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67585730552673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:11:42.120254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_16_2620.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_19_3786.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_22_2565.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_25_2575.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_28_3598.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_33_4636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_16_2620.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_19_3786.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_22_2565.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_25_2575.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_28_3598.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_33_4636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701826","1395701823","1395701825","1395701822","1395701821","1395701824"],"photo_ids_order":["1395701821","1395701822","1395701823","1395701824","1395701825","1395701826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c12f81cdc0626f0968c700eff8e01ec.jpg","text":"TemporaryFile(/tmp/multipartBody8814113337924435469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813562796,"filename":"image_22112025_13_08_33_4636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92f7290837d85bb957f2fc9d3b10ef2d.jpg","text":"TemporaryFile(/tmp/multipartBody5493155562155854834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813562796,"filename":"image_22112025_13_08_22_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0fe0cf78a574d7733ed326bbf34edd83.jpg","text":"TemporaryFile(/tmp/multipartBody8942582364771772285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813562796,"filename":"image_22112025_13_08_28_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcba6a0fe171d0afac6bdaca4bdb2a54.jpg","text":"TemporaryFile(/tmp/multipartBody2125546027450069944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813562796,"filename":"image_22112025_13_08_19_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/062c0167f2dc78ce16468ebf2a85d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody7868008702363384504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813562796,"filename":"image_22112025_13_08_16_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98caaa9b8329b3df62ec7cca4ab5be54.jpg","text":"TemporaryFile(/tmp/multipartBody5638459901845131383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813562796,"filename":"image_22112025_13_08_25_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701823","file1":"1395701822","file0":"1395701821","file4":"1395701825","file5":"1395701826","file3":"1395701824"},"map_files_photo_id_array":[{"photo_id":"1395701826","filename":"file5"},{"photo_id":"1395701823","filename":"file2"},{"photo_id":"1395701825","filename":"file4"},{"photo_id":"1395701822","filename":"file1"},{"photo_id":"1395701821","filename":"file0"},{"photo_id":"1395701824","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701826":["hashtag1","hashtag2"]},{"1395701823":["hashtag1","hashtag2"]},{"1395701825":["hashtag1","hashtag2"]},{"1395701822":["hashtag1","hashtag2"]},{"1395701821":["hashtag1","hashtag2"]},{"1395701824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701826, 1395701823, 1395701825, 1395701822, 1395701821, 1395701824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88123321533203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:12:22.459104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_34_1635.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_37_2558.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_40_2504.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_43_3612.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_46_2613.jpg', '/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_52_2484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_34_1635.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_37_2558.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_40_2504.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_43_3612.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_46_2613.jpg
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_52_2484.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701844","1395701841","1395701838","1395701849","1395701852","1395701846"],"photo_ids_order":["1395701838","1395701841","1395701844","1395701846","1395701849","1395701852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5a981bcd896975a734c284309c1bfb3.jpg","text":"TemporaryFile(/tmp/multipartBody7020322338603290787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813607496,"filename":"image_22112025_13_08_40_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55252489b70a1bdcce42657a632c7f0b.jpg","text":"TemporaryFile(/tmp/multipartBody6475445257595154818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813607496,"filename":"image_22112025_13_08_37_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecba1ab8122c7d6157a55bbac8abad79.jpg","text":"TemporaryFile(/tmp/multipartBody5010395631828101279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813607496,"filename":"image_22112025_13_08_34_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce61978021fc7be4f69d1c10dfc6f3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1700800121386272158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813607496,"filename":"image_22112025_13_08_46_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e4ab3375fb11b5674dd9870fb6f8753.jpg","text":"TemporaryFile(/tmp/multipartBody7055797858469265063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813607496,"filename":"image_22112025_13_08_52_2484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed03eaed2514ba3234e2650d8c7c5b10.jpg","text":"TemporaryFile(/tmp/multipartBody4964970059964685179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813607496,"filename":"image_22112025_13_08_43_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701844","file1":"1395701841","file0":"1395701838","file4":"1395701849","file5":"1395701852","file3":"1395701846"},"map_files_photo_id_array":[{"photo_id":"1395701852","filename":"file5"},{"photo_id":"1395701844","filename":"file2"},{"photo_id":"1395701849","filename":"file4"},{"photo_id":"1395701841","filename":"file1"},{"photo_id":"1395701838","filename":"file0"},{"photo_id":"1395701846","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701844":["hashtag1","hashtag2"]},{"1395701841":["hashtag1","hashtag2"]},{"1395701838":["hashtag1","hashtag2"]},{"1395701849":["hashtag1","hashtag2"]},{"1395701852":["hashtag1","hashtag2"]},{"1395701846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701844, 1395701841, 1395701838, 1395701849, 1395701852, 1395701846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77160310745239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:13:03.338891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_58_2585.jpg', '/home/pi/Desktop/images/22112025/13/09/image_22112025_13_09_01_2668.jpg', '/home/pi/Desktop/images/22112025/13/09/image_22112025_13_09_07_2579.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_09_4629.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_14_4719.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_17_2925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/08/image_22112025_13_08_58_2585.jpg
/home/pi/Desktop/images/22112025/13/09/image_22112025_13_09_01_2668.jpg
/home/pi/Desktop/images/22112025/13/09/image_22112025_13_09_07_2579.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_09_4629.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_14_4719.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_17_2925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701856","1395701855","1395701858","1395701860","1395701863","1395701857"],"photo_ids_order":["1395701855","1395701856","1395701857","1395701858","1395701860","1395701863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ed3c5fcc34fb4b746f701e087bcda0f.jpg","text":"TemporaryFile(/tmp/multipartBody5759774222645105244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813644077,"filename":"image_22112025_13_09_01_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ba420b24452bcf5bcc4d8993d1e1c56.jpg","text":"TemporaryFile(/tmp/multipartBody6903053670479133610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813644077,"filename":"image_22112025_13_08_58_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80c75ff6c3fb0e80f045c84bdece5e8e.jpg","text":"TemporaryFile(/tmp/multipartBody2737699808751784768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813644077,"filename":"image_22112025_13_10_09_4629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8d15d4becb0372a2fb2b13827f5755e.jpg","text":"TemporaryFile(/tmp/multipartBody9127902022203860251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813644077,"filename":"image_22112025_13_10_14_4719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ba223af9ce7bba1bbd7e6f072d78bdc.jpg","text":"TemporaryFile(/tmp/multipartBody3846787182595210143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813644077,"filename":"image_22112025_13_10_17_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fbb06580228a4ff6b33b93ac5660460.jpg","text":"TemporaryFile(/tmp/multipartBody5985292964563902616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813644077,"filename":"image_22112025_13_09_07_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701857","file1":"1395701856","file0":"1395701855","file4":"1395701860","file5":"1395701863","file3":"1395701858"},"map_files_photo_id_array":[{"photo_id":"1395701863","filename":"file5"},{"photo_id":"1395701857","filename":"file2"},{"photo_id":"1395701860","filename":"file4"},{"photo_id":"1395701856","filename":"file1"},{"photo_id":"1395701855","filename":"file0"},{"photo_id":"1395701858","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701856":["hashtag1","hashtag2"]},{"1395701855":["hashtag1","hashtag2"]},{"1395701858":["hashtag1","hashtag2"]},{"1395701860":["hashtag1","hashtag2"]},{"1395701863":["hashtag1","hashtag2"]},{"1395701857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701856, 1395701855, 1395701858, 1395701860, 1395701863, 1395701857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.109736919403076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:13:42.567859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_18_1626.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_20_1769.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_23_2843.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_26_2678.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_32_3555.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_35_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_18_1626.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_20_1769.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_23_2843.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_26_2678.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_32_3555.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_35_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701874","1395701873","1395701876","1395701872","1395701875","1395701877"],"photo_ids_order":["1395701872","1395701873","1395701874","1395701875","1395701876","1395701877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4050768894d40eb097f06b1bf247fac.jpg","text":"TemporaryFile(/tmp/multipartBody4361740654969465349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813683211,"filename":"image_22112025_13_10_23_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b007f18731b6c7b44ce50c714fa21a90.jpg","text":"TemporaryFile(/tmp/multipartBody8733498015987366214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813683211,"filename":"image_22112025_13_10_20_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f350afbeda6417af8af784966e954e58.jpg","text":"TemporaryFile(/tmp/multipartBody4083986046948273243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813683211,"filename":"image_22112025_13_10_32_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29eb5b2a41c16a12dacb7f8007288e06.jpg","text":"TemporaryFile(/tmp/multipartBody1122457546194495677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813683211,"filename":"image_22112025_13_10_18_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28bbd086b6671b790d3f93c587319f35.jpg","text":"TemporaryFile(/tmp/multipartBody6622475335087339704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813683211,"filename":"image_22112025_13_10_26_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8127fb92c95a47bf121e13fdb2cec8ce.jpg","text":"TemporaryFile(/tmp/multipartBody7610026380428709774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813683211,"filename":"image_22112025_13_10_35_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701874","file1":"1395701873","file0":"1395701872","file4":"1395701876","file5":"1395701877","file3":"1395701875"},"map_files_photo_id_array":[{"photo_id":"1395701877","filename":"file5"},{"photo_id":"1395701874","filename":"file2"},{"photo_id":"1395701876","filename":"file4"},{"photo_id":"1395701873","filename":"file1"},{"photo_id":"1395701872","filename":"file0"},{"photo_id":"1395701875","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701874":["hashtag1","hashtag2"]},{"1395701873":["hashtag1","hashtag2"]},{"1395701876":["hashtag1","hashtag2"]},{"1395701872":["hashtag1","hashtag2"]},{"1395701875":["hashtag1","hashtag2"]},{"1395701877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701874, 1395701873, 1395701876, 1395701872, 1395701875, 1395701877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45197653770447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:14:22.763875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_37_2589.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_41_3637.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_46_4997.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_48_1572.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_50_2528.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_53_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_37_2589.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_41_3637.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_46_4997.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_48_1572.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_50_2528.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_53_2667.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8937761783599854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:14:42.772114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_37_2589.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_41_3637.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_46_4997.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_48_1572.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_50_2528.jpg', '/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_53_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_37_2589.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_41_3637.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_46_4997.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_48_1572.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_50_2528.jpg
/home/pi/Desktop/images/22112025/13/10/image_22112025_13_10_53_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701907","1395701910","1395701904","1395701906","1395701909","1395701908"],"photo_ids_order":["1395701904","1395701906","1395701907","1395701908","1395701909","1395701910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/567f7b390aac4203cd5837ddd893f829.jpg","text":"TemporaryFile(/tmp/multipartBody8317843640110052351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813743507,"filename":"image_22112025_13_10_46_4997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f15de6a41949e646dbba63be69662e93.jpg","text":"TemporaryFile(/tmp/multipartBody3967780560913180292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813743507,"filename":"image_22112025_13_10_53_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/feb37208cf43080e6b236f987ac78cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7786397822846017825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813743507,"filename":"image_22112025_13_10_37_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a68882f14ffe895a59570ce2084d939b.jpg","text":"TemporaryFile(/tmp/multipartBody6002860104905529275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813743507,"filename":"image_22112025_13_10_41_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3aa5a3916c5d9ed419ae43f05c38eac9.jpg","text":"TemporaryFile(/tmp/multipartBody5112365663410482143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813743507,"filename":"image_22112025_13_10_50_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1439dfccd38276914c0b03989b5425e.jpg","text":"TemporaryFile(/tmp/multipartBody4767042055620229109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813743507,"filename":"image_22112025_13_10_48_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701907","file1":"1395701906","file0":"1395701904","file4":"1395701909","file5":"1395701910","file3":"1395701908"},"map_files_photo_id_array":[{"photo_id":"1395701910","filename":"file5"},{"photo_id":"1395701907","filename":"file2"},{"photo_id":"1395701909","filename":"file4"},{"photo_id":"1395701906","filename":"file1"},{"photo_id":"1395701904","filename":"file0"},{"photo_id":"1395701908","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701907":["hashtag1","hashtag2"]},{"1395701910":["hashtag1","hashtag2"]},{"1395701904":["hashtag1","hashtag2"]},{"1395701906":["hashtag1","hashtag2"]},{"1395701909":["hashtag1","hashtag2"]},{"1395701908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701907, 1395701910, 1395701904, 1395701906, 1395701909, 1395701908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82132077217102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:15:22.022763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/11/image_22112025_13_11_07_1664.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_07_3166.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_10_3926.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_18_2685.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_22_3873.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_25_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/11/image_22112025_13_11_07_1664.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_07_3166.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_10_3926.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_18_2685.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_22_3873.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_25_2710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 5.58791184425354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:15:41.966940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/11/image_22112025_13_11_07_1664.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_07_3166.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_10_3926.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_18_2685.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_22_3873.jpg', '/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_25_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/11/image_22112025_13_11_07_1664.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_07_3166.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_10_3926.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_18_2685.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_22_3873.jpg
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_25_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701925","1395701930","1395701927","1395701929","1395701923","1395701926"],"photo_ids_order":["1395701923","1395701925","1395701926","1395701927","1395701929","1395701930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/975e434077eb4b3ed950f6cbef9ac8e3.jpg","text":"TemporaryFile(/tmp/multipartBody1051946928360086483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813807631,"filename":"image_22112025_13_12_07_3166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0033264c9d8f29b79215a580dada9ed.jpg","text":"TemporaryFile(/tmp/multipartBody1079641771996771135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813807631,"filename":"image_22112025_13_12_25_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7f0008bec360a27ac43d513db4f92d1.jpg","text":"TemporaryFile(/tmp/multipartBody9145207161997809506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813807631,"filename":"image_22112025_13_12_18_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98d4f17ede44d186142408317cf8920a.jpg","text":"TemporaryFile(/tmp/multipartBody4650224924223623325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813807631,"filename":"image_22112025_13_12_22_3873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5003d53603f20d8c4dd101d519f0e8ad.jpg","text":"TemporaryFile(/tmp/multipartBody8705568020871908095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813807631,"filename":"image_22112025_13_11_07_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e50fd92699e78806b082321ca763eb0c.jpg","text":"TemporaryFile(/tmp/multipartBody7738791411164978026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813807631,"filename":"image_22112025_13_12_10_3926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701926","file1":"1395701925","file0":"1395701923","file4":"1395701929","file5":"1395701930","file3":"1395701927"},"map_files_photo_id_array":[{"photo_id":"1395701930","filename":"file5"},{"photo_id":"1395701926","filename":"file2"},{"photo_id":"1395701929","filename":"file4"},{"photo_id":"1395701925","filename":"file1"},{"photo_id":"1395701923","filename":"file0"},{"photo_id":"1395701927","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701925":["hashtag1","hashtag2"]},{"1395701930":["hashtag1","hashtag2"]},{"1395701927":["hashtag1","hashtag2"]},{"1395701929":["hashtag1","hashtag2"]},{"1395701923":["hashtag1","hashtag2"]},{"1395701926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701925, 1395701930, 1395701927, 1395701929, 1395701923, 1395701926)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.53947997093201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:16:42.208020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_28_2683.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_07_3012.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_14_6959.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_16_1569.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_17_1549.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_20_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_28_2683.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_07_3012.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_14_6959.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_16_1569.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_17_1549.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_20_2574.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5735037326812744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:17:03.078947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_28_2683.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_07_3012.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_14_6959.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_16_1569.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_17_1549.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_20_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/12/image_22112025_13_12_28_2683.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_07_3012.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_14_6959.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_16_1569.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_17_1549.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_20_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701981","1395701975","1395701978","1395701959","1395701968","1395701976"],"photo_ids_order":["1395701959","1395701968","1395701975","1395701976","1395701978","1395701981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e4b826eead284594fc96e89f259fd90.jpg","text":"TemporaryFile(/tmp/multipartBody6358927379821603543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813883802,"filename":"image_22112025_13_14_20_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50893b5eb0f4c9d9b002509dc7a1d314.jpg","text":"TemporaryFile(/tmp/multipartBody6960178187543619035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813883802,"filename":"image_22112025_13_14_14_6959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f147b3df7b1c5bfd6dd8b81c0f13551d.jpg","text":"TemporaryFile(/tmp/multipartBody5957356887976579338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813883802,"filename":"image_22112025_13_14_17_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83fca634c7434fe226130f94ccdda560.jpg","text":"TemporaryFile(/tmp/multipartBody571895491135429239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813883802,"filename":"image_22112025_13_12_28_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13e901789b75430e0ecd9420e1df5fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2607475957975367420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813883802,"filename":"image_22112025_13_14_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1cc5cffa33487f8d6e3750baa995da1.jpg","text":"TemporaryFile(/tmp/multipartBody1154045571859763824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813883802,"filename":"image_22112025_13_14_16_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701975","file1":"1395701968","file0":"1395701959","file4":"1395701978","file5":"1395701981","file3":"1395701976"},"map_files_photo_id_array":[{"photo_id":"1395701981","filename":"file5"},{"photo_id":"1395701975","filename":"file2"},{"photo_id":"1395701978","filename":"file4"},{"photo_id":"1395701968","filename":"file1"},{"photo_id":"1395701959","filename":"file0"},{"photo_id":"1395701976","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701981":["hashtag1","hashtag2"]},{"1395701975":["hashtag1","hashtag2"]},{"1395701978":["hashtag1","hashtag2"]},{"1395701959":["hashtag1","hashtag2"]},{"1395701968":["hashtag1","hashtag2"]},{"1395701976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701981, 1395701975, 1395701978, 1395701959, 1395701968, 1395701976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28104329109192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:17:42.496199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_22_2482.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_26_3690.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_35_8598.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_36_1552.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_38_1934.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_40_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_22_2482.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_26_3690.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_35_8598.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_36_1552.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_38_1934.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_40_1564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395701991","1395701990","1395701987","1395701989","1395701988","1395701997"],"photo_ids_order":["1395701987","1395701988","1395701989","1395701990","1395701991","1395701997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85a5d3585b7bfd7ea1c792f3d9126fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4336943721271183820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813923138,"filename":"image_22112025_13_14_38_1934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0faef4cb03e18369ab2fcf640c497b9b.jpg","text":"TemporaryFile(/tmp/multipartBody312659345267436384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813923138,"filename":"image_22112025_13_14_36_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbabab5c1ab262cee1a550864f43e36d.jpg","text":"TemporaryFile(/tmp/multipartBody5414224657199451008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813923138,"filename":"image_22112025_13_14_22_2482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce25dc864b582c59a3cc732658dd5294.jpg","text":"TemporaryFile(/tmp/multipartBody2461454032052626661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813923138,"filename":"image_22112025_13_14_35_8598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b08168672b0e3ae8149d0b0cddc22d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1380816124595816582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813923138,"filename":"image_22112025_13_14_26_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d5da5d1e6bf5f7c01edd9ac55224770.jpg","text":"TemporaryFile(/tmp/multipartBody8495775056709291660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813923138,"filename":"image_22112025_13_14_40_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395701989","file1":"1395701988","file0":"1395701987","file4":"1395701991","file5":"1395701997","file3":"1395701990"},"map_files_photo_id_array":[{"photo_id":"1395701997","filename":"file5"},{"photo_id":"1395701989","filename":"file2"},{"photo_id":"1395701991","filename":"file4"},{"photo_id":"1395701988","filename":"file1"},{"photo_id":"1395701987","filename":"file0"},{"photo_id":"1395701990","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395701991":["hashtag1","hashtag2"]},{"1395701990":["hashtag1","hashtag2"]},{"1395701987":["hashtag1","hashtag2"]},{"1395701989":["hashtag1","hashtag2"]},{"1395701988":["hashtag1","hashtag2"]},{"1395701997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395701991, 1395701990, 1395701987, 1395701989, 1395701988, 1395701997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90708827972412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:18:22.697847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_41_1641.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_44_2775.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_47_2645.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_49_2678.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_53_3686.jpg', '/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_56_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_41_1641.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_44_2775.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_47_2645.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_49_2678.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_53_3686.jpg
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_56_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702011","1395702014","1395702001","1395702010","1395702004","1395702007"],"photo_ids_order":["1395702001","1395702004","1395702007","1395702010","1395702011","1395702014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0c258926171ad7dc4d80530901e496b.jpg","text":"TemporaryFile(/tmp/multipartBody1311197998944568847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813965622,"filename":"image_22112025_13_14_53_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6e6527867863ac67108d3ca75782df6.jpg","text":"TemporaryFile(/tmp/multipartBody919883093528631865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813965622,"filename":"image_22112025_13_14_56_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b78921222794298ec444850d91a4274b.jpg","text":"TemporaryFile(/tmp/multipartBody3705045722050151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813965622,"filename":"image_22112025_13_14_41_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/086c25e0c5a6e00fce587473cb783b56.jpg","text":"TemporaryFile(/tmp/multipartBody1760513687181818042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813965622,"filename":"image_22112025_13_14_49_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92eafc9969696640662e64609983dc37.jpg","text":"TemporaryFile(/tmp/multipartBody2176151438079595164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813965622,"filename":"image_22112025_13_14_44_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d2857fd6411f2f30f7c7028df8669a4.jpg","text":"TemporaryFile(/tmp/multipartBody2523628814654309292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763813965622,"filename":"image_22112025_13_14_47_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702007","file1":"1395702004","file0":"1395702001","file4":"1395702011","file5":"1395702014","file3":"1395702010"},"map_files_photo_id_array":[{"photo_id":"1395702014","filename":"file5"},{"photo_id":"1395702007","filename":"file2"},{"photo_id":"1395702011","filename":"file4"},{"photo_id":"1395702004","filename":"file1"},{"photo_id":"1395702001","filename":"file0"},{"photo_id":"1395702010","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702011":["hashtag1","hashtag2"]},{"1395702014":["hashtag1","hashtag2"]},{"1395702001":["hashtag1","hashtag2"]},{"1395702010":["hashtag1","hashtag2"]},{"1395702004":["hashtag1","hashtag2"]},{"1395702007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702011, 1395702014, 1395702001, 1395702010, 1395702004, 1395702007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41873335838318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:19:02.744314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_58_2653.jpg', '/home/pi/Desktop/images/22112025/13/15/image_22112025_13_15_01_2837.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_06_3018.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_10_3666.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_13_2670.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_16_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/14/image_22112025_13_14_58_2653.jpg
/home/pi/Desktop/images/22112025/13/15/image_22112025_13_15_01_2837.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_06_3018.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_10_3666.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_13_2670.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_16_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702018","1395702023","1395702017","1395702026","1395702020","1395702016"],"photo_ids_order":["1395702016","1395702017","1395702018","1395702020","1395702023","1395702026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4616d16535fb6006fe96808d31211893.jpg","text":"TemporaryFile(/tmp/multipartBody6424713843320181201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814005985,"filename":"image_22112025_13_16_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/148f98783db2b0e1ed0f56bc6cb70879.jpg","text":"TemporaryFile(/tmp/multipartBody6261894282529222375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814005985,"filename":"image_22112025_13_16_13_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/632068df1af64a606480007b1193ad52.jpg","text":"TemporaryFile(/tmp/multipartBody7818956781495052744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814005985,"filename":"image_22112025_13_15_01_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d22aba05e4bf8b28cc3b0afaa2d76645.jpg","text":"TemporaryFile(/tmp/multipartBody5900485084052410037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814005985,"filename":"image_22112025_13_16_16_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a1bce81582f10fa36e6df97c1ab722a.jpg","text":"TemporaryFile(/tmp/multipartBody8661730985086062036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814005985,"filename":"image_22112025_13_16_10_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb15e33d1d94c252fb88886394b3f028.jpg","text":"TemporaryFile(/tmp/multipartBody8026891955641619582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814005985,"filename":"image_22112025_13_14_58_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702018","file1":"1395702017","file0":"1395702016","file4":"1395702023","file5":"1395702026","file3":"1395702020"},"map_files_photo_id_array":[{"photo_id":"1395702026","filename":"file5"},{"photo_id":"1395702018","filename":"file2"},{"photo_id":"1395702023","filename":"file4"},{"photo_id":"1395702017","filename":"file1"},{"photo_id":"1395702016","filename":"file0"},{"photo_id":"1395702020","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702018":["hashtag1","hashtag2"]},{"1395702023":["hashtag1","hashtag2"]},{"1395702017":["hashtag1","hashtag2"]},{"1395702026":["hashtag1","hashtag2"]},{"1395702020":["hashtag1","hashtag2"]},{"1395702016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702018, 1395702023, 1395702017, 1395702026, 1395702020, 1395702016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09426951408386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:20:09.307743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_19_2589.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_22_2610.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_25_3601.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_28_2660.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_31_2897.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_33_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_19_2589.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_22_2610.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_25_3601.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_28_2660.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_31_2897.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_33_2630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5962543487548828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:20:28.933613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_19_2589.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_22_2610.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_25_3601.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_28_2660.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_31_2897.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_33_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_19_2589.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_22_2610.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_25_3601.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_28_2660.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_31_2897.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_33_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702047","1395702050","1395702040","1395702043","1395702051","1395702045"],"photo_ids_order":["1395702040","1395702043","1395702045","1395702047","1395702050","1395702051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62a8d06d879e37f912c2038265006251.jpg","text":"TemporaryFile(/tmp/multipartBody4490554292367528298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814089613,"filename":"image_22112025_13_16_28_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0699df9a160190182674c3d595b1d293.jpg","text":"TemporaryFile(/tmp/multipartBody460018244828377877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814089613,"filename":"image_22112025_13_16_31_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eed3f66f1bf79290853b5153a343876e.jpg","text":"TemporaryFile(/tmp/multipartBody2365269841619814202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814089613,"filename":"image_22112025_13_16_19_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0e179d2194ef2081d36cf39ed94d5b3.jpg","text":"TemporaryFile(/tmp/multipartBody3723671603607057727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814089613,"filename":"image_22112025_13_16_22_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d53a968e7c36ad053a83659d9f6aea11.jpg","text":"TemporaryFile(/tmp/multipartBody6301344624068489922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814089613,"filename":"image_22112025_13_16_33_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7a60c7e7d76b7bbd4e343eb50f541cf.jpg","text":"TemporaryFile(/tmp/multipartBody1275885685586586063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814089613,"filename":"image_22112025_13_16_25_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702045","file1":"1395702043","file0":"1395702040","file4":"1395702050","file5":"1395702051","file3":"1395702047"},"map_files_photo_id_array":[{"photo_id":"1395702051","filename":"file5"},{"photo_id":"1395702045","filename":"file2"},{"photo_id":"1395702050","filename":"file4"},{"photo_id":"1395702043","filename":"file1"},{"photo_id":"1395702040","filename":"file0"},{"photo_id":"1395702047","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702047":["hashtag1","hashtag2"]},{"1395702050":["hashtag1","hashtag2"]},{"1395702040":["hashtag1","hashtag2"]},{"1395702043":["hashtag1","hashtag2"]},{"1395702051":["hashtag1","hashtag2"]},{"1395702045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702047, 1395702050, 1395702040, 1395702043, 1395702051, 1395702045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.013691663742065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:21:22.176738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_37_3649.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_40_2780.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_43_2804.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_46_3622.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_49_2524.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_51_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_37_3649.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_40_2780.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_43_2804.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_46_3622.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_49_2524.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_51_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702082","1395702076","1395702079","1395702069","1395702084","1395702072"],"photo_ids_order":["1395702069","1395702072","1395702076","1395702079","1395702082","1395702084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6241044d520e2de132436a020a5797ab.jpg","text":"TemporaryFile(/tmp/multipartBody5647474841102876512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814142848,"filename":"image_22112025_13_16_49_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a448d428d21e49ebf5bd481f92ab3d0.jpg","text":"TemporaryFile(/tmp/multipartBody1198464968426076964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814142848,"filename":"image_22112025_13_16_43_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24e42dd34da477a04fd115cd00caa5b3.jpg","text":"TemporaryFile(/tmp/multipartBody573573563115212924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814142848,"filename":"image_22112025_13_16_46_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9611daf67c684a9ad474a807fadf02a9.jpg","text":"TemporaryFile(/tmp/multipartBody1206730406006149930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814142848,"filename":"image_22112025_13_16_37_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d34ea882ea467ca538bfa4951ee43bd.jpg","text":"TemporaryFile(/tmp/multipartBody8623068844604246524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814142848,"filename":"image_22112025_13_16_51_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a48752d3cfe9cb152bf72e37f06e009f.jpg","text":"TemporaryFile(/tmp/multipartBody7020228790351674483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814142848,"filename":"image_22112025_13_16_40_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702076","file1":"1395702072","file0":"1395702069","file4":"1395702082","file5":"1395702084","file3":"1395702079"},"map_files_photo_id_array":[{"photo_id":"1395702084","filename":"file5"},{"photo_id":"1395702076","filename":"file2"},{"photo_id":"1395702082","filename":"file4"},{"photo_id":"1395702072","filename":"file1"},{"photo_id":"1395702069","filename":"file0"},{"photo_id":"1395702079","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702082":["hashtag1","hashtag2"]},{"1395702076":["hashtag1","hashtag2"]},{"1395702079":["hashtag1","hashtag2"]},{"1395702069":["hashtag1","hashtag2"]},{"1395702084":["hashtag1","hashtag2"]},{"1395702072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702082, 1395702076, 1395702079, 1395702069, 1395702084, 1395702072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11704778671265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:22:02.802769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_55_3566.jpg', '/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_58_2683.jpg', '/home/pi/Desktop/images/22112025/13/18/image_22112025_13_18_13_5866.jpg', '/home/pi/Desktop/images/22112025/13/18/image_22112025_13_18_15_1751.jpg', '/home/pi/Desktop/images/22112025/13/18/image_22112025_13_18_19_2630.jpg', '/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_08_3957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_55_3566.jpg
/home/pi/Desktop/images/22112025/13/16/image_22112025_13_16_58_2683.jpg
/home/pi/Desktop/images/22112025/13/18/image_22112025_13_18_13_5866.jpg
/home/pi/Desktop/images/22112025/13/18/image_22112025_13_18_15_1751.jpg
/home/pi/Desktop/images/22112025/13/18/image_22112025_13_18_19_2630.jpg
/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_08_3957.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702092","1395702086","1395702085","1395702088","1395702087","1395702090"],"photo_ids_order":["1395702085","1395702086","1395702087","1395702088","1395702090","1395702092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a615be33d39f2944f2a4afc48651152f.jpg","text":"TemporaryFile(/tmp/multipartBody2246721920683572703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814183487,"filename":"image_22112025_13_20_08_3957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc752cb79e8b970717375d5db8e93295.jpg","text":"TemporaryFile(/tmp/multipartBody6438695049013850205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814183487,"filename":"image_22112025_13_16_58_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa93149769c164e18f6f0ad65f8cdf0b.jpg","text":"TemporaryFile(/tmp/multipartBody9083975064524147091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814183487,"filename":"image_22112025_13_16_55_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa6f26dc5cb71e5084c338a7498c7621.jpg","text":"TemporaryFile(/tmp/multipartBody4367764174435654553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814183487,"filename":"image_22112025_13_18_15_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/042e0b9133125153406148f7000c254e.jpg","text":"TemporaryFile(/tmp/multipartBody8200359614230527576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814183487,"filename":"image_22112025_13_18_13_5866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb99644d63c5ed786c93f56bb7c8b25d.jpg","text":"TemporaryFile(/tmp/multipartBody7402762318433855621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814183487,"filename":"image_22112025_13_18_19_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702087","file1":"1395702086","file0":"1395702085","file4":"1395702090","file5":"1395702092","file3":"1395702088"},"map_files_photo_id_array":[{"photo_id":"1395702092","filename":"file5"},{"photo_id":"1395702087","filename":"file2"},{"photo_id":"1395702090","filename":"file4"},{"photo_id":"1395702086","filename":"file1"},{"photo_id":"1395702085","filename":"file0"},{"photo_id":"1395702088","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702092":["hashtag1","hashtag2"]},{"1395702086":["hashtag1","hashtag2"]},{"1395702085":["hashtag1","hashtag2"]},{"1395702088":["hashtag1","hashtag2"]},{"1395702087":["hashtag1","hashtag2"]},{"1395702090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702092, 1395702086, 1395702085, 1395702088, 1395702087, 1395702090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34538817405701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:22:42.344340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_29_9309.jpg', '/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_32_1747.jpg', '/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_40_1751.jpg', '/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_47_3692.jpg', '/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_50_3246.jpg', '/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_53_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_29_9309.jpg
/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_32_1747.jpg
/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_40_1751.jpg
/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_47_3692.jpg
/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_50_3246.jpg
/home/pi/Desktop/images/22112025/13/20/image_22112025_13_20_53_2765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702108","1395702102","1395702104","1395702107","1395702099","1395702106"],"photo_ids_order":["1395702099","1395702102","1395702104","1395702106","1395702107","1395702108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0892f0670ce49de05b5ebfd2c71f2b27.jpg","text":"TemporaryFile(/tmp/multipartBody7306611941195740006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814223184,"filename":"image_22112025_13_20_53_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/096af03611c1f98aa19aebbd90e98bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5383644947249431403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814223184,"filename":"image_22112025_13_20_32_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdcf53bd0782d4c9f6d421333e122a39.jpg","text":"TemporaryFile(/tmp/multipartBody1316566631147962905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814223184,"filename":"image_22112025_13_20_40_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/641735f4b3abbe88698fe072c5c49216.jpg","text":"TemporaryFile(/tmp/multipartBody6594641188738203972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814223184,"filename":"image_22112025_13_20_50_3246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/039cca2a7084f1dfdfa01c6393f4e55d.jpg","text":"TemporaryFile(/tmp/multipartBody8363425251383682401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814223184,"filename":"image_22112025_13_20_29_9309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d994652653b0e613fcd26addb7ca8ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3652282540712367441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814223184,"filename":"image_22112025_13_20_47_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702104","file1":"1395702102","file0":"1395702099","file4":"1395702107","file5":"1395702108","file3":"1395702106"},"map_files_photo_id_array":[{"photo_id":"1395702108","filename":"file5"},{"photo_id":"1395702104","filename":"file2"},{"photo_id":"1395702107","filename":"file4"},{"photo_id":"1395702102","filename":"file1"},{"photo_id":"1395702099","filename":"file0"},{"photo_id":"1395702106","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702108":["hashtag1","hashtag2"]},{"1395702102":["hashtag1","hashtag2"]},{"1395702104":["hashtag1","hashtag2"]},{"1395702107":["hashtag1","hashtag2"]},{"1395702099":["hashtag1","hashtag2"]},{"1395702106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702108, 1395702102, 1395702104, 1395702107, 1395702099, 1395702106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76860499382019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:23:22.598400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/21/image_22112025_13_21_09_10095.jpg', '/home/pi/Desktop/images/22112025/13/21/image_22112025_13_21_14_1622.jpg', '/home/pi/Desktop/images/22112025/13/21/image_22112025_13_21_15_1546.jpg', '/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_07_3015.jpg', '/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_10_3692.jpg', '/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_13_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/21/image_22112025_13_21_09_10095.jpg
/home/pi/Desktop/images/22112025/13/21/image_22112025_13_21_14_1622.jpg
/home/pi/Desktop/images/22112025/13/21/image_22112025_13_21_15_1546.jpg
/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_07_3015.jpg
/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_10_3692.jpg
/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_13_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702126","1395702111","1395702121","1395702115","1395702124","1395702118"],"photo_ids_order":["1395702111","1395702115","1395702118","1395702121","1395702124","1395702126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7657eae52481b842229cf55956349dc4.jpg","text":"TemporaryFile(/tmp/multipartBody4740898489154398871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814263268,"filename":"image_22112025_13_22_13_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e82d2db67673647c1e4a33fedfb987c5.jpg","text":"TemporaryFile(/tmp/multipartBody8029718956135466019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814263268,"filename":"image_22112025_13_21_09_10095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b683332d0978b2bd2515db15c1aa9fed.jpg","text":"TemporaryFile(/tmp/multipartBody4227303320515520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814263268,"filename":"image_22112025_13_22_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5b196e040d583777e3f711e5f56215e.jpg","text":"TemporaryFile(/tmp/multipartBody8305884604611814812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814263268,"filename":"image_22112025_13_21_14_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf2e26c4e645dd5468ac79df130fb42c.jpg","text":"TemporaryFile(/tmp/multipartBody8152586266530636722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814263268,"filename":"image_22112025_13_22_10_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4712e9430697db754eba4bc53b27c3cb.jpg","text":"TemporaryFile(/tmp/multipartBody2328455625273142666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814263268,"filename":"image_22112025_13_21_15_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702118","file1":"1395702115","file0":"1395702111","file4":"1395702124","file5":"1395702126","file3":"1395702121"},"map_files_photo_id_array":[{"photo_id":"1395702126","filename":"file5"},{"photo_id":"1395702118","filename":"file2"},{"photo_id":"1395702124","filename":"file4"},{"photo_id":"1395702115","filename":"file1"},{"photo_id":"1395702111","filename":"file0"},{"photo_id":"1395702121","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702126":["hashtag1","hashtag2"]},{"1395702111":["hashtag1","hashtag2"]},{"1395702121":["hashtag1","hashtag2"]},{"1395702115":["hashtag1","hashtag2"]},{"1395702124":["hashtag1","hashtag2"]},{"1395702118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702126, 1395702111, 1395702121, 1395702115, 1395702124, 1395702118)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.59175634384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:24:22.181752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_19_3538.jpg', '/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_40_2669.jpg', '/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_52_2909.jpg', '/home/pi/Desktop/images/22112025/13/23/image_22112025_13_23_13_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_19_3538.jpg
/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_40_2669.jpg
/home/pi/Desktop/images/22112025/13/22/image_22112025_13_22_52_2909.jpg
/home/pi/Desktop/images/22112025/13/23/image_22112025_13_23_13_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702133","1395702136","1395702141","1395702138"],"photo_ids_order":["1395702133","1395702136","1395702138","1395702141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65f11d7c96819a69fd88689461f69e33.jpg","text":"TemporaryFile(/tmp/multipartBody8766459756305208914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814322797,"filename":"image_22112025_13_22_19_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bf4d0f6739a6b5ccd50305f30437874.jpg","text":"TemporaryFile(/tmp/multipartBody4721680235856388295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814322797,"filename":"image_22112025_13_22_40_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92036e860f7e0add0319d3d81071b9e9.jpg","text":"TemporaryFile(/tmp/multipartBody8256599160408026814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814322797,"filename":"image_22112025_13_23_13_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/665fa74c5de0e4bde5b0fb954fea61a6.jpg","text":"TemporaryFile(/tmp/multipartBody6696775126445374515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814322797,"filename":"image_22112025_13_22_52_2909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702138","file1":"1395702136","file0":"1395702133","file3":"1395702141"},"map_files_photo_id_array":[{"photo_id":"1395702138","filename":"file2"},{"photo_id":"1395702136","filename":"file1"},{"photo_id":"1395702133","filename":"file0"},{"photo_id":"1395702141","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702133":["hashtag1","hashtag2"]},{"1395702136":["hashtag1","hashtag2"]},{"1395702141":["hashtag1","hashtag2"]},{"1395702138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702133, 1395702136, 1395702141, 1395702138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.424411296844482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:25:03.887769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_05_2833.jpg', '/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_14_3634.jpg', '/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_28_2718.jpg', '/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_32_3757.jpg', '/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_43_2681.jpg', '/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_50_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_05_2833.jpg
/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_14_3634.jpg
/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_28_2718.jpg
/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_32_3757.jpg
/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_43_2681.jpg
/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_50_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702152","1395702155","1395702149","1395702158","1395702148","1395702150"],"photo_ids_order":["1395702148","1395702149","1395702150","1395702152","1395702155","1395702158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b188d0244af98a8ab7ccc1ebe62abbbd.jpg","text":"TemporaryFile(/tmp/multipartBody1706961428481131202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814368006,"filename":"image_20112025_19_02_32_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/549e862177740ec64a93f502601be820.jpg","text":"TemporaryFile(/tmp/multipartBody328380890749081593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814368006,"filename":"image_20112025_19_02_43_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/016056c64cb3af6d464cc3c6da45307e.jpg","text":"TemporaryFile(/tmp/multipartBody3680910823051344990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814368006,"filename":"image_20112025_19_02_14_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c607587925bd87450c286ac7cf3b449c.jpg","text":"TemporaryFile(/tmp/multipartBody4134819742978620690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814368006,"filename":"image_20112025_19_02_50_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f34e1e7539e609a7aeb88af4629285e.jpg","text":"TemporaryFile(/tmp/multipartBody6654466040963245431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814368006,"filename":"image_20112025_19_02_05_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f639e82e8602387698e2830c0e59f2ee.jpg","text":"TemporaryFile(/tmp/multipartBody3358078469651311466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814368006,"filename":"image_20112025_19_02_28_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702150","file1":"1395702149","file0":"1395702148","file4":"1395702155","file5":"1395702158","file3":"1395702152"},"map_files_photo_id_array":[{"photo_id":"1395702158","filename":"file5"},{"photo_id":"1395702150","filename":"file2"},{"photo_id":"1395702155","filename":"file4"},{"photo_id":"1395702149","filename":"file1"},{"photo_id":"1395702148","filename":"file0"},{"photo_id":"1395702152","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395702152":["hashtag1","hashtag2"]},{"1395702155":["hashtag1","hashtag2"]},{"1395702149":["hashtag1","hashtag2"]},{"1395702158":["hashtag1","hashtag2"]},{"1395702148":["hashtag1","hashtag2"]},{"1395702150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395702152, 1395702155, 1395702149, 1395702158, 1395702148, 1395702150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.460017681121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:26:02.912865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/23/image_22112025_13_23_19_2507.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_07_3018.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_17_3547.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_22_2555.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_26_3811.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_29_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/23/image_22112025_13_23_19_2507.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_07_3018.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_17_3547.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_22_2555.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_26_3811.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_29_2537.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5685784816741943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:26:22.422311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/23/image_22112025_13_23_19_2507.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_07_3018.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_17_3547.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_22_2555.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_26_3811.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_29_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/23/image_22112025_13_23_19_2507.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_07_3018.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_17_3547.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_22_2555.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_26_3811.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_29_2537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702197","1395702182","1395702176","1395702190","1395702178","1395702180"],"photo_ids_order":["1395702176","1395702178","1395702180","1395702182","1395702190","1395702197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80854342cd019912c6cd1f4202da280e.jpg","text":"TemporaryFile(/tmp/multipartBody457044340809281154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814443110,"filename":"image_22112025_13_24_29_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42fe2162808283156afa24a65aaf9363.jpg","text":"TemporaryFile(/tmp/multipartBody2850952858260631937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814443110,"filename":"image_22112025_13_24_22_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/139eb0abb61b8935313f9168bbac7df3.jpg","text":"TemporaryFile(/tmp/multipartBody5293234827935582594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814443110,"filename":"image_22112025_13_23_19_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e68408c667e0e90f6bce9ce87c7efd6c.jpg","text":"TemporaryFile(/tmp/multipartBody5487045661615906527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814443110,"filename":"image_22112025_13_24_26_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6df4e6f25040d4e189e37e2c23abcb08.jpg","text":"TemporaryFile(/tmp/multipartBody8568944894191485036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814443110,"filename":"image_22112025_13_24_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dab6257c3a591360eb16fd7c6c129c78.jpg","text":"TemporaryFile(/tmp/multipartBody2993990276225951674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814443110,"filename":"image_22112025_13_24_17_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702180","file1":"1395702178","file0":"1395702176","file4":"1395702190","file5":"1395702197","file3":"1395702182"},"map_files_photo_id_array":[{"photo_id":"1395702197","filename":"file5"},{"photo_id":"1395702180","filename":"file2"},{"photo_id":"1395702190","filename":"file4"},{"photo_id":"1395702178","filename":"file1"},{"photo_id":"1395702176","filename":"file0"},{"photo_id":"1395702182","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702197":["hashtag1","hashtag2"]},{"1395702182":["hashtag1","hashtag2"]},{"1395702176":["hashtag1","hashtag2"]},{"1395702190":["hashtag1","hashtag2"]},{"1395702178":["hashtag1","hashtag2"]},{"1395702180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702197, 1395702182, 1395702176, 1395702190, 1395702178, 1395702180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61061358451843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:27:03.231573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_31_2676.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_35_3553.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_38_2818.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_40_2717.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_49_2519.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_53_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_31_2676.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_35_3553.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_38_2818.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_40_2717.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_49_2519.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_53_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702204","1395702201","1395702200","1395702206","1395702199","1395702202"],"photo_ids_order":["1395702199","1395702200","1395702201","1395702202","1395702204","1395702206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/147bfe837105a4a109dd7ef234e1658b.jpg","text":"TemporaryFile(/tmp/multipartBody3784423899383991869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814483934,"filename":"image_22112025_13_24_49_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11fabe68f4a11edc4deda2fdcb9fa99c.jpg","text":"TemporaryFile(/tmp/multipartBody1286240631228487652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814483934,"filename":"image_22112025_13_24_38_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9ee86e997672c6947a6587820d37dad.jpg","text":"TemporaryFile(/tmp/multipartBody4993803966562831537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814483934,"filename":"image_22112025_13_24_35_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c51c41d4d4d728b5992a1576f53667b5.jpg","text":"TemporaryFile(/tmp/multipartBody7510052724472265445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814483934,"filename":"image_22112025_13_24_53_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/662b087a48f15940dedd1e7af2686405.jpg","text":"TemporaryFile(/tmp/multipartBody7983306114224024415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814483934,"filename":"image_22112025_13_24_31_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa0bdf0d6bb3196c5607926a72602879.jpg","text":"TemporaryFile(/tmp/multipartBody4431885899131184691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814483934,"filename":"image_22112025_13_24_40_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702201","file1":"1395702200","file0":"1395702199","file4":"1395702204","file5":"1395702206","file3":"1395702202"},"map_files_photo_id_array":[{"photo_id":"1395702206","filename":"file5"},{"photo_id":"1395702201","filename":"file2"},{"photo_id":"1395702204","filename":"file4"},{"photo_id":"1395702200","filename":"file1"},{"photo_id":"1395702199","filename":"file0"},{"photo_id":"1395702202","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702204":["hashtag1","hashtag2"]},{"1395702201":["hashtag1","hashtag2"]},{"1395702200":["hashtag1","hashtag2"]},{"1395702206":["hashtag1","hashtag2"]},{"1395702199":["hashtag1","hashtag2"]},{"1395702202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702204, 1395702201, 1395702200, 1395702206, 1395702199, 1395702202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42374134063721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:27:42.675509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_56_2805.jpg', '/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_58_2560.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_02_3756.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_18_1614.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_20_1578.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_21_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_56_2805.jpg
/home/pi/Desktop/images/22112025/13/24/image_22112025_13_24_58_2560.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_02_3756.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_18_1614.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_20_1578.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_21_1609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702213","1395702215","1395702212","1395702211","1395702214","1395702216"],"photo_ids_order":["1395702211","1395702212","1395702213","1395702214","1395702215","1395702216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3064d2ce64121829b373983deff3a09.jpg","text":"TemporaryFile(/tmp/multipartBody510351939554745085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814523362,"filename":"image_22112025_13_25_02_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fac4aa7710427f15544830e600a976f2.jpg","text":"TemporaryFile(/tmp/multipartBody8903425214361119285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814523362,"filename":"image_22112025_13_25_20_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/553abf047ad9c8880304e34f87cceaa7.jpg","text":"TemporaryFile(/tmp/multipartBody6675181757548406349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814523362,"filename":"image_22112025_13_24_58_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ab53f7db85dd7add677e7e172ac27cc.jpg","text":"TemporaryFile(/tmp/multipartBody8861120894825785210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814523362,"filename":"image_22112025_13_24_56_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4870ec5c7969d4e757f57688ef7f7a7b.jpg","text":"TemporaryFile(/tmp/multipartBody2271583480458640558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814523362,"filename":"image_22112025_13_25_18_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1873127ba9a0a91d02b02294dabe9ed.jpg","text":"TemporaryFile(/tmp/multipartBody7400541979614673584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814523362,"filename":"image_22112025_13_25_21_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702213","file1":"1395702212","file0":"1395702211","file4":"1395702215","file5":"1395702216","file3":"1395702214"},"map_files_photo_id_array":[{"photo_id":"1395702216","filename":"file5"},{"photo_id":"1395702213","filename":"file2"},{"photo_id":"1395702215","filename":"file4"},{"photo_id":"1395702212","filename":"file1"},{"photo_id":"1395702211","filename":"file0"},{"photo_id":"1395702214","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702213":["hashtag1","hashtag2"]},{"1395702215":["hashtag1","hashtag2"]},{"1395702212":["hashtag1","hashtag2"]},{"1395702211":["hashtag1","hashtag2"]},{"1395702214":["hashtag1","hashtag2"]},{"1395702216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702213, 1395702215, 1395702212, 1395702211, 1395702214, 1395702216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50582146644592 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:28:41.845897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_23_1640.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_25_1603.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_26_1557.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_28_1621.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_29_1577.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_41_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_23_1640.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_25_1603.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_26_1557.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_28_1621.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_29_1577.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_41_3547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702233","1395702236","1395702239","1395702230","1395702238","1395702240"],"photo_ids_order":["1395702230","1395702233","1395702236","1395702238","1395702239","1395702240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c19fa55c04be757d57809a15e1ca4869.jpg","text":"TemporaryFile(/tmp/multipartBody1165123414210857554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814582505,"filename":"image_22112025_13_25_25_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c255495a59126a67930139dcac94ae1.jpg","text":"TemporaryFile(/tmp/multipartBody1752861755521977560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814582505,"filename":"image_22112025_13_25_26_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc7644658d8f89f789030a8d769f279d.jpg","text":"TemporaryFile(/tmp/multipartBody2796162401296347651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814582505,"filename":"image_22112025_13_25_29_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88d5d49047b88914f3f95d38673054aa.jpg","text":"TemporaryFile(/tmp/multipartBody443172870760976098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814582505,"filename":"image_22112025_13_25_23_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/422281bf0ee279b80617d5f7837381bd.jpg","text":"TemporaryFile(/tmp/multipartBody5429738063712601953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814582505,"filename":"image_22112025_13_25_28_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52b8f8669c4d91c4f7401632e7d898ed.jpg","text":"TemporaryFile(/tmp/multipartBody5071539558702764906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814582505,"filename":"image_22112025_13_25_41_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702236","file1":"1395702233","file0":"1395702230","file4":"1395702239","file5":"1395702240","file3":"1395702238"},"map_files_photo_id_array":[{"photo_id":"1395702240","filename":"file5"},{"photo_id":"1395702236","filename":"file2"},{"photo_id":"1395702239","filename":"file4"},{"photo_id":"1395702233","filename":"file1"},{"photo_id":"1395702230","filename":"file0"},{"photo_id":"1395702238","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702233":["hashtag1","hashtag2"]},{"1395702236":["hashtag1","hashtag2"]},{"1395702239":["hashtag1","hashtag2"]},{"1395702230":["hashtag1","hashtag2"]},{"1395702238":["hashtag1","hashtag2"]},{"1395702240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702233, 1395702236, 1395702239, 1395702230, 1395702238, 1395702240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.937424659729004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:29:22.175539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_43_2563.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_46_2739.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_52_2598.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_55_2653.jpg', '/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_59_3602.jpg', '/home/pi/Desktop/images/22112025/13/26/image_22112025_13_26_03_4356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_43_2563.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_46_2739.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_52_2598.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_55_2653.jpg
/home/pi/Desktop/images/22112025/13/25/image_22112025_13_25_59_3602.jpg
/home/pi/Desktop/images/22112025/13/26/image_22112025_13_26_03_4356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702246","1395702259","1395702250","1395702253","1395702255","1395702243"],"photo_ids_order":["1395702243","1395702246","1395702250","1395702253","1395702255","1395702259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/520f690588ec1abc3306c0d90dd99796.jpg","text":"TemporaryFile(/tmp/multipartBody6941039454294613281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814622848,"filename":"image_22112025_13_25_46_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36ac68b633b9e36478f1d7c077d32640.jpg","text":"TemporaryFile(/tmp/multipartBody2669513543062779250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814622848,"filename":"image_22112025_13_26_03_4356.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4e9bcb8bd4f00721c8bfb59ddb75dc2.jpg","text":"TemporaryFile(/tmp/multipartBody6083845648725703379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814622848,"filename":"image_22112025_13_25_52_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07eaf07af32a8469708046d0d598f417.jpg","text":"TemporaryFile(/tmp/multipartBody8182214886495325964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814622848,"filename":"image_22112025_13_25_55_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfc6e3658d71b6bd7ec33a711a060051.jpg","text":"TemporaryFile(/tmp/multipartBody1168506662780918280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814622848,"filename":"image_22112025_13_25_59_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57b4da23afb2cd7af4d247e5c276d6ca.jpg","text":"TemporaryFile(/tmp/multipartBody8763198266729361886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814622848,"filename":"image_22112025_13_25_43_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702250","file1":"1395702246","file0":"1395702243","file4":"1395702255","file5":"1395702259","file3":"1395702253"},"map_files_photo_id_array":[{"photo_id":"1395702259","filename":"file5"},{"photo_id":"1395702250","filename":"file2"},{"photo_id":"1395702255","filename":"file4"},{"photo_id":"1395702246","filename":"file1"},{"photo_id":"1395702243","filename":"file0"},{"photo_id":"1395702253","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702246":["hashtag1","hashtag2"]},{"1395702259":["hashtag1","hashtag2"]},{"1395702250":["hashtag1","hashtag2"]},{"1395702253":["hashtag1","hashtag2"]},{"1395702255":["hashtag1","hashtag2"]},{"1395702243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702246, 1395702259, 1395702250, 1395702253, 1395702255, 1395702243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0471727848053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:30:02.882768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/26/image_22112025_13_26_05_1637.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_07_3020.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_10_3608.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_26_3560.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_28_2717.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_31_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/26/image_22112025_13_26_05_1637.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_07_3020.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_10_3608.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_26_3560.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_28_2717.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_31_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702266","1395702265","1395702268","1395702270","1395702273","1395702267"],"photo_ids_order":["1395702265","1395702266","1395702267","1395702268","1395702270","1395702273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dc840558fa01415b42282c1116a49d4.jpg","text":"TemporaryFile(/tmp/multipartBody1809885169596292755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814663557,"filename":"image_22112025_13_27_07_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35d567a16a06d54c98abe6acbfc27acf.jpg","text":"TemporaryFile(/tmp/multipartBody6080245665180476601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814663557,"filename":"image_22112025_13_26_05_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77267a1ae9825b5cb9647cc58e0a73eb.jpg","text":"TemporaryFile(/tmp/multipartBody2455472237675334486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814663557,"filename":"image_22112025_13_27_26_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/add88c500a5e8d51cc1f1958461be6de.jpg","text":"TemporaryFile(/tmp/multipartBody579088724230153030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814663557,"filename":"image_22112025_13_27_28_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce4eaa7264324f182d6a3ce8487cac83.jpg","text":"TemporaryFile(/tmp/multipartBody7386896568684013148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814663557,"filename":"image_22112025_13_27_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35cc73dfc4e874362226861f5f66a80d.jpg","text":"TemporaryFile(/tmp/multipartBody6251861491668831011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814663557,"filename":"image_22112025_13_27_10_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702267","file1":"1395702266","file0":"1395702265","file4":"1395702270","file5":"1395702273","file3":"1395702268"},"map_files_photo_id_array":[{"photo_id":"1395702273","filename":"file5"},{"photo_id":"1395702267","filename":"file2"},{"photo_id":"1395702270","filename":"file4"},{"photo_id":"1395702266","filename":"file1"},{"photo_id":"1395702265","filename":"file0"},{"photo_id":"1395702268","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702266":["hashtag1","hashtag2"]},{"1395702265":["hashtag1","hashtag2"]},{"1395702268":["hashtag1","hashtag2"]},{"1395702270":["hashtag1","hashtag2"]},{"1395702273":["hashtag1","hashtag2"]},{"1395702267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702266, 1395702265, 1395702268, 1395702270, 1395702273, 1395702267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93245792388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:30:42.264662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_35_3633.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_41_3511.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_43_2531.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_46_2565.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_52_2606.jpg', '/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_56_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_35_3633.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_41_3511.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_43_2531.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_46_2565.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_52_2606.jpg
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_56_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702281","1395702284","1395702287","1395702286","1395702285","1395702288"],"photo_ids_order":["1395702281","1395702284","1395702285","1395702286","1395702287","1395702288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f11cc0dac820006548fd36bdccb0bdc7.jpg","text":"TemporaryFile(/tmp/multipartBody1365285486478849802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814702912,"filename":"image_22112025_13_27_35_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d28b77d8c3ee5431d8f59f5530c7f81.jpg","text":"TemporaryFile(/tmp/multipartBody2352728322745825452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814702912,"filename":"image_22112025_13_27_41_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdeba962769217efc8791a8107e4a220.jpg","text":"TemporaryFile(/tmp/multipartBody4798265310179557124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814702912,"filename":"image_22112025_13_27_52_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c341b27ed37f4af03e79284f9cdbb90a.jpg","text":"TemporaryFile(/tmp/multipartBody2189045412954913124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814702912,"filename":"image_22112025_13_27_46_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44b7222e75b831ba3b13b5e44cdd1017.jpg","text":"TemporaryFile(/tmp/multipartBody8041283530965719249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814702912,"filename":"image_22112025_13_27_43_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d32d171473f698e0ff5ff44f6f583c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4472916389427410915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814702912,"filename":"image_22112025_13_27_56_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702285","file1":"1395702284","file0":"1395702281","file4":"1395702287","file5":"1395702288","file3":"1395702286"},"map_files_photo_id_array":[{"photo_id":"1395702288","filename":"file5"},{"photo_id":"1395702285","filename":"file2"},{"photo_id":"1395702287","filename":"file4"},{"photo_id":"1395702284","filename":"file1"},{"photo_id":"1395702281","filename":"file0"},{"photo_id":"1395702286","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702281":["hashtag1","hashtag2"]},{"1395702284":["hashtag1","hashtag2"]},{"1395702287":["hashtag1","hashtag2"]},{"1395702286":["hashtag1","hashtag2"]},{"1395702285":["hashtag1","hashtag2"]},{"1395702288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702281, 1395702284, 1395702287, 1395702286, 1395702285, 1395702288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55292558670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:31:22.600122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_58_2747.jpg', '/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_01_2605.jpg', '/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_05_3594.jpg', '/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_10_2673.jpg', '/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_22_12135.jpg', '/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_23_1492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/27/image_22112025_13_27_58_2747.jpg
/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_01_2605.jpg
/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_05_3594.jpg
/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_10_2673.jpg
/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_22_12135.jpg
/home/pi/Desktop/images/22112025/13/28/image_22112025_13_28_23_1492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702303","1395702305","1395702295","1395702298","1395702301","1395702291"],"photo_ids_order":["1395702291","1395702295","1395702298","1395702301","1395702303","1395702305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9471d147d93aa98aa5caba3cbfb9135f.jpg","text":"TemporaryFile(/tmp/multipartBody3357569874604599052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814743243,"filename":"image_22112025_13_28_22_12135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/243caa0f691ad6847b0e4317ee0d5c37.jpg","text":"TemporaryFile(/tmp/multipartBody6397435212543868947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814743243,"filename":"image_22112025_13_28_23_1492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f85a45f9616ebfbadbce7f7973babe30.jpg","text":"TemporaryFile(/tmp/multipartBody7685604155586209973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814743243,"filename":"image_22112025_13_28_01_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/123d5a2c241ee1bc472c27a3d7112dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7947429473013988492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814743243,"filename":"image_22112025_13_28_05_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b879027ee2af9d77139a1b1f0be7c16.jpg","text":"TemporaryFile(/tmp/multipartBody8546457933192123477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814743243,"filename":"image_22112025_13_28_10_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8aebae2f57b4324f5a4d3765e2e888aa.jpg","text":"TemporaryFile(/tmp/multipartBody7489486810032254888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814743243,"filename":"image_22112025_13_27_58_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702298","file1":"1395702295","file0":"1395702291","file4":"1395702303","file5":"1395702305","file3":"1395702301"},"map_files_photo_id_array":[{"photo_id":"1395702305","filename":"file5"},{"photo_id":"1395702298","filename":"file2"},{"photo_id":"1395702303","filename":"file4"},{"photo_id":"1395702295","filename":"file1"},{"photo_id":"1395702291","filename":"file0"},{"photo_id":"1395702301","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702303":["hashtag1","hashtag2"]},{"1395702305":["hashtag1","hashtag2"]},{"1395702295":["hashtag1","hashtag2"]},{"1395702298":["hashtag1","hashtag2"]},{"1395702301":["hashtag1","hashtag2"]},{"1395702291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702303, 1395702305, 1395702295, 1395702298, 1395702301, 1395702291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.631046295166016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:32:03.272688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_06_3017.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_10_3584.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_15_2730.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_19_3685.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_21_2652.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_24_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_06_3017.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_10_3584.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_15_2730.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_19_3685.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_21_2652.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_24_2696.jpg
 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":["1395702306","1395702309","1395702314","1395702308","1395702311","1395702307"],"photo_ids_order":["1395702306","1395702307","1395702308","1395702309","1395702311","1395702314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86c6efedc9a01c31bdf3e72aa2b35aea.jpg","text":"TemporaryFile(/tmp/multipartBody3835369775240917973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814783971,"filename":"image_22112025_13_29_06_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/741117c74ecc1ed44078be337f1ae14e.jpg","text":"TemporaryFile(/tmp/multipartBody1023121634810930178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814783971,"filename":"image_22112025_13_29_19_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6eefb9f2ccba7c2c43e29ce2a0bb4ca.jpg","text":"TemporaryFile(/tmp/multipartBody4222151487380944301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814783971,"filename":"image_22112025_13_29_24_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b79c9f68cec0cb1ffc3b0a9f574f4353.jpg","text":"TemporaryFile(/tmp/multipartBody5642604077539397999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814783971,"filename":"image_22112025_13_29_15_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f731e2ee2f4fef9f215891f297e9469d.jpg","text":"TemporaryFile(/tmp/multipartBody6964538906340567000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814783971,"filename":"image_22112025_13_29_21_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bf54c43b16877b08dbd91a3f0da3f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3403852091924756457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814783971,"filename":"image_22112025_13_29_10_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702308","file1":"1395702307","file0":"1395702306","file4":"1395702311","file5":"1395702314","file3":"1395702309"},"map_files_photo_id_array":[{"photo_id":"1395702314","filename":"file5"},{"photo_id":"1395702308","filename":"file2"},{"photo_id":"1395702311","filename":"file4"},{"photo_id":"1395702307","filename":"file1"},{"photo_id":"1395702306","filename":"file0"},{"photo_id":"1395702309","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702306":["hashtag1","hashtag2"]},{"1395702309":["hashtag1","hashtag2"]},{"1395702314":["hashtag1","hashtag2"]},{"1395702308":["hashtag1","hashtag2"]},{"1395702311":["hashtag1","hashtag2"]},{"1395702307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702306, 1395702309, 1395702314, 1395702308, 1395702311, 1395702307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.77992343902588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:33:02.631798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_28_3602.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_30_2609.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_33_2646.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_37_3635.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_39_2583.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_50_4517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_28_3602.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_30_2609.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_33_2646.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_37_3635.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_39_2583.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_50_4517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702324","1395702326","1395702323","1395702331","1395702325","1395702328"],"photo_ids_order":["1395702323","1395702324","1395702325","1395702326","1395702328","1395702331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45847e03d206915db194ae43a996ada8.jpg","text":"TemporaryFile(/tmp/multipartBody4390559566169845282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814843364,"filename":"image_22112025_13_29_30_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f0357cfbc3471e0252684d6eeca96df.jpg","text":"TemporaryFile(/tmp/multipartBody4105243008169323523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814843364,"filename":"image_22112025_13_29_37_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e9d33b807cf89296da85a69e7204006.jpg","text":"TemporaryFile(/tmp/multipartBody4412518118110346302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814843364,"filename":"image_22112025_13_29_28_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1327bc05080a2a76100bfee64d73915a.jpg","text":"TemporaryFile(/tmp/multipartBody2664925256998589048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814843364,"filename":"image_22112025_13_29_50_4517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b73b913f34eb531e864297a5f15f48ab.jpg","text":"TemporaryFile(/tmp/multipartBody8885450059085217713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814843364,"filename":"image_22112025_13_29_33_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7a1b08c15c8122353566edf847883fa.jpg","text":"TemporaryFile(/tmp/multipartBody1622029003128139370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814843364,"filename":"image_22112025_13_29_39_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702325","file1":"1395702324","file0":"1395702323","file4":"1395702328","file5":"1395702331","file3":"1395702326"},"map_files_photo_id_array":[{"photo_id":"1395702331","filename":"file5"},{"photo_id":"1395702325","filename":"file2"},{"photo_id":"1395702328","filename":"file4"},{"photo_id":"1395702324","filename":"file1"},{"photo_id":"1395702323","filename":"file0"},{"photo_id":"1395702326","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702324":["hashtag1","hashtag2"]},{"1395702326":["hashtag1","hashtag2"]},{"1395702323":["hashtag1","hashtag2"]},{"1395702331":["hashtag1","hashtag2"]},{"1395702325":["hashtag1","hashtag2"]},{"1395702328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702324, 1395702326, 1395702323, 1395702331, 1395702325, 1395702328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28413200378418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:33:41.801559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_52_1650.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_54_2646.jpg', '/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_58_3548.jpg', '/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_07_3013.jpg', '/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_10_3516.jpg', '/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_13_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_52_1650.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_54_2646.jpg
/home/pi/Desktop/images/22112025/13/29/image_22112025_13_29_58_3548.jpg
/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_07_3013.jpg
/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_10_3516.jpg
/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_13_2515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702345","1395702344","1395702347","1395702343","1395702340","1395702342"],"photo_ids_order":["1395702340","1395702342","1395702343","1395702344","1395702345","1395702347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6472a8f395d044563682dbf239839e79.jpg","text":"TemporaryFile(/tmp/multipartBody590035510917705238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814882434,"filename":"image_22112025_13_30_10_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23ad15a69a33bd17288de5471b994544.jpg","text":"TemporaryFile(/tmp/multipartBody1541783570892126199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814882434,"filename":"image_22112025_13_30_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e78aba00afb9ca9d7fbd5ffc2693e70b.jpg","text":"TemporaryFile(/tmp/multipartBody7826906489697266920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814882434,"filename":"image_22112025_13_30_13_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81be19623b877285077dae8a6471f832.jpg","text":"TemporaryFile(/tmp/multipartBody6533198083445698163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814882434,"filename":"image_22112025_13_29_58_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3a1c9475f93ddaacc48a6d275d99cbb.jpg","text":"TemporaryFile(/tmp/multipartBody1559186957316467909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814882434,"filename":"image_22112025_13_29_52_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60813ba81e56e36d6ccef0cf2f5c8c3a.jpg","text":"TemporaryFile(/tmp/multipartBody8439235794980489172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814882434,"filename":"image_22112025_13_29_54_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702343","file1":"1395702342","file0":"1395702340","file4":"1395702345","file5":"1395702347","file3":"1395702344"},"map_files_photo_id_array":[{"photo_id":"1395702347","filename":"file5"},{"photo_id":"1395702343","filename":"file2"},{"photo_id":"1395702345","filename":"file4"},{"photo_id":"1395702342","filename":"file1"},{"photo_id":"1395702340","filename":"file0"},{"photo_id":"1395702344","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702345":["hashtag1","hashtag2"]},{"1395702344":["hashtag1","hashtag2"]},{"1395702347":["hashtag1","hashtag2"]},{"1395702343":["hashtag1","hashtag2"]},{"1395702340":["hashtag1","hashtag2"]},{"1395702342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702345, 1395702344, 1395702347, 1395702343, 1395702340, 1395702342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.531933307647705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:34:22.098286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_17_3718.jpg', '/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_28_2786.jpg', '/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_32_3553.jpg', '/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_53_3701.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_07_3011.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_11_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_17_3718.jpg
/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_28_2786.jpg
/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_32_3553.jpg
/home/pi/Desktop/images/22112025/13/30/image_22112025_13_30_53_3701.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_07_3011.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_11_3623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702350","1395702355","1395702349","1395702352","1395702360","1395702357"],"photo_ids_order":["1395702349","1395702350","1395702352","1395702355","1395702357","1395702360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55484d1bec943c38f9db17bd15eeea41.jpg","text":"TemporaryFile(/tmp/multipartBody5154669601072000099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814922787,"filename":"image_22112025_13_30_28_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f594b1e08ebb8f9285632d90c702755.jpg","text":"TemporaryFile(/tmp/multipartBody2704444354744071697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814922787,"filename":"image_22112025_13_30_53_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6030ffd80e1c5e7cece03e543055dbc.jpg","text":"TemporaryFile(/tmp/multipartBody2662438109061658638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814922787,"filename":"image_22112025_13_30_17_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eeb79195af686723199bbb268a2a6afe.jpg","text":"TemporaryFile(/tmp/multipartBody8771598115957347382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814922787,"filename":"image_22112025_13_30_32_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e21ca8fa352229a8b3e1f102641d828a.jpg","text":"TemporaryFile(/tmp/multipartBody4659791962064692887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814922787,"filename":"image_22112025_13_32_11_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/230626d03373beb953f1952f579cbe29.jpg","text":"TemporaryFile(/tmp/multipartBody6845360058100705391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814922787,"filename":"image_22112025_13_32_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702352","file1":"1395702350","file0":"1395702349","file4":"1395702357","file5":"1395702360","file3":"1395702355"},"map_files_photo_id_array":[{"photo_id":"1395702360","filename":"file5"},{"photo_id":"1395702352","filename":"file2"},{"photo_id":"1395702357","filename":"file4"},{"photo_id":"1395702350","filename":"file1"},{"photo_id":"1395702349","filename":"file0"},{"photo_id":"1395702355","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702350":["hashtag1","hashtag2"]},{"1395702355":["hashtag1","hashtag2"]},{"1395702349":["hashtag1","hashtag2"]},{"1395702352":["hashtag1","hashtag2"]},{"1395702360":["hashtag1","hashtag2"]},{"1395702357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702350, 1395702355, 1395702349, 1395702352, 1395702360, 1395702357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85913705825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:35:02.987335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_13_2638.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_20_2581.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_22_2647.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_26_3616.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_29_2722.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_31_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_13_2638.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_20_2581.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_22_2647.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_26_3616.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_29_2722.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_31_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702365","1395702367","1395702364","1395702372","1395702366","1395702369"],"photo_ids_order":["1395702364","1395702365","1395702366","1395702367","1395702369","1395702372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a79ce8eb0fe3783458d4e0d6be4bd07b.jpg","text":"TemporaryFile(/tmp/multipartBody3577535554995393369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814963751,"filename":"image_22112025_13_32_20_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e01a768e1e60e64fa76cbca586b3745c.jpg","text":"TemporaryFile(/tmp/multipartBody5323459572292503090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814963751,"filename":"image_22112025_13_32_26_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3976405bf3352bd0b738d333383bc20.jpg","text":"TemporaryFile(/tmp/multipartBody6408557909351404140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814963751,"filename":"image_22112025_13_32_13_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5033f1dd0b3649adf99c4f0595c879b.jpg","text":"TemporaryFile(/tmp/multipartBody7416386038784713384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814963751,"filename":"image_22112025_13_32_31_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e64938c54eeeaea33d5c9b3f36b21e2.jpg","text":"TemporaryFile(/tmp/multipartBody8199688904564585153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814963751,"filename":"image_22112025_13_32_22_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6f4eb8e69cd9355450b2e29b9624d30.jpg","text":"TemporaryFile(/tmp/multipartBody6420555427944988513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763814963751,"filename":"image_22112025_13_32_29_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702366","file1":"1395702365","file0":"1395702364","file4":"1395702369","file5":"1395702372","file3":"1395702367"},"map_files_photo_id_array":[{"photo_id":"1395702372","filename":"file5"},{"photo_id":"1395702366","filename":"file2"},{"photo_id":"1395702369","filename":"file4"},{"photo_id":"1395702365","filename":"file1"},{"photo_id":"1395702364","filename":"file0"},{"photo_id":"1395702367","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702365":["hashtag1","hashtag2"]},{"1395702367":["hashtag1","hashtag2"]},{"1395702364":["hashtag1","hashtag2"]},{"1395702372":["hashtag1","hashtag2"]},{"1395702366":["hashtag1","hashtag2"]},{"1395702369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702365, 1395702367, 1395702364, 1395702372, 1395702366, 1395702369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42341899871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:35:42.384572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_35_3703.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_38_2567.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_40_2653.jpg', '/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_46_2705.jpg', '/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_01_14358.jpg', '/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_02_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_35_3703.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_38_2567.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_40_2653.jpg
/home/pi/Desktop/images/22112025/13/32/image_22112025_13_32_46_2705.jpg
/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_01_14358.jpg
/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_02_1529.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702383","1395702386","1395702382","1395702384","1395702387","1395702381"],"photo_ids_order":["1395702381","1395702382","1395702383","1395702384","1395702386","1395702387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/289c61776afc84649eee941cf2c1aa68.jpg","text":"TemporaryFile(/tmp/multipartBody4873695329418747784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815003028,"filename":"image_22112025_13_32_40_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1549b2efb35a7f2c218f340052fc94c.jpg","text":"TemporaryFile(/tmp/multipartBody6497381476056618707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815003028,"filename":"image_22112025_13_33_01_14358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0292a70181f0b9782be7142babbdb95.jpg","text":"TemporaryFile(/tmp/multipartBody5731447147354496799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815003028,"filename":"image_22112025_13_32_38_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccef28e8c93aa897c9d17a63036d3e03.jpg","text":"TemporaryFile(/tmp/multipartBody7435279711181783069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815003028,"filename":"image_22112025_13_32_46_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75d47cfc50cd05fac7f03f28b427f298.jpg","text":"TemporaryFile(/tmp/multipartBody4772437926931352290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815003028,"filename":"image_22112025_13_33_02_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90be531717d48532202caed2098dafb6.jpg","text":"TemporaryFile(/tmp/multipartBody1127189434279734215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815003028,"filename":"image_22112025_13_32_35_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702383","file1":"1395702382","file0":"1395702381","file4":"1395702386","file5":"1395702387","file3":"1395702384"},"map_files_photo_id_array":[{"photo_id":"1395702387","filename":"file5"},{"photo_id":"1395702383","filename":"file2"},{"photo_id":"1395702386","filename":"file4"},{"photo_id":"1395702382","filename":"file1"},{"photo_id":"1395702381","filename":"file0"},{"photo_id":"1395702384","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702383":["hashtag1","hashtag2"]},{"1395702386":["hashtag1","hashtag2"]},{"1395702382":["hashtag1","hashtag2"]},{"1395702384":["hashtag1","hashtag2"]},{"1395702387":["hashtag1","hashtag2"]},{"1395702381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702383, 1395702386, 1395702382, 1395702384, 1395702387, 1395702381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9995539188385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:36:22.785956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_04_1632.jpg', '/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_06_1602.jpg', '/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_07_1545.jpg', '/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_10_1542.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_06_3018.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_10_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_04_1632.jpg
/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_06_1602.jpg
/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_07_1545.jpg
/home/pi/Desktop/images/22112025/13/33/image_22112025_13_33_10_1542.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_06_3018.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_10_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702405","1395702395","1395702392","1395702409","1395702399","1395702390"],"photo_ids_order":["1395702390","1395702392","1395702395","1395702399","1395702405","1395702409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d3eb6da55a919c2e01ff840da2e5b8c.jpg","text":"TemporaryFile(/tmp/multipartBody676607947584620536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815043474,"filename":"image_22112025_13_34_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/508a29c1d8103c0b43b791dd210ba2ee.jpg","text":"TemporaryFile(/tmp/multipartBody1168626556506041404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815043474,"filename":"image_22112025_13_33_07_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92c9a8a5bd2d40b938b7a0c5069a176c.jpg","text":"TemporaryFile(/tmp/multipartBody6078086619420636106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815043474,"filename":"image_22112025_13_33_06_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51d8724b1ef76a52f36f3cf0864793bc.jpg","text":"TemporaryFile(/tmp/multipartBody6602003645271011291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815043474,"filename":"image_22112025_13_34_10_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/603147022b555f0e2186c5d3db5dcaaf.jpg","text":"TemporaryFile(/tmp/multipartBody1579369158037331496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815043474,"filename":"image_22112025_13_33_10_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d8c1a26148305e60468b0d3f7994db3.jpg","text":"TemporaryFile(/tmp/multipartBody8797304692526201131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815043474,"filename":"image_22112025_13_33_04_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702395","file1":"1395702392","file0":"1395702390","file4":"1395702405","file5":"1395702409","file3":"1395702399"},"map_files_photo_id_array":[{"photo_id":"1395702409","filename":"file5"},{"photo_id":"1395702395","filename":"file2"},{"photo_id":"1395702405","filename":"file4"},{"photo_id":"1395702392","filename":"file1"},{"photo_id":"1395702390","filename":"file0"},{"photo_id":"1395702399","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702405":["hashtag1","hashtag2"]},{"1395702395":["hashtag1","hashtag2"]},{"1395702392":["hashtag1","hashtag2"]},{"1395702409":["hashtag1","hashtag2"]},{"1395702399":["hashtag1","hashtag2"]},{"1395702390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702405, 1395702395, 1395702392, 1395702409, 1395702399, 1395702390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13432168960571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:37:02.739703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_13_2641.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_16_3639.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_19_2533.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_21_2632.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_25_3596.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_28_2499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_13_2641.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_16_3639.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_19_2533.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_21_2632.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_25_3596.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_28_2499.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702423","1395702417","1395702416","1395702418","1395702415","1395702420"],"photo_ids_order":["1395702415","1395702416","1395702417","1395702418","1395702420","1395702423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c13f35e6fd8e85bbeaa9622bc4a01d5.jpg","text":"TemporaryFile(/tmp/multipartBody9007478243928554634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815083451,"filename":"image_22112025_13_34_28_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e7476e8f5d65a079dd052de6aca95d6.jpg","text":"TemporaryFile(/tmp/multipartBody1259341186500632379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815083451,"filename":"image_22112025_13_34_19_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f4cfd833975c190ed6129c10f080405.jpg","text":"TemporaryFile(/tmp/multipartBody1341391233441660217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815083451,"filename":"image_22112025_13_34_16_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c75185b0c7a8b994bc9a9f500c1435a4.jpg","text":"TemporaryFile(/tmp/multipartBody1706932946091368920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815083451,"filename":"image_22112025_13_34_21_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f671747780b61589c444285118241fdf.jpg","text":"TemporaryFile(/tmp/multipartBody4801036316901833458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815083451,"filename":"image_22112025_13_34_13_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fab452e533e166dd762878e0a16f6a86.jpg","text":"TemporaryFile(/tmp/multipartBody7359334174688097817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815083451,"filename":"image_22112025_13_34_25_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702417","file1":"1395702416","file0":"1395702415","file4":"1395702420","file5":"1395702423","file3":"1395702418"},"map_files_photo_id_array":[{"photo_id":"1395702423","filename":"file5"},{"photo_id":"1395702417","filename":"file2"},{"photo_id":"1395702420","filename":"file4"},{"photo_id":"1395702416","filename":"file1"},{"photo_id":"1395702415","filename":"file0"},{"photo_id":"1395702418","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702423":["hashtag1","hashtag2"]},{"1395702417":["hashtag1","hashtag2"]},{"1395702416":["hashtag1","hashtag2"]},{"1395702418":["hashtag1","hashtag2"]},{"1395702415":["hashtag1","hashtag2"]},{"1395702420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702423, 1395702417, 1395702416, 1395702418, 1395702415, 1395702420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55839705467224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:37:41.991832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_31_3591.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_37_3550.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_40_2897.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_43_2545.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_46_2794.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_49_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_31_3591.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_37_3550.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_40_2897.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_43_2545.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_46_2794.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_49_3717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5545897483825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:38:02.746189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_31_3591.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_37_3550.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_40_2897.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_43_2545.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_46_2794.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_49_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_31_3591.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_37_3550.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_40_2897.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_43_2545.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_46_2794.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_49_3717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702438","1395702443","1395702440","1395702437","1395702436","1395702435"],"photo_ids_order":["1395702435","1395702436","1395702437","1395702438","1395702440","1395702443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e090a88e21eb898969319a9fddfeda2.jpg","text":"TemporaryFile(/tmp/multipartBody5606134863752965340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815143454,"filename":"image_22112025_13_34_43_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/497dfcf35408f8038388215f299972fd.jpg","text":"TemporaryFile(/tmp/multipartBody7117673160844409289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815143454,"filename":"image_22112025_13_34_49_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd6f50a009d60dc2835eb1a6245819ba.jpg","text":"TemporaryFile(/tmp/multipartBody5778016470113058911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815143454,"filename":"image_22112025_13_34_46_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a5da243955320e49cb4920dc8132088.jpg","text":"TemporaryFile(/tmp/multipartBody7857493789271746454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815143454,"filename":"image_22112025_13_34_40_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/217c7daa99bc6c8a5790ffb5204c0444.jpg","text":"TemporaryFile(/tmp/multipartBody2474138755810973143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815143454,"filename":"image_22112025_13_34_37_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b235f55ad56d08ac1167400c8b1facc.jpg","text":"TemporaryFile(/tmp/multipartBody3057050206114996634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815143454,"filename":"image_22112025_13_34_31_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702437","file1":"1395702436","file0":"1395702435","file4":"1395702440","file5":"1395702443","file3":"1395702438"},"map_files_photo_id_array":[{"photo_id":"1395702443","filename":"file5"},{"photo_id":"1395702437","filename":"file2"},{"photo_id":"1395702440","filename":"file4"},{"photo_id":"1395702436","filename":"file1"},{"photo_id":"1395702435","filename":"file0"},{"photo_id":"1395702438","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702438":["hashtag1","hashtag2"]},{"1395702443":["hashtag1","hashtag2"]},{"1395702440":["hashtag1","hashtag2"]},{"1395702437":["hashtag1","hashtag2"]},{"1395702436":["hashtag1","hashtag2"]},{"1395702435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702438, 1395702443, 1395702440, 1395702437, 1395702436, 1395702435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.882935762405396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:38:42.207533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_52_2672.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_54_2539.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_58_3656.jpg', '/home/pi/Desktop/images/22112025/13/35/image_22112025_13_35_01_2592.jpg', '/home/pi/Desktop/images/22112025/13/35/image_22112025_13_35_04_3560.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_52_2672.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_54_2539.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_58_3656.jpg
/home/pi/Desktop/images/22112025/13/35/image_22112025_13_35_01_2592.jpg
/home/pi/Desktop/images/22112025/13/35/image_22112025_13_35_04_3560.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_07_3019.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.5964443683624268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:39:03.378387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_52_2672.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_54_2539.jpg', '/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_58_3656.jpg', '/home/pi/Desktop/images/22112025/13/35/image_22112025_13_35_01_2592.jpg', '/home/pi/Desktop/images/22112025/13/35/image_22112025_13_35_04_3560.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_52_2672.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_54_2539.jpg
/home/pi/Desktop/images/22112025/13/34/image_22112025_13_34_58_3656.jpg
/home/pi/Desktop/images/22112025/13/35/image_22112025_13_35_01_2592.jpg
/home/pi/Desktop/images/22112025/13/35/image_22112025_13_35_04_3560.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_07_3019.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702461","1395702458","1395702466","1395702460","1395702463","1395702459"],"photo_ids_order":["1395702458","1395702459","1395702460","1395702461","1395702463","1395702466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e392968e9f7d342d9b30a37fada4c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6852459147326595524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815204170,"filename":"image_22112025_13_35_01_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/479d16b3a85d0b0093288f7c36fd69f4.jpg","text":"TemporaryFile(/tmp/multipartBody4782579417952889700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815204170,"filename":"image_22112025_13_34_52_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5efb88c053f27175e9f1a0182dd0c234.jpg","text":"TemporaryFile(/tmp/multipartBody8616629702995271734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815204170,"filename":"image_22112025_13_36_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67779ac2fa67756b3f858202ac9df778.jpg","text":"TemporaryFile(/tmp/multipartBody2321887914109492630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815204170,"filename":"image_22112025_13_34_58_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a31751c816919e1a6e82efebce25490.jpg","text":"TemporaryFile(/tmp/multipartBody9167030675150011193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815204170,"filename":"image_22112025_13_35_04_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/044bd65c39ccb69cc16eb2f41d86b325.jpg","text":"TemporaryFile(/tmp/multipartBody6355660215621555956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815204170,"filename":"image_22112025_13_34_54_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702460","file1":"1395702459","file0":"1395702458","file4":"1395702463","file5":"1395702466","file3":"1395702461"},"map_files_photo_id_array":[{"photo_id":"1395702466","filename":"file5"},{"photo_id":"1395702460","filename":"file2"},{"photo_id":"1395702463","filename":"file4"},{"photo_id":"1395702459","filename":"file1"},{"photo_id":"1395702458","filename":"file0"},{"photo_id":"1395702461","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702461":["hashtag1","hashtag2"]},{"1395702458":["hashtag1","hashtag2"]},{"1395702466":["hashtag1","hashtag2"]},{"1395702460":["hashtag1","hashtag2"]},{"1395702463":["hashtag1","hashtag2"]},{"1395702459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702461, 1395702458, 1395702466, 1395702460, 1395702463, 1395702459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.926084995269775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:39:42.416979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_11_3788.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_22_2702.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_26_3582.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_29_2641.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_31_2589.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_44_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_11_3788.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_22_2702.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_26_3582.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_29_2641.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_31_2589.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_44_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702479","1395702481","1395702475","1395702478","1395702477","1395702480"],"photo_ids_order":["1395702475","1395702477","1395702478","1395702479","1395702480","1395702481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ebe73a2314e51bb16a46bb0448f9f07.jpg","text":"TemporaryFile(/tmp/multipartBody7137061463066530163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815243120,"filename":"image_22112025_13_36_29_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c1cef9fe66586ddc5606fd51b554841.jpg","text":"TemporaryFile(/tmp/multipartBody824475940120370667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815243120,"filename":"image_22112025_13_36_44_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b6e871ffce4e81747ac5cd6e69066b8.jpg","text":"TemporaryFile(/tmp/multipartBody4698796119779579166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815243120,"filename":"image_22112025_13_36_11_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b265b9e416a6e59d3b6a12fa6bd0e15.jpg","text":"TemporaryFile(/tmp/multipartBody6007118261418139658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815243120,"filename":"image_22112025_13_36_26_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7757a6723cb13c079c22732a89782922.jpg","text":"TemporaryFile(/tmp/multipartBody6213508372111621333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815243120,"filename":"image_22112025_13_36_22_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2b48db70d18e73ff4f7f5aef5c19790.jpg","text":"TemporaryFile(/tmp/multipartBody3459693441917782311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815243120,"filename":"image_22112025_13_36_31_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702478","file1":"1395702477","file0":"1395702475","file4":"1395702480","file5":"1395702481","file3":"1395702479"},"map_files_photo_id_array":[{"photo_id":"1395702481","filename":"file5"},{"photo_id":"1395702478","filename":"file2"},{"photo_id":"1395702480","filename":"file4"},{"photo_id":"1395702477","filename":"file1"},{"photo_id":"1395702475","filename":"file0"},{"photo_id":"1395702479","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702479":["hashtag1","hashtag2"]},{"1395702481":["hashtag1","hashtag2"]},{"1395702475":["hashtag1","hashtag2"]},{"1395702478":["hashtag1","hashtag2"]},{"1395702477":["hashtag1","hashtag2"]},{"1395702480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702479, 1395702481, 1395702475, 1395702478, 1395702477, 1395702480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59057807922363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:40:22.581458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_46_2768.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_50_3458.jpg', '/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_55_2643.jpg', '/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_07_3019.jpg', '/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_13_2601.jpg', '/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_26_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_46_2768.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_50_3458.jpg
/home/pi/Desktop/images/22112025/13/36/image_22112025_13_36_55_2643.jpg
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_07_3019.jpg
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_13_2601.jpg
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_26_3755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702501","1395702504","1395702491","1395702484","1395702487","1395702496"],"photo_ids_order":["1395702484","1395702487","1395702491","1395702496","1395702501","1395702504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f50d9974e16a609a32fd79ff799b999c.jpg","text":"TemporaryFile(/tmp/multipartBody4627639787723145299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815283237,"filename":"image_22112025_13_38_13_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ed1721209ddc99d4905f2b1efd4e599.jpg","text":"TemporaryFile(/tmp/multipartBody5999318333693119682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815283237,"filename":"image_22112025_13_38_26_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bc6f00a700b0899259fd4993733be55.jpg","text":"TemporaryFile(/tmp/multipartBody651135691680688029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815283237,"filename":"image_22112025_13_36_55_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a7d04586f76fde699aebf49e65e1f56.jpg","text":"TemporaryFile(/tmp/multipartBody1289756378632988138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815283237,"filename":"image_22112025_13_36_46_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b82d156e989c12d1f7b7d2eaf025119.jpg","text":"TemporaryFile(/tmp/multipartBody5692643132006883836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815283237,"filename":"image_22112025_13_36_50_3458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79c3ac219c41960cc69824bc104c40e5.jpg","text":"TemporaryFile(/tmp/multipartBody5884724057841147849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815283237,"filename":"image_22112025_13_38_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702491","file1":"1395702487","file0":"1395702484","file4":"1395702501","file5":"1395702504","file3":"1395702496"},"map_files_photo_id_array":[{"photo_id":"1395702504","filename":"file5"},{"photo_id":"1395702491","filename":"file2"},{"photo_id":"1395702501","filename":"file4"},{"photo_id":"1395702487","filename":"file1"},{"photo_id":"1395702484","filename":"file0"},{"photo_id":"1395702496","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702501":["hashtag1","hashtag2"]},{"1395702504":["hashtag1","hashtag2"]},{"1395702491":["hashtag1","hashtag2"]},{"1395702484":["hashtag1","hashtag2"]},{"1395702487":["hashtag1","hashtag2"]},{"1395702496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702501, 1395702504, 1395702491, 1395702484, 1395702487, 1395702496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10281538963318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:41:02.704141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_28_2791.jpg', '/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_34_2576.jpg', '/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_37_3662.jpg', '/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_40_2586.jpg', '/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_43_3572.jpg', '/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_58_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_28_2791.jpg
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_34_2576.jpg
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_37_3662.jpg
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_40_2586.jpg
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_43_3572.jpg
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_38_58_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702507","1395702506","1395702509","1395702511","1395702514","1395702508"],"photo_ids_order":["1395702506","1395702507","1395702508","1395702509","1395702511","1395702514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/925503f4122734acfb11dea0e76fcd10.jpg","text":"TemporaryFile(/tmp/multipartBody2206777629393609550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815323388,"filename":"image_22112025_13_38_34_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0fa7df2fde486cbe3a45c44bc98f8b00.jpg","text":"TemporaryFile(/tmp/multipartBody767128449529796555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815323388,"filename":"image_22112025_13_38_28_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6cfd2fc54ad3333cc78b8cc17e299686.jpg","text":"TemporaryFile(/tmp/multipartBody3901480071522467945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815323388,"filename":"image_22112025_13_38_40_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3aa36d730b98bf868a158cd47c87ab2e.jpg","text":"TemporaryFile(/tmp/multipartBody5471777430177563421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815323388,"filename":"image_22112025_13_38_43_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9cf9a1a2e6ed6ef71fb2448ceed8b6b3.jpg","text":"TemporaryFile(/tmp/multipartBody7931094604656008977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815323388,"filename":"image_22112025_13_38_58_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce70db5001b2b0e367321d683170be34.jpg","text":"TemporaryFile(/tmp/multipartBody4086986701631229724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815323388,"filename":"image_22112025_13_38_37_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702508","file1":"1395702507","file0":"1395702506","file4":"1395702511","file5":"1395702514","file3":"1395702509"},"map_files_photo_id_array":[{"photo_id":"1395702514","filename":"file5"},{"photo_id":"1395702508","filename":"file2"},{"photo_id":"1395702511","filename":"file4"},{"photo_id":"1395702507","filename":"file1"},{"photo_id":"1395702506","filename":"file0"},{"photo_id":"1395702509","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702507":["hashtag1","hashtag2"]},{"1395702506":["hashtag1","hashtag2"]},{"1395702509":["hashtag1","hashtag2"]},{"1395702511":["hashtag1","hashtag2"]},{"1395702514":["hashtag1","hashtag2"]},{"1395702508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702507, 1395702506, 1395702509, 1395702511, 1395702514, 1395702508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0157630443573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:41:41.960102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/38/image_22112025_13_39_01_3603.jpg', '/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_07_3558.jpg', '/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_10_2663.jpg', '/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_25_2640.jpg', '/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_34_2602.jpg', '/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_40_2513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/38/image_22112025_13_39_01_3603.jpg
/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_07_3558.jpg
/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_10_2663.jpg
/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_25_2640.jpg
/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_34_2602.jpg
/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_40_2513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702525","1395702524","1395702527","1395702521","1395702523","1395702526"],"photo_ids_order":["1395702521","1395702523","1395702524","1395702525","1395702526","1395702527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/207011eefceac9b489559e7c5bc8f2df.jpg","text":"TemporaryFile(/tmp/multipartBody2613188786203657269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815362582,"filename":"image_22112025_13_39_25_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0abe8e83b280ea08eee11a2fa4d49fe.jpg","text":"TemporaryFile(/tmp/multipartBody2552278440333084254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815362582,"filename":"image_22112025_13_39_10_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/980e353ab7248848acc483dad74e646b.jpg","text":"TemporaryFile(/tmp/multipartBody5534169217330422591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815362582,"filename":"image_22112025_13_39_40_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a753cb41d1ffdbce6a67518f3d972631.jpg","text":"TemporaryFile(/tmp/multipartBody8484766773445473191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815362582,"filename":"image_22112025_13_39_01_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d86bad46a3496d58340cd12e69b25891.jpg","text":"TemporaryFile(/tmp/multipartBody7531491551797191236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815362582,"filename":"image_22112025_13_39_07_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e641e9970c8e1735dbb8b6e666cd1acd.jpg","text":"TemporaryFile(/tmp/multipartBody7555142249138305397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815362582,"filename":"image_22112025_13_39_34_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702524","file1":"1395702523","file0":"1395702521","file4":"1395702526","file5":"1395702527","file3":"1395702525"},"map_files_photo_id_array":[{"photo_id":"1395702527","filename":"file5"},{"photo_id":"1395702524","filename":"file2"},{"photo_id":"1395702526","filename":"file4"},{"photo_id":"1395702523","filename":"file1"},{"photo_id":"1395702521","filename":"file0"},{"photo_id":"1395702525","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702525":["hashtag1","hashtag2"]},{"1395702524":["hashtag1","hashtag2"]},{"1395702527":["hashtag1","hashtag2"]},{"1395702521":["hashtag1","hashtag2"]},{"1395702523":["hashtag1","hashtag2"]},{"1395702526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702525, 1395702524, 1395702527, 1395702521, 1395702523, 1395702526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.945372343063354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:42:22.320851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_55_2686.jpg', '/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_04_2582.jpg', '/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_07_2560.jpg', '/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_10_3712.jpg', '/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_16_5246.jpg', '/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_17_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/39/image_22112025_13_39_55_2686.jpg
/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_04_2582.jpg
/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_07_2560.jpg
/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_10_3712.jpg
/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_16_5246.jpg
/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_17_1576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702537","1395702545","1395702541","1395702544","1395702549","1395702534"],"photo_ids_order":["1395702534","1395702537","1395702541","1395702544","1395702545","1395702549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/265c12795f0f821383ef8c658b63b446.jpg","text":"TemporaryFile(/tmp/multipartBody1224450741813923118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815402976,"filename":"image_22112025_13_40_04_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d54482305a3c1212e6d97457a419f29f.jpg","text":"TemporaryFile(/tmp/multipartBody4632331837770736957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815402976,"filename":"image_22112025_13_40_16_5246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3de0f532ab9980c01ec40fbfc956e58d.jpg","text":"TemporaryFile(/tmp/multipartBody5559246456010287059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815402976,"filename":"image_22112025_13_40_07_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4020c52cd62a7da2a79edcac1f81f53c.jpg","text":"TemporaryFile(/tmp/multipartBody7463322714556704839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815402976,"filename":"image_22112025_13_40_10_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a7a81c91489845d7238218b85390b50.jpg","text":"TemporaryFile(/tmp/multipartBody7523576163439795970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815402976,"filename":"image_22112025_13_40_17_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09a8db4efe3d97dd8a0f73f5b165f759.jpg","text":"TemporaryFile(/tmp/multipartBody3549465404643315698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815402976,"filename":"image_22112025_13_39_55_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702541","file1":"1395702537","file0":"1395702534","file4":"1395702545","file5":"1395702549","file3":"1395702544"},"map_files_photo_id_array":[{"photo_id":"1395702549","filename":"file5"},{"photo_id":"1395702541","filename":"file2"},{"photo_id":"1395702545","filename":"file4"},{"photo_id":"1395702537","filename":"file1"},{"photo_id":"1395702534","filename":"file0"},{"photo_id":"1395702544","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702537":["hashtag1","hashtag2"]},{"1395702545":["hashtag1","hashtag2"]},{"1395702541":["hashtag1","hashtag2"]},{"1395702544":["hashtag1","hashtag2"]},{"1395702549":["hashtag1","hashtag2"]},{"1395702534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702537, 1395702545, 1395702541, 1395702544, 1395702549, 1395702534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39122748374939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:43:03.042456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_19_1669.jpg', '/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_07_3015.jpg', '/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_16_3580.jpg', '/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_22_2700.jpg', '/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_32_3582.jpg', '/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_36_4157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/40/image_22112025_13_40_19_1669.jpg
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_07_3015.jpg
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_16_3580.jpg
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_22_2700.jpg
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_32_3582.jpg
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_36_4157.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702560","1395702563","1395702557","1395702556","1395702558","1395702555"],"photo_ids_order":["1395702555","1395702556","1395702557","1395702558","1395702560","1395702563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9410c2336c90824447ede705272dae64.jpg","text":"TemporaryFile(/tmp/multipartBody2034185647732929067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815443754,"filename":"image_22112025_13_41_32_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9346f4f8323d085598645a2e8784e38.jpg","text":"TemporaryFile(/tmp/multipartBody7384084684458495222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815443754,"filename":"image_22112025_13_41_36_4157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cd6070f87887efbba280fdcf1d4a378.jpg","text":"TemporaryFile(/tmp/multipartBody7716518891007598646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815443754,"filename":"image_22112025_13_41_16_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9f9ad4426222101df20f6cf7a21e567.jpg","text":"TemporaryFile(/tmp/multipartBody1006646425176244217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815443754,"filename":"image_22112025_13_41_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f17c5cffda1078bed02d81cae4973802.jpg","text":"TemporaryFile(/tmp/multipartBody3824575047569203510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815443754,"filename":"image_22112025_13_41_22_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/055831b101924ac052ec074df5ba9731.jpg","text":"TemporaryFile(/tmp/multipartBody6343682108694897613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815443754,"filename":"image_22112025_13_40_19_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702557","file1":"1395702556","file0":"1395702555","file4":"1395702560","file5":"1395702563","file3":"1395702558"},"map_files_photo_id_array":[{"photo_id":"1395702563","filename":"file5"},{"photo_id":"1395702557","filename":"file2"},{"photo_id":"1395702560","filename":"file4"},{"photo_id":"1395702556","filename":"file1"},{"photo_id":"1395702555","filename":"file0"},{"photo_id":"1395702558","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702560":["hashtag1","hashtag2"]},{"1395702563":["hashtag1","hashtag2"]},{"1395702557":["hashtag1","hashtag2"]},{"1395702556":["hashtag1","hashtag2"]},{"1395702558":["hashtag1","hashtag2"]},{"1395702555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702560, 1395702563, 1395702557, 1395702556, 1395702558, 1395702555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81159162521362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:43:42.409000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_37_1647.jpg', '/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_44_3603.jpg', '/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_53_3670.jpg', '/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_58_2676.jpg', '/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_16_3549.jpg', '/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_31_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_37_1647.jpg
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_44_3603.jpg
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_53_3670.jpg
/home/pi/Desktop/images/22112025/13/41/image_22112025_13_41_58_2676.jpg
/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_16_3549.jpg
/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_31_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702572","1395702575","1395702569","1395702571","1395702570","1395702573"],"photo_ids_order":["1395702569","1395702570","1395702571","1395702572","1395702573","1395702575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6bc90495012fa6ee69522ba7e2bbc23.jpg","text":"TemporaryFile(/tmp/multipartBody701342937011424659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815483030,"filename":"image_22112025_13_41_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c1e4930d79096dc31295ba8c129b9a0.jpg","text":"TemporaryFile(/tmp/multipartBody7741312545119609709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815483030,"filename":"image_22112025_13_42_31_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d36b0e4719149fa7cad21d51e8f3259.jpg","text":"TemporaryFile(/tmp/multipartBody9176177573471997709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815483030,"filename":"image_22112025_13_41_37_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/548c902ead7f375b621e14e44f810424.jpg","text":"TemporaryFile(/tmp/multipartBody7486310645270180767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815483030,"filename":"image_22112025_13_41_53_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f304fcb74f023f27e9e7ccab681a2e02.jpg","text":"TemporaryFile(/tmp/multipartBody4174093263955179821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815483030,"filename":"image_22112025_13_41_44_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bba86fa64cf55344439e189e3b467cbc.jpg","text":"TemporaryFile(/tmp/multipartBody4580044394639451909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815483030,"filename":"image_22112025_13_42_16_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702571","file1":"1395702570","file0":"1395702569","file4":"1395702573","file5":"1395702575","file3":"1395702572"},"map_files_photo_id_array":[{"photo_id":"1395702575","filename":"file5"},{"photo_id":"1395702571","filename":"file2"},{"photo_id":"1395702573","filename":"file4"},{"photo_id":"1395702570","filename":"file1"},{"photo_id":"1395702569","filename":"file0"},{"photo_id":"1395702572","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702572":["hashtag1","hashtag2"]},{"1395702575":["hashtag1","hashtag2"]},{"1395702569":["hashtag1","hashtag2"]},{"1395702571":["hashtag1","hashtag2"]},{"1395702570":["hashtag1","hashtag2"]},{"1395702573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702572, 1395702575, 1395702569, 1395702571, 1395702570, 1395702573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66000843048096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:44:22.771091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_43_2507.jpg', '/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_46_3759.jpg', '/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_49_3012.jpg', '/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_52_2600.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_07_3533.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_13_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_43_2507.jpg
/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_46_3759.jpg
/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_49_3012.jpg
/home/pi/Desktop/images/22112025/13/42/image_22112025_13_42_52_2600.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_07_3533.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_13_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702583","1395702592","1395702586","1395702589","1395702580","1395702594"],"photo_ids_order":["1395702580","1395702583","1395702586","1395702589","1395702592","1395702594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f119f9f0c42c7e9ac65bc7464182a231.jpg","text":"TemporaryFile(/tmp/multipartBody6582030075954202856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815523398,"filename":"image_22112025_13_42_46_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1d75227a8e11729ee06d638696c043a.jpg","text":"TemporaryFile(/tmp/multipartBody1132964173405682682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815523398,"filename":"image_22112025_13_43_07_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4768be1d8fd50bf65198cd32eb68e39.jpg","text":"TemporaryFile(/tmp/multipartBody1991176786004697364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815523398,"filename":"image_22112025_13_42_49_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d3f2da5e59b2e064d2e5985b71809d0.jpg","text":"TemporaryFile(/tmp/multipartBody1003306241281503517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815523398,"filename":"image_22112025_13_42_52_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef1e1b91f437a89938bbb72c883788c3.jpg","text":"TemporaryFile(/tmp/multipartBody395508884580903313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815523398,"filename":"image_22112025_13_42_43_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/378a7e57ca4ff7eebd85f341afb70eaa.jpg","text":"TemporaryFile(/tmp/multipartBody3469750283022107216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815523398,"filename":"image_22112025_13_43_13_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702586","file1":"1395702583","file0":"1395702580","file4":"1395702592","file5":"1395702594","file3":"1395702589"},"map_files_photo_id_array":[{"photo_id":"1395702594","filename":"file5"},{"photo_id":"1395702586","filename":"file2"},{"photo_id":"1395702592","filename":"file4"},{"photo_id":"1395702583","filename":"file1"},{"photo_id":"1395702580","filename":"file0"},{"photo_id":"1395702589","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702583":["hashtag1","hashtag2"]},{"1395702592":["hashtag1","hashtag2"]},{"1395702586":["hashtag1","hashtag2"]},{"1395702589":["hashtag1","hashtag2"]},{"1395702580":["hashtag1","hashtag2"]},{"1395702594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702583, 1395702592, 1395702586, 1395702589, 1395702580, 1395702594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.365965604782104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:45:02.593308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_16_3808.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_25_3770.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_28_2529.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_30_2557.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_34_3612.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_37_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_16_3808.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_25_3770.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_28_2529.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_30_2557.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_34_3612.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_37_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702599","1395702596","1395702598","1395702601","1395702604","1395702597"],"photo_ids_order":["1395702596","1395702597","1395702598","1395702599","1395702601","1395702604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/855618dedf47ff93168eba88f8cba393.jpg","text":"TemporaryFile(/tmp/multipartBody4558795734335290052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815563287,"filename":"image_22112025_13_43_30_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31ca1aee70e62853ea3d8f48969a3f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1160911830293567041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815563287,"filename":"image_22112025_13_43_16_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/633fb3c7e10ec7d06ebb8648d043b39d.jpg","text":"TemporaryFile(/tmp/multipartBody7804424170862570332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815563287,"filename":"image_22112025_13_43_28_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25406d458e075105ef7777cee7fe329b.jpg","text":"TemporaryFile(/tmp/multipartBody4832502175710069953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815563287,"filename":"image_22112025_13_43_34_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e30108906c9208f3f7ff33bfff5ab68.jpg","text":"TemporaryFile(/tmp/multipartBody8176284093143426684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815563287,"filename":"image_22112025_13_43_37_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41f656e291d23193ef9d18ebf59f21d2.jpg","text":"TemporaryFile(/tmp/multipartBody9066717658129471395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815563287,"filename":"image_22112025_13_43_25_3770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702598","file1":"1395702597","file0":"1395702596","file4":"1395702601","file5":"1395702604","file3":"1395702599"},"map_files_photo_id_array":[{"photo_id":"1395702604","filename":"file5"},{"photo_id":"1395702598","filename":"file2"},{"photo_id":"1395702601","filename":"file4"},{"photo_id":"1395702597","filename":"file1"},{"photo_id":"1395702596","filename":"file0"},{"photo_id":"1395702599","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702599":["hashtag1","hashtag2"]},{"1395702596":["hashtag1","hashtag2"]},{"1395702598":["hashtag1","hashtag2"]},{"1395702601":["hashtag1","hashtag2"]},{"1395702604":["hashtag1","hashtag2"]},{"1395702597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702599, 1395702596, 1395702598, 1395702601, 1395702604, 1395702597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07061743736267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:45:41.813952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_40_3522.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_43_2507.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_46_3576.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_49_2784.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_55_2663.jpg', '/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_58_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_40_3522.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_43_2507.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_46_3576.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_49_2784.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_55_2663.jpg
/home/pi/Desktop/images/22112025/13/43/image_22112025_13_43_58_3684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702615","1395702617","1395702611","1395702614","1395702616","1395702613"],"photo_ids_order":["1395702611","1395702613","1395702614","1395702615","1395702616","1395702617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da68912485554e37d27c53946a18cf60.jpg","text":"TemporaryFile(/tmp/multipartBody2809567219647500354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815602440,"filename":"image_22112025_13_43_49_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1dceae4a791d4c7746152426e75cef84.jpg","text":"TemporaryFile(/tmp/multipartBody5957582953206962114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815602440,"filename":"image_22112025_13_43_58_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5468a59b680a1969aace143032ade04a.jpg","text":"TemporaryFile(/tmp/multipartBody2785239722198230506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815602440,"filename":"image_22112025_13_43_40_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1c5d790fec80ea712fe1adcc1f47046.jpg","text":"TemporaryFile(/tmp/multipartBody8859623761460826135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815602440,"filename":"image_22112025_13_43_46_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fdc0b77581f5167b1dcf0cbcd55cf6d.jpg","text":"TemporaryFile(/tmp/multipartBody4942855512858562165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815602440,"filename":"image_22112025_13_43_55_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d5e731d1d64532eeac4cc7515375096.jpg","text":"TemporaryFile(/tmp/multipartBody5420233900583880608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815602440,"filename":"image_22112025_13_43_43_2507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702614","file1":"1395702613","file0":"1395702611","file4":"1395702616","file5":"1395702617","file3":"1395702615"},"map_files_photo_id_array":[{"photo_id":"1395702617","filename":"file5"},{"photo_id":"1395702614","filename":"file2"},{"photo_id":"1395702616","filename":"file4"},{"photo_id":"1395702613","filename":"file1"},{"photo_id":"1395702611","filename":"file0"},{"photo_id":"1395702615","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702615":["hashtag1","hashtag2"]},{"1395702617":["hashtag1","hashtag2"]},{"1395702611":["hashtag1","hashtag2"]},{"1395702614":["hashtag1","hashtag2"]},{"1395702616":["hashtag1","hashtag2"]},{"1395702613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702615, 1395702617, 1395702611, 1395702614, 1395702616, 1395702613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.504926443099976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:46:22.049517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_07_3492.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_10_2584.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_16_2622.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_18_2678.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_22_3592.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_25_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_07_3492.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_10_2584.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_16_2622.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_18_2678.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_22_3592.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_25_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702653","1395702656","1395702650","1395702629","1395702661","1395702658"],"photo_ids_order":["1395702629","1395702650","1395702653","1395702656","1395702658","1395702661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a12c421bf0b5fec46892361072d38a86.jpg","text":"TemporaryFile(/tmp/multipartBody6325759351968907013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815642704,"filename":"image_22112025_13_44_16_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09875ff67bd10fc7ce9f68e150f430f1.jpg","text":"TemporaryFile(/tmp/multipartBody4989834869467070217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815642704,"filename":"image_22112025_13_44_18_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f98d3b7420637c3e5637ef22a22ab18a.jpg","text":"TemporaryFile(/tmp/multipartBody2841113942278645415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815642704,"filename":"image_22112025_13_44_10_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04e92c5e051eeed0532d9eb5e626b56d.jpg","text":"TemporaryFile(/tmp/multipartBody6325330786194316103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815642704,"filename":"image_22112025_13_44_07_3492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c7e0bb637c7fa7cf6fa9640ee2aa822.jpg","text":"TemporaryFile(/tmp/multipartBody5479783418366871254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815642704,"filename":"image_22112025_13_44_25_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c86ec9283ab9815373eb977f14e2676f.jpg","text":"TemporaryFile(/tmp/multipartBody6321736974354667829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815642704,"filename":"image_22112025_13_44_22_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702653","file1":"1395702650","file0":"1395702629","file4":"1395702658","file5":"1395702661","file3":"1395702656"},"map_files_photo_id_array":[{"photo_id":"1395702661","filename":"file5"},{"photo_id":"1395702653","filename":"file2"},{"photo_id":"1395702658","filename":"file4"},{"photo_id":"1395702650","filename":"file1"},{"photo_id":"1395702629","filename":"file0"},{"photo_id":"1395702656","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702653":["hashtag1","hashtag2"]},{"1395702656":["hashtag1","hashtag2"]},{"1395702650":["hashtag1","hashtag2"]},{"1395702629":["hashtag1","hashtag2"]},{"1395702661":["hashtag1","hashtag2"]},{"1395702658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702653, 1395702656, 1395702650, 1395702629, 1395702661, 1395702658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26281189918518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:47:02.987925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_28_3530.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_31_2512.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_34_3642.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_40_2557.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_43_3653.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_46_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_28_3530.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_31_2512.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_34_3642.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_40_2557.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_43_3653.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_46_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702671","1395702668","1395702665","1395702664","1395702663","1395702666"],"photo_ids_order":["1395702663","1395702664","1395702665","1395702666","1395702668","1395702671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/742e6fdb5cbfb261fd8541c39ec3be1d.jpg","text":"TemporaryFile(/tmp/multipartBody38399259721643358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815683692,"filename":"image_22112025_13_44_46_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2036e16aacfaa569c6cd532037046054.jpg","text":"TemporaryFile(/tmp/multipartBody659230005922972290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815683692,"filename":"image_22112025_13_44_43_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cefcde7fa1c878ff47eb35df82a442e.jpg","text":"TemporaryFile(/tmp/multipartBody6820068112028566541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815683692,"filename":"image_22112025_13_44_34_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e422dc636b3a2bd19c77f592792900a6.jpg","text":"TemporaryFile(/tmp/multipartBody5922291694804479136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815683692,"filename":"image_22112025_13_44_31_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbfeb5b0dc682be13e8ed983b4a8653a.jpg","text":"TemporaryFile(/tmp/multipartBody8505633184885537752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815683692,"filename":"image_22112025_13_44_28_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/652fb00fbe8746c8d3c14fe08ac10046.jpg","text":"TemporaryFile(/tmp/multipartBody6263894122601375281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815683692,"filename":"image_22112025_13_44_40_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702665","file1":"1395702664","file0":"1395702663","file4":"1395702668","file5":"1395702671","file3":"1395702666"},"map_files_photo_id_array":[{"photo_id":"1395702671","filename":"file5"},{"photo_id":"1395702665","filename":"file2"},{"photo_id":"1395702668","filename":"file4"},{"photo_id":"1395702664","filename":"file1"},{"photo_id":"1395702663","filename":"file0"},{"photo_id":"1395702666","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702671":["hashtag1","hashtag2"]},{"1395702668":["hashtag1","hashtag2"]},{"1395702665":["hashtag1","hashtag2"]},{"1395702664":["hashtag1","hashtag2"]},{"1395702663":["hashtag1","hashtag2"]},{"1395702666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702671, 1395702668, 1395702665, 1395702664, 1395702663, 1395702666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.213900089263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:47:42.273283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_52_3795.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_55_2644.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_58_2658.jpg', '/home/pi/Desktop/images/22112025/13/44/image_22112025_13_45_01_3602.jpg', '/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_06_4575.jpg', '/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_10_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_52_3795.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_55_2644.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_44_58_2658.jpg
/home/pi/Desktop/images/22112025/13/44/image_22112025_13_45_01_3602.jpg
/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_06_4575.jpg
/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_10_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702680","1395702682","1395702685","1395702679","1395702681","1395702684"],"photo_ids_order":["1395702679","1395702680","1395702681","1395702682","1395702684","1395702685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd64c75bf75e6d7088dcec7b2071d3cb.jpg","text":"TemporaryFile(/tmp/multipartBody1191310216794502800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815722902,"filename":"image_22112025_13_44_55_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ecf0b3d247eafe8258ace5468b941e2.jpg","text":"TemporaryFile(/tmp/multipartBody7313899243907757578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815722902,"filename":"image_22112025_13_45_01_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ba65adc510d122bd5e02b85b2471483.jpg","text":"TemporaryFile(/tmp/multipartBody5618721710630682717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815722902,"filename":"image_22112025_13_45_10_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/253e1b5a03ffcd72b8895b0ad0862629.jpg","text":"TemporaryFile(/tmp/multipartBody7744501910608990550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815722902,"filename":"image_22112025_13_44_52_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d973fe6ca4e97dfcb795d17504dcc142.jpg","text":"TemporaryFile(/tmp/multipartBody3012977111204927052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815722902,"filename":"image_22112025_13_44_58_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc1d7c81976b68f518d7ef74b61447a5.jpg","text":"TemporaryFile(/tmp/multipartBody7746679766935436082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815722902,"filename":"image_22112025_13_45_06_4575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702681","file1":"1395702680","file0":"1395702679","file4":"1395702684","file5":"1395702685","file3":"1395702682"},"map_files_photo_id_array":[{"photo_id":"1395702685","filename":"file5"},{"photo_id":"1395702681","filename":"file2"},{"photo_id":"1395702684","filename":"file4"},{"photo_id":"1395702680","filename":"file1"},{"photo_id":"1395702679","filename":"file0"},{"photo_id":"1395702682","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702680":["hashtag1","hashtag2"]},{"1395702682":["hashtag1","hashtag2"]},{"1395702685":["hashtag1","hashtag2"]},{"1395702679":["hashtag1","hashtag2"]},{"1395702681":["hashtag1","hashtag2"]},{"1395702684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702680, 1395702682, 1395702685, 1395702679, 1395702681, 1395702684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81340551376343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:48:22.556418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_13_2575.jpg', '/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_16_3717.jpg', '/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_19_2604.jpg', '/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_21_2573.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_06_3018.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_10_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_13_2575.jpg
/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_16_3717.jpg
/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_19_2604.jpg
/home/pi/Desktop/images/22112025/13/45/image_22112025_13_45_21_2573.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_06_3018.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_10_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702698","1395702701","1395702693","1395702687","1395702696","1395702690"],"photo_ids_order":["1395702687","1395702690","1395702693","1395702696","1395702698","1395702701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb8fcc0f952972efc22dd6b0876b6db4.jpg","text":"TemporaryFile(/tmp/multipartBody1795171800396501287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815763217,"filename":"image_22112025_13_46_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcb79691dccee355b9210acb38913965.jpg","text":"TemporaryFile(/tmp/multipartBody4135823696051717010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815763217,"filename":"image_22112025_13_46_10_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6686d9c88436f7885d1c0f35b883900a.jpg","text":"TemporaryFile(/tmp/multipartBody5887436410479300619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815763217,"filename":"image_22112025_13_45_19_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4121b80faf1f05778c7f04d56c74a8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4437774135603791407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815763217,"filename":"image_22112025_13_45_13_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0230b0488e208ea448bc704745258e05.jpg","text":"TemporaryFile(/tmp/multipartBody8757323710124107281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815763217,"filename":"image_22112025_13_45_21_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18dce5b5b59e13e1ddd8e08ef9673d92.jpg","text":"TemporaryFile(/tmp/multipartBody1520031682280929887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815763217,"filename":"image_22112025_13_45_16_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702693","file1":"1395702690","file0":"1395702687","file4":"1395702698","file5":"1395702701","file3":"1395702696"},"map_files_photo_id_array":[{"photo_id":"1395702701","filename":"file5"},{"photo_id":"1395702693","filename":"file2"},{"photo_id":"1395702698","filename":"file4"},{"photo_id":"1395702690","filename":"file1"},{"photo_id":"1395702687","filename":"file0"},{"photo_id":"1395702696","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702698":["hashtag1","hashtag2"]},{"1395702701":["hashtag1","hashtag2"]},{"1395702693":["hashtag1","hashtag2"]},{"1395702687":["hashtag1","hashtag2"]},{"1395702696":["hashtag1","hashtag2"]},{"1395702690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702698, 1395702701, 1395702693, 1395702687, 1395702696, 1395702690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.406638622283936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:49:03.671440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_13_2654.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_16_3561.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_22_2720.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_28_2614.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_34_3722.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_40_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_13_2654.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_16_3561.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_22_2720.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_28_2614.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_34_3722.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_40_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702708","1395702705","1395702710","1395702713","1395702707","1395702706"],"photo_ids_order":["1395702705","1395702706","1395702707","1395702708","1395702710","1395702713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ea9eeecdfc43de2250dd3a5cea441bf.jpg","text":"TemporaryFile(/tmp/multipartBody6475449327766361683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815804470,"filename":"image_22112025_13_46_28_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a041fe9395330e9d409a179e949bc0a.jpg","text":"TemporaryFile(/tmp/multipartBody4437834120055992131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815804470,"filename":"image_22112025_13_46_13_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85715e6246c67c94fc733bcbe5a00ab8.jpg","text":"TemporaryFile(/tmp/multipartBody2553904017913819958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815804470,"filename":"image_22112025_13_46_34_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2823f49379d5acf07cda574617fb6c91.jpg","text":"TemporaryFile(/tmp/multipartBody929403912003943669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815804470,"filename":"image_22112025_13_46_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c53b89a276140281ffe70d1ee993d5d4.jpg","text":"TemporaryFile(/tmp/multipartBody7752595034399313446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815804470,"filename":"image_22112025_13_46_22_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf503a43717eb29c92c05561a4b887a9.jpg","text":"TemporaryFile(/tmp/multipartBody5216805021375312788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815804470,"filename":"image_22112025_13_46_16_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702707","file1":"1395702706","file0":"1395702705","file4":"1395702710","file5":"1395702713","file3":"1395702708"},"map_files_photo_id_array":[{"photo_id":"1395702713","filename":"file5"},{"photo_id":"1395702707","filename":"file2"},{"photo_id":"1395702710","filename":"file4"},{"photo_id":"1395702706","filename":"file1"},{"photo_id":"1395702705","filename":"file0"},{"photo_id":"1395702708","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702708":["hashtag1","hashtag2"]},{"1395702705":["hashtag1","hashtag2"]},{"1395702710":["hashtag1","hashtag2"]},{"1395702713":["hashtag1","hashtag2"]},{"1395702707":["hashtag1","hashtag2"]},{"1395702706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702708, 1395702705, 1395702710, 1395702713, 1395702707, 1395702706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.050386905670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:49:42.771312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_43_2693.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_49_2517.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_58_2511.jpg', '/home/pi/Desktop/images/22112025/13/47/image_22112025_13_47_04_2711.jpg', '/home/pi/Desktop/images/22112025/13/47/image_22112025_13_47_15_2685.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_43_2693.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_49_2517.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_58_2511.jpg
/home/pi/Desktop/images/22112025/13/47/image_22112025_13_47_04_2711.jpg
/home/pi/Desktop/images/22112025/13/47/image_22112025_13_47_15_2685.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_07_3018.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5274507999420166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:50:02.558412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_43_2693.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_49_2517.jpg', '/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_58_2511.jpg', '/home/pi/Desktop/images/22112025/13/47/image_22112025_13_47_04_2711.jpg', '/home/pi/Desktop/images/22112025/13/47/image_22112025_13_47_15_2685.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_43_2693.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_49_2517.jpg
/home/pi/Desktop/images/22112025/13/46/image_22112025_13_46_58_2511.jpg
/home/pi/Desktop/images/22112025/13/47/image_22112025_13_47_04_2711.jpg
/home/pi/Desktop/images/22112025/13/47/image_22112025_13_47_15_2685.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_07_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702729","1395702731","1395702728","1395702733","1395702736","1395702730"],"photo_ids_order":["1395702728","1395702729","1395702730","1395702731","1395702733","1395702736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2c44a04a59f08fee73eec02785c5b73.jpg","text":"TemporaryFile(/tmp/multipartBody3394522150038851808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815863235,"filename":"image_22112025_13_46_49_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c8dbd10bf68f8f606a5b812d033eaea.jpg","text":"TemporaryFile(/tmp/multipartBody5025407054866676536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815863235,"filename":"image_22112025_13_47_04_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/688431f6cdab3b1bbc87591867e7a398.jpg","text":"TemporaryFile(/tmp/multipartBody7825600066216462860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815863235,"filename":"image_22112025_13_46_43_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9cc0202257b13baaac55857aac2054c.jpg","text":"TemporaryFile(/tmp/multipartBody8518078993410212736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815863235,"filename":"image_22112025_13_47_15_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49315569222a02278175bf055cca7d8a.jpg","text":"TemporaryFile(/tmp/multipartBody4242750079183200922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815863235,"filename":"image_22112025_13_48_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f013cb30366348a5110d5befa2d412ab.jpg","text":"TemporaryFile(/tmp/multipartBody1591458793664939966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815863235,"filename":"image_22112025_13_46_58_2511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702730","file1":"1395702729","file0":"1395702728","file4":"1395702733","file5":"1395702736","file3":"1395702731"},"map_files_photo_id_array":[{"photo_id":"1395702736","filename":"file5"},{"photo_id":"1395702730","filename":"file2"},{"photo_id":"1395702733","filename":"file4"},{"photo_id":"1395702729","filename":"file1"},{"photo_id":"1395702728","filename":"file0"},{"photo_id":"1395702731","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702729":["hashtag1","hashtag2"]},{"1395702731":["hashtag1","hashtag2"]},{"1395702728":["hashtag1","hashtag2"]},{"1395702733":["hashtag1","hashtag2"]},{"1395702736":["hashtag1","hashtag2"]},{"1395702730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702729, 1395702731, 1395702728, 1395702733, 1395702736, 1395702730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.273823976516724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:50:42.024377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_13_2579.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_17_3646.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_19_2606.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_22_2610.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_28_2509.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_31_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_13_2579.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_17_3646.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_19_2606.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_22_2610.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_28_2509.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_31_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702749","1395702743","1395702745","1395702748","1395702750","1395702747"],"photo_ids_order":["1395702743","1395702745","1395702747","1395702748","1395702749","1395702750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bddfaa0bf3a99d1fcb7225eaffaeb9a.jpg","text":"TemporaryFile(/tmp/multipartBody4812445988569702834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815902667,"filename":"image_22112025_13_48_28_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1c40581fe68e53e4cff66466536cb30.jpg","text":"TemporaryFile(/tmp/multipartBody300619849601012783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815902667,"filename":"image_22112025_13_48_13_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbace7900e4646ac89ae3faf1882d308.jpg","text":"TemporaryFile(/tmp/multipartBody8722768518922212835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815902667,"filename":"image_22112025_13_48_17_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13d39995253cb321f938b8293ab0f4c0.jpg","text":"TemporaryFile(/tmp/multipartBody2196768941677191592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815902667,"filename":"image_22112025_13_48_22_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2baa7bd3bace83587ce467a39fd94c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6533305445426052106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815902667,"filename":"image_22112025_13_48_31_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e4f9e7ad8f99a9fa08500239f9bb5be.jpg","text":"TemporaryFile(/tmp/multipartBody9200760146723084815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815902667,"filename":"image_22112025_13_48_19_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702747","file1":"1395702745","file0":"1395702743","file4":"1395702749","file5":"1395702750","file3":"1395702748"},"map_files_photo_id_array":[{"photo_id":"1395702750","filename":"file5"},{"photo_id":"1395702747","filename":"file2"},{"photo_id":"1395702749","filename":"file4"},{"photo_id":"1395702745","filename":"file1"},{"photo_id":"1395702743","filename":"file0"},{"photo_id":"1395702748","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702749":["hashtag1","hashtag2"]},{"1395702743":["hashtag1","hashtag2"]},{"1395702745":["hashtag1","hashtag2"]},{"1395702748":["hashtag1","hashtag2"]},{"1395702750":["hashtag1","hashtag2"]},{"1395702747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702749, 1395702743, 1395702745, 1395702748, 1395702750, 1395702747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.556617975234985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:51:22.247935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_35_3695.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_37_2654.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_41_3551.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_43_2547.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_49_5222.jpg', '/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_50_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_35_3695.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_37_2654.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_41_3551.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_43_2547.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_49_5222.jpg
/home/pi/Desktop/images/22112025/13/48/image_22112025_13_48_50_1691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702752","1395702764","1395702766","1395702760","1395702757","1395702762"],"photo_ids_order":["1395702752","1395702757","1395702760","1395702762","1395702764","1395702766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/000b9ec9feac3de318ae7487375bc6de.jpg","text":"TemporaryFile(/tmp/multipartBody5835750291386573303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815942900,"filename":"image_22112025_13_48_35_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1b810403b5c7cdaf67322cce5231b57.jpg","text":"TemporaryFile(/tmp/multipartBody1168537147462404791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815942900,"filename":"image_22112025_13_48_49_5222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d04f4556ee6372dfb16c5cfc51d815a0.jpg","text":"TemporaryFile(/tmp/multipartBody3775025754733128708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815942900,"filename":"image_22112025_13_48_50_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf7e2a93962f4d1d2250891d4f6efea6.jpg","text":"TemporaryFile(/tmp/multipartBody5174776983115876119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815942900,"filename":"image_22112025_13_48_41_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d9a1880c579bd22aba1cab318bf425f.jpg","text":"TemporaryFile(/tmp/multipartBody669567877366164121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815942900,"filename":"image_22112025_13_48_37_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d321bf836b11f66d14b78841b61e8da9.jpg","text":"TemporaryFile(/tmp/multipartBody51303124131621931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763815942900,"filename":"image_22112025_13_48_43_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702760","file1":"1395702757","file0":"1395702752","file4":"1395702764","file5":"1395702766","file3":"1395702762"},"map_files_photo_id_array":[{"photo_id":"1395702766","filename":"file5"},{"photo_id":"1395702760","filename":"file2"},{"photo_id":"1395702764","filename":"file4"},{"photo_id":"1395702757","filename":"file1"},{"photo_id":"1395702752","filename":"file0"},{"photo_id":"1395702762","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702752":["hashtag1","hashtag2"]},{"1395702764":["hashtag1","hashtag2"]},{"1395702766":["hashtag1","hashtag2"]},{"1395702760":["hashtag1","hashtag2"]},{"1395702757":["hashtag1","hashtag2"]},{"1395702762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702752, 1395702764, 1395702766, 1395702760, 1395702757, 1395702762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78985810279846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:52:02.956329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_02_3645.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_04_2593.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_08_3614.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_17_3701.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_19_2693.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_22_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_02_3645.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_04_2593.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_08_3614.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_17_3701.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_19_2693.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_22_2541.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5621483325958252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:52:22.494199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_02_3645.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_04_2593.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_08_3614.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_17_3701.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_19_2693.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_22_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_02_3645.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_04_2593.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_08_3614.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_17_3701.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_19_2693.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_22_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702786","1395702789","1395702780","1395702774","1395702783","1395702777"],"photo_ids_order":["1395702774","1395702777","1395702780","1395702783","1395702786","1395702789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb83e0ec3f574fab9e4a9d8dbf2579fe.jpg","text":"TemporaryFile(/tmp/multipartBody8722351238447598596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816003223,"filename":"image_22112025_13_49_19_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/453d1c17932730e0b60a686a9d2568a5.jpg","text":"TemporaryFile(/tmp/multipartBody2962135711067590205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816003223,"filename":"image_22112025_13_49_22_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4659f84ee402f744dec32b20a988e08.jpg","text":"TemporaryFile(/tmp/multipartBody5909618987759804677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816003223,"filename":"image_22112025_13_49_08_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af02362bac9b69c7ddf937f9c26f4be4.jpg","text":"TemporaryFile(/tmp/multipartBody926345906395506634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816003223,"filename":"image_22112025_13_49_02_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fd922b67d503f35260f843d5ad8d157.jpg","text":"TemporaryFile(/tmp/multipartBody2074683226194493049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816003223,"filename":"image_22112025_13_49_17_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6e0802a3e95f512bf6c6037b9f5d108.jpg","text":"TemporaryFile(/tmp/multipartBody2968565047411645264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816003223,"filename":"image_22112025_13_49_04_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702780","file1":"1395702777","file0":"1395702774","file4":"1395702786","file5":"1395702789","file3":"1395702783"},"map_files_photo_id_array":[{"photo_id":"1395702789","filename":"file5"},{"photo_id":"1395702780","filename":"file2"},{"photo_id":"1395702786","filename":"file4"},{"photo_id":"1395702777","filename":"file1"},{"photo_id":"1395702774","filename":"file0"},{"photo_id":"1395702783","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702786":["hashtag1","hashtag2"]},{"1395702789":["hashtag1","hashtag2"]},{"1395702780":["hashtag1","hashtag2"]},{"1395702774":["hashtag1","hashtag2"]},{"1395702783":["hashtag1","hashtag2"]},{"1395702777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702786, 1395702789, 1395702780, 1395702774, 1395702783, 1395702777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74539256095886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:53:04.274415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_28_2762.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_31_2638.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_34_3485.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_42_2826.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_43_1611.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_46_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_28_2762.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_31_2638.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_34_3485.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_42_2826.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_43_1611.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_46_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702791","1395702794","1395702796","1395702799","1395702793","1395702792"],"photo_ids_order":["1395702791","1395702792","1395702793","1395702794","1395702796","1395702799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/524d9fd38e8f4d5bd2c0363a693465a9.jpg","text":"TemporaryFile(/tmp/multipartBody4981559394397563337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816045184,"filename":"image_22112025_13_49_28_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dad87135f56dae1af5b43557564bad95.jpg","text":"TemporaryFile(/tmp/multipartBody962954087491257395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816045184,"filename":"image_22112025_13_49_42_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f8c633213c35f835b54d1164e04d55a.jpg","text":"TemporaryFile(/tmp/multipartBody45824272978275844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816045184,"filename":"image_22112025_13_49_43_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3269e5287182257d0cc223507192c4a.jpg","text":"TemporaryFile(/tmp/multipartBody6085428011067835007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816045184,"filename":"image_22112025_13_49_46_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/356384c29d93f48fd9e108838691293d.jpg","text":"TemporaryFile(/tmp/multipartBody4354382120261806770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816045184,"filename":"image_22112025_13_49_34_3485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d428c903f506d1b7f1e082972c1a00b2.jpg","text":"TemporaryFile(/tmp/multipartBody8489493558532217726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816045184,"filename":"image_22112025_13_49_31_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702793","file1":"1395702792","file0":"1395702791","file4":"1395702796","file5":"1395702799","file3":"1395702794"},"map_files_photo_id_array":[{"photo_id":"1395702799","filename":"file5"},{"photo_id":"1395702793","filename":"file2"},{"photo_id":"1395702796","filename":"file4"},{"photo_id":"1395702792","filename":"file1"},{"photo_id":"1395702791","filename":"file0"},{"photo_id":"1395702794","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702791":["hashtag1","hashtag2"]},{"1395702794":["hashtag1","hashtag2"]},{"1395702796":["hashtag1","hashtag2"]},{"1395702799":["hashtag1","hashtag2"]},{"1395702793":["hashtag1","hashtag2"]},{"1395702792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702791, 1395702794, 1395702796, 1395702799, 1395702793, 1395702792)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.17535638809204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:54:02.762091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_49_3684.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_52_2558.jpg', '/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_58_2519.jpg', '/home/pi/Desktop/images/22112025/13/50/image_22112025_13_50_02_3565.jpg', '/home/pi/Desktop/images/22112025/13/50/image_22112025_13_50_11_3505.jpg', '/home/pi/Desktop/images/22112025/13/50/image_22112025_13_50_13_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_49_3684.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_52_2558.jpg
/home/pi/Desktop/images/22112025/13/49/image_22112025_13_49_58_2519.jpg
/home/pi/Desktop/images/22112025/13/50/image_22112025_13_50_02_3565.jpg
/home/pi/Desktop/images/22112025/13/50/image_22112025_13_50_11_3505.jpg
/home/pi/Desktop/images/22112025/13/50/image_22112025_13_50_13_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702813","1395702815","1395702818","1395702812","1395702811","1395702810"],"photo_ids_order":["1395702810","1395702811","1395702812","1395702813","1395702815","1395702818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/119c6b47841089e7577e7e5856d73bec.jpg","text":"TemporaryFile(/tmp/multipartBody5399342605822452042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816103448,"filename":"image_22112025_13_50_02_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25664ed04aac2939efea45d072980a62.jpg","text":"TemporaryFile(/tmp/multipartBody2141342026494036920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816103448,"filename":"image_22112025_13_50_11_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd089d693170d434ea53d8a066a0e384.jpg","text":"TemporaryFile(/tmp/multipartBody8724503866917359884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816103448,"filename":"image_22112025_13_50_13_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fe8a6f0366344c197c6ec358a52ba20.jpg","text":"TemporaryFile(/tmp/multipartBody353169711582538275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816103448,"filename":"image_22112025_13_49_58_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ebc599dc792ea140e205a46b9ef4d71.jpg","text":"TemporaryFile(/tmp/multipartBody5338760545813911727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816103448,"filename":"image_22112025_13_49_52_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00b9a255840ba76f3b51cc09475313a9.jpg","text":"TemporaryFile(/tmp/multipartBody8937280135579160258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816103448,"filename":"image_22112025_13_49_49_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702812","file1":"1395702811","file0":"1395702810","file4":"1395702815","file5":"1395702818","file3":"1395702813"},"map_files_photo_id_array":[{"photo_id":"1395702818","filename":"file5"},{"photo_id":"1395702812","filename":"file2"},{"photo_id":"1395702815","filename":"file4"},{"photo_id":"1395702811","filename":"file1"},{"photo_id":"1395702810","filename":"file0"},{"photo_id":"1395702813","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702813":["hashtag1","hashtag2"]},{"1395702815":["hashtag1","hashtag2"]},{"1395702818":["hashtag1","hashtag2"]},{"1395702812":["hashtag1","hashtag2"]},{"1395702811":["hashtag1","hashtag2"]},{"1395702810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702813, 1395702815, 1395702818, 1395702812, 1395702811, 1395702810)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.997233390808105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:55:03.114942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/50/image_22112025_13_50_16_2786.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_06_3018.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_10_3760.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_19_2480.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_22_3586.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_25_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/50/image_22112025_13_50_16_2786.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_06_3018.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_10_3760.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_19_2480.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_22_3586.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_25_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702834","1395702833","1395702839","1395702832","1395702835","1395702837"],"photo_ids_order":["1395702832","1395702833","1395702834","1395702835","1395702837","1395702839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa468780371d931bbe73eff80d1ee9a7.jpg","text":"TemporaryFile(/tmp/multipartBody7235266543049064522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816163840,"filename":"image_22112025_13_51_10_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd06227a6b116f951f724986df3e9b45.jpg","text":"TemporaryFile(/tmp/multipartBody6150842218235597873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816163840,"filename":"image_22112025_13_51_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3c413f4cdfbab31040803de38235d81.jpg","text":"TemporaryFile(/tmp/multipartBody7881697654701956839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816163840,"filename":"image_22112025_13_51_25_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a13d6d5f7e737f64173724bea135d154.jpg","text":"TemporaryFile(/tmp/multipartBody5753276726437498076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816163840,"filename":"image_22112025_13_50_16_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d11047ef559e007beca26cb9b3735e6.jpg","text":"TemporaryFile(/tmp/multipartBody3030649949676854159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816163840,"filename":"image_22112025_13_51_19_2480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/032e70d0fd736c057b1aba3ed75c52d9.jpg","text":"TemporaryFile(/tmp/multipartBody1687824492031239432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816163840,"filename":"image_22112025_13_51_22_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702834","file1":"1395702833","file0":"1395702832","file4":"1395702837","file5":"1395702839","file3":"1395702835"},"map_files_photo_id_array":[{"photo_id":"1395702839","filename":"file5"},{"photo_id":"1395702834","filename":"file2"},{"photo_id":"1395702837","filename":"file4"},{"photo_id":"1395702833","filename":"file1"},{"photo_id":"1395702832","filename":"file0"},{"photo_id":"1395702835","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702834":["hashtag1","hashtag2"]},{"1395702833":["hashtag1","hashtag2"]},{"1395702839":["hashtag1","hashtag2"]},{"1395702832":["hashtag1","hashtag2"]},{"1395702835":["hashtag1","hashtag2"]},{"1395702837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702834, 1395702833, 1395702839, 1395702832, 1395702835, 1395702837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49898290634155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:55:42.396683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_31_3646.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_34_2635.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_37_2610.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_40_3762.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_43_2537.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_46_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_31_3646.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_34_2635.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_37_2610.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_40_3762.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_43_2537.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_46_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702854","1395702857","1395702850","1395702847","1395702856","1395702852"],"photo_ids_order":["1395702847","1395702850","1395702852","1395702854","1395702856","1395702857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9475a2a5dc7f2897c9f230049f45db4.jpg","text":"TemporaryFile(/tmp/multipartBody6225697283379460642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816203023,"filename":"image_22112025_13_51_40_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98e0c934859e7d0489cb7081d527ed32.jpg","text":"TemporaryFile(/tmp/multipartBody523576201514753771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816203023,"filename":"image_22112025_13_51_46_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf42cfbe4f28bbe23ab304955742b004.jpg","text":"TemporaryFile(/tmp/multipartBody4375390749817231194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816203023,"filename":"image_22112025_13_51_34_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6389f1fadf560905720b6d48da1dfebf.jpg","text":"TemporaryFile(/tmp/multipartBody2219212934776637655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816203023,"filename":"image_22112025_13_51_31_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23bc43390aa7188f4220d893f203cf18.jpg","text":"TemporaryFile(/tmp/multipartBody8201255644135010624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816203023,"filename":"image_22112025_13_51_43_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81b7032c9a21fc65ba41ed0ee2b113c6.jpg","text":"TemporaryFile(/tmp/multipartBody1542225427584973244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816203023,"filename":"image_22112025_13_51_37_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702852","file1":"1395702850","file0":"1395702847","file4":"1395702856","file5":"1395702857","file3":"1395702854"},"map_files_photo_id_array":[{"photo_id":"1395702857","filename":"file5"},{"photo_id":"1395702852","filename":"file2"},{"photo_id":"1395702856","filename":"file4"},{"photo_id":"1395702850","filename":"file1"},{"photo_id":"1395702847","filename":"file0"},{"photo_id":"1395702854","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702854":["hashtag1","hashtag2"]},{"1395702857":["hashtag1","hashtag2"]},{"1395702850":["hashtag1","hashtag2"]},{"1395702847":["hashtag1","hashtag2"]},{"1395702856":["hashtag1","hashtag2"]},{"1395702852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702854, 1395702857, 1395702850, 1395702847, 1395702856, 1395702852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85882830619812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:56:22.599178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_49_3682.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_52_2619.jpg', '/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_55_2648.jpg', '/home/pi/Desktop/images/22112025/13/52/image_22112025_13_52_01_2584.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_07_3018.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_10_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_49_3682.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_52_2619.jpg
/home/pi/Desktop/images/22112025/13/51/image_22112025_13_51_55_2648.jpg
/home/pi/Desktop/images/22112025/13/52/image_22112025_13_52_01_2584.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_07_3018.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_10_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702875","1395702873","1395702867","1395702876","1395702861","1395702864"],"photo_ids_order":["1395702861","1395702864","1395702867","1395702873","1395702875","1395702876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fc1f5b98f09abcddeaaa42dba52c7ea.jpg","text":"TemporaryFile(/tmp/multipartBody924598148016955557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816244281,"filename":"image_22112025_13_53_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f986dead6028a4c210f8f55b83941833.jpg","text":"TemporaryFile(/tmp/multipartBody8919464479578796477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816244281,"filename":"image_22112025_13_52_01_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b07bddc8d068190c68de3e0c12990ffc.jpg","text":"TemporaryFile(/tmp/multipartBody5871325238723974338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816244281,"filename":"image_22112025_13_51_55_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66b729cd284c9be6ef7bfb733bb710b2.jpg","text":"TemporaryFile(/tmp/multipartBody2047746677902509952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816244281,"filename":"image_22112025_13_53_10_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/950ebc927eddb36a8964257ab79b9319.jpg","text":"TemporaryFile(/tmp/multipartBody2807704641440604057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816244281,"filename":"image_22112025_13_51_49_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8cf54a7edbb398532e09b89a6f2df8d.jpg","text":"TemporaryFile(/tmp/multipartBody1539571427478591833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816244281,"filename":"image_22112025_13_51_52_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702867","file1":"1395702864","file0":"1395702861","file4":"1395702875","file5":"1395702876","file3":"1395702873"},"map_files_photo_id_array":[{"photo_id":"1395702876","filename":"file5"},{"photo_id":"1395702867","filename":"file2"},{"photo_id":"1395702875","filename":"file4"},{"photo_id":"1395702864","filename":"file1"},{"photo_id":"1395702861","filename":"file0"},{"photo_id":"1395702873","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702875":["hashtag1","hashtag2"]},{"1395702873":["hashtag1","hashtag2"]},{"1395702867":["hashtag1","hashtag2"]},{"1395702876":["hashtag1","hashtag2"]},{"1395702861":["hashtag1","hashtag2"]},{"1395702864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702875, 1395702873, 1395702867, 1395702876, 1395702861, 1395702864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61147451400757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:57:02.472643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_13_2636.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_17_3658.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_19_2710.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_22_2574.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_26_3775.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_28_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_13_2636.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_17_3658.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_19_2710.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_22_2574.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_26_3775.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_28_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702878","1395702880","1395702883","1395702885","1395702888","1395702882"],"photo_ids_order":["1395702878","1395702880","1395702882","1395702883","1395702885","1395702888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d06d74910c5f61a2b71e3930de04a24a.jpg","text":"TemporaryFile(/tmp/multipartBody5165919082382810325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816283209,"filename":"image_22112025_13_53_13_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef289730b0e245a7d90bf49f687eef16.jpg","text":"TemporaryFile(/tmp/multipartBody3516118093076581499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816283209,"filename":"image_22112025_13_53_17_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68db033546f4b90fc97f1bd23d57b94b.jpg","text":"TemporaryFile(/tmp/multipartBody7057669357257145863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816283209,"filename":"image_22112025_13_53_22_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb49feee93f7d775d99ac12d95694b79.jpg","text":"TemporaryFile(/tmp/multipartBody7586108598159004161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816283209,"filename":"image_22112025_13_53_26_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93195afac48c9fcc3712a9bf58d896b9.jpg","text":"TemporaryFile(/tmp/multipartBody4934796538838488636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816283209,"filename":"image_22112025_13_53_28_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b7ed88c140b716ee9c8a5989a375bb0.jpg","text":"TemporaryFile(/tmp/multipartBody2999627624317677214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816283209,"filename":"image_22112025_13_53_19_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702882","file1":"1395702880","file0":"1395702878","file4":"1395702885","file5":"1395702888","file3":"1395702883"},"map_files_photo_id_array":[{"photo_id":"1395702888","filename":"file5"},{"photo_id":"1395702882","filename":"file2"},{"photo_id":"1395702885","filename":"file4"},{"photo_id":"1395702880","filename":"file1"},{"photo_id":"1395702878","filename":"file0"},{"photo_id":"1395702883","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702878":["hashtag1","hashtag2"]},{"1395702880":["hashtag1","hashtag2"]},{"1395702883":["hashtag1","hashtag2"]},{"1395702885":["hashtag1","hashtag2"]},{"1395702888":["hashtag1","hashtag2"]},{"1395702882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702878, 1395702880, 1395702883, 1395702885, 1395702888, 1395702882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10614347457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:57:41.773243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_31_2616.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_35_3622.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_40_2660.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_46_2714.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_50_3411.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_52_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_31_2616.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_35_3622.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_40_2660.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_46_2714.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_50_3411.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_52_2662.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395702900","1395702899","1395702895","1395702898","1395702901","1395702897"],"photo_ids_order":["1395702895","1395702897","1395702898","1395702899","1395702900","1395702901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/685e23fcd6641be1eb375032b1da2f42.jpg","text":"TemporaryFile(/tmp/multipartBody8845683436949717889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816322418,"filename":"image_22112025_13_53_50_3411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cde15230213f1ef33bd7d286a52ac56e.jpg","text":"TemporaryFile(/tmp/multipartBody6561000590315287216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816322418,"filename":"image_22112025_13_53_46_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b375bab66f69fe432de1419c07b66837.jpg","text":"TemporaryFile(/tmp/multipartBody132084402346969720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816322418,"filename":"image_22112025_13_53_31_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50c024d4c33f84b22a39c2610019f7c4.jpg","text":"TemporaryFile(/tmp/multipartBody3131247227193443357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816322418,"filename":"image_22112025_13_53_40_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b788938b034d29b45bc7e62ca76617f.jpg","text":"TemporaryFile(/tmp/multipartBody4067583296093469717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816322418,"filename":"image_22112025_13_53_52_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13371a82f7099b53e4785adaa8ccc9db.jpg","text":"TemporaryFile(/tmp/multipartBody1835666276001568181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816322418,"filename":"image_22112025_13_53_35_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395702898","file1":"1395702897","file0":"1395702895","file4":"1395702900","file5":"1395702901","file3":"1395702899"},"map_files_photo_id_array":[{"photo_id":"1395702901","filename":"file5"},{"photo_id":"1395702898","filename":"file2"},{"photo_id":"1395702900","filename":"file4"},{"photo_id":"1395702897","filename":"file1"},{"photo_id":"1395702895","filename":"file0"},{"photo_id":"1395702899","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395702900":["hashtag1","hashtag2"]},{"1395702899":["hashtag1","hashtag2"]},{"1395702895":["hashtag1","hashtag2"]},{"1395702898":["hashtag1","hashtag2"]},{"1395702901":["hashtag1","hashtag2"]},{"1395702897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395702900, 1395702899, 1395702895, 1395702898, 1395702901, 1395702897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.552911043167114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 13:59:02.981376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_56_3401.jpg', '/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_58_2633.jpg', '/home/pi/Desktop/images/22112025/13/54/image_22112025_13_54_01_2535.jpg', '/home/pi/Desktop/images/22112025/13/54/image_22112025_13_54_05_3805.jpg', '/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_07_3019.jpg', '/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_10_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_56_3401.jpg
/home/pi/Desktop/images/22112025/13/53/image_22112025_13_53_58_2633.jpg
/home/pi/Desktop/images/22112025/13/54/image_22112025_13_54_01_2535.jpg
/home/pi/Desktop/images/22112025/13/54/image_22112025_13_54_05_3805.jpg
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_07_3019.jpg
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_10_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703145","1395703141","1395703179","1395703146","1395703137","1395703212"],"photo_ids_order":["1395703137","1395703141","1395703145","1395703146","1395703179","1395703212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02558b93871ae2e56b9739eb77a236c3.jpg","text":"TemporaryFile(/tmp/multipartBody5794295995997969167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816403805,"filename":"image_22112025_13_54_01_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c27724b5b26f0d81fd98bb730a9714a1.jpg","text":"TemporaryFile(/tmp/multipartBody5172412780840993849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816403805,"filename":"image_22112025_13_53_58_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96b8556f23b022d8fa26174eeb657c41.jpg","text":"TemporaryFile(/tmp/multipartBody6726711059236746623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816403805,"filename":"image_22112025_13_55_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01211d0d8c1179a3039188cf72f13201.jpg","text":"TemporaryFile(/tmp/multipartBody3359501308743875874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816403805,"filename":"image_22112025_13_54_05_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46d4d995131683fe9bcbeb1536816376.jpg","text":"TemporaryFile(/tmp/multipartBody4826634010051513870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816403805,"filename":"image_22112025_13_53_56_3401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7307330f0991379c022238cdba39e581.jpg","text":"TemporaryFile(/tmp/multipartBody2122701542771113848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816403805,"filename":"image_22112025_13_55_10_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703145","file1":"1395703141","file0":"1395703137","file4":"1395703179","file5":"1395703212","file3":"1395703146"},"map_files_photo_id_array":[{"photo_id":"1395703212","filename":"file5"},{"photo_id":"1395703145","filename":"file2"},{"photo_id":"1395703179","filename":"file4"},{"photo_id":"1395703141","filename":"file1"},{"photo_id":"1395703137","filename":"file0"},{"photo_id":"1395703146","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703145":["hashtag1","hashtag2"]},{"1395703141":["hashtag1","hashtag2"]},{"1395703179":["hashtag1","hashtag2"]},{"1395703146":["hashtag1","hashtag2"]},{"1395703137":["hashtag1","hashtag2"]},{"1395703212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703145, 1395703141, 1395703179, 1395703146, 1395703137, 1395703212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21798396110535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 13:59:42.198265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_17_3556.jpg', '/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_19_2519.jpg', '/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_22_2567.jpg', '/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_28_2629.jpg', '/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_32_3708.jpg', '/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_43_9126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_17_3556.jpg
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_19_2519.jpg
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_22_2567.jpg
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_28_2629.jpg
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_32_3708.jpg
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_43_9126.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703265","1395703270","1395703267","1395703261","1395703263","1395703272"],"photo_ids_order":["1395703261","1395703263","1395703265","1395703267","1395703270","1395703272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84a04473fddc414189659f101db05c08.jpg","text":"TemporaryFile(/tmp/multipartBody2329969609333958947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816442841,"filename":"image_22112025_13_55_22_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8eb5fdffb0418b145dbc0d14b02a1991.jpg","text":"TemporaryFile(/tmp/multipartBody5877325559242701759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816442841,"filename":"image_22112025_13_55_32_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a601645d54b13d6a363e5167d92edb7.jpg","text":"TemporaryFile(/tmp/multipartBody8530195552845237311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816442841,"filename":"image_22112025_13_55_28_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f776f5a64aaa32b4bfc563651087696.jpg","text":"TemporaryFile(/tmp/multipartBody4527054521356134479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816442841,"filename":"image_22112025_13_55_17_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/785c36aa6446f7bf3dd41167f0b9b4e0.jpg","text":"TemporaryFile(/tmp/multipartBody5069934028309505443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816442841,"filename":"image_22112025_13_55_19_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c0479b04095af459551280dcf52cf8c.jpg","text":"TemporaryFile(/tmp/multipartBody1166987428483677076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816442841,"filename":"image_22112025_13_55_43_9126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703265","file1":"1395703263","file0":"1395703261","file4":"1395703270","file5":"1395703272","file3":"1395703267"},"map_files_photo_id_array":[{"photo_id":"1395703272","filename":"file5"},{"photo_id":"1395703265","filename":"file2"},{"photo_id":"1395703270","filename":"file4"},{"photo_id":"1395703263","filename":"file1"},{"photo_id":"1395703261","filename":"file0"},{"photo_id":"1395703267","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703265":["hashtag1","hashtag2"]},{"1395703270":["hashtag1","hashtag2"]},{"1395703267":["hashtag1","hashtag2"]},{"1395703261":["hashtag1","hashtag2"]},{"1395703263":["hashtag1","hashtag2"]},{"1395703272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703265, 1395703270, 1395703267, 1395703261, 1395703263, 1395703272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79154849052429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:00:22.405593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_47_1639.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_07_3011.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_10_3587.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_13_2640.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_17_3661.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_20_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/55/image_22112025_13_55_47_1639.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_07_3011.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_10_3587.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_13_2640.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_17_3661.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_20_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703283","1395703285","1395703279","1395703281","1395703287","1395703286"],"photo_ids_order":["1395703279","1395703281","1395703283","1395703285","1395703286","1395703287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed095b67cb92f88bdbae12602f8125c3.jpg","text":"TemporaryFile(/tmp/multipartBody6530875896038751866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816483050,"filename":"image_22112025_13_57_10_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8f3026d2eff7a4c983b336aa7e5c7ad.jpg","text":"TemporaryFile(/tmp/multipartBody8503182956875926039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816483050,"filename":"image_22112025_13_57_13_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc0a852746de4c102a2a885f46962301.jpg","text":"TemporaryFile(/tmp/multipartBody7266427314058661927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816483050,"filename":"image_22112025_13_55_47_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5bf83fc685f3bc2435530454b5367f8.jpg","text":"TemporaryFile(/tmp/multipartBody38323301987075426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816483050,"filename":"image_22112025_13_57_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cc47ede61be8c0807e34f79bd74d556.jpg","text":"TemporaryFile(/tmp/multipartBody4130710970916203008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816483050,"filename":"image_22112025_13_57_20_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e87fb09daa4c2a7d691fc41b7c329b14.jpg","text":"TemporaryFile(/tmp/multipartBody4950113683526927661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816483050,"filename":"image_22112025_13_57_17_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703283","file1":"1395703281","file0":"1395703279","file4":"1395703286","file5":"1395703287","file3":"1395703285"},"map_files_photo_id_array":[{"photo_id":"1395703287","filename":"file5"},{"photo_id":"1395703283","filename":"file2"},{"photo_id":"1395703286","filename":"file4"},{"photo_id":"1395703281","filename":"file1"},{"photo_id":"1395703279","filename":"file0"},{"photo_id":"1395703285","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703283":["hashtag1","hashtag2"]},{"1395703285":["hashtag1","hashtag2"]},{"1395703279":["hashtag1","hashtag2"]},{"1395703281":["hashtag1","hashtag2"]},{"1395703287":["hashtag1","hashtag2"]},{"1395703286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703283, 1395703285, 1395703279, 1395703281, 1395703287, 1395703286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63529992103577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:01:03.055328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_22_2501.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_25_3364.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_28_2558.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_32_3675.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_34_2575.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_38_3499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_22_2501.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_25_3364.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_28_2558.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_32_3675.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_34_2575.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_38_3499.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703325","1395703318","1395703327","1395703326","1395703329","1395703308"],"photo_ids_order":["1395703308","1395703318","1395703325","1395703326","1395703327","1395703329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/563a4ac98e58584fc85b9693deb7129c.jpg","text":"TemporaryFile(/tmp/multipartBody3652036036416356572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816523774,"filename":"image_22112025_13_57_28_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc40d06663eb40d3e17680b9542f0a73.jpg","text":"TemporaryFile(/tmp/multipartBody1272591116376565442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816523774,"filename":"image_22112025_13_57_25_3364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0029f1e4bde0dc5b0605750a9480de22.jpg","text":"TemporaryFile(/tmp/multipartBody3461088107102013454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816523774,"filename":"image_22112025_13_57_34_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33d1318834d8ac11efea573bb70a8f27.jpg","text":"TemporaryFile(/tmp/multipartBody2903416006936770218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816523774,"filename":"image_22112025_13_57_32_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a432322498c3eafe75b63e77619aed10.jpg","text":"TemporaryFile(/tmp/multipartBody2742123969094408405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816523774,"filename":"image_22112025_13_57_38_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a16ea955338d0b0633b87172ef2acf00.jpg","text":"TemporaryFile(/tmp/multipartBody4561340341733961939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816523774,"filename":"image_22112025_13_57_22_2501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703325","file1":"1395703318","file0":"1395703308","file4":"1395703327","file5":"1395703329","file3":"1395703326"},"map_files_photo_id_array":[{"photo_id":"1395703329","filename":"file5"},{"photo_id":"1395703325","filename":"file2"},{"photo_id":"1395703327","filename":"file4"},{"photo_id":"1395703318","filename":"file1"},{"photo_id":"1395703308","filename":"file0"},{"photo_id":"1395703326","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703325":["hashtag1","hashtag2"]},{"1395703318":["hashtag1","hashtag2"]},{"1395703327":["hashtag1","hashtag2"]},{"1395703326":["hashtag1","hashtag2"]},{"1395703329":["hashtag1","hashtag2"]},{"1395703308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703325, 1395703318, 1395703327, 1395703326, 1395703329, 1395703308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96672964096069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:01:42.428898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_43_2592.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_46_3503.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_49_2545.jpg', '/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_53_3797.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_06_3011.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_10_3520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_43_2592.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_46_3503.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_49_2545.jpg
/home/pi/Desktop/images/22112025/13/57/image_22112025_13_57_53_3797.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_06_3011.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_10_3520.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703340","1395703346","1395703342","1395703345","1395703344","1395703338"],"photo_ids_order":["1395703338","1395703340","1395703342","1395703344","1395703345","1395703346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da9a09814bfa91929a5088dc50dbaff6.jpg","text":"TemporaryFile(/tmp/multipartBody2021847600227850119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816563088,"filename":"image_22112025_13_57_46_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2eb5dc6dddd7b6e25c76704d0605d90.jpg","text":"TemporaryFile(/tmp/multipartBody5563328954747271389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816563088,"filename":"image_22112025_13_59_10_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9cafce7cfea61a96c157cb6b76927eae.jpg","text":"TemporaryFile(/tmp/multipartBody1389764703248926385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816563088,"filename":"image_22112025_13_57_49_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1387ef79482af42e3543e42545bc6474.jpg","text":"TemporaryFile(/tmp/multipartBody5172238882675860190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816563088,"filename":"image_22112025_13_59_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8735e4b17be1a7f8353c1b26c1b530b.jpg","text":"TemporaryFile(/tmp/multipartBody5277537376952554175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816563088,"filename":"image_22112025_13_57_53_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fd7aa05d3d929d79092cf9c298d77b9.jpg","text":"TemporaryFile(/tmp/multipartBody4564463882040378791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816563088,"filename":"image_22112025_13_57_43_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703342","file1":"1395703340","file0":"1395703338","file4":"1395703345","file5":"1395703346","file3":"1395703344"},"map_files_photo_id_array":[{"photo_id":"1395703346","filename":"file5"},{"photo_id":"1395703342","filename":"file2"},{"photo_id":"1395703345","filename":"file4"},{"photo_id":"1395703340","filename":"file1"},{"photo_id":"1395703338","filename":"file0"},{"photo_id":"1395703344","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703340":["hashtag1","hashtag2"]},{"1395703346":["hashtag1","hashtag2"]},{"1395703342":["hashtag1","hashtag2"]},{"1395703345":["hashtag1","hashtag2"]},{"1395703344":["hashtag1","hashtag2"]},{"1395703338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703340, 1395703346, 1395703342, 1395703345, 1395703344, 1395703338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16725564002991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:02:22.660533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_13_3667.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_15_1868.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_25_3591.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_28_2762.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_30_2528.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_36_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_13_3667.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_15_1868.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_25_3591.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_28_2762.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_30_2528.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_36_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703556","1395703520","1395703364","1395703445","1395703483","1395703405"],"photo_ids_order":["1395703364","1395703405","1395703445","1395703483","1395703520","1395703556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da3a9fb969177d96f454669911ea07bf.jpg","text":"TemporaryFile(/tmp/multipartBody3353589650649868541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816603320,"filename":"image_22112025_13_59_36_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b53d9d044f56a3f6450dfcb9d1fad28f.jpg","text":"TemporaryFile(/tmp/multipartBody7926046252964405846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816603320,"filename":"image_22112025_13_59_30_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf3e99aef6327b3d371f36d4b0243a44.jpg","text":"TemporaryFile(/tmp/multipartBody28964590746081427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816603320,"filename":"image_22112025_13_59_13_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed32354e39e9a8b0c0aacf4cab44eed2.jpg","text":"TemporaryFile(/tmp/multipartBody8923429208550767467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816603320,"filename":"image_22112025_13_59_25_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/554022f5c5973b6907117e867afa9735.jpg","text":"TemporaryFile(/tmp/multipartBody3376931044199245208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816603320,"filename":"image_22112025_13_59_28_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c9c368c7373380972ea2cdb4eabaaab.jpg","text":"TemporaryFile(/tmp/multipartBody2840232760805213543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816603320,"filename":"image_22112025_13_59_15_1868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703445","file1":"1395703405","file0":"1395703364","file4":"1395703520","file5":"1395703556","file3":"1395703483"},"map_files_photo_id_array":[{"photo_id":"1395703556","filename":"file5"},{"photo_id":"1395703445","filename":"file2"},{"photo_id":"1395703520","filename":"file4"},{"photo_id":"1395703405","filename":"file1"},{"photo_id":"1395703364","filename":"file0"},{"photo_id":"1395703483","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703556":["hashtag1","hashtag2"]},{"1395703520":["hashtag1","hashtag2"]},{"1395703364":["hashtag1","hashtag2"]},{"1395703445":["hashtag1","hashtag2"]},{"1395703483":["hashtag1","hashtag2"]},{"1395703405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703556, 1395703520, 1395703364, 1395703445, 1395703483, 1395703405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57677507400513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:03:02.627066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_39_2689.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_45_2556.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_49_3611.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_55_3575.jpg', '/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_58_2687.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_39_2689.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_45_2556.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_49_3611.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_55_3575.jpg
/home/pi/Desktop/images/22112025/13/59/image_22112025_13_59_58_2687.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703712","1395703711","1395703729","1395703698","1395703767","1395703763"],"photo_ids_order":["1395703698","1395703711","1395703712","1395703729","1395703763","1395703767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf26472f3c13360864b0a17dfd670f2d.jpg","text":"TemporaryFile(/tmp/multipartBody1065299202033932383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816643336,"filename":"image_22112025_13_59_49_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4448ddfecc0900fead9f468c88d8c38f.jpg","text":"TemporaryFile(/tmp/multipartBody4180192617136158721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816643336,"filename":"image_22112025_13_59_45_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a260e562f6140414229d3c76834b033.jpg","text":"TemporaryFile(/tmp/multipartBody6738886448768122331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816643336,"filename":"image_22112025_13_59_55_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/036de69304ae1dd8183af40c917f9c78.jpg","text":"TemporaryFile(/tmp/multipartBody2985417373064517755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816643336,"filename":"image_22112025_13_59_39_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e95259f9a0a109dbd5e9b43628931c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8984165798099132910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816643336,"filename":"image_22112025_14_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5d264bc647d17b177d6b18b4333fc86.jpg","text":"TemporaryFile(/tmp/multipartBody6611811071805639104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816643336,"filename":"image_22112025_13_59_58_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703712","file1":"1395703711","file0":"1395703698","file4":"1395703763","file5":"1395703767","file3":"1395703729"},"map_files_photo_id_array":[{"photo_id":"1395703767","filename":"file5"},{"photo_id":"1395703712","filename":"file2"},{"photo_id":"1395703763","filename":"file4"},{"photo_id":"1395703711","filename":"file1"},{"photo_id":"1395703698","filename":"file0"},{"photo_id":"1395703729","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703712":["hashtag1","hashtag2"]},{"1395703711":["hashtag1","hashtag2"]},{"1395703729":["hashtag1","hashtag2"]},{"1395703698":["hashtag1","hashtag2"]},{"1395703767":["hashtag1","hashtag2"]},{"1395703763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703712, 1395703711, 1395703729, 1395703698, 1395703767, 1395703763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.838170289993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:03:41.882050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_10_3653.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_13_2736.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_17_3563.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_19_2610.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_22_2660.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_25_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_10_3653.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_13_2736.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_17_3563.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_19_2610.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_22_2660.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_25_3576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.530491828918457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:04:02.852136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_10_3653.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_13_2736.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_17_3563.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_19_2610.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_22_2660.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_25_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_10_3653.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_13_2736.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_17_3563.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_19_2610.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_22_2660.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_25_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703850","1395703853","1395703847","1395703846","1395703848","1395703845"],"photo_ids_order":["1395703845","1395703846","1395703847","1395703848","1395703850","1395703853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb5611971740c4cd5793101d69572d74.jpg","text":"TemporaryFile(/tmp/multipartBody908731000170973362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816703663,"filename":"image_22112025_14_01_22_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c99d4f8280a46c2ef45b724d614f4484.jpg","text":"TemporaryFile(/tmp/multipartBody3774291597441239406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816703663,"filename":"image_22112025_14_01_25_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e95cebb422f7b12c0f1e8f187c0be20.jpg","text":"TemporaryFile(/tmp/multipartBody7390310812957572499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816703663,"filename":"image_22112025_14_01_17_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff631715eab0a5151a57e2c8fa435c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2617117273503843260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816703663,"filename":"image_22112025_14_01_13_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81ce9adce8ef9854a5d34155ac30678b.jpg","text":"TemporaryFile(/tmp/multipartBody8135091920887006769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816703663,"filename":"image_22112025_14_01_19_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8e25b111885029ccfcc0fc1e335d968.jpg","text":"TemporaryFile(/tmp/multipartBody7186070693378685428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816703663,"filename":"image_22112025_14_01_10_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703847","file1":"1395703846","file0":"1395703845","file4":"1395703850","file5":"1395703853","file3":"1395703848"},"map_files_photo_id_array":[{"photo_id":"1395703853","filename":"file5"},{"photo_id":"1395703847","filename":"file2"},{"photo_id":"1395703850","filename":"file4"},{"photo_id":"1395703846","filename":"file1"},{"photo_id":"1395703845","filename":"file0"},{"photo_id":"1395703848","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703850":["hashtag1","hashtag2"]},{"1395703853":["hashtag1","hashtag2"]},{"1395703847":["hashtag1","hashtag2"]},{"1395703846":["hashtag1","hashtag2"]},{"1395703848":["hashtag1","hashtag2"]},{"1395703845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703850, 1395703853, 1395703847, 1395703846, 1395703848, 1395703845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34000754356384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:04:42.083855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_28_2625.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_31_2668.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_34_3581.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_45_11154.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_47_1484.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_49_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_28_2625.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_31_2668.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_34_3581.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_45_11154.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_47_1484.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_49_1591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703882","1395703861","1395703864","1395703863","1395703877","1395703862"],"photo_ids_order":["1395703861","1395703862","1395703863","1395703864","1395703877","1395703882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f6a690d139b3e5aba4c6147e4f98ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5905849314875052085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816742733,"filename":"image_22112025_14_01_49_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12a70802aa302a159d1386f86607da32.jpg","text":"TemporaryFile(/tmp/multipartBody4706176724085385459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816742733,"filename":"image_22112025_14_01_28_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f16d5fc2ca68bdd92d9c90aee30387e1.jpg","text":"TemporaryFile(/tmp/multipartBody7491128646636477717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816742733,"filename":"image_22112025_14_01_45_11154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58d52d82ace1e84f632c2833d6340ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2246838060932208683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816742733,"filename":"image_22112025_14_01_34_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29a5a827340c81344c64548a137d471d.jpg","text":"TemporaryFile(/tmp/multipartBody6596333315317679557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816742733,"filename":"image_22112025_14_01_47_1484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5964db24c81f00d980ade72d8fb932cb.jpg","text":"TemporaryFile(/tmp/multipartBody84047139543624693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816742733,"filename":"image_22112025_14_01_31_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703863","file1":"1395703862","file0":"1395703861","file4":"1395703877","file5":"1395703882","file3":"1395703864"},"map_files_photo_id_array":[{"photo_id":"1395703882","filename":"file5"},{"photo_id":"1395703863","filename":"file2"},{"photo_id":"1395703877","filename":"file4"},{"photo_id":"1395703862","filename":"file1"},{"photo_id":"1395703861","filename":"file0"},{"photo_id":"1395703864","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703882":["hashtag1","hashtag2"]},{"1395703861":["hashtag1","hashtag2"]},{"1395703864":["hashtag1","hashtag2"]},{"1395703863":["hashtag1","hashtag2"]},{"1395703877":["hashtag1","hashtag2"]},{"1395703862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703882, 1395703861, 1395703864, 1395703863, 1395703877, 1395703862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.248779296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:05:22.263335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_50_1533.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_52_1776.jpg', '/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_54_1643.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_07_3011.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_11_3694.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_13_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_50_1533.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_52_1776.jpg
/home/pi/Desktop/images/22112025/14/01/image_22112025_14_01_54_1643.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_07_3011.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_11_3694.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_13_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703901","1395703891","1395703894","1395703888","1395703897","1395703899"],"photo_ids_order":["1395703888","1395703891","1395703894","1395703897","1395703899","1395703901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c8b6bec3a79759d53adf4618a0e052c.jpg","text":"TemporaryFile(/tmp/multipartBody4639602544603692480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816787261,"filename":"image_22112025_14_03_13_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ad989b0ae9b1dbb539bd5ce516c0a23.jpg","text":"TemporaryFile(/tmp/multipartBody2245615172974664725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816787261,"filename":"image_22112025_14_01_52_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8476380f36bb1225a7e685fb6147e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody9191607461748330517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816787261,"filename":"image_22112025_14_01_54_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9085b6bb7514e8fb703e3115a9f16ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6952328498141948620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816787261,"filename":"image_22112025_14_01_50_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32806da82966c62c2cc1d65300c716c1.jpg","text":"TemporaryFile(/tmp/multipartBody2533995187818785116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816787261,"filename":"image_22112025_14_03_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3acdeb5aa7782894d8e0342ec7a3ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1790275051320201548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816787261,"filename":"image_22112025_14_03_11_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703894","file1":"1395703891","file0":"1395703888","file4":"1395703899","file5":"1395703901","file3":"1395703897"},"map_files_photo_id_array":[{"photo_id":"1395703901","filename":"file5"},{"photo_id":"1395703894","filename":"file2"},{"photo_id":"1395703899","filename":"file4"},{"photo_id":"1395703891","filename":"file1"},{"photo_id":"1395703888","filename":"file0"},{"photo_id":"1395703897","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703901":["hashtag1","hashtag2"]},{"1395703891":["hashtag1","hashtag2"]},{"1395703894":["hashtag1","hashtag2"]},{"1395703888":["hashtag1","hashtag2"]},{"1395703897":["hashtag1","hashtag2"]},{"1395703899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703901, 1395703891, 1395703894, 1395703888, 1395703897, 1395703899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04345202445984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:06:02.939291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_17_3553.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_19_2529.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_23_3561.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_25_2488.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_28_2848.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_32_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_17_3553.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_19_2529.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_23_3561.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_25_2488.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_28_2848.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_32_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703910","1395703913","1395703907","1395703906","1395703905","1395703908"],"photo_ids_order":["1395703905","1395703906","1395703907","1395703908","1395703910","1395703913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b63c47fbd4f66bf9aa4ba15c330126f.jpg","text":"TemporaryFile(/tmp/multipartBody1931444641456564323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816823607,"filename":"image_22112025_14_03_28_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c06fb81e6a8d5a5d5a0c4292f4b600af.jpg","text":"TemporaryFile(/tmp/multipartBody1941029272443187154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816823607,"filename":"image_22112025_14_03_32_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab17ebebc16c724daf85efe0dee6d426.jpg","text":"TemporaryFile(/tmp/multipartBody3808951776936803117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816823607,"filename":"image_22112025_14_03_23_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff92e1f3b4e69ed48b238115a1a32b81.jpg","text":"TemporaryFile(/tmp/multipartBody3669920509330948037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816823607,"filename":"image_22112025_14_03_19_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72010a06c8e265baf55db5fc7b4c29db.jpg","text":"TemporaryFile(/tmp/multipartBody7312791392188767091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816823607,"filename":"image_22112025_14_03_17_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b6cf9a5b70b8b3e042e8acc090d8825.jpg","text":"TemporaryFile(/tmp/multipartBody7012858877566266099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816823607,"filename":"image_22112025_14_03_25_2488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703907","file1":"1395703906","file0":"1395703905","file4":"1395703910","file5":"1395703913","file3":"1395703908"},"map_files_photo_id_array":[{"photo_id":"1395703913","filename":"file5"},{"photo_id":"1395703907","filename":"file2"},{"photo_id":"1395703910","filename":"file4"},{"photo_id":"1395703906","filename":"file1"},{"photo_id":"1395703905","filename":"file0"},{"photo_id":"1395703908","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703910":["hashtag1","hashtag2"]},{"1395703913":["hashtag1","hashtag2"]},{"1395703907":["hashtag1","hashtag2"]},{"1395703906":["hashtag1","hashtag2"]},{"1395703905":["hashtag1","hashtag2"]},{"1395703908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703910, 1395703913, 1395703907, 1395703906, 1395703905, 1395703908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81033945083618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:06:42.373144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_34_2629.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_37_2688.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_41_3720.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_43_2652.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_46_2683.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_52_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_34_2629.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_37_2688.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_41_3720.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_43_2652.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_46_2683.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_52_2817.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703925","1395703928","1395703924","1395703927","1395703923","1395703926"],"photo_ids_order":["1395703923","1395703924","1395703925","1395703926","1395703927","1395703928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/988283d6e2d0ec5636524e0dab63f505.jpg","text":"TemporaryFile(/tmp/multipartBody1271963816174134790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816863019,"filename":"image_22112025_14_03_41_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/989b76ac2ece9176725ed565d3d85d93.jpg","text":"TemporaryFile(/tmp/multipartBody1110687863952976597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816863019,"filename":"image_22112025_14_03_52_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b06ab1475feede59a896c05088019046.jpg","text":"TemporaryFile(/tmp/multipartBody4296140497496098695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816863019,"filename":"image_22112025_14_03_37_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/789c61792e47802b03a5f06eb75e9a26.jpg","text":"TemporaryFile(/tmp/multipartBody2514733041607039341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816863019,"filename":"image_22112025_14_03_46_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e26d0a30a2ca724ec716992b579e243.jpg","text":"TemporaryFile(/tmp/multipartBody3392271738866991449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816863019,"filename":"image_22112025_14_03_34_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fb7e06c0230ed9294fc96de2b8a487f.jpg","text":"TemporaryFile(/tmp/multipartBody3580489606391490119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816863019,"filename":"image_22112025_14_03_43_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703925","file1":"1395703924","file0":"1395703923","file4":"1395703927","file5":"1395703928","file3":"1395703926"},"map_files_photo_id_array":[{"photo_id":"1395703928","filename":"file5"},{"photo_id":"1395703925","filename":"file2"},{"photo_id":"1395703927","filename":"file4"},{"photo_id":"1395703924","filename":"file1"},{"photo_id":"1395703923","filename":"file0"},{"photo_id":"1395703926","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703925":["hashtag1","hashtag2"]},{"1395703928":["hashtag1","hashtag2"]},{"1395703924":["hashtag1","hashtag2"]},{"1395703927":["hashtag1","hashtag2"]},{"1395703923":["hashtag1","hashtag2"]},{"1395703926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703925, 1395703928, 1395703924, 1395703927, 1395703923, 1395703926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23622727394104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:07:22.603465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_56_3203.jpg', '/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_58_2757.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_07_3011.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_10_3561.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_13_2561.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_17_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_56_3203.jpg
/home/pi/Desktop/images/22112025/14/03/image_22112025_14_03_58_2757.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_07_3011.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_10_3561.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_13_2561.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_17_3760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703943","1395703937","1395703931","1395703940","1395703945","1395703935"],"photo_ids_order":["1395703931","1395703935","1395703937","1395703940","1395703943","1395703945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45f8ce9dc73018ef5872a37b38f09764.jpg","text":"TemporaryFile(/tmp/multipartBody2992193115385634125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816903224,"filename":"image_22112025_14_05_13_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ace86ff53c967657e5f80a5b76b81733.jpg","text":"TemporaryFile(/tmp/multipartBody1763418258357729077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816903224,"filename":"image_22112025_14_05_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8594cc6fd9d608922aa325513fc6ecb4.jpg","text":"TemporaryFile(/tmp/multipartBody1742087087633385169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816903224,"filename":"image_22112025_14_03_56_3203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e79cc2f9e2b5ff89a3fcfa4f43c9e1d6.jpg","text":"TemporaryFile(/tmp/multipartBody8481541734812282028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816903224,"filename":"image_22112025_14_05_10_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df6ee5c41b7ae8d02a0224d4728aca57.jpg","text":"TemporaryFile(/tmp/multipartBody8597451715021130354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816903224,"filename":"image_22112025_14_05_17_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d77736375ab2e944e53f2121bc659787.jpg","text":"TemporaryFile(/tmp/multipartBody7348402043165007714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816903224,"filename":"image_22112025_14_03_58_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703937","file1":"1395703935","file0":"1395703931","file4":"1395703943","file5":"1395703945","file3":"1395703940"},"map_files_photo_id_array":[{"photo_id":"1395703945","filename":"file5"},{"photo_id":"1395703937","filename":"file2"},{"photo_id":"1395703943","filename":"file4"},{"photo_id":"1395703935","filename":"file1"},{"photo_id":"1395703931","filename":"file0"},{"photo_id":"1395703940","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703943":["hashtag1","hashtag2"]},{"1395703937":["hashtag1","hashtag2"]},{"1395703931":["hashtag1","hashtag2"]},{"1395703940":["hashtag1","hashtag2"]},{"1395703945":["hashtag1","hashtag2"]},{"1395703935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703943, 1395703937, 1395703931, 1395703940, 1395703945, 1395703935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.437347412109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:08:02.368731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_19_2505.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_32_3649.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_34_2600.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_37_2784.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_41_3582.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_46_3111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_19_2505.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_32_3649.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_34_2600.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_37_2784.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_41_3582.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_46_3111.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703952","1395703949","1395703948","1395703950","1395703947","1395703955"],"photo_ids_order":["1395703947","1395703948","1395703949","1395703950","1395703952","1395703955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8e8015d41ad5a2cde225631bdf16d1b.jpg","text":"TemporaryFile(/tmp/multipartBody4367150939470308817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816943039,"filename":"image_22112025_14_05_41_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bbca39e8024706603e79b89e7395fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2551943339256720360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816943039,"filename":"image_22112025_14_05_34_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/384343c8edad9493ee8e56516cef2f72.jpg","text":"TemporaryFile(/tmp/multipartBody7736430613471157821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816943039,"filename":"image_22112025_14_05_32_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf99f8e0535a56cc6f11ec4cabe8fef2.jpg","text":"TemporaryFile(/tmp/multipartBody6436021370124559955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816943039,"filename":"image_22112025_14_05_37_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/088bd5ee01b9eb414642303e618172d0.jpg","text":"TemporaryFile(/tmp/multipartBody1994694160714040264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816943039,"filename":"image_22112025_14_05_19_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2874af247154807710a9c7e97346c7b.jpg","text":"TemporaryFile(/tmp/multipartBody8571418220579318417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816943039,"filename":"image_22112025_14_05_46_3111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703949","file1":"1395703948","file0":"1395703947","file4":"1395703952","file5":"1395703955","file3":"1395703950"},"map_files_photo_id_array":[{"photo_id":"1395703955","filename":"file5"},{"photo_id":"1395703949","filename":"file2"},{"photo_id":"1395703952","filename":"file4"},{"photo_id":"1395703948","filename":"file1"},{"photo_id":"1395703947","filename":"file0"},{"photo_id":"1395703950","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703952":["hashtag1","hashtag2"]},{"1395703949":["hashtag1","hashtag2"]},{"1395703948":["hashtag1","hashtag2"]},{"1395703950":["hashtag1","hashtag2"]},{"1395703947":["hashtag1","hashtag2"]},{"1395703955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703952, 1395703949, 1395703948, 1395703950, 1395703947, 1395703955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34571290016174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:08:41.835730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_49_2531.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_53_4073.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_56_2773.jpg', '/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_58_2528.jpg', '/home/pi/Desktop/images/22112025/14/06/image_22112025_14_06_01_2613.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_49_2531.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_53_4073.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_56_2773.jpg
/home/pi/Desktop/images/22112025/14/05/image_22112025_14_05_58_2528.jpg
/home/pi/Desktop/images/22112025/14/06/image_22112025_14_06_01_2613.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_07_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703964","1395703967","1395703966","1395703963","1395703965","1395703968"],"photo_ids_order":["1395703963","1395703964","1395703965","1395703966","1395703967","1395703968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/331fc8a087be42edd9f37758f7d27d43.jpg","text":"TemporaryFile(/tmp/multipartBody8512901742293525128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816982481,"filename":"image_22112025_14_05_53_4073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73719d2f2ca33dc7780a167d8b3f6eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8857141266085425215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816982481,"filename":"image_22112025_14_06_01_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3197441b9853c313b069cb5558a35673.jpg","text":"TemporaryFile(/tmp/multipartBody7034917361538664498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816982481,"filename":"image_22112025_14_05_58_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cc1f4b230ae6d794d7b3736a300a181.jpg","text":"TemporaryFile(/tmp/multipartBody591618804420780531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816982481,"filename":"image_22112025_14_05_49_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46056ba9d57d8b0dc5c7409e4e2654f4.jpg","text":"TemporaryFile(/tmp/multipartBody3299029431724706088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816982481,"filename":"image_22112025_14_05_56_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32c44958d9c2301d7986342eeba1e115.jpg","text":"TemporaryFile(/tmp/multipartBody7541575754853824762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763816982481,"filename":"image_22112025_14_07_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703965","file1":"1395703964","file0":"1395703963","file4":"1395703967","file5":"1395703968","file3":"1395703966"},"map_files_photo_id_array":[{"photo_id":"1395703968","filename":"file5"},{"photo_id":"1395703965","filename":"file2"},{"photo_id":"1395703967","filename":"file4"},{"photo_id":"1395703964","filename":"file1"},{"photo_id":"1395703963","filename":"file0"},{"photo_id":"1395703966","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703964":["hashtag1","hashtag2"]},{"1395703967":["hashtag1","hashtag2"]},{"1395703966":["hashtag1","hashtag2"]},{"1395703963":["hashtag1","hashtag2"]},{"1395703965":["hashtag1","hashtag2"]},{"1395703968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703964, 1395703967, 1395703966, 1395703963, 1395703965, 1395703968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13670539855957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:09:22.097453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_10_3609.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_13_2618.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_17_3627.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_22_2627.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_26_3620.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_28_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_10_3609.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_13_2618.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_17_3627.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_22_2627.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_26_3620.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_28_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703970","1395703981","1395703983","1395703977","1395703980","1395703974"],"photo_ids_order":["1395703970","1395703974","1395703977","1395703980","1395703981","1395703983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2b97889086cc3894110aad2309f6063.jpg","text":"TemporaryFile(/tmp/multipartBody8972815345821407423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817022780,"filename":"image_22112025_14_07_10_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f288ff0e8582d96d1db1f0b463745ee.jpg","text":"TemporaryFile(/tmp/multipartBody7675857874070370741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817022780,"filename":"image_22112025_14_07_26_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b07cb5ee07c81100dad01b8c51d6ba5c.jpg","text":"TemporaryFile(/tmp/multipartBody1575997015790887537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817022780,"filename":"image_22112025_14_07_28_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/466759ab986274949caf69306bac4831.jpg","text":"TemporaryFile(/tmp/multipartBody101963786357087112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817022780,"filename":"image_22112025_14_07_17_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65c4c0a8a6416cd2e273fa25aa147d3f.jpg","text":"TemporaryFile(/tmp/multipartBody1208983769805459939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817022780,"filename":"image_22112025_14_07_22_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07b239e6a39c37557793f862a6448a99.jpg","text":"TemporaryFile(/tmp/multipartBody5765604652758781271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817022780,"filename":"image_22112025_14_07_13_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703977","file1":"1395703974","file0":"1395703970","file4":"1395703981","file5":"1395703983","file3":"1395703980"},"map_files_photo_id_array":[{"photo_id":"1395703983","filename":"file5"},{"photo_id":"1395703977","filename":"file2"},{"photo_id":"1395703981","filename":"file4"},{"photo_id":"1395703974","filename":"file1"},{"photo_id":"1395703970","filename":"file0"},{"photo_id":"1395703980","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703970":["hashtag1","hashtag2"]},{"1395703981":["hashtag1","hashtag2"]},{"1395703983":["hashtag1","hashtag2"]},{"1395703977":["hashtag1","hashtag2"]},{"1395703980":["hashtag1","hashtag2"]},{"1395703974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703970, 1395703981, 1395703983, 1395703977, 1395703980, 1395703974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40358877182007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:10:02.874277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_31_2766.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_35_3612.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_37_2522.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_40_2651.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_44_3691.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_46_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_31_2766.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_35_3612.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_37_2522.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_40_2651.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_44_3691.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_46_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395703985","1395703990","1395703987","1395703992","1395703986","1395703988"],"photo_ids_order":["1395703985","1395703986","1395703987","1395703988","1395703990","1395703992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01bf611ddc8a705d6f49ad642c92d63d.jpg","text":"TemporaryFile(/tmp/multipartBody5335756553111206670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817063547,"filename":"image_22112025_14_07_31_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37beb222b760b3b555789a0ab3304c4e.jpg","text":"TemporaryFile(/tmp/multipartBody4626134870669997326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817063547,"filename":"image_22112025_14_07_44_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/075568edaa65c8ffc931bcc8d71eaba5.jpg","text":"TemporaryFile(/tmp/multipartBody6302990382836734558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817063547,"filename":"image_22112025_14_07_37_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58446f06191c0b6adc4580bd4aadeb90.jpg","text":"TemporaryFile(/tmp/multipartBody4683571768870831699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817063547,"filename":"image_22112025_14_07_46_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96734c8a71c4233b3a82c103dbf076f3.jpg","text":"TemporaryFile(/tmp/multipartBody5682630400061898106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817063547,"filename":"image_22112025_14_07_35_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7dbb885e12ff5796d9d42b0b31720fa2.jpg","text":"TemporaryFile(/tmp/multipartBody2537765345052554498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817063547,"filename":"image_22112025_14_07_40_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395703987","file1":"1395703986","file0":"1395703985","file4":"1395703990","file5":"1395703992","file3":"1395703988"},"map_files_photo_id_array":[{"photo_id":"1395703992","filename":"file5"},{"photo_id":"1395703987","filename":"file2"},{"photo_id":"1395703990","filename":"file4"},{"photo_id":"1395703986","filename":"file1"},{"photo_id":"1395703985","filename":"file0"},{"photo_id":"1395703988","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395703985":["hashtag1","hashtag2"]},{"1395703990":["hashtag1","hashtag2"]},{"1395703987":["hashtag1","hashtag2"]},{"1395703992":["hashtag1","hashtag2"]},{"1395703986":["hashtag1","hashtag2"]},{"1395703988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395703985, 1395703990, 1395703987, 1395703992, 1395703986, 1395703988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97182583808899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:10:42.333509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_49_2780.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_52_2865.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_55_2772.jpg', '/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_58_3610.jpg', '/home/pi/Desktop/images/22112025/14/08/image_22112025_14_08_01_2530.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_06_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_49_2780.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_52_2865.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_55_2772.jpg
/home/pi/Desktop/images/22112025/14/07/image_22112025_14_07_58_3610.jpg
/home/pi/Desktop/images/22112025/14/08/image_22112025_14_08_01_2530.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_06_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704015","1395704017","1395704013","1395704016","1395704010","1395704018"],"photo_ids_order":["1395704010","1395704013","1395704015","1395704016","1395704017","1395704018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a86020b8986eb043234ec4dedfb8c7d5.jpg","text":"TemporaryFile(/tmp/multipartBody7741996042986460104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817102977,"filename":"image_22112025_14_07_55_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02cbd99f40fe374165b5d495fa9975d7.jpg","text":"TemporaryFile(/tmp/multipartBody1501847981772052657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817102977,"filename":"image_22112025_14_08_01_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1e330d20a221612f65cc7b135fa653d.jpg","text":"TemporaryFile(/tmp/multipartBody7345014706752780167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817102977,"filename":"image_22112025_14_07_52_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/308c42b8e9c3a9cca1a3abd06babb418.jpg","text":"TemporaryFile(/tmp/multipartBody2393518141612733925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817102977,"filename":"image_22112025_14_07_58_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/920d0539ba3203580c3223ed0bce58e9.jpg","text":"TemporaryFile(/tmp/multipartBody5431425063950466947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817102977,"filename":"image_22112025_14_07_49_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f4a5da67417bb707ef9364d5e2a1077.jpg","text":"TemporaryFile(/tmp/multipartBody3783369625654377144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817102977,"filename":"image_22112025_14_09_06_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704015","file1":"1395704013","file0":"1395704010","file4":"1395704017","file5":"1395704018","file3":"1395704016"},"map_files_photo_id_array":[{"photo_id":"1395704018","filename":"file5"},{"photo_id":"1395704015","filename":"file2"},{"photo_id":"1395704017","filename":"file4"},{"photo_id":"1395704013","filename":"file1"},{"photo_id":"1395704010","filename":"file0"},{"photo_id":"1395704016","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704015":["hashtag1","hashtag2"]},{"1395704017":["hashtag1","hashtag2"]},{"1395704013":["hashtag1","hashtag2"]},{"1395704016":["hashtag1","hashtag2"]},{"1395704010":["hashtag1","hashtag2"]},{"1395704018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704015, 1395704017, 1395704013, 1395704016, 1395704010, 1395704018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51519012451172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:11:25.208235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_10_3467.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_16_3664.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_19_2733.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_25_3585.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_34_2688.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_37_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_10_3467.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_16_3664.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_19_2733.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_25_3585.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_34_2688.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_37_2760.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5634191036224365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:11:45.093027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_10_3467.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_16_3664.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_19_2733.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_25_3585.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_34_2688.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_37_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_10_3467.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_16_3664.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_19_2733.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_25_3585.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_34_2688.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_37_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704044","1395704038","1395704034","1395704043","1395704037","1395704036"],"photo_ids_order":["1395704034","1395704036","1395704037","1395704038","1395704043","1395704044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/693c171b463ffc93a3c96fe9ec14677b.jpg","text":"TemporaryFile(/tmp/multipartBody1574066517222881229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817165808,"filename":"image_22112025_14_09_37_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd24f2b64d43d08a78babc71f7677b3a.jpg","text":"TemporaryFile(/tmp/multipartBody392436013264681384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817165808,"filename":"image_22112025_14_09_25_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9b02ff2b034c4834b3310507768e9a0.jpg","text":"TemporaryFile(/tmp/multipartBody9114296509455938392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817165808,"filename":"image_22112025_14_09_10_3467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e81664cd71678f07e62150fe96d25b2.jpg","text":"TemporaryFile(/tmp/multipartBody3492574585907148631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817165808,"filename":"image_22112025_14_09_34_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37501f24decf9d5f9dcb90a77c7c6d19.jpg","text":"TemporaryFile(/tmp/multipartBody2036788638492546611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817165808,"filename":"image_22112025_14_09_19_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f704451fbf0a265ab5477f5d3cf71c0f.jpg","text":"TemporaryFile(/tmp/multipartBody758407857227297436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817165808,"filename":"image_22112025_14_09_16_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704037","file1":"1395704036","file0":"1395704034","file4":"1395704043","file5":"1395704044","file3":"1395704038"},"map_files_photo_id_array":[{"photo_id":"1395704044","filename":"file5"},{"photo_id":"1395704037","filename":"file2"},{"photo_id":"1395704043","filename":"file4"},{"photo_id":"1395704036","filename":"file1"},{"photo_id":"1395704034","filename":"file0"},{"photo_id":"1395704038","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704044":["hashtag1","hashtag2"]},{"1395704038":["hashtag1","hashtag2"]},{"1395704034":["hashtag1","hashtag2"]},{"1395704043":["hashtag1","hashtag2"]},{"1395704037":["hashtag1","hashtag2"]},{"1395704036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704044, 1395704038, 1395704034, 1395704043, 1395704037, 1395704036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58898639678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:12:22.396876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_43_3770.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_46_2599.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_48_2673.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_52_3587.jpg', '/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_55_2594.jpg', '/home/pi/Desktop/images/22112025/14/10/image_22112025_14_10_01_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_43_3770.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_46_2599.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_48_2673.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_52_3587.jpg
/home/pi/Desktop/images/22112025/14/09/image_22112025_14_09_55_2594.jpg
/home/pi/Desktop/images/22112025/14/10/image_22112025_14_10_01_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704047","1395704050","1395704058","1395704061","1395704055","1395704063"],"photo_ids_order":["1395704047","1395704050","1395704055","1395704058","1395704061","1395704063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a822d25471e05257cca6ccf68157880d.jpg","text":"TemporaryFile(/tmp/multipartBody4707718831393653207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817203065,"filename":"image_22112025_14_09_43_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1931190d770562d6a4b87341587026c.jpg","text":"TemporaryFile(/tmp/multipartBody6832388992146467382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817203065,"filename":"image_22112025_14_09_46_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c08c199ea92714c2cf0f4d404ef87130.jpg","text":"TemporaryFile(/tmp/multipartBody1817676377114195272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817203065,"filename":"image_22112025_14_09_52_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9676b74f99c52326a2ec90c9284ec16d.jpg","text":"TemporaryFile(/tmp/multipartBody7011505697314175982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817203065,"filename":"image_22112025_14_09_55_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3acdbc6857b12d430b4d03b6b91b084e.jpg","text":"TemporaryFile(/tmp/multipartBody4506326123468509058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817203065,"filename":"image_22112025_14_09_48_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/068e5772f11027ae33f2bd9efd5c3d28.jpg","text":"TemporaryFile(/tmp/multipartBody7484888323508088283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817203065,"filename":"image_22112025_14_10_01_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704055","file1":"1395704050","file0":"1395704047","file4":"1395704061","file5":"1395704063","file3":"1395704058"},"map_files_photo_id_array":[{"photo_id":"1395704063","filename":"file5"},{"photo_id":"1395704055","filename":"file2"},{"photo_id":"1395704061","filename":"file4"},{"photo_id":"1395704050","filename":"file1"},{"photo_id":"1395704047","filename":"file0"},{"photo_id":"1395704058","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704047":["hashtag1","hashtag2"]},{"1395704050":["hashtag1","hashtag2"]},{"1395704058":["hashtag1","hashtag2"]},{"1395704061":["hashtag1","hashtag2"]},{"1395704055":["hashtag1","hashtag2"]},{"1395704063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704047, 1395704050, 1395704058, 1395704061, 1395704055, 1395704063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36065459251404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:13:03.002464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/10/image_22112025_14_10_03_2700.jpg', '/home/pi/Desktop/images/22112025/14/10/image_22112025_14_10_07_3610.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_07_3018.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_10_3524.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_13_2709.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_16_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/10/image_22112025_14_10_03_2700.jpg
/home/pi/Desktop/images/22112025/14/10/image_22112025_14_10_07_3610.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_07_3018.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_10_3524.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_13_2709.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_16_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704065","1395704064","1395704067","1395704072","1395704069","1395704066"],"photo_ids_order":["1395704064","1395704065","1395704066","1395704067","1395704069","1395704072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ef28bb500bee3bd36fb21f2ef0a44ac.jpg","text":"TemporaryFile(/tmp/multipartBody1890177487536884564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817243724,"filename":"image_22112025_14_10_07_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c8d4a4dfad9e351eb006dcc56c97a29.jpg","text":"TemporaryFile(/tmp/multipartBody830651793033718170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817243724,"filename":"image_22112025_14_10_03_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d61ccef45f7862b295b15fb1cfed3d41.jpg","text":"TemporaryFile(/tmp/multipartBody5710269318285762474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817243724,"filename":"image_22112025_14_11_10_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a97a394c2b90c69668559be07287ecd1.jpg","text":"TemporaryFile(/tmp/multipartBody387496441739833103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817243724,"filename":"image_22112025_14_11_16_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efb3cc4c52be5d199783eb570a67a7f1.jpg","text":"TemporaryFile(/tmp/multipartBody8838349937020150792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817243724,"filename":"image_22112025_14_11_13_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f073677cfac93a35cc4896326bebe59e.jpg","text":"TemporaryFile(/tmp/multipartBody2438367786125226053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817243724,"filename":"image_22112025_14_11_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704066","file1":"1395704065","file0":"1395704064","file4":"1395704069","file5":"1395704072","file3":"1395704067"},"map_files_photo_id_array":[{"photo_id":"1395704072","filename":"file5"},{"photo_id":"1395704066","filename":"file2"},{"photo_id":"1395704069","filename":"file4"},{"photo_id":"1395704065","filename":"file1"},{"photo_id":"1395704064","filename":"file0"},{"photo_id":"1395704067","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704065":["hashtag1","hashtag2"]},{"1395704064":["hashtag1","hashtag2"]},{"1395704067":["hashtag1","hashtag2"]},{"1395704072":["hashtag1","hashtag2"]},{"1395704069":["hashtag1","hashtag2"]},{"1395704066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704065, 1395704064, 1395704067, 1395704072, 1395704069, 1395704066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01043772697449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:13:42.411173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_19_3701.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_22_2679.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_26_3559.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_28_2494.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_31_2614.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_34_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_19_3701.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_22_2679.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_26_3559.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_28_2494.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_31_2614.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_34_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704083","1395704086","1395704085","1395704087","1395704081","1395704084"],"photo_ids_order":["1395704081","1395704083","1395704084","1395704085","1395704086","1395704087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67b12ceb5c3d3662852ad2a8f7c835da.jpg","text":"TemporaryFile(/tmp/multipartBody958576411076385885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817283118,"filename":"image_22112025_14_11_22_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53058f67a565968b3ed6f000aa303973.jpg","text":"TemporaryFile(/tmp/multipartBody7001891791641479698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817283118,"filename":"image_22112025_14_11_31_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fd882c5b685969fd5ab67778555ade9.jpg","text":"TemporaryFile(/tmp/multipartBody8339495621014452636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817283118,"filename":"image_22112025_14_11_28_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a37f32d463a19a11865b2ddb29edece.jpg","text":"TemporaryFile(/tmp/multipartBody6224075469423541408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817283118,"filename":"image_22112025_14_11_34_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab70d6b81f1794587f800569fc2ad9d3.jpg","text":"TemporaryFile(/tmp/multipartBody7724397581015157842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817283118,"filename":"image_22112025_14_11_19_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e3ed715d84d436e8fd0588cbeb8f9d3.jpg","text":"TemporaryFile(/tmp/multipartBody4739419396535746851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817283118,"filename":"image_22112025_14_11_26_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704084","file1":"1395704083","file0":"1395704081","file4":"1395704086","file5":"1395704087","file3":"1395704085"},"map_files_photo_id_array":[{"photo_id":"1395704087","filename":"file5"},{"photo_id":"1395704084","filename":"file2"},{"photo_id":"1395704086","filename":"file4"},{"photo_id":"1395704083","filename":"file1"},{"photo_id":"1395704081","filename":"file0"},{"photo_id":"1395704085","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704083":["hashtag1","hashtag2"]},{"1395704086":["hashtag1","hashtag2"]},{"1395704085":["hashtag1","hashtag2"]},{"1395704087":["hashtag1","hashtag2"]},{"1395704081":["hashtag1","hashtag2"]},{"1395704084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704083, 1395704086, 1395704085, 1395704087, 1395704081, 1395704084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59261083602905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:14:22.668892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_37_2587.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_40_3377.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_43_2799.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_46_2747.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_57_11061.jpg', '/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_59_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_37_2587.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_40_3377.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_43_2799.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_46_2747.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_57_11061.jpg
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_11_59_1657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704111","1395704114","1395704108","1395704100","1395704090","1395704093"],"photo_ids_order":["1395704090","1395704093","1395704100","1395704108","1395704111","1395704114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f91554748fdea8f1cfbc8e4dcdda0f80.jpg","text":"TemporaryFile(/tmp/multipartBody8428313138017575891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817323299,"filename":"image_22112025_14_11_57_11061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2012d690be69a2869b2ff4476d7bd51c.jpg","text":"TemporaryFile(/tmp/multipartBody9205707665768741977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817323299,"filename":"image_22112025_14_11_59_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/036992dcf3b2c93b201faca01ce263d5.jpg","text":"TemporaryFile(/tmp/multipartBody714891556902315974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817323299,"filename":"image_22112025_14_11_46_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5efee63c8f166b9b48f44a394ca6a5b0.jpg","text":"TemporaryFile(/tmp/multipartBody2392149200566087134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817323299,"filename":"image_22112025_14_11_43_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/981f279fa63def8a90d6182c9ac8c0a4.jpg","text":"TemporaryFile(/tmp/multipartBody5250350393627654958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817323299,"filename":"image_22112025_14_11_37_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63571b799ce4f453f3a643e8a0d8eea8.jpg","text":"TemporaryFile(/tmp/multipartBody7861410434417252627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817323299,"filename":"image_22112025_14_11_40_3377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704100","file1":"1395704093","file0":"1395704090","file4":"1395704111","file5":"1395704114","file3":"1395704108"},"map_files_photo_id_array":[{"photo_id":"1395704114","filename":"file5"},{"photo_id":"1395704100","filename":"file2"},{"photo_id":"1395704111","filename":"file4"},{"photo_id":"1395704093","filename":"file1"},{"photo_id":"1395704090","filename":"file0"},{"photo_id":"1395704108","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704111":["hashtag1","hashtag2"]},{"1395704114":["hashtag1","hashtag2"]},{"1395704108":["hashtag1","hashtag2"]},{"1395704100":["hashtag1","hashtag2"]},{"1395704090":["hashtag1","hashtag2"]},{"1395704093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704111, 1395704114, 1395704108, 1395704100, 1395704090, 1395704093)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.66896033287048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:15:21.936149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/11/image_22112025_14_12_00_1819.jpg', '/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_05_4416.jpg', '/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_06_1498.jpg', '/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_08_1752.jpg', '/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_10_1533.jpg', '/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_11_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/11/image_22112025_14_12_00_1819.jpg
/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_05_4416.jpg
/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_06_1498.jpg
/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_08_1752.jpg
/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_10_1533.jpg
/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_11_1735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704122","1395704125","1395704130","1395704133","1395704127","1395704117"],"photo_ids_order":["1395704117","1395704122","1395704125","1395704127","1395704130","1395704133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33b4f782b12d1690e2cb27a385bd5bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8744177818768048144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817382519,"filename":"image_22112025_14_12_05_4416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e543fd8f8fe52f19b513dfbd60fe2219.jpg","text":"TemporaryFile(/tmp/multipartBody4113600406778807575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817382519,"filename":"image_22112025_14_12_06_1498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39c0723da3c9ebbfce926f7269496b50.jpg","text":"TemporaryFile(/tmp/multipartBody4274669031802823658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817382519,"filename":"image_22112025_14_12_10_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef749402e4000ef3e3b42bd7eaf3dfc0.jpg","text":"TemporaryFile(/tmp/multipartBody5238864911132580152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817382519,"filename":"image_22112025_14_12_11_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c4a6428a61ab7d5e3f987164c4787e5.jpg","text":"TemporaryFile(/tmp/multipartBody4670750279359153399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817382519,"filename":"image_22112025_14_12_08_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/930f21ffb323a4ac9dc1ec89fe7890ba.jpg","text":"TemporaryFile(/tmp/multipartBody6821235070762458003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817382519,"filename":"image_22112025_14_12_00_1819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704125","file1":"1395704122","file0":"1395704117","file4":"1395704130","file5":"1395704133","file3":"1395704127"},"map_files_photo_id_array":[{"photo_id":"1395704133","filename":"file5"},{"photo_id":"1395704125","filename":"file2"},{"photo_id":"1395704130","filename":"file4"},{"photo_id":"1395704122","filename":"file1"},{"photo_id":"1395704117","filename":"file0"},{"photo_id":"1395704127","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704122":["hashtag1","hashtag2"]},{"1395704125":["hashtag1","hashtag2"]},{"1395704130":["hashtag1","hashtag2"]},{"1395704133":["hashtag1","hashtag2"]},{"1395704127":["hashtag1","hashtag2"]},{"1395704117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704122, 1395704125, 1395704130, 1395704133, 1395704127, 1395704117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.266352891922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:16:02.672592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_13_1610.jpg', '/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_16_3557.jpg', '/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_19_2485.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_07_3014.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_10_3526.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_13_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_13_1610.jpg
/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_16_3557.jpg
/home/pi/Desktop/images/22112025/14/12/image_22112025_14_12_19_2485.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_07_3014.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_10_3526.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_13_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704155","1395704140","1395704157","1395704136","1395704153","1395704138"],"photo_ids_order":["1395704136","1395704138","1395704140","1395704153","1395704155","1395704157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb6335eedc0c3b5ac04b5e82063ae3ce.jpg","text":"TemporaryFile(/tmp/multipartBody6387904070168969723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817423398,"filename":"image_22112025_14_13_10_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7127cdb40104b4439f2dbd7249abb0d.jpg","text":"TemporaryFile(/tmp/multipartBody4634991734959062799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817423398,"filename":"image_22112025_14_12_19_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a765f24fcdf6aba10418fc59c103a3a.jpg","text":"TemporaryFile(/tmp/multipartBody2082919271672650779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817423398,"filename":"image_22112025_14_13_13_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d52c0ffc65c2c9198e7a02b9ae25a819.jpg","text":"TemporaryFile(/tmp/multipartBody3686126610667484011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817423398,"filename":"image_22112025_14_12_13_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23060307f6e56a54394d563c9257a112.jpg","text":"TemporaryFile(/tmp/multipartBody2278877718123718303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817423398,"filename":"image_22112025_14_13_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec461ab52de661fece373e00f976c8b4.jpg","text":"TemporaryFile(/tmp/multipartBody987247718558023795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817423398,"filename":"image_22112025_14_12_16_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704140","file1":"1395704138","file0":"1395704136","file4":"1395704155","file5":"1395704157","file3":"1395704153"},"map_files_photo_id_array":[{"photo_id":"1395704157","filename":"file5"},{"photo_id":"1395704140","filename":"file2"},{"photo_id":"1395704155","filename":"file4"},{"photo_id":"1395704138","filename":"file1"},{"photo_id":"1395704136","filename":"file0"},{"photo_id":"1395704153","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704155":["hashtag1","hashtag2"]},{"1395704140":["hashtag1","hashtag2"]},{"1395704157":["hashtag1","hashtag2"]},{"1395704136":["hashtag1","hashtag2"]},{"1395704153":["hashtag1","hashtag2"]},{"1395704138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704155, 1395704140, 1395704157, 1395704136, 1395704153, 1395704138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.777366161346436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:16:42.260440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_16_3630.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_19_2786.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_22_2659.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_25_3591.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_28_2607.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_31_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_16_3630.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_19_2786.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_22_2659.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_25_3591.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_28_2607.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_31_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704176","1395704169","1395704172","1395704171","1395704174","1395704165"],"photo_ids_order":["1395704165","1395704169","1395704171","1395704172","1395704174","1395704176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a10186d491faccc45c1073eb7744b355.jpg","text":"TemporaryFile(/tmp/multipartBody1412691946492378280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817462887,"filename":"image_22112025_14_13_31_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3c5468fe5a18e06aa07bf331e99475e.jpg","text":"TemporaryFile(/tmp/multipartBody4260893843783995902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817462887,"filename":"image_22112025_14_13_19_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63e78b37f9e8c9085082d21586cd3e64.jpg","text":"TemporaryFile(/tmp/multipartBody6925550618523975892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817462887,"filename":"image_22112025_14_13_25_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ab86dc0afef89f7d5592e4211a7e80e.jpg","text":"TemporaryFile(/tmp/multipartBody7513511330489700894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817462887,"filename":"image_22112025_14_13_22_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52c15fc2388dfc6b96d12fe5c6f59575.jpg","text":"TemporaryFile(/tmp/multipartBody6845519622321195537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817462887,"filename":"image_22112025_14_13_28_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/582fe641778157a5494c913cb17d96ec.jpg","text":"TemporaryFile(/tmp/multipartBody5294054725106428426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817462887,"filename":"image_22112025_14_13_16_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704171","file1":"1395704169","file0":"1395704165","file4":"1395704174","file5":"1395704176","file3":"1395704172"},"map_files_photo_id_array":[{"photo_id":"1395704176","filename":"file5"},{"photo_id":"1395704171","filename":"file2"},{"photo_id":"1395704174","filename":"file4"},{"photo_id":"1395704169","filename":"file1"},{"photo_id":"1395704165","filename":"file0"},{"photo_id":"1395704172","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704176":["hashtag1","hashtag2"]},{"1395704169":["hashtag1","hashtag2"]},{"1395704172":["hashtag1","hashtag2"]},{"1395704171":["hashtag1","hashtag2"]},{"1395704174":["hashtag1","hashtag2"]},{"1395704165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704176, 1395704169, 1395704172, 1395704171, 1395704174, 1395704165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.190879821777344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:17:22.665044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_34_3574.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_37_2536.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_40_2694.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_43_3514.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_07_3013.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_11_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_34_3574.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_37_2536.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_40_2694.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_43_3514.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_07_3013.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_11_3701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5605800151824951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:17:42.550658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_34_3574.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_37_2536.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_40_2694.jpg', '/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_43_3514.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_07_3013.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_11_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_34_3574.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_37_2536.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_40_2694.jpg
/home/pi/Desktop/images/22112025/14/13/image_22112025_14_13_43_3514.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_07_3013.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_11_3701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704197","1395704201","1395704200","1395704193","1395704199","1395704198"],"photo_ids_order":["1395704193","1395704197","1395704198","1395704199","1395704200","1395704201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcf10e23d9bc1ba448e679534918b191.jpg","text":"TemporaryFile(/tmp/multipartBody8526494070564341447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817523202,"filename":"image_22112025_14_13_37_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a227d2b84672df290e2ac1866ca55681.jpg","text":"TemporaryFile(/tmp/multipartBody2997068988505246855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817523202,"filename":"image_22112025_14_15_11_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfbe280978d5e2f1fda1f5066d45c5af.jpg","text":"TemporaryFile(/tmp/multipartBody3942765998059174845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817523202,"filename":"image_22112025_14_15_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/232338cf5ca01a11ece1428c6ca044f3.jpg","text":"TemporaryFile(/tmp/multipartBody1564238600424232852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817523202,"filename":"image_22112025_14_13_34_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1231ecc5ed78cfab5dd2478f5045b3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7308509094040055351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817523202,"filename":"image_22112025_14_13_43_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f97bd77c8696de0b58dfa6a520b9718.jpg","text":"TemporaryFile(/tmp/multipartBody8164279837582714351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817523202,"filename":"image_22112025_14_13_40_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704198","file1":"1395704197","file0":"1395704193","file4":"1395704200","file5":"1395704201","file3":"1395704199"},"map_files_photo_id_array":[{"photo_id":"1395704201","filename":"file5"},{"photo_id":"1395704198","filename":"file2"},{"photo_id":"1395704200","filename":"file4"},{"photo_id":"1395704197","filename":"file1"},{"photo_id":"1395704193","filename":"file0"},{"photo_id":"1395704199","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704197":["hashtag1","hashtag2"]},{"1395704201":["hashtag1","hashtag2"]},{"1395704200":["hashtag1","hashtag2"]},{"1395704193":["hashtag1","hashtag2"]},{"1395704199":["hashtag1","hashtag2"]},{"1395704198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704197, 1395704201, 1395704200, 1395704193, 1395704199, 1395704198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.616026401519775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:18:22.817286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_14_2714.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_16_2796.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_20_3636.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_23_2592.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_25_2607.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_29_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_14_2714.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_16_2796.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_20_3636.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_23_2592.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_25_2607.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_29_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704210","1395704213","1395704215","1395704205","1395704208","1395704217"],"photo_ids_order":["1395704205","1395704208","1395704210","1395704213","1395704215","1395704217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8accdac8803063cda7dfbac2eab2bfcf.jpg","text":"TemporaryFile(/tmp/multipartBody8376650635531685726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817563572,"filename":"image_22112025_14_15_20_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eabb7c6fabd6fb0e7c04c07a9592a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody2163802574472291171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817563572,"filename":"image_22112025_14_15_23_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ac5960caeba3a0b9488209bc70f4c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2158382031252479493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817563572,"filename":"image_22112025_14_15_25_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5bace00948fb766676579aa0236841a2.jpg","text":"TemporaryFile(/tmp/multipartBody3271301935639363218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817563572,"filename":"image_22112025_14_15_14_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b61a6ad1816fdf3041fea9bd79b86f0d.jpg","text":"TemporaryFile(/tmp/multipartBody682049394068597867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817563572,"filename":"image_22112025_14_15_16_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25cd3586f4d704c6d634afac2dc4d4ba.jpg","text":"TemporaryFile(/tmp/multipartBody6468603281064517369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817563572,"filename":"image_22112025_14_15_29_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704210","file1":"1395704208","file0":"1395704205","file4":"1395704215","file5":"1395704217","file3":"1395704213"},"map_files_photo_id_array":[{"photo_id":"1395704217","filename":"file5"},{"photo_id":"1395704210","filename":"file2"},{"photo_id":"1395704215","filename":"file4"},{"photo_id":"1395704208","filename":"file1"},{"photo_id":"1395704205","filename":"file0"},{"photo_id":"1395704213","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704210":["hashtag1","hashtag2"]},{"1395704213":["hashtag1","hashtag2"]},{"1395704215":["hashtag1","hashtag2"]},{"1395704205":["hashtag1","hashtag2"]},{"1395704208":["hashtag1","hashtag2"]},{"1395704217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704210, 1395704213, 1395704215, 1395704205, 1395704208, 1395704217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7256178855896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:19:02.863187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_31_2499.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_35_3637.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_37_2619.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_40_2645.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_44_3900.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_47_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_31_2499.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_35_3637.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_37_2619.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_40_2645.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_44_3900.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_47_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704224","1395704218","1395704223","1395704226","1395704229","1395704220"],"photo_ids_order":["1395704218","1395704220","1395704223","1395704224","1395704226","1395704229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d3cfa8dae4ec4c5e8ef1ceefd626359.jpg","text":"TemporaryFile(/tmp/multipartBody3482138857186322241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817603583,"filename":"image_22112025_14_15_40_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f3f9de69def20beb08be758ba54cd80.jpg","text":"TemporaryFile(/tmp/multipartBody7992525621167936618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817603583,"filename":"image_22112025_14_15_31_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39d2de7f48ed3aef3a489d37993c9ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4682565972327786122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817603583,"filename":"image_22112025_14_15_37_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47ba31a7b7bae8107511068169673af6.jpg","text":"TemporaryFile(/tmp/multipartBody3820280001497555321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817603583,"filename":"image_22112025_14_15_44_3900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77d8e2af30eed7218be05a07d6b1df80.jpg","text":"TemporaryFile(/tmp/multipartBody5761974531610687884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817603583,"filename":"image_22112025_14_15_47_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cfc3b40534328855ab24de2993e60fc.jpg","text":"TemporaryFile(/tmp/multipartBody6357945597206920069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817603583,"filename":"image_22112025_14_15_35_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704223","file1":"1395704220","file0":"1395704218","file4":"1395704226","file5":"1395704229","file3":"1395704224"},"map_files_photo_id_array":[{"photo_id":"1395704229","filename":"file5"},{"photo_id":"1395704223","filename":"file2"},{"photo_id":"1395704226","filename":"file4"},{"photo_id":"1395704220","filename":"file1"},{"photo_id":"1395704218","filename":"file0"},{"photo_id":"1395704224","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704224":["hashtag1","hashtag2"]},{"1395704218":["hashtag1","hashtag2"]},{"1395704223":["hashtag1","hashtag2"]},{"1395704226":["hashtag1","hashtag2"]},{"1395704229":["hashtag1","hashtag2"]},{"1395704220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704224, 1395704218, 1395704223, 1395704226, 1395704229, 1395704220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8326141834259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:19:42.106606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_49_2596.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_53_3289.jpg', '/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_55_2637.jpg', '/home/pi/Desktop/images/22112025/14/16/image_22112025_14_16_01_5698.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_07_3020.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_10_3527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_49_2596.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_53_3289.jpg
/home/pi/Desktop/images/22112025/14/15/image_22112025_14_15_55_2637.jpg
/home/pi/Desktop/images/22112025/14/16/image_22112025_14_16_01_5698.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_07_3020.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_10_3527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704239","1395704242","1395704241","1395704238","1395704240","1395704243"],"photo_ids_order":["1395704238","1395704239","1395704240","1395704241","1395704242","1395704243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81be0e3f5aacda6cec4e189dcc65e4a3.jpg","text":"TemporaryFile(/tmp/multipartBody1084358728367718235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817642740,"filename":"image_22112025_14_15_53_3289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb9712b759f070728a5fa0a46d82e7e8.jpg","text":"TemporaryFile(/tmp/multipartBody2657907571686461985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817642740,"filename":"image_22112025_14_17_07_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cf551292b7678da05220c6fa158641d.jpg","text":"TemporaryFile(/tmp/multipartBody4313770991105197553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817642740,"filename":"image_22112025_14_16_01_5698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e90732a630c85b0b1dd72cb542e59f44.jpg","text":"TemporaryFile(/tmp/multipartBody366639346040466481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817642740,"filename":"image_22112025_14_15_49_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9024b99c615c861e6c14f02b522150ad.jpg","text":"TemporaryFile(/tmp/multipartBody8766727231497955458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817642740,"filename":"image_22112025_14_15_55_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06b91dbd08bf23666b8e84f5b6e4df89.jpg","text":"TemporaryFile(/tmp/multipartBody4812558149742174555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817642740,"filename":"image_22112025_14_17_10_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704240","file1":"1395704239","file0":"1395704238","file4":"1395704242","file5":"1395704243","file3":"1395704241"},"map_files_photo_id_array":[{"photo_id":"1395704243","filename":"file5"},{"photo_id":"1395704240","filename":"file2"},{"photo_id":"1395704242","filename":"file4"},{"photo_id":"1395704239","filename":"file1"},{"photo_id":"1395704238","filename":"file0"},{"photo_id":"1395704241","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704239":["hashtag1","hashtag2"]},{"1395704242":["hashtag1","hashtag2"]},{"1395704241":["hashtag1","hashtag2"]},{"1395704238":["hashtag1","hashtag2"]},{"1395704240":["hashtag1","hashtag2"]},{"1395704243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704239, 1395704242, 1395704241, 1395704238, 1395704240, 1395704243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42609620094299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:20:22.388348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_13_2547.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_16_3656.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_19_2549.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_22_2730.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_25_3624.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_28_2471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_13_2547.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_16_3656.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_19_2549.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_22_2730.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_25_3624.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_28_2471.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704246","1395704251","1395704262","1395704265","1395704255","1395704249"],"photo_ids_order":["1395704246","1395704249","1395704251","1395704255","1395704262","1395704265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbe6a6daf81008c3dc62e2eaee1b1619.jpg","text":"TemporaryFile(/tmp/multipartBody5339099367897068013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817683021,"filename":"image_22112025_14_17_13_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9fac7e518bc3e30770ca975007a502d.jpg","text":"TemporaryFile(/tmp/multipartBody7283906431560010703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817683021,"filename":"image_22112025_14_17_19_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/303771a40634eccd3534c41cbbc8ea66.jpg","text":"TemporaryFile(/tmp/multipartBody6694976111668510298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817683021,"filename":"image_22112025_14_17_25_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb2b5f771e9d12195f94c83d97f5345d.jpg","text":"TemporaryFile(/tmp/multipartBody3827564877815933328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817683021,"filename":"image_22112025_14_17_28_2471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/291e446855b703e29dff942f5a9af851.jpg","text":"TemporaryFile(/tmp/multipartBody2412231936353333051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817683021,"filename":"image_22112025_14_17_22_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/088a77f9c9e09e88943ac02e855c5d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3636554699334989776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817683021,"filename":"image_22112025_14_17_16_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704251","file1":"1395704249","file0":"1395704246","file4":"1395704262","file5":"1395704265","file3":"1395704255"},"map_files_photo_id_array":[{"photo_id":"1395704265","filename":"file5"},{"photo_id":"1395704251","filename":"file2"},{"photo_id":"1395704262","filename":"file4"},{"photo_id":"1395704249","filename":"file1"},{"photo_id":"1395704246","filename":"file0"},{"photo_id":"1395704255","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704246":["hashtag1","hashtag2"]},{"1395704251":["hashtag1","hashtag2"]},{"1395704262":["hashtag1","hashtag2"]},{"1395704265":["hashtag1","hashtag2"]},{"1395704255":["hashtag1","hashtag2"]},{"1395704249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704246, 1395704251, 1395704262, 1395704265, 1395704255, 1395704249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20081377029419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:21:03.240115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_31_3484.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_34_2525.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_40_6242.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_42_1597.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_43_1631.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_46_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_31_3484.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_34_2525.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_40_6242.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_42_1597.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_43_1631.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_46_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704266","1395704269","1395704274","1395704268","1395704271","1395704267"],"photo_ids_order":["1395704266","1395704267","1395704268","1395704269","1395704271","1395704274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71098efd7069c2a0fabc80a488bb6dcb.jpg","text":"TemporaryFile(/tmp/multipartBody173530865030276184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817723920,"filename":"image_22112025_14_17_31_3484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65e6adbaa3a2f1eb9d30bb23ed8fe8f3.jpg","text":"TemporaryFile(/tmp/multipartBody5324948021603394876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817723920,"filename":"image_22112025_14_17_42_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f398ee25c7cbc5ea0de6d1742b108ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2602580886550863560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817723920,"filename":"image_22112025_14_17_46_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed7c0e5cf7b38bdcc059759480d854ab.jpg","text":"TemporaryFile(/tmp/multipartBody7587532612365320721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817723920,"filename":"image_22112025_14_17_40_6242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57479becfd896a63e68dc4f2bd811619.jpg","text":"TemporaryFile(/tmp/multipartBody8634968856071602689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817723920,"filename":"image_22112025_14_17_43_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d298f27a3af5a8da33b69b4602bdf568.jpg","text":"TemporaryFile(/tmp/multipartBody6871572992028536728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817723920,"filename":"image_22112025_14_17_34_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704268","file1":"1395704267","file0":"1395704266","file4":"1395704271","file5":"1395704274","file3":"1395704269"},"map_files_photo_id_array":[{"photo_id":"1395704274","filename":"file5"},{"photo_id":"1395704268","filename":"file2"},{"photo_id":"1395704271","filename":"file4"},{"photo_id":"1395704267","filename":"file1"},{"photo_id":"1395704266","filename":"file0"},{"photo_id":"1395704269","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704266":["hashtag1","hashtag2"]},{"1395704269":["hashtag1","hashtag2"]},{"1395704274":["hashtag1","hashtag2"]},{"1395704268":["hashtag1","hashtag2"]},{"1395704271":["hashtag1","hashtag2"]},{"1395704267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704266, 1395704269, 1395704274, 1395704268, 1395704271, 1395704267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73790764808655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:21:42.484828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_49_2592.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_55_2717.jpg', '/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_58_2653.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_07_3012.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_11_3669.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_14_2871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_49_2592.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_55_2717.jpg
/home/pi/Desktop/images/22112025/14/17/image_22112025_14_17_58_2653.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_07_3012.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_11_3669.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_14_2871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704281","1395704284","1395704287","1395704286","1395704285","1395704288"],"photo_ids_order":["1395704281","1395704284","1395704285","1395704286","1395704287","1395704288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0368c404a67244d657d9bd0de5571d7b.jpg","text":"TemporaryFile(/tmp/multipartBody4363538312396011627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817763129,"filename":"image_22112025_14_17_49_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3e6da7d511fc2c0705e361995f116b6.jpg","text":"TemporaryFile(/tmp/multipartBody5690815822742809298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817763129,"filename":"image_22112025_14_17_55_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94bafc430e6c56e19e23e93c90c8f61d.jpg","text":"TemporaryFile(/tmp/multipartBody1275586598765926787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817763129,"filename":"image_22112025_14_19_11_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2dc598049c8e52ea9d73470925978c5.jpg","text":"TemporaryFile(/tmp/multipartBody7444542124421810820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817763129,"filename":"image_22112025_14_19_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46eb82d61af80c409fa8c0d47360dea3.jpg","text":"TemporaryFile(/tmp/multipartBody3734894279935688117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817763129,"filename":"image_22112025_14_17_58_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15b9810f606d0ff3209f2d59d9e310db.jpg","text":"TemporaryFile(/tmp/multipartBody2135088739537552662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817763129,"filename":"image_22112025_14_19_14_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704285","file1":"1395704284","file0":"1395704281","file4":"1395704287","file5":"1395704288","file3":"1395704286"},"map_files_photo_id_array":[{"photo_id":"1395704288","filename":"file5"},{"photo_id":"1395704285","filename":"file2"},{"photo_id":"1395704287","filename":"file4"},{"photo_id":"1395704284","filename":"file1"},{"photo_id":"1395704281","filename":"file0"},{"photo_id":"1395704286","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704281":["hashtag1","hashtag2"]},{"1395704284":["hashtag1","hashtag2"]},{"1395704287":["hashtag1","hashtag2"]},{"1395704286":["hashtag1","hashtag2"]},{"1395704285":["hashtag1","hashtag2"]},{"1395704288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704281, 1395704284, 1395704287, 1395704286, 1395704285, 1395704288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57242202758789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:22:22.811541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_20_3615.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_22_2496.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_25_2668.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_29_3658.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_31_2728.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_34_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_20_3615.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_22_2496.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_25_2668.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_29_3658.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_31_2728.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_34_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704312","1395704308","1395704302","1395704297","1395704291","1395704294"],"photo_ids_order":["1395704291","1395704294","1395704297","1395704302","1395704308","1395704312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d68dbd043cdae0020fd5d77a7e4de606.jpg","text":"TemporaryFile(/tmp/multipartBody3026452774296305775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817803475,"filename":"image_22112025_14_19_34_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f21663de581e932dd43aa30a1f13e06.jpg","text":"TemporaryFile(/tmp/multipartBody464085949904343678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817803475,"filename":"image_22112025_14_19_31_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a0b4a640f0f237432b129cd74ab3dfd.jpg","text":"TemporaryFile(/tmp/multipartBody14814176099592548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817803475,"filename":"image_22112025_14_19_29_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8ce5f6ded45ed8adbf63be86b394e42.jpg","text":"TemporaryFile(/tmp/multipartBody8595935259626360549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817803475,"filename":"image_22112025_14_19_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1187c34ee2fb14e78d1ed2fbd630db4.jpg","text":"TemporaryFile(/tmp/multipartBody1686285979377710480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817803475,"filename":"image_22112025_14_19_20_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/767839a1c277d021a9cba92db2ab6781.jpg","text":"TemporaryFile(/tmp/multipartBody9126047722817591121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817803475,"filename":"image_22112025_14_19_22_2496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704297","file1":"1395704294","file0":"1395704291","file4":"1395704308","file5":"1395704312","file3":"1395704302"},"map_files_photo_id_array":[{"photo_id":"1395704312","filename":"file5"},{"photo_id":"1395704297","filename":"file2"},{"photo_id":"1395704308","filename":"file4"},{"photo_id":"1395704294","filename":"file1"},{"photo_id":"1395704291","filename":"file0"},{"photo_id":"1395704302","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704312":["hashtag1","hashtag2"]},{"1395704308":["hashtag1","hashtag2"]},{"1395704302":["hashtag1","hashtag2"]},{"1395704297":["hashtag1","hashtag2"]},{"1395704291":["hashtag1","hashtag2"]},{"1395704294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704312, 1395704308, 1395704302, 1395704297, 1395704291, 1395704294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04259777069092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:23:02.580966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_38_3636.jpg', '/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_44_3590.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_07_3011.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_10_3654.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_13_2676.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_16_3452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_38_3636.jpg
/home/pi/Desktop/images/22112025/14/19/image_22112025_14_19_44_3590.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_07_3011.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_10_3654.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_13_2676.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_16_3452.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704326","1395704320","1395704323","1395704317","1395704319","1395704321"],"photo_ids_order":["1395704317","1395704319","1395704320","1395704321","1395704323","1395704326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f86d94f6109a5f06ec6999431c534ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5130742829254425221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817843334,"filename":"image_22112025_14_21_16_3452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fcc012d4cadc1bcac9ce3cc9e7cc97c.jpg","text":"TemporaryFile(/tmp/multipartBody1533813147395630725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817843334,"filename":"image_22112025_14_21_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5081efd22982ee30fc06c48efe7be844.jpg","text":"TemporaryFile(/tmp/multipartBody532115586271764854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817843334,"filename":"image_22112025_14_21_13_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99cef3beca5b3bde47c33b57385382a1.jpg","text":"TemporaryFile(/tmp/multipartBody5597196972982762756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817843334,"filename":"image_22112025_14_19_38_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c2f07623c667a8e3eb90e8bc58fd66f.jpg","text":"TemporaryFile(/tmp/multipartBody3825451157125769929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817843334,"filename":"image_22112025_14_19_44_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/196a2877b44c065055edcc3747f621bf.jpg","text":"TemporaryFile(/tmp/multipartBody485893070295050644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817843334,"filename":"image_22112025_14_21_10_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704320","file1":"1395704319","file0":"1395704317","file4":"1395704323","file5":"1395704326","file3":"1395704321"},"map_files_photo_id_array":[{"photo_id":"1395704326","filename":"file5"},{"photo_id":"1395704320","filename":"file2"},{"photo_id":"1395704323","filename":"file4"},{"photo_id":"1395704319","filename":"file1"},{"photo_id":"1395704317","filename":"file0"},{"photo_id":"1395704321","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704326":["hashtag1","hashtag2"]},{"1395704320":["hashtag1","hashtag2"]},{"1395704323":["hashtag1","hashtag2"]},{"1395704317":["hashtag1","hashtag2"]},{"1395704319":["hashtag1","hashtag2"]},{"1395704321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704326, 1395704320, 1395704323, 1395704317, 1395704319, 1395704321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29914450645447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:23:41.979342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_19_2556.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_22_3530.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_25_2659.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_28_2592.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_34_2583.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_37_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_19_2556.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_22_3530.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_25_2659.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_28_2592.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_34_2583.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_37_2591.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5239019393920898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:24:02.806167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_19_2556.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_22_3530.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_25_2659.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_28_2592.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_34_2583.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_37_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_19_2556.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_22_3530.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_25_2659.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_28_2592.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_34_2583.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_37_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704356","1395704359","1395704353","1395704352","1395704354","1395704348"],"photo_ids_order":["1395704348","1395704352","1395704353","1395704354","1395704356","1395704359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00eec96619e778b2a1206d5d3e4c4d69.jpg","text":"TemporaryFile(/tmp/multipartBody7977810403253538283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817903513,"filename":"image_22112025_14_21_34_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43504b2c96e97f6c0f046cbd68733654.jpg","text":"TemporaryFile(/tmp/multipartBody1219842364599029585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817903513,"filename":"image_22112025_14_21_37_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45af47faaa0a160404344db44c1ba782.jpg","text":"TemporaryFile(/tmp/multipartBody4445990562322635573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817903513,"filename":"image_22112025_14_21_25_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44837724ebe5ddee1e75bc4eebd80d0a.jpg","text":"TemporaryFile(/tmp/multipartBody7132068788526768073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817903513,"filename":"image_22112025_14_21_22_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d982b93c1d2fe86c1d8dadfb0f616d6.jpg","text":"TemporaryFile(/tmp/multipartBody6019259753868624012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817903513,"filename":"image_22112025_14_21_28_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1b80000e209a5f511ab90062d58c658.jpg","text":"TemporaryFile(/tmp/multipartBody486422743389738290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817903513,"filename":"image_22112025_14_21_19_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704353","file1":"1395704352","file0":"1395704348","file4":"1395704356","file5":"1395704359","file3":"1395704354"},"map_files_photo_id_array":[{"photo_id":"1395704359","filename":"file5"},{"photo_id":"1395704353","filename":"file2"},{"photo_id":"1395704356","filename":"file4"},{"photo_id":"1395704352","filename":"file1"},{"photo_id":"1395704348","filename":"file0"},{"photo_id":"1395704354","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704356":["hashtag1","hashtag2"]},{"1395704359":["hashtag1","hashtag2"]},{"1395704353":["hashtag1","hashtag2"]},{"1395704352":["hashtag1","hashtag2"]},{"1395704354":["hashtag1","hashtag2"]},{"1395704348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704356, 1395704359, 1395704353, 1395704352, 1395704354, 1395704348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58043694496155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:24:42.183857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_40_3702.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_43_2485.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_46_3671.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_49_2574.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_51_2532.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_55_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_40_3702.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_43_2485.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_46_3671.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_49_2574.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_51_2532.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_55_3608.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5221633911132812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:25:03.138910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_40_3702.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_43_2485.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_46_3671.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_49_2574.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_51_2532.jpg', '/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_55_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_40_3702.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_43_2485.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_46_3671.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_49_2574.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_51_2532.jpg
/home/pi/Desktop/images/22112025/14/21/image_22112025_14_21_55_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704374","1395704373","1395704382","1395704376","1395704378","1395704375"],"photo_ids_order":["1395704373","1395704374","1395704375","1395704376","1395704378","1395704382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45ee392805250d01da6dddeb3501b91d.jpg","text":"TemporaryFile(/tmp/multipartBody6137669085186647820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817965278,"filename":"image_22112025_14_21_43_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90d2657da9fef3f2b090fd24e16c5be6.jpg","text":"TemporaryFile(/tmp/multipartBody8558731921304332410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817965278,"filename":"image_22112025_14_21_40_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49944c8c34ea06736169ee494ba4b512.jpg","text":"TemporaryFile(/tmp/multipartBody122605357860282368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817965278,"filename":"image_22112025_14_21_55_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/861cb906c13db1c79a97e9a9ea8e0cbe.jpg","text":"TemporaryFile(/tmp/multipartBody2117751014618395234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817965278,"filename":"image_22112025_14_21_49_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bdbb33696428c66cb7ec98add0b1e90.jpg","text":"TemporaryFile(/tmp/multipartBody9205461458257980106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817965278,"filename":"image_22112025_14_21_51_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6a0c3503f695df8c7b9ae7afd52205d.jpg","text":"TemporaryFile(/tmp/multipartBody6664631901834853601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763817965278,"filename":"image_22112025_14_21_46_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704375","file1":"1395704374","file0":"1395704373","file4":"1395704378","file5":"1395704382","file3":"1395704376"},"map_files_photo_id_array":[{"photo_id":"1395704382","filename":"file5"},{"photo_id":"1395704375","filename":"file2"},{"photo_id":"1395704378","filename":"file4"},{"photo_id":"1395704374","filename":"file1"},{"photo_id":"1395704373","filename":"file0"},{"photo_id":"1395704376","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704374":["hashtag1","hashtag2"]},{"1395704373":["hashtag1","hashtag2"]},{"1395704382":["hashtag1","hashtag2"]},{"1395704376":["hashtag1","hashtag2"]},{"1395704378":["hashtag1","hashtag2"]},{"1395704375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704374, 1395704373, 1395704382, 1395704376, 1395704378, 1395704375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52162837982178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:25:42.469838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_01_6055.jpg', '/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_03_1625.jpg', '/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_05_1772.jpg', '/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_07_2609.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_07_3017.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_11_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_01_6055.jpg
/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_03_1625.jpg
/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_05_1772.jpg
/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_07_2609.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_07_3017.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_11_3653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5645780563354492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:26:03.193604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_01_6055.jpg', '/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_03_1625.jpg', '/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_05_1772.jpg', '/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_07_2609.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_07_3017.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_11_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_01_6055.jpg
/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_03_1625.jpg
/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_05_1772.jpg
/home/pi/Desktop/images/22112025/14/22/image_22112025_14_22_07_2609.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_07_3017.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_11_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704398","1395704401","1395704403","1395704406","1395704400","1395704399"],"photo_ids_order":["1395704398","1395704399","1395704400","1395704401","1395704403","1395704406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01f54c206f0be916cec365ea8415a056.jpg","text":"TemporaryFile(/tmp/multipartBody5704739100970786121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818023875,"filename":"image_22112025_14_22_01_6055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8d6094b152ec41c14571c1a92c8d3b6.jpg","text":"TemporaryFile(/tmp/multipartBody8824378325944889751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818023875,"filename":"image_22112025_14_22_07_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39351a5a79aca7956d99f7f56fcbd574.jpg","text":"TemporaryFile(/tmp/multipartBody6397993973008319302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818023875,"filename":"image_22112025_14_23_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4a314474873edaacfeb68bc09f099c7.jpg","text":"TemporaryFile(/tmp/multipartBody992187842008443398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818023875,"filename":"image_22112025_14_23_11_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/badad53744f492d77a8b5aab58028c94.jpg","text":"TemporaryFile(/tmp/multipartBody1433762295238673247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818023875,"filename":"image_22112025_14_22_05_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/335d9fc97f6189ba53445a3fc6aa1ff2.jpg","text":"TemporaryFile(/tmp/multipartBody100027033061645623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818023875,"filename":"image_22112025_14_22_03_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704400","file1":"1395704399","file0":"1395704398","file4":"1395704403","file5":"1395704406","file3":"1395704401"},"map_files_photo_id_array":[{"photo_id":"1395704406","filename":"file5"},{"photo_id":"1395704400","filename":"file2"},{"photo_id":"1395704403","filename":"file4"},{"photo_id":"1395704399","filename":"file1"},{"photo_id":"1395704398","filename":"file0"},{"photo_id":"1395704401","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704398":["hashtag1","hashtag2"]},{"1395704401":["hashtag1","hashtag2"]},{"1395704403":["hashtag1","hashtag2"]},{"1395704406":["hashtag1","hashtag2"]},{"1395704400":["hashtag1","hashtag2"]},{"1395704399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704398, 1395704401, 1395704403, 1395704406, 1395704400, 1395704399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89002704620361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:26:42.745786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_13_2591.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_17_3629.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_19_2518.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_22_2668.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_26_3589.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_28_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_13_2591.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_17_3629.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_19_2518.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_22_2668.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_26_3589.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_28_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704446","1395704419","1395704448","1395704445","1395704415","1395704447"],"photo_ids_order":["1395704415","1395704419","1395704445","1395704446","1395704447","1395704448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78dbfc3cef5c8727d9d3905344c10c60.jpg","text":"TemporaryFile(/tmp/multipartBody92361865493829995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818063373,"filename":"image_22112025_14_23_22_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3003015f35c9ac4d6199fa48afcaa62.jpg","text":"TemporaryFile(/tmp/multipartBody4470783447757336275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818063373,"filename":"image_22112025_14_23_17_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99d4234df6b98f407a78f7f173bdb8a1.jpg","text":"TemporaryFile(/tmp/multipartBody4420358543008401651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818063373,"filename":"image_22112025_14_23_28_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d364f5015c823c0eb0db67e9490b61b6.jpg","text":"TemporaryFile(/tmp/multipartBody1105919385681361060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818063373,"filename":"image_22112025_14_23_19_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fec7cde882deb224ccf6ff1c1c9d5f93.jpg","text":"TemporaryFile(/tmp/multipartBody2877985564331119347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818063373,"filename":"image_22112025_14_23_13_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11fbee2befcc9d18f7b1ff4beb9f4baf.jpg","text":"TemporaryFile(/tmp/multipartBody8610814439045097274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818063373,"filename":"image_22112025_14_23_26_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704445","file1":"1395704419","file0":"1395704415","file4":"1395704447","file5":"1395704448","file3":"1395704446"},"map_files_photo_id_array":[{"photo_id":"1395704448","filename":"file5"},{"photo_id":"1395704445","filename":"file2"},{"photo_id":"1395704447","filename":"file4"},{"photo_id":"1395704419","filename":"file1"},{"photo_id":"1395704415","filename":"file0"},{"photo_id":"1395704446","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704446":["hashtag1","hashtag2"]},{"1395704419":["hashtag1","hashtag2"]},{"1395704448":["hashtag1","hashtag2"]},{"1395704445":["hashtag1","hashtag2"]},{"1395704415":["hashtag1","hashtag2"]},{"1395704447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704446, 1395704419, 1395704448, 1395704445, 1395704415, 1395704447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14557909965515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:27:22.632368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_32_3687.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_34_2460.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_37_2570.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_40_3572.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_46_2844.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_49_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_32_3687.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_34_2460.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_37_2570.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_40_3572.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_46_2844.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_49_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704490","1395704484","1395704457","1395704459","1395704450","1395704453"],"photo_ids_order":["1395704450","1395704453","1395704457","1395704459","1395704484","1395704490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9a5448ee184274b5611a4b54c5030ed.jpg","text":"TemporaryFile(/tmp/multipartBody3358498811626336883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818103312,"filename":"image_22112025_14_23_49_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c86564fd668f22e51703ce0030c9344e.jpg","text":"TemporaryFile(/tmp/multipartBody4308701431317475423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818103312,"filename":"image_22112025_14_23_46_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/816311a4328f3604e552845e49a0345f.jpg","text":"TemporaryFile(/tmp/multipartBody1402980861710912116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818103312,"filename":"image_22112025_14_23_37_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3dd6dae55c9074e3f7a62d47047610a.jpg","text":"TemporaryFile(/tmp/multipartBody4277393841985158102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818103312,"filename":"image_22112025_14_23_40_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab42e6114ea700ea2b68be1cd2c01e80.jpg","text":"TemporaryFile(/tmp/multipartBody6938559345140266561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818103312,"filename":"image_22112025_14_23_32_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59e9490fef1c4c73d6b210d4d2ec6a9e.jpg","text":"TemporaryFile(/tmp/multipartBody5805576848926480343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818103312,"filename":"image_22112025_14_23_34_2460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704457","file1":"1395704453","file0":"1395704450","file4":"1395704484","file5":"1395704490","file3":"1395704459"},"map_files_photo_id_array":[{"photo_id":"1395704490","filename":"file5"},{"photo_id":"1395704457","filename":"file2"},{"photo_id":"1395704484","filename":"file4"},{"photo_id":"1395704453","filename":"file1"},{"photo_id":"1395704450","filename":"file0"},{"photo_id":"1395704459","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704490":["hashtag1","hashtag2"]},{"1395704484":["hashtag1","hashtag2"]},{"1395704457":["hashtag1","hashtag2"]},{"1395704459":["hashtag1","hashtag2"]},{"1395704450":["hashtag1","hashtag2"]},{"1395704453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704490, 1395704484, 1395704457, 1395704459, 1395704450, 1395704453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21641421318054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:28:03.304230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_52_2610.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_56_3528.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_58_2575.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_02_3594.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_04_2631.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_07_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_52_2610.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_56_3528.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_58_2575.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_02_3594.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_04_2631.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_07_2588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5808420181274414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:28:22.717978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_52_2610.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_56_3528.jpg', '/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_58_2575.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_02_3594.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_04_2631.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_07_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_52_2610.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_56_3528.jpg
/home/pi/Desktop/images/22112025/14/23/image_22112025_14_23_58_2575.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_02_3594.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_04_2631.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_07_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704512","1395704515","1395704509","1395704500","1395704503","1395704507"],"photo_ids_order":["1395704500","1395704503","1395704507","1395704509","1395704512","1395704515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a070623e23beeaee86a6205f013c6bc.jpg","text":"TemporaryFile(/tmp/multipartBody8426845020115395894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818163350,"filename":"image_22112025_14_24_04_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcc6de17760497b0e7b942ba0b7d4f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7902579938593476591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818163350,"filename":"image_22112025_14_24_07_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81b655dcbdd4eacf1333832a1d379399.jpg","text":"TemporaryFile(/tmp/multipartBody7536814791240410739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818163350,"filename":"image_22112025_14_24_02_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f29de11b1b88bd93595ed65a5844c13a.jpg","text":"TemporaryFile(/tmp/multipartBody8473486642496464261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818163350,"filename":"image_22112025_14_23_52_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c0d8fc51fa0e1ad1cb31619f2e27c42.jpg","text":"TemporaryFile(/tmp/multipartBody1891623588980177290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818163350,"filename":"image_22112025_14_23_56_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7631c8a1d99bc0c1482732e0d298a5d5.jpg","text":"TemporaryFile(/tmp/multipartBody1724757727071182709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818163350,"filename":"image_22112025_14_23_58_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704507","file1":"1395704503","file0":"1395704500","file4":"1395704512","file5":"1395704515","file3":"1395704509"},"map_files_photo_id_array":[{"photo_id":"1395704515","filename":"file5"},{"photo_id":"1395704507","filename":"file2"},{"photo_id":"1395704512","filename":"file4"},{"photo_id":"1395704503","filename":"file1"},{"photo_id":"1395704500","filename":"file0"},{"photo_id":"1395704509","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704512":["hashtag1","hashtag2"]},{"1395704515":["hashtag1","hashtag2"]},{"1395704509":["hashtag1","hashtag2"]},{"1395704500":["hashtag1","hashtag2"]},{"1395704503":["hashtag1","hashtag2"]},{"1395704507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704512, 1395704515, 1395704509, 1395704500, 1395704503, 1395704507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.220078468322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:29:03.148240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_11_3748.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_14_2779.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_16_2514.jpg', '/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_20_3602.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_07_3016.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_11_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_11_3748.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_14_2779.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_16_2514.jpg
/home/pi/Desktop/images/22112025/14/24/image_22112025_14_24_20_3602.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_07_3016.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_11_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704522","1395704516","1395704518","1395704520","1395704517","1395704525"],"photo_ids_order":["1395704516","1395704517","1395704518","1395704520","1395704522","1395704525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4dbe0ef63d8b388cdeb408accf461995.jpg","text":"TemporaryFile(/tmp/multipartBody7401834620367123291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818203881,"filename":"image_22112025_14_25_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40b7a5d875a2e42b86525cb8f7bc9074.jpg","text":"TemporaryFile(/tmp/multipartBody426823163776995716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818203881,"filename":"image_22112025_14_24_11_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb60a5dff28b6a9f846d7510f6903680.jpg","text":"TemporaryFile(/tmp/multipartBody8196800891488724460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818203881,"filename":"image_22112025_14_24_16_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/338a5c1be3ebe222aaf4285230185afe.jpg","text":"TemporaryFile(/tmp/multipartBody3186078294332263574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818203881,"filename":"image_22112025_14_24_20_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23ff7e650555edb6f08f40e3a69c3541.jpg","text":"TemporaryFile(/tmp/multipartBody3659500186432466912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818203881,"filename":"image_22112025_14_24_14_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bc3246606053de844aec868ec876907.jpg","text":"TemporaryFile(/tmp/multipartBody2002081681063909969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818203881,"filename":"image_22112025_14_25_11_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704518","file1":"1395704517","file0":"1395704516","file4":"1395704522","file5":"1395704525","file3":"1395704520"},"map_files_photo_id_array":[{"photo_id":"1395704525","filename":"file5"},{"photo_id":"1395704518","filename":"file2"},{"photo_id":"1395704522","filename":"file4"},{"photo_id":"1395704517","filename":"file1"},{"photo_id":"1395704516","filename":"file0"},{"photo_id":"1395704520","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704522":["hashtag1","hashtag2"]},{"1395704516":["hashtag1","hashtag2"]},{"1395704518":["hashtag1","hashtag2"]},{"1395704520":["hashtag1","hashtag2"]},{"1395704517":["hashtag1","hashtag2"]},{"1395704525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704522, 1395704516, 1395704518, 1395704520, 1395704517, 1395704525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21701622009277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:29:41.967935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_13_2536.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_19_2577.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_23_3568.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_25_2581.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_28_2772.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_32_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_13_2536.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_19_2577.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_23_3568.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_25_2581.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_28_2772.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_32_3655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704537","1395704545","1395704539","1395704541","1395704540","1395704534"],"photo_ids_order":["1395704534","1395704537","1395704539","1395704540","1395704541","1395704545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dda5c7cd7ba53293d4048a1cfa1923f9.jpg","text":"TemporaryFile(/tmp/multipartBody60214646697631501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818242613,"filename":"image_22112025_14_25_19_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10c17ebfd556acbc253e5e8fcbb7557f.jpg","text":"TemporaryFile(/tmp/multipartBody8373669395063653467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818242613,"filename":"image_22112025_14_25_32_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e364c1f6670b2cf1b7b4ea9ec1e1239d.jpg","text":"TemporaryFile(/tmp/multipartBody6866142232440565804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818242613,"filename":"image_22112025_14_25_23_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dac4f320f51ad660491c46fcb6b3d3da.jpg","text":"TemporaryFile(/tmp/multipartBody2668591346825237030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818242613,"filename":"image_22112025_14_25_28_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca3237356b3ee6bd49ac1ac59b03cf7b.jpg","text":"TemporaryFile(/tmp/multipartBody5740369785122102880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818242613,"filename":"image_22112025_14_25_25_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a60e648d1a40178e36fcf5e9a5bf2f1a.jpg","text":"TemporaryFile(/tmp/multipartBody797965005312915907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818242613,"filename":"image_22112025_14_25_13_2536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704539","file1":"1395704537","file0":"1395704534","file4":"1395704541","file5":"1395704545","file3":"1395704540"},"map_files_photo_id_array":[{"photo_id":"1395704545","filename":"file5"},{"photo_id":"1395704539","filename":"file2"},{"photo_id":"1395704541","filename":"file4"},{"photo_id":"1395704537","filename":"file1"},{"photo_id":"1395704534","filename":"file0"},{"photo_id":"1395704540","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704537":["hashtag1","hashtag2"]},{"1395704545":["hashtag1","hashtag2"]},{"1395704539":["hashtag1","hashtag2"]},{"1395704541":["hashtag1","hashtag2"]},{"1395704540":["hashtag1","hashtag2"]},{"1395704534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704537, 1395704545, 1395704539, 1395704541, 1395704540, 1395704534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.668442487716675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:30:22.231092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_34_2597.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_37_2601.jpg', '/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_41_3577.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_07_3011.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_11_3628.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_13_2490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_34_2597.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_37_2601.jpg
/home/pi/Desktop/images/22112025/14/25/image_22112025_14_25_41_3577.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_07_3011.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_11_3628.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_13_2490.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704563","1395704553","1395704556","1395704550","1395704561","1395704558"],"photo_ids_order":["1395704550","1395704553","1395704556","1395704558","1395704561","1395704563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f2bcb0d1bb2a84069a4bb5c92eb23b0.jpg","text":"TemporaryFile(/tmp/multipartBody2957567652777210982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818282951,"filename":"image_22112025_14_27_13_2490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eef470fdbe86c48a80b9a93ffb4acb7c.jpg","text":"TemporaryFile(/tmp/multipartBody1051962081114776465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818282951,"filename":"image_22112025_14_25_37_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb422153a64b8cc18b0138a5db1c7739.jpg","text":"TemporaryFile(/tmp/multipartBody7576968413067892175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818282951,"filename":"image_22112025_14_25_41_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a398f41396a3bdd7f933454c58a1c79e.jpg","text":"TemporaryFile(/tmp/multipartBody7596247546088247708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818282951,"filename":"image_22112025_14_25_34_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b926057dbcd13d70e0b5aa5a9abaf5b.jpg","text":"TemporaryFile(/tmp/multipartBody1344409409211909044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818282951,"filename":"image_22112025_14_27_11_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d00bda7e68403c71848cc3123b6fd16.jpg","text":"TemporaryFile(/tmp/multipartBody625429174693224844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818282951,"filename":"image_22112025_14_27_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704556","file1":"1395704553","file0":"1395704550","file4":"1395704561","file5":"1395704563","file3":"1395704558"},"map_files_photo_id_array":[{"photo_id":"1395704563","filename":"file5"},{"photo_id":"1395704556","filename":"file2"},{"photo_id":"1395704561","filename":"file4"},{"photo_id":"1395704553","filename":"file1"},{"photo_id":"1395704550","filename":"file0"},{"photo_id":"1395704558","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704563":["hashtag1","hashtag2"]},{"1395704553":["hashtag1","hashtag2"]},{"1395704556":["hashtag1","hashtag2"]},{"1395704550":["hashtag1","hashtag2"]},{"1395704561":["hashtag1","hashtag2"]},{"1395704558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704563, 1395704553, 1395704556, 1395704550, 1395704561, 1395704558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.449448108673096 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:31:24.277343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_17_3680.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_19_2473.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_23_3672.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_26_2595.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_28_2617.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_32_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_17_3680.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_19_2473.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_23_3672.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_26_2595.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_28_2617.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_32_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704581","1395704578","1395704576","1395704570","1395704573","1395704567"],"photo_ids_order":["1395704567","1395704570","1395704573","1395704576","1395704578","1395704581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e2197baa8b70df25f7f4bb6acb3966f.jpg","text":"TemporaryFile(/tmp/multipartBody3266380165751814275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818344930,"filename":"image_22112025_14_27_32_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ea871ce4a6f1b398955eafd5f7b2600.jpg","text":"TemporaryFile(/tmp/multipartBody6045714407149626289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818344930,"filename":"image_22112025_14_27_28_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31fc260194e9e70a371093fd705c78b7.jpg","text":"TemporaryFile(/tmp/multipartBody4528118597354355084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818344930,"filename":"image_22112025_14_27_26_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46b15d85477a4ef15e3cf588244d6f14.jpg","text":"TemporaryFile(/tmp/multipartBody1707077473833201437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818344930,"filename":"image_22112025_14_27_19_2473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7a962543abb5259da2c78d91b8968ab.jpg","text":"TemporaryFile(/tmp/multipartBody5710654007036840055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818344930,"filename":"image_22112025_14_27_23_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0ef58cbbd6fccc79523ec265b22a74c.jpg","text":"TemporaryFile(/tmp/multipartBody8402272521599305285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818344930,"filename":"image_22112025_14_27_17_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704573","file1":"1395704570","file0":"1395704567","file4":"1395704578","file5":"1395704581","file3":"1395704576"},"map_files_photo_id_array":[{"photo_id":"1395704581","filename":"file5"},{"photo_id":"1395704573","filename":"file2"},{"photo_id":"1395704578","filename":"file4"},{"photo_id":"1395704570","filename":"file1"},{"photo_id":"1395704567","filename":"file0"},{"photo_id":"1395704576","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704581":["hashtag1","hashtag2"]},{"1395704578":["hashtag1","hashtag2"]},{"1395704576":["hashtag1","hashtag2"]},{"1395704570":["hashtag1","hashtag2"]},{"1395704573":["hashtag1","hashtag2"]},{"1395704567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704581, 1395704578, 1395704576, 1395704570, 1395704573, 1395704567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4487247467041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:32:02.948729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_34_2600.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_38_3528.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_41_2600.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_43_2686.jpg', '/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_49_5300.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_34_2600.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_38_3528.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_41_2600.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_43_2686.jpg
/home/pi/Desktop/images/22112025/14/27/image_22112025_14_27_49_5300.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704590","1395704587","1395704584","1395704583","1395704582","1395704585"],"photo_ids_order":["1395704582","1395704583","1395704584","1395704585","1395704587","1395704590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/301c501f28fccae4a14f804d2bbf909a.jpg","text":"TemporaryFile(/tmp/multipartBody3006979147010320323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818383635,"filename":"image_22112025_14_29_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5039705fde2e86c2ff494fe372a143e3.jpg","text":"TemporaryFile(/tmp/multipartBody6987753027583093882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818383635,"filename":"image_22112025_14_27_49_5300.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef367f829d89b69ea25947a0d20fe78e.jpg","text":"TemporaryFile(/tmp/multipartBody4302504969318686204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818383635,"filename":"image_22112025_14_27_41_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ef0f5d74b84f43a1c566c77d9de715d.jpg","text":"TemporaryFile(/tmp/multipartBody4316620795996086984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818383635,"filename":"image_22112025_14_27_38_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fcd6228dfeabf73a066972071ea87f5.jpg","text":"TemporaryFile(/tmp/multipartBody5659662557515051130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818383635,"filename":"image_22112025_14_27_34_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2610bf5d7f3d371ef9477449387b3b7.jpg","text":"TemporaryFile(/tmp/multipartBody3798025749230628112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818383635,"filename":"image_22112025_14_27_43_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704584","file1":"1395704583","file0":"1395704582","file4":"1395704587","file5":"1395704590","file3":"1395704585"},"map_files_photo_id_array":[{"photo_id":"1395704590","filename":"file5"},{"photo_id":"1395704584","filename":"file2"},{"photo_id":"1395704587","filename":"file4"},{"photo_id":"1395704583","filename":"file1"},{"photo_id":"1395704582","filename":"file0"},{"photo_id":"1395704585","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704590":["hashtag1","hashtag2"]},{"1395704587":["hashtag1","hashtag2"]},{"1395704584":["hashtag1","hashtag2"]},{"1395704583":["hashtag1","hashtag2"]},{"1395704582":["hashtag1","hashtag2"]},{"1395704585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704590, 1395704587, 1395704584, 1395704583, 1395704582, 1395704585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5688054561615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:32:42.625590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_11_3731.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_13_2524.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_16_2752.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_20_3547.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_22_2608.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_26_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_11_3731.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_13_2524.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_16_2752.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_20_3547.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_22_2608.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_26_3519.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5331602096557617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:33:03.324480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_11_3731.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_13_2524.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_16_2752.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_20_3547.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_22_2608.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_26_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_11_3731.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_13_2524.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_16_2752.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_20_3547.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_22_2608.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_26_3519.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704605","1395704608","1395704610","1395704613","1395704607","1395704606"],"photo_ids_order":["1395704605","1395704606","1395704607","1395704608","1395704610","1395704613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64eee4cd8a4c5012e612204c25e4fcdd.jpg","text":"TemporaryFile(/tmp/multipartBody8280318781415126780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818444035,"filename":"image_22112025_14_29_11_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66acfdde60bf511002bf0c7227b87e01.jpg","text":"TemporaryFile(/tmp/multipartBody8863080989615572590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818444035,"filename":"image_22112025_14_29_20_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a08421c9e94f3257d2b0e8b6bdbba3b.jpg","text":"TemporaryFile(/tmp/multipartBody137881943281727974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818444035,"filename":"image_22112025_14_29_22_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0898ad6f5b230c855b9ed10fff8fb5af.jpg","text":"TemporaryFile(/tmp/multipartBody1005354306539799834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818444035,"filename":"image_22112025_14_29_26_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92834b162e6a8a41808511aa08c50aae.jpg","text":"TemporaryFile(/tmp/multipartBody4858444164824812981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818444035,"filename":"image_22112025_14_29_16_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe0409af9479e50db5c2f19bb8c221de.jpg","text":"TemporaryFile(/tmp/multipartBody943101496601060073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818444035,"filename":"image_22112025_14_29_13_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704607","file1":"1395704606","file0":"1395704605","file4":"1395704610","file5":"1395704613","file3":"1395704608"},"map_files_photo_id_array":[{"photo_id":"1395704613","filename":"file5"},{"photo_id":"1395704607","filename":"file2"},{"photo_id":"1395704610","filename":"file4"},{"photo_id":"1395704606","filename":"file1"},{"photo_id":"1395704605","filename":"file0"},{"photo_id":"1395704608","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704605":["hashtag1","hashtag2"]},{"1395704608":["hashtag1","hashtag2"]},{"1395704610":["hashtag1","hashtag2"]},{"1395704613":["hashtag1","hashtag2"]},{"1395704607":["hashtag1","hashtag2"]},{"1395704606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704605, 1395704608, 1395704610, 1395704613, 1395704607, 1395704606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86030054092407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:33:42.711750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_28_2606.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_32_3613.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_35_2661.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_37_2568.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_43_2655.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_47_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_28_2606.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_32_3613.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_35_2661.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_37_2568.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_43_2655.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_47_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704621","1395704623","1395704626","1395704625","1395704630","1395704627"],"photo_ids_order":["1395704621","1395704623","1395704625","1395704626","1395704627","1395704630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57f117d6167f1092adca6c2c73dd8148.jpg","text":"TemporaryFile(/tmp/multipartBody4896306513001667557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818483332,"filename":"image_22112025_14_29_28_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9315febdcc018b1f49424224ac26e46.jpg","text":"TemporaryFile(/tmp/multipartBody4599297319583679815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818483332,"filename":"image_22112025_14_29_32_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/478ee284c6bc3a6a756513aebf29338f.jpg","text":"TemporaryFile(/tmp/multipartBody4041793655592892337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818483332,"filename":"image_22112025_14_29_37_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a4d8f4980e998ae36f0c5907be00df5.jpg","text":"TemporaryFile(/tmp/multipartBody1480057238297275563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818483332,"filename":"image_22112025_14_29_35_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69734e8257deca14d2107289f13049af.jpg","text":"TemporaryFile(/tmp/multipartBody7644725455934353768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818483332,"filename":"image_22112025_14_29_47_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de8b07656ee34bedeb1bee0b06441412.jpg","text":"TemporaryFile(/tmp/multipartBody844681668749809581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818483332,"filename":"image_22112025_14_29_43_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704625","file1":"1395704623","file0":"1395704621","file4":"1395704627","file5":"1395704630","file3":"1395704626"},"map_files_photo_id_array":[{"photo_id":"1395704630","filename":"file5"},{"photo_id":"1395704625","filename":"file2"},{"photo_id":"1395704627","filename":"file4"},{"photo_id":"1395704623","filename":"file1"},{"photo_id":"1395704621","filename":"file0"},{"photo_id":"1395704626","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704621":["hashtag1","hashtag2"]},{"1395704623":["hashtag1","hashtag2"]},{"1395704626":["hashtag1","hashtag2"]},{"1395704625":["hashtag1","hashtag2"]},{"1395704630":["hashtag1","hashtag2"]},{"1395704627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704621, 1395704623, 1395704626, 1395704625, 1395704630, 1395704627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19428777694702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:34:22.037897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_49_2486.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_58_8945.jpg', '/home/pi/Desktop/images/22112025/14/29/image_22112025_14_30_00_1609.jpg', '/home/pi/Desktop/images/22112025/14/30/image_22112025_14_30_07_3012.jpg', '/home/pi/Desktop/images/22112025/14/30/image_22112025_14_30_11_3634.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_06_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_49_2486.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_29_58_8945.jpg
/home/pi/Desktop/images/22112025/14/29/image_22112025_14_30_00_1609.jpg
/home/pi/Desktop/images/22112025/14/30/image_22112025_14_30_07_3012.jpg
/home/pi/Desktop/images/22112025/14/30/image_22112025_14_30_11_3634.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_06_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704641","1395704644","1395704646","1395704634","1395704637","1395704648"],"photo_ids_order":["1395704634","1395704637","1395704641","1395704644","1395704646","1395704648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/634e3f9cf975a9c8f833a8883f94019b.jpg","text":"TemporaryFile(/tmp/multipartBody3181487954637358204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818522662,"filename":"image_22112025_14_30_00_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3de228460993799afca98345c67c5833.jpg","text":"TemporaryFile(/tmp/multipartBody8234681319089138497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818522662,"filename":"image_22112025_14_30_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82e2d632d8c8c77db1fb627726bfe12e.jpg","text":"TemporaryFile(/tmp/multipartBody4725631069938971421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818522662,"filename":"image_22112025_14_30_11_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2e859e7026a721e7605f6bcc32656c8.jpg","text":"TemporaryFile(/tmp/multipartBody1422750789595043050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818522662,"filename":"image_22112025_14_29_49_2486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c76ebdac3029c125283a8a4beef3e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1000620398552183633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818522662,"filename":"image_22112025_14_29_58_8945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f106523f9eb237e0cf6274dbc54e0f2c.jpg","text":"TemporaryFile(/tmp/multipartBody8328712550739808491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818522662,"filename":"image_22112025_14_31_06_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704641","file1":"1395704637","file0":"1395704634","file4":"1395704646","file5":"1395704648","file3":"1395704644"},"map_files_photo_id_array":[{"photo_id":"1395704648","filename":"file5"},{"photo_id":"1395704641","filename":"file2"},{"photo_id":"1395704646","filename":"file4"},{"photo_id":"1395704637","filename":"file1"},{"photo_id":"1395704634","filename":"file0"},{"photo_id":"1395704644","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704641":["hashtag1","hashtag2"]},{"1395704644":["hashtag1","hashtag2"]},{"1395704646":["hashtag1","hashtag2"]},{"1395704634":["hashtag1","hashtag2"]},{"1395704637":["hashtag1","hashtag2"]},{"1395704648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704641, 1395704644, 1395704646, 1395704634, 1395704637, 1395704648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.090325355529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:35:03.371416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_10_3616.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_13_2656.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_16_3550.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_19_2497.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_22_2786.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_25_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_10_3616.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_13_2656.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_16_3550.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_19_2497.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_22_2786.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_25_3742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704653","1395704656","1395704659","1395704650","1395704649","1395704651"],"photo_ids_order":["1395704649","1395704650","1395704651","1395704653","1395704656","1395704659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef61e9094cee342f2cf58930303bcc32.jpg","text":"TemporaryFile(/tmp/multipartBody9127269814767226808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818564085,"filename":"image_22112025_14_31_19_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1a404c56d02aa26d26ba8be43543cd5.jpg","text":"TemporaryFile(/tmp/multipartBody8263325961156663825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818564085,"filename":"image_22112025_14_31_22_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2f889d8a213f5ef213bb8f0faa5faf3.jpg","text":"TemporaryFile(/tmp/multipartBody3124334759649284414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818564085,"filename":"image_22112025_14_31_25_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f70d33a844a17478bfe7db86018d0df.jpg","text":"TemporaryFile(/tmp/multipartBody3084094967713873636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818564085,"filename":"image_22112025_14_31_13_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a4eee50261bd92f36d7963659d2d9a1.jpg","text":"TemporaryFile(/tmp/multipartBody6173147761737546358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818564085,"filename":"image_22112025_14_31_10_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bad6c0249839a40fa40e1ddde3efffe1.jpg","text":"TemporaryFile(/tmp/multipartBody7815304678388159478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818564085,"filename":"image_22112025_14_31_16_3550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704651","file1":"1395704650","file0":"1395704649","file4":"1395704656","file5":"1395704659","file3":"1395704653"},"map_files_photo_id_array":[{"photo_id":"1395704659","filename":"file5"},{"photo_id":"1395704651","filename":"file2"},{"photo_id":"1395704656","filename":"file4"},{"photo_id":"1395704650","filename":"file1"},{"photo_id":"1395704649","filename":"file0"},{"photo_id":"1395704653","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704653":["hashtag1","hashtag2"]},{"1395704656":["hashtag1","hashtag2"]},{"1395704659":["hashtag1","hashtag2"]},{"1395704650":["hashtag1","hashtag2"]},{"1395704649":["hashtag1","hashtag2"]},{"1395704651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704653, 1395704656, 1395704659, 1395704650, 1395704649, 1395704651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4401695728302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:35:42.570187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_28_2923.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_31_2529.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_34_3603.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_37_2543.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_39_2632.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_43_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_28_2923.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_31_2529.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_34_3603.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_37_2543.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_39_2632.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_43_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704704","1395704701","1395704673","1395704703","1395704699","1395704684"],"photo_ids_order":["1395704673","1395704684","1395704699","1395704701","1395704703","1395704704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f975c324d9b1f8b030ebf142177f4b04.jpg","text":"TemporaryFile(/tmp/multipartBody8861565395698918856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818603232,"filename":"image_22112025_14_31_43_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48566918ef947009dbad5aaea8701f02.jpg","text":"TemporaryFile(/tmp/multipartBody4359423857835573935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818603232,"filename":"image_22112025_14_31_37_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1c19ecdecaa0b6fb72b0bd3d739f87f.jpg","text":"TemporaryFile(/tmp/multipartBody7520116641290670436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818603232,"filename":"image_22112025_14_31_28_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a591fe9561c6328245e4176348db875.jpg","text":"TemporaryFile(/tmp/multipartBody6758341477399192173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818603232,"filename":"image_22112025_14_31_39_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79881f1b8a2905e8aa28a68a76b9dd57.jpg","text":"TemporaryFile(/tmp/multipartBody9047231358688914217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818603232,"filename":"image_22112025_14_31_34_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/497a0938677219500fa696593f54dc64.jpg","text":"TemporaryFile(/tmp/multipartBody8173592625462604584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818603232,"filename":"image_22112025_14_31_31_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704699","file1":"1395704684","file0":"1395704673","file4":"1395704703","file5":"1395704704","file3":"1395704701"},"map_files_photo_id_array":[{"photo_id":"1395704704","filename":"file5"},{"photo_id":"1395704699","filename":"file2"},{"photo_id":"1395704703","filename":"file4"},{"photo_id":"1395704684","filename":"file1"},{"photo_id":"1395704673","filename":"file0"},{"photo_id":"1395704701","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704704":["hashtag1","hashtag2"]},{"1395704701":["hashtag1","hashtag2"]},{"1395704673":["hashtag1","hashtag2"]},{"1395704703":["hashtag1","hashtag2"]},{"1395704699":["hashtag1","hashtag2"]},{"1395704684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704704, 1395704701, 1395704673, 1395704703, 1395704699, 1395704684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13504076004028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:36:22.782712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_46_2565.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_49_3568.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_53_3997.jpg', '/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_55_1524.jpg', '/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_07_3011.jpg', '/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_11_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_46_2565.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_49_3568.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_53_3997.jpg
/home/pi/Desktop/images/22112025/14/31/image_22112025_14_31_55_1524.jpg
/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_07_3011.jpg
/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_11_3732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704720","1395704717","1395704710","1395704713","1395704707","1395704723"],"photo_ids_order":["1395704707","1395704710","1395704713","1395704717","1395704720","1395704723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d58c14ef2ffcff8f86f50188ffc9f514.jpg","text":"TemporaryFile(/tmp/multipartBody2903291347099620928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818643422,"filename":"image_22112025_14_33_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba0c599d83dce29367122fc7487e6c46.jpg","text":"TemporaryFile(/tmp/multipartBody2822528442333008321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818643422,"filename":"image_22112025_14_31_55_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82e1f7e347b58b5a5317e99a1dfb871c.jpg","text":"TemporaryFile(/tmp/multipartBody3088553529993782704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818643422,"filename":"image_22112025_14_31_49_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34c2a42457c7aeaec6a54778b2003456.jpg","text":"TemporaryFile(/tmp/multipartBody1809026636797925130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818643422,"filename":"image_22112025_14_31_53_3997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9b6893248c435d15d49bb0f087d61a1.jpg","text":"TemporaryFile(/tmp/multipartBody648675891639826485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818643422,"filename":"image_22112025_14_31_46_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17284a7b860b5f5790a529d47d6c9c16.jpg","text":"TemporaryFile(/tmp/multipartBody8263242653740350265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818643422,"filename":"image_22112025_14_33_11_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704713","file1":"1395704710","file0":"1395704707","file4":"1395704720","file5":"1395704723","file3":"1395704717"},"map_files_photo_id_array":[{"photo_id":"1395704723","filename":"file5"},{"photo_id":"1395704713","filename":"file2"},{"photo_id":"1395704720","filename":"file4"},{"photo_id":"1395704710","filename":"file1"},{"photo_id":"1395704707","filename":"file0"},{"photo_id":"1395704717","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704720":["hashtag1","hashtag2"]},{"1395704717":["hashtag1","hashtag2"]},{"1395704710":["hashtag1","hashtag2"]},{"1395704713":["hashtag1","hashtag2"]},{"1395704707":["hashtag1","hashtag2"]},{"1395704723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704720, 1395704717, 1395704710, 1395704713, 1395704707, 1395704723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23050308227539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:37:02.701540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_13_2496.jpg', '/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_16_2770.jpg', '/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_25_2616.jpg', '/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_29_3518.jpg', '/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_35_4179.jpg', '/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_41_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_13_2496.jpg
/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_16_2770.jpg
/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_25_2616.jpg
/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_29_3518.jpg
/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_35_4179.jpg
/home/pi/Desktop/images/22112025/14/33/image_22112025_14_33_41_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704725","1395704728","1395704730","1395704733","1395704727","1395704736"],"photo_ids_order":["1395704725","1395704727","1395704728","1395704730","1395704733","1395704736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b01949190dd8242388b133ff89a382fb.jpg","text":"TemporaryFile(/tmp/multipartBody8657851586287488814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818687963,"filename":"image_22112025_14_33_13_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f953cb0f746609cca92d9173764adb3a.jpg","text":"TemporaryFile(/tmp/multipartBody4518168748793310086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818687963,"filename":"image_22112025_14_33_25_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42512c4fc2a1de8f7cbef96a658f619b.jpg","text":"TemporaryFile(/tmp/multipartBody4776946703835017599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818687963,"filename":"image_22112025_14_33_29_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c28f51ae41176616f13c12b3da424b17.jpg","text":"TemporaryFile(/tmp/multipartBody8515328569808012652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818687963,"filename":"image_22112025_14_33_35_4179.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/559e34e33ed0824776d2c5dbab6e6a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6456295842010289197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818687963,"filename":"image_22112025_14_33_16_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efbd4cea66ed2dc8545638a63bb27260.jpg","text":"TemporaryFile(/tmp/multipartBody1520483359690718950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818687963,"filename":"image_22112025_14_33_41_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704728","file1":"1395704727","file0":"1395704725","file4":"1395704733","file5":"1395704736","file3":"1395704730"},"map_files_photo_id_array":[{"photo_id":"1395704736","filename":"file5"},{"photo_id":"1395704728","filename":"file2"},{"photo_id":"1395704733","filename":"file4"},{"photo_id":"1395704727","filename":"file1"},{"photo_id":"1395704725","filename":"file0"},{"photo_id":"1395704730","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704725":["hashtag1","hashtag2"]},{"1395704728":["hashtag1","hashtag2"]},{"1395704730":["hashtag1","hashtag2"]},{"1395704733":["hashtag1","hashtag2"]},{"1395704727":["hashtag1","hashtag2"]},{"1395704736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704725, 1395704728, 1395704730, 1395704733, 1395704727, 1395704736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34014010429382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:38:02.587253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_06_3011.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_10_3823.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_13_2488.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_16_2755.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_28_2663.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_31_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_06_3011.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_10_3823.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_13_2488.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_16_2755.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_28_2663.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_31_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704752","1395704755","1395704749","1395704748","1395704750","1395704747"],"photo_ids_order":["1395704747","1395704748","1395704749","1395704750","1395704752","1395704755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64afb7be81e247ab6c16e1383c27ff59.jpg","text":"TemporaryFile(/tmp/multipartBody6029853449110846028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818743276,"filename":"image_22112025_14_35_28_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/265077d0b60eca840552f9f37b67eb46.jpg","text":"TemporaryFile(/tmp/multipartBody4402350148703988066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818743276,"filename":"image_22112025_14_35_31_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ada0b6239b3f4cba38b3f087993d76fb.jpg","text":"TemporaryFile(/tmp/multipartBody3324691985728234044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818743276,"filename":"image_22112025_14_35_13_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fe2f4c85fbe26b3117ec34139f1e152.jpg","text":"TemporaryFile(/tmp/multipartBody5464385938848669639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818743276,"filename":"image_22112025_14_35_10_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00aa70ab2e2d83d472b6f129cec8dbe1.jpg","text":"TemporaryFile(/tmp/multipartBody991515181765800685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818743276,"filename":"image_22112025_14_35_16_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6126b5f237cc178e29a12e1cc107b273.jpg","text":"TemporaryFile(/tmp/multipartBody5706558903585578666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818743276,"filename":"image_22112025_14_35_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704749","file1":"1395704748","file0":"1395704747","file4":"1395704752","file5":"1395704755","file3":"1395704750"},"map_files_photo_id_array":[{"photo_id":"1395704755","filename":"file5"},{"photo_id":"1395704749","filename":"file2"},{"photo_id":"1395704752","filename":"file4"},{"photo_id":"1395704748","filename":"file1"},{"photo_id":"1395704747","filename":"file0"},{"photo_id":"1395704750","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704752":["hashtag1","hashtag2"]},{"1395704755":["hashtag1","hashtag2"]},{"1395704749":["hashtag1","hashtag2"]},{"1395704748":["hashtag1","hashtag2"]},{"1395704750":["hashtag1","hashtag2"]},{"1395704747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704752, 1395704755, 1395704749, 1395704748, 1395704750, 1395704747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84830617904663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:38:42.152454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_34_2660.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_37_2714.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_40_3573.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_45_4770.jpg', '/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_46_1601.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_34_2660.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_37_2714.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_40_3573.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_45_4770.jpg
/home/pi/Desktop/images/22112025/14/35/image_22112025_14_35_46_1601.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704770","1395704767","1395704764","1395704769","1395704768","1395704771"],"photo_ids_order":["1395704764","1395704767","1395704768","1395704769","1395704770","1395704771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05bc02215c7c340f73fafecc9274da87.jpg","text":"TemporaryFile(/tmp/multipartBody9033448496839376488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818782802,"filename":"image_22112025_14_35_46_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49f5a9a241984ff3b32c2a034617fc73.jpg","text":"TemporaryFile(/tmp/multipartBody7412121579518100664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818782802,"filename":"image_22112025_14_35_37_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/253f83fdc2cad97b7f3f6bf91ca91a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8457143742104150817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818782802,"filename":"image_22112025_14_35_34_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dadadd5a086df087bd44f4781c3e0687.jpg","text":"TemporaryFile(/tmp/multipartBody1705672909739298158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818782802,"filename":"image_22112025_14_35_45_4770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66661808f558ca5ae9419f7542c102a5.jpg","text":"TemporaryFile(/tmp/multipartBody5771539019291718572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818782802,"filename":"image_22112025_14_35_40_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bff0b6caebabf3edb20eaa6348ecbf11.jpg","text":"TemporaryFile(/tmp/multipartBody448224196296453871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818782802,"filename":"image_22112025_14_37_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704768","file1":"1395704767","file0":"1395704764","file4":"1395704770","file5":"1395704771","file3":"1395704769"},"map_files_photo_id_array":[{"photo_id":"1395704771","filename":"file5"},{"photo_id":"1395704768","filename":"file2"},{"photo_id":"1395704770","filename":"file4"},{"photo_id":"1395704767","filename":"file1"},{"photo_id":"1395704764","filename":"file0"},{"photo_id":"1395704769","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704770":["hashtag1","hashtag2"]},{"1395704767":["hashtag1","hashtag2"]},{"1395704764":["hashtag1","hashtag2"]},{"1395704769":["hashtag1","hashtag2"]},{"1395704768":["hashtag1","hashtag2"]},{"1395704771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704770, 1395704767, 1395704764, 1395704769, 1395704768, 1395704771)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.49370241165161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:39:42.513582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_13_2591.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_26_2708.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_28_2580.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_34_2699.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_37_2713.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_41_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_13_2591.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_26_2708.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_28_2580.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_34_2699.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_37_2713.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_41_3563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704785","1395704782","1395704784","1395704787","1395704786","1395704789"],"photo_ids_order":["1395704782","1395704784","1395704785","1395704786","1395704787","1395704789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61321d7cf17cc5680b981a17ba742bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4139836647210419830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818843168,"filename":"image_22112025_14_37_28_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f923616a4e4cdcf58ce3c11eeffbc877.jpg","text":"TemporaryFile(/tmp/multipartBody5585195980337717894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818843168,"filename":"image_22112025_14_37_13_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fca5ccc2d83001b114a92d911a7a75eb.jpg","text":"TemporaryFile(/tmp/multipartBody1373081993503789327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818843168,"filename":"image_22112025_14_37_26_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/826410ce5e1a4eb148cf7b966dc81758.jpg","text":"TemporaryFile(/tmp/multipartBody478571600386377714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818843168,"filename":"image_22112025_14_37_37_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/966ab199f5ed4e15cd6d4a36f257952e.jpg","text":"TemporaryFile(/tmp/multipartBody7690099983959055043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818843168,"filename":"image_22112025_14_37_34_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0349ecd25b510ad06d87efdad6d17857.jpg","text":"TemporaryFile(/tmp/multipartBody1425240022242758275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818843168,"filename":"image_22112025_14_37_41_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704785","file1":"1395704784","file0":"1395704782","file4":"1395704787","file5":"1395704789","file3":"1395704786"},"map_files_photo_id_array":[{"photo_id":"1395704789","filename":"file5"},{"photo_id":"1395704785","filename":"file2"},{"photo_id":"1395704787","filename":"file4"},{"photo_id":"1395704784","filename":"file1"},{"photo_id":"1395704782","filename":"file0"},{"photo_id":"1395704786","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704785":["hashtag1","hashtag2"]},{"1395704782":["hashtag1","hashtag2"]},{"1395704784":["hashtag1","hashtag2"]},{"1395704787":["hashtag1","hashtag2"]},{"1395704786":["hashtag1","hashtag2"]},{"1395704789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704785, 1395704782, 1395704784, 1395704787, 1395704786, 1395704789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63732028007507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:40:22.723736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_46_2681.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_50_3642.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_52_2701.jpg', '/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_55_2653.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_07_3011.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_10_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_46_2681.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_50_3642.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_52_2701.jpg
/home/pi/Desktop/images/22112025/14/37/image_22112025_14_37_55_2653.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_07_3011.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_10_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704797","1395704794","1395704809","1395704812","1395704806","1395704800"],"photo_ids_order":["1395704794","1395704797","1395704800","1395704806","1395704809","1395704812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1703ebb9c4b215cde4ba4fdb3dd2f55.jpg","text":"TemporaryFile(/tmp/multipartBody4273672344388161192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818883401,"filename":"image_22112025_14_37_50_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/661a502e1990715182195db6264b48cf.jpg","text":"TemporaryFile(/tmp/multipartBody6615753755531997748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818883401,"filename":"image_22112025_14_37_46_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e86a86d67e15693d5f2bfdc2f1e479b8.jpg","text":"TemporaryFile(/tmp/multipartBody915240460453320473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818883401,"filename":"image_22112025_14_39_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd8249955fb72be08e71f790ebaafc23.jpg","text":"TemporaryFile(/tmp/multipartBody7458137695193377233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818883401,"filename":"image_22112025_14_39_10_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/763e3e268fad682fd49b358140f2e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody2622209033509477101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818883401,"filename":"image_22112025_14_37_55_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23d1a341039794b93d6a2b1f005e32b3.jpg","text":"TemporaryFile(/tmp/multipartBody6925542088154338834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818883401,"filename":"image_22112025_14_37_52_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704800","file1":"1395704797","file0":"1395704794","file4":"1395704809","file5":"1395704812","file3":"1395704806"},"map_files_photo_id_array":[{"photo_id":"1395704812","filename":"file5"},{"photo_id":"1395704800","filename":"file2"},{"photo_id":"1395704809","filename":"file4"},{"photo_id":"1395704797","filename":"file1"},{"photo_id":"1395704794","filename":"file0"},{"photo_id":"1395704806","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704797":["hashtag1","hashtag2"]},{"1395704794":["hashtag1","hashtag2"]},{"1395704809":["hashtag1","hashtag2"]},{"1395704812":["hashtag1","hashtag2"]},{"1395704806":["hashtag1","hashtag2"]},{"1395704800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704797, 1395704794, 1395704809, 1395704812, 1395704806, 1395704800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91709899902344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:41:02.590851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_16_3497.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_19_2662.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_28_2589.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_31_3722.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_40_2658.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_43_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_16_3497.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_19_2662.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_28_2589.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_31_3722.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_40_2658.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_43_3564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704813","1395704815","1395704818","1395704820","1395704823","1395704817"],"photo_ids_order":["1395704813","1395704815","1395704817","1395704818","1395704820","1395704823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8802fd7fa55e2c8aeeec6f01945d0e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7928568144077615972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818923326,"filename":"image_22112025_14_39_16_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/490cbace2e89b8928ce4205f8e7ad5d2.jpg","text":"TemporaryFile(/tmp/multipartBody8414860669184271517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818923326,"filename":"image_22112025_14_39_19_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d749ddf105c7870ef649e5ca96012b08.jpg","text":"TemporaryFile(/tmp/multipartBody5924811674323949878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818923326,"filename":"image_22112025_14_39_31_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f595e626145137241a0fd5881ebd91a9.jpg","text":"TemporaryFile(/tmp/multipartBody2571680562550527676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818923326,"filename":"image_22112025_14_39_40_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dcfa689071b9607d987284b3d15e2fb4.jpg","text":"TemporaryFile(/tmp/multipartBody3879319783873035637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818923326,"filename":"image_22112025_14_39_43_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69cb2e5f8bf3179132e6e274dc686d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2323764392139670993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818923326,"filename":"image_22112025_14_39_28_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704817","file1":"1395704815","file0":"1395704813","file4":"1395704820","file5":"1395704823","file3":"1395704818"},"map_files_photo_id_array":[{"photo_id":"1395704823","filename":"file5"},{"photo_id":"1395704817","filename":"file2"},{"photo_id":"1395704820","filename":"file4"},{"photo_id":"1395704815","filename":"file1"},{"photo_id":"1395704813","filename":"file0"},{"photo_id":"1395704818","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704813":["hashtag1","hashtag2"]},{"1395704815":["hashtag1","hashtag2"]},{"1395704818":["hashtag1","hashtag2"]},{"1395704820":["hashtag1","hashtag2"]},{"1395704823":["hashtag1","hashtag2"]},{"1395704817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704813, 1395704815, 1395704818, 1395704820, 1395704823, 1395704817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5112464427948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:41:41.869702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_53_1788.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_55_1597.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_58_2518.jpg', '/home/pi/Desktop/images/22112025/14/39/image_22112025_14_40_01_3648.jpg', '/home/pi/Desktop/images/22112025/14/40/image_22112025_14_40_04_2804.jpg', '/home/pi/Desktop/images/22112025/14/40/image_22112025_14_40_07_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_53_1788.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_55_1597.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_39_58_2518.jpg
/home/pi/Desktop/images/22112025/14/39/image_22112025_14_40_01_3648.jpg
/home/pi/Desktop/images/22112025/14/40/image_22112025_14_40_04_2804.jpg
/home/pi/Desktop/images/22112025/14/40/image_22112025_14_40_07_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704834","1395704833","1395704836","1395704841","1395704835","1395704831"],"photo_ids_order":["1395704831","1395704833","1395704834","1395704835","1395704836","1395704841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a7b6e2fb34ae214d0b3cd0c938f449c.jpg","text":"TemporaryFile(/tmp/multipartBody3285840824801917517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818962591,"filename":"image_22112025_14_39_58_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67634aab1bfd0e5b38b232a8f7844603.jpg","text":"TemporaryFile(/tmp/multipartBody6801178853447979384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818962591,"filename":"image_22112025_14_39_55_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9cca3315879ee5ed393fa877cf3b7b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4778268949776358760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818962591,"filename":"image_22112025_14_40_04_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86dbc0aa27d1f7aceb667cab6da3fc67.jpg","text":"TemporaryFile(/tmp/multipartBody1701492597435870426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818962591,"filename":"image_22112025_14_40_07_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b0e9da835e9ee596c3939f7379486f5.jpg","text":"TemporaryFile(/tmp/multipartBody781689237802803938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818962591,"filename":"image_22112025_14_40_01_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b381986fedfcca9145b6e23a74e7682.jpg","text":"TemporaryFile(/tmp/multipartBody8335929197823009858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763818962591,"filename":"image_22112025_14_39_53_1788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704834","file1":"1395704833","file0":"1395704831","file4":"1395704836","file5":"1395704841","file3":"1395704835"},"map_files_photo_id_array":[{"photo_id":"1395704841","filename":"file5"},{"photo_id":"1395704834","filename":"file2"},{"photo_id":"1395704836","filename":"file4"},{"photo_id":"1395704833","filename":"file1"},{"photo_id":"1395704831","filename":"file0"},{"photo_id":"1395704835","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704834":["hashtag1","hashtag2"]},{"1395704833":["hashtag1","hashtag2"]},{"1395704836":["hashtag1","hashtag2"]},{"1395704841":["hashtag1","hashtag2"]},{"1395704835":["hashtag1","hashtag2"]},{"1395704831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704834, 1395704833, 1395704836, 1395704841, 1395704835, 1395704831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74520969390869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:42:22.155836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/40/image_22112025_14_40_10_3808.jpg', '/home/pi/Desktop/images/22112025/14/40/image_22112025_14_40_13_2615.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_07_3018.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_10_3584.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_13_2652.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_17_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/40/image_22112025_14_40_10_3808.jpg
/home/pi/Desktop/images/22112025/14/40/image_22112025_14_40_13_2615.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_07_3018.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_10_3584.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_13_2652.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_17_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704851","1395704844","1395704853","1395704847","1395704855","1395704858"],"photo_ids_order":["1395704844","1395704847","1395704851","1395704853","1395704855","1395704858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c362e2bb438f75fadf0ca687b090f072.jpg","text":"TemporaryFile(/tmp/multipartBody5159690238987584490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819002881,"filename":"image_22112025_14_41_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7749fe0c08befcc3ba10063fe072e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6433799366373214939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819002881,"filename":"image_22112025_14_40_10_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65b1484d0bc86ba73662cf3b94cea480.jpg","text":"TemporaryFile(/tmp/multipartBody8804992300958543134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819002881,"filename":"image_22112025_14_41_10_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60f3bea59261286c19da1616656a6b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4897001012898358700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819002881,"filename":"image_22112025_14_40_13_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/703d6d0ae139b2f4bab7b30a4fc20085.jpg","text":"TemporaryFile(/tmp/multipartBody2703302600455931190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819002881,"filename":"image_22112025_14_41_13_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7dcbde1671d726b4bddc1416f064801.jpg","text":"TemporaryFile(/tmp/multipartBody1933949387607677565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819002881,"filename":"image_22112025_14_41_17_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704851","file1":"1395704847","file0":"1395704844","file4":"1395704855","file5":"1395704858","file3":"1395704853"},"map_files_photo_id_array":[{"photo_id":"1395704858","filename":"file5"},{"photo_id":"1395704851","filename":"file2"},{"photo_id":"1395704855","filename":"file4"},{"photo_id":"1395704847","filename":"file1"},{"photo_id":"1395704844","filename":"file0"},{"photo_id":"1395704853","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704851":["hashtag1","hashtag2"]},{"1395704844":["hashtag1","hashtag2"]},{"1395704853":["hashtag1","hashtag2"]},{"1395704847":["hashtag1","hashtag2"]},{"1395704855":["hashtag1","hashtag2"]},{"1395704858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704851, 1395704844, 1395704853, 1395704847, 1395704855, 1395704858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96108603477478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:43:02.649920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_20_2909.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_22_2585.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_25_2671.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_29_3530.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_31_2633.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_35_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_20_2909.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_22_2585.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_25_2671.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_29_3530.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_31_2633.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_35_3528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704863","1395704860","1395704862","1395704865","1395704868","1395704861"],"photo_ids_order":["1395704860","1395704861","1395704862","1395704863","1395704865","1395704868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/607878423601a6b43c851f65e8775d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4293010643025982242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819043480,"filename":"image_22112025_14_41_29_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcb55e27e5ffb9620d3ed4515e35218c.jpg","text":"TemporaryFile(/tmp/multipartBody6073727380032505326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819043480,"filename":"image_22112025_14_41_20_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7544f60de4b683e577f34b6f8480bca7.jpg","text":"TemporaryFile(/tmp/multipartBody4523874453105510480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819043480,"filename":"image_22112025_14_41_25_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfbe4bd9e315fb197b10709ee4749795.jpg","text":"TemporaryFile(/tmp/multipartBody5250477213253541571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819043480,"filename":"image_22112025_14_41_31_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be5c73c69f2e0c3933f7ad737bff6fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4620973867175184637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819043480,"filename":"image_22112025_14_41_35_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b84e397afa8ad698e262923e424b256.jpg","text":"TemporaryFile(/tmp/multipartBody4706087728295900121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819043480,"filename":"image_22112025_14_41_22_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704862","file1":"1395704861","file0":"1395704860","file4":"1395704865","file5":"1395704868","file3":"1395704863"},"map_files_photo_id_array":[{"photo_id":"1395704868","filename":"file5"},{"photo_id":"1395704862","filename":"file2"},{"photo_id":"1395704865","filename":"file4"},{"photo_id":"1395704861","filename":"file1"},{"photo_id":"1395704860","filename":"file0"},{"photo_id":"1395704863","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704863":["hashtag1","hashtag2"]},{"1395704860":["hashtag1","hashtag2"]},{"1395704862":["hashtag1","hashtag2"]},{"1395704865":["hashtag1","hashtag2"]},{"1395704868":["hashtag1","hashtag2"]},{"1395704861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704863, 1395704860, 1395704862, 1395704865, 1395704868, 1395704861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.212432622909546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:43:42.107616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_37_2469.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_41_3505.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_44_2896.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_46_2659.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_49_2620.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_53_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_37_2469.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_41_3505.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_44_2896.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_46_2659.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_49_2620.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_53_3712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704881","1395704875","1395704880","1395704883","1395704882","1395704879"],"photo_ids_order":["1395704875","1395704879","1395704880","1395704881","1395704882","1395704883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fbbbdec653e3c38ec5f20a0b0e1c997.jpg","text":"TemporaryFile(/tmp/multipartBody4265579611643108497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819082862,"filename":"image_22112025_14_41_46_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33bead23ba47877c583b8c515eaa56a8.jpg","text":"TemporaryFile(/tmp/multipartBody1205311907188944145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819082862,"filename":"image_22112025_14_41_37_2469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c83122806e296296c1af634a12a36a52.jpg","text":"TemporaryFile(/tmp/multipartBody603087835980650926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819082862,"filename":"image_22112025_14_41_44_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94007a647fa0225b2275c0e60718dc63.jpg","text":"TemporaryFile(/tmp/multipartBody3385011396547350330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819082862,"filename":"image_22112025_14_41_53_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7d33fb0aead467473be025f58d39f52.jpg","text":"TemporaryFile(/tmp/multipartBody3695884506487965221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819082862,"filename":"image_22112025_14_41_49_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8097c624b99d42159d497dd132c1173.jpg","text":"TemporaryFile(/tmp/multipartBody8201285031113121462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819082862,"filename":"image_22112025_14_41_41_3505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704880","file1":"1395704879","file0":"1395704875","file4":"1395704882","file5":"1395704883","file3":"1395704881"},"map_files_photo_id_array":[{"photo_id":"1395704883","filename":"file5"},{"photo_id":"1395704880","filename":"file2"},{"photo_id":"1395704882","filename":"file4"},{"photo_id":"1395704879","filename":"file1"},{"photo_id":"1395704875","filename":"file0"},{"photo_id":"1395704881","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704881":["hashtag1","hashtag2"]},{"1395704875":["hashtag1","hashtag2"]},{"1395704880":["hashtag1","hashtag2"]},{"1395704883":["hashtag1","hashtag2"]},{"1395704882":["hashtag1","hashtag2"]},{"1395704879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704881, 1395704875, 1395704880, 1395704883, 1395704882, 1395704879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.884464740753174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:44:22.339736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_55_2712.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_58_2662.jpg', '/home/pi/Desktop/images/22112025/14/41/image_22112025_14_42_01_3532.jpg', '/home/pi/Desktop/images/22112025/14/42/image_22112025_14_42_04_2666.jpg', '/home/pi/Desktop/images/22112025/14/42/image_22112025_14_42_08_3487.jpg', '/home/pi/Desktop/images/22112025/14/42/image_22112025_14_42_10_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_55_2712.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_41_58_2662.jpg
/home/pi/Desktop/images/22112025/14/41/image_22112025_14_42_01_3532.jpg
/home/pi/Desktop/images/22112025/14/42/image_22112025_14_42_04_2666.jpg
/home/pi/Desktop/images/22112025/14/42/image_22112025_14_42_08_3487.jpg
/home/pi/Desktop/images/22112025/14/42/image_22112025_14_42_10_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704900","1395704893","1395704889","1395704886","1395704904","1395704897"],"photo_ids_order":["1395704886","1395704889","1395704893","1395704897","1395704900","1395704904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/624c4a0111ea3b5eb17e2a96ff814fba.jpg","text":"TemporaryFile(/tmp/multipartBody4264111773033041738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819123010,"filename":"image_22112025_14_42_08_3487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d87917c0f260440ff97d80538866472c.jpg","text":"TemporaryFile(/tmp/multipartBody6391581432582703916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819123010,"filename":"image_22112025_14_42_01_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1c8c07f0e7df9001ba96f8cfe1154a2.jpg","text":"TemporaryFile(/tmp/multipartBody8219064775095123531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819123010,"filename":"image_22112025_14_41_58_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/375048cebe5ca2fc51f248358c550cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1097830984323454351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819123010,"filename":"image_22112025_14_41_55_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15706dd1b254ed519db34f0117433aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5159928576131921908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819123010,"filename":"image_22112025_14_42_10_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0872b404e6254e14a1c230f919d0c499.jpg","text":"TemporaryFile(/tmp/multipartBody8405457448565469053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819123010,"filename":"image_22112025_14_42_04_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704893","file1":"1395704889","file0":"1395704886","file4":"1395704900","file5":"1395704904","file3":"1395704897"},"map_files_photo_id_array":[{"photo_id":"1395704904","filename":"file5"},{"photo_id":"1395704893","filename":"file2"},{"photo_id":"1395704900","filename":"file4"},{"photo_id":"1395704889","filename":"file1"},{"photo_id":"1395704886","filename":"file0"},{"photo_id":"1395704897","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704900":["hashtag1","hashtag2"]},{"1395704893":["hashtag1","hashtag2"]},{"1395704889":["hashtag1","hashtag2"]},{"1395704886":["hashtag1","hashtag2"]},{"1395704904":["hashtag1","hashtag2"]},{"1395704897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704900, 1395704893, 1395704889, 1395704886, 1395704904, 1395704897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.706791639328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:45:02.573529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_06_3017.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_10_3765.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_13_2685.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_15_2564.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_19_3701.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_24_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_06_3017.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_10_3765.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_13_2685.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_15_2564.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_19_3701.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_24_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395704912","1395704909","1395704914","1395704908","1395704910","1395704907"],"photo_ids_order":["1395704907","1395704908","1395704909","1395704910","1395704912","1395704914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79308540757c67ed008a0efd24697cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4320580587277360369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819163321,"filename":"image_22112025_14_43_19_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e61f905cded14f08ba07efdcc7d3d8a.jpg","text":"TemporaryFile(/tmp/multipartBody628778177535640715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819163321,"filename":"image_22112025_14_43_13_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/724d19ae321f855ed0ba31defa6dbe8e.jpg","text":"TemporaryFile(/tmp/multipartBody3928327763518941670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819163321,"filename":"image_22112025_14_43_24_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d905cc7cba00a952ef204137b81ff0b8.jpg","text":"TemporaryFile(/tmp/multipartBody4170431190880330212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819163321,"filename":"image_22112025_14_43_10_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/929bcfa1de3034e18642f3fef7a5cb3e.jpg","text":"TemporaryFile(/tmp/multipartBody2237135059931526837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819163321,"filename":"image_22112025_14_43_15_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ae939b4f6e64700b84ba32a951b186d.jpg","text":"TemporaryFile(/tmp/multipartBody8297453624171343262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819163321,"filename":"image_22112025_14_43_06_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704909","file1":"1395704908","file0":"1395704907","file4":"1395704912","file5":"1395704914","file3":"1395704910"},"map_files_photo_id_array":[{"photo_id":"1395704914","filename":"file5"},{"photo_id":"1395704909","filename":"file2"},{"photo_id":"1395704912","filename":"file4"},{"photo_id":"1395704908","filename":"file1"},{"photo_id":"1395704907","filename":"file0"},{"photo_id":"1395704910","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704912":["hashtag1","hashtag2"]},{"1395704909":["hashtag1","hashtag2"]},{"1395704914":["hashtag1","hashtag2"]},{"1395704908":["hashtag1","hashtag2"]},{"1395704910":["hashtag1","hashtag2"]},{"1395704907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704912, 1395704909, 1395704914, 1395704908, 1395704910, 1395704907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26628398895264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:45:41.987922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_28_3574.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_31_2551.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_33_2760.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_37_3543.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_40_2649.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_42_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_28_3574.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_31_2551.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_33_2760.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_37_3543.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_40_2649.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_42_2851.jpg
 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":["1395704932","1395704926","1395704929","1395704934","1395704921","1395704930"],"photo_ids_order":["1395704921","1395704926","1395704929","1395704930","1395704932","1395704934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4576ee6634750e004964b28a5a0602bc.jpg","text":"TemporaryFile(/tmp/multipartBody3932529781382652713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819202643,"filename":"image_22112025_14_43_40_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d872d52c1999720f4c1303619ff48e64.jpg","text":"TemporaryFile(/tmp/multipartBody8186645314431294600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819202643,"filename":"image_22112025_14_43_31_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/558e3657ef18e39d0b8b8504be0bd2de.jpg","text":"TemporaryFile(/tmp/multipartBody3562146137705422401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819202643,"filename":"image_22112025_14_43_33_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f21df5b2c05392d66bf1b0b8c47059a.jpg","text":"TemporaryFile(/tmp/multipartBody4214323242965106419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819202643,"filename":"image_22112025_14_43_42_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffd950c20500e6e320690dcb0dfff1ec.jpg","text":"TemporaryFile(/tmp/multipartBody3210892008158901196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819202643,"filename":"image_22112025_14_43_28_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9d0840f17d54e334592698bc99fa5f3.jpg","text":"TemporaryFile(/tmp/multipartBody1804467063817520545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819202643,"filename":"image_22112025_14_43_37_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395704929","file1":"1395704926","file0":"1395704921","file4":"1395704932","file5":"1395704934","file3":"1395704930"},"map_files_photo_id_array":[{"photo_id":"1395704934","filename":"file5"},{"photo_id":"1395704929","filename":"file2"},{"photo_id":"1395704932","filename":"file4"},{"photo_id":"1395704926","filename":"file1"},{"photo_id":"1395704921","filename":"file0"},{"photo_id":"1395704930","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395704932":["hashtag1","hashtag2"]},{"1395704926":["hashtag1","hashtag2"]},{"1395704929":["hashtag1","hashtag2"]},{"1395704934":["hashtag1","hashtag2"]},{"1395704921":["hashtag1","hashtag2"]},{"1395704930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395704932, 1395704926, 1395704929, 1395704934, 1395704921, 1395704930)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395704929 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_33_2760.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395704929 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_33_2760.jpg";
uploaded 6 photos
time to upload: 69.53414177894592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:47:07.778453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:47:27.162515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
 val : 1 : upload photos already in processing! 
2025-11-22 14:48:05.909786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
 val : 1 : upload photos already in processing! 
2025-11-22 14:48:45.250126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:49:02.536651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:49:21.928395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_28_3574.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_31_2551.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_33_2760.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_37_3543.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_40_2649.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_42_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_28_3574.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_31_2551.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_33_2760.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_37_3543.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_40_2649.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_42_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705031","1395705034","1395705048","1395705047","1395705044","1395705038"],"photo_ids_order":["1395705031","1395705034","1395705038","1395705044","1395705047","1395705048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/899557eed1c67bc16c1005d194838c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3747859685014945431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819422601,"filename":"image_22112025_14_43_28_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3940273533f29d084607a98ea4d67c97.jpg","text":"TemporaryFile(/tmp/multipartBody5433151442032961181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819422601,"filename":"image_22112025_14_43_31_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aac0ea91ae22fd6c700dc15f596db8be.jpg","text":"TemporaryFile(/tmp/multipartBody3765121301541497755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819422601,"filename":"image_22112025_14_43_42_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5203dbd19680697ddae84848fe0a19d.jpg","text":"TemporaryFile(/tmp/multipartBody1653036620667407108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819422601,"filename":"image_22112025_14_43_40_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33c967982c57b4241e544d116b462716.jpg","text":"TemporaryFile(/tmp/multipartBody6675102001326540202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819422601,"filename":"image_22112025_14_43_37_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d954076257fdc26af4c60ffcf9c1fe96.jpg","text":"TemporaryFile(/tmp/multipartBody7140446207391982522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819422601,"filename":"image_22112025_14_43_33_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705038","file1":"1395705034","file0":"1395705031","file4":"1395705047","file5":"1395705048","file3":"1395705044"},"map_files_photo_id_array":[{"photo_id":"1395705048","filename":"file5"},{"photo_id":"1395705038","filename":"file2"},{"photo_id":"1395705047","filename":"file4"},{"photo_id":"1395705034","filename":"file1"},{"photo_id":"1395705031","filename":"file0"},{"photo_id":"1395705044","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705031":["hashtag1","hashtag2"]},{"1395705034":["hashtag1","hashtag2"]},{"1395705048":["hashtag1","hashtag2"]},{"1395705047":["hashtag1","hashtag2"]},{"1395705044":["hashtag1","hashtag2"]},{"1395705038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705031, 1395705034, 1395705048, 1395705047, 1395705044, 1395705038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.86221528053284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:50:22.157609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_46_3712.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_49_2562.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_51_2663.jpg', '/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_55_3624.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_07_3012.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_11_3803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_46_3712.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_49_2562.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_51_2663.jpg
/home/pi/Desktop/images/22112025/14/43/image_22112025_14_43_55_3624.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_07_3012.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_11_3803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705067","1395705060","1395705054","1395705063","1395705057","1395705050"],"photo_ids_order":["1395705050","1395705054","1395705057","1395705060","1395705063","1395705067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da9614f3160d6b83d29be1dd01ad8d79.jpg","text":"TemporaryFile(/tmp/multipartBody8702152519436881280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819482841,"filename":"image_22112025_14_45_11_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef76916f760d6015b4ff216614256b37.jpg","text":"TemporaryFile(/tmp/multipartBody2734685512315122445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819482841,"filename":"image_22112025_14_43_55_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98d84bee8a3a1a64e62e19c72ace68ec.jpg","text":"TemporaryFile(/tmp/multipartBody3718900130922694510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819482841,"filename":"image_22112025_14_43_49_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1caf16bead49b367cc26f2609753ca87.jpg","text":"TemporaryFile(/tmp/multipartBody4736808190482644688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819482841,"filename":"image_22112025_14_45_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e5ca32d45f241c74bb06157762ee4b7.jpg","text":"TemporaryFile(/tmp/multipartBody6117099419573151074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819482841,"filename":"image_22112025_14_43_51_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56dd2c97a6f8dd5f4d372956bf99a5c7.jpg","text":"TemporaryFile(/tmp/multipartBody2893846937888702762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819482841,"filename":"image_22112025_14_43_46_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705057","file1":"1395705054","file0":"1395705050","file4":"1395705063","file5":"1395705067","file3":"1395705060"},"map_files_photo_id_array":[{"photo_id":"1395705067","filename":"file5"},{"photo_id":"1395705057","filename":"file2"},{"photo_id":"1395705063","filename":"file4"},{"photo_id":"1395705054","filename":"file1"},{"photo_id":"1395705050","filename":"file0"},{"photo_id":"1395705060","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705067":["hashtag1","hashtag2"]},{"1395705060":["hashtag1","hashtag2"]},{"1395705054":["hashtag1","hashtag2"]},{"1395705063":["hashtag1","hashtag2"]},{"1395705057":["hashtag1","hashtag2"]},{"1395705050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705067, 1395705060, 1395705054, 1395705063, 1395705057, 1395705050)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.412665128707886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:51:24.105416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_13_2626.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_16_2822.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_20_3594.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_22_2561.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_25_2729.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_29_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_13_2626.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_16_2822.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_20_3594.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_22_2561.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_25_2729.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_29_3709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5446476936340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:51:44.136415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_13_2626.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_16_2822.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_20_3594.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_22_2561.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_25_2729.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_29_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_13_2626.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_16_2822.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_20_3594.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_22_2561.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_25_2729.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_29_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705090","1395705093","1395705096","1395705095","1395705092","1395705094"],"photo_ids_order":["1395705090","1395705092","1395705093","1395705094","1395705095","1395705096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4931d854a2cd45ccb48a22c94ec5d76a.jpg","text":"TemporaryFile(/tmp/multipartBody833348467769822939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819567455,"filename":"image_22112025_14_45_13_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/868e2901ce90141f54c493d49e5968ca.jpg","text":"TemporaryFile(/tmp/multipartBody7445112023732255611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819567455,"filename":"image_22112025_14_45_20_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59dbc8df4c34c100765b8bd610441ba2.jpg","text":"TemporaryFile(/tmp/multipartBody6574453726928006780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819567455,"filename":"image_22112025_14_45_29_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1de31e31dbcb83fe0d775fd74965de3.jpg","text":"TemporaryFile(/tmp/multipartBody8999191900202911840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819567455,"filename":"image_22112025_14_45_25_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81c887a82a9d31c8ff94d74fffd9dea7.jpg","text":"TemporaryFile(/tmp/multipartBody9167155918744080526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819567455,"filename":"image_22112025_14_45_16_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6ef9143d022ff94b1ebdbcc763ba9b4.jpg","text":"TemporaryFile(/tmp/multipartBody8553784773603714153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819567455,"filename":"image_22112025_14_45_22_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705093","file1":"1395705092","file0":"1395705090","file4":"1395705095","file5":"1395705096","file3":"1395705094"},"map_files_photo_id_array":[{"photo_id":"1395705096","filename":"file5"},{"photo_id":"1395705093","filename":"file2"},{"photo_id":"1395705095","filename":"file4"},{"photo_id":"1395705092","filename":"file1"},{"photo_id":"1395705090","filename":"file0"},{"photo_id":"1395705094","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705090":["hashtag1","hashtag2"]},{"1395705093":["hashtag1","hashtag2"]},{"1395705096":["hashtag1","hashtag2"]},{"1395705095":["hashtag1","hashtag2"]},{"1395705092":["hashtag1","hashtag2"]},{"1395705094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705090, 1395705093, 1395705096, 1395705095, 1395705092, 1395705094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59037208557129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:52:42.410256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_31_2588.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_34_2595.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_37_3485.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_40_2629.jpg', '/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_44_3582.jpg', '/home/pi/Desktop/images/22112025/14/47/image_22112025_14_47_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_31_2588.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_34_2595.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_37_3485.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_40_2629.jpg
/home/pi/Desktop/images/22112025/14/45/image_22112025_14_45_44_3582.jpg
/home/pi/Desktop/images/22112025/14/47/image_22112025_14_47_07_3017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705112","1395705115","1395705111","1395705108","1395705110","1395705113"],"photo_ids_order":["1395705108","1395705110","1395705111","1395705112","1395705113","1395705115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e40ba8524aeb88a8ae1987290ee96b8.jpg","text":"TemporaryFile(/tmp/multipartBody2326758440287860269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819623070,"filename":"image_22112025_14_45_40_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac52497ae48688d85f35a4d994bccfac.jpg","text":"TemporaryFile(/tmp/multipartBody5186911472506855359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819623070,"filename":"image_22112025_14_47_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73f33f97dba58e296f7d01803637ae39.jpg","text":"TemporaryFile(/tmp/multipartBody2682755450425023737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819623070,"filename":"image_22112025_14_45_37_3485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/911b04f5b7f23991a85da6f4a8fc0da3.jpg","text":"TemporaryFile(/tmp/multipartBody1163998667433300429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819623070,"filename":"image_22112025_14_45_31_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9343fdc8651bacef64af6f2e6f89746.jpg","text":"TemporaryFile(/tmp/multipartBody4003260404441054237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819623070,"filename":"image_22112025_14_45_34_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7e835f1904669c99a0056766d7bd58c.jpg","text":"TemporaryFile(/tmp/multipartBody8834029082928799501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819623070,"filename":"image_22112025_14_45_44_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705111","file1":"1395705110","file0":"1395705108","file4":"1395705113","file5":"1395705115","file3":"1395705112"},"map_files_photo_id_array":[{"photo_id":"1395705115","filename":"file5"},{"photo_id":"1395705111","filename":"file2"},{"photo_id":"1395705113","filename":"file4"},{"photo_id":"1395705110","filename":"file1"},{"photo_id":"1395705108","filename":"file0"},{"photo_id":"1395705112","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705112":["hashtag1","hashtag2"]},{"1395705115":["hashtag1","hashtag2"]},{"1395705111":["hashtag1","hashtag2"]},{"1395705108":["hashtag1","hashtag2"]},{"1395705110":["hashtag1","hashtag2"]},{"1395705113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705112, 1395705115, 1395705111, 1395705108, 1395705110, 1395705113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.578951835632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:53:22.544744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/47/image_22112025_14_47_10_3661.jpg', '/home/pi/Desktop/images/22112025/14/47/image_22112025_14_47_13_2671.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_06_3020.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_10_3660.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_13_2996.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_16_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/47/image_22112025_14_47_10_3661.jpg
/home/pi/Desktop/images/22112025/14/47/image_22112025_14_47_13_2671.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_06_3020.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_10_3660.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_13_2996.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_16_2563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705130","1395705117","1395705132","1395705128","1395705122","1395705125"],"photo_ids_order":["1395705117","1395705122","1395705125","1395705128","1395705130","1395705132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0694289de5421ea6da67d0f873ade3d0.jpg","text":"TemporaryFile(/tmp/multipartBody1356026595321383708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819663259,"filename":"image_22112025_14_51_13_2996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdbbb064e8b181102e30aa819e2b219b.jpg","text":"TemporaryFile(/tmp/multipartBody8612453715354601740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819663259,"filename":"image_22112025_14_47_10_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9e0d59244a16c643cee378d11a1dcfd.jpg","text":"TemporaryFile(/tmp/multipartBody364959484682319312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819663259,"filename":"image_22112025_14_51_16_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2048636abedf10d3558374de0b51c88e.jpg","text":"TemporaryFile(/tmp/multipartBody5202065535302378380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819663259,"filename":"image_22112025_14_51_10_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e0800222301399fb0d2ed8f2a97e084.jpg","text":"TemporaryFile(/tmp/multipartBody3450756501925578488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819663259,"filename":"image_22112025_14_47_13_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cb475151a35b7df598eef82d60947db.jpg","text":"TemporaryFile(/tmp/multipartBody4238434761776820158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819663259,"filename":"image_22112025_14_51_06_3020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705125","file1":"1395705122","file0":"1395705117","file4":"1395705130","file5":"1395705132","file3":"1395705128"},"map_files_photo_id_array":[{"photo_id":"1395705132","filename":"file5"},{"photo_id":"1395705125","filename":"file2"},{"photo_id":"1395705130","filename":"file4"},{"photo_id":"1395705122","filename":"file1"},{"photo_id":"1395705117","filename":"file0"},{"photo_id":"1395705128","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705130":["hashtag1","hashtag2"]},{"1395705117":["hashtag1","hashtag2"]},{"1395705132":["hashtag1","hashtag2"]},{"1395705128":["hashtag1","hashtag2"]},{"1395705122":["hashtag1","hashtag2"]},{"1395705125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705130, 1395705117, 1395705132, 1395705128, 1395705122, 1395705125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98190975189209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:54:02.575727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_19_3690.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_22_2663.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_24_2486.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_28_3668.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_31_2631.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_36_4914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_19_3690.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_22_2663.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_24_2486.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_28_3668.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_31_2631.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_36_4914.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6507143974304199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:54:21.966793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_19_3690.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_22_2663.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_24_2486.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_28_3668.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_31_2631.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_36_4914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_19_3690.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_22_2663.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_24_2486.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_28_3668.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_31_2631.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_36_4914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705145","1395705159","1395705158","1395705152","1395705155","1395705149"],"photo_ids_order":["1395705145","1395705149","1395705152","1395705155","1395705158","1395705159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4ef17e1effd506540b83aa0dbc5408a.jpg","text":"TemporaryFile(/tmp/multipartBody2960486024699008826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819722697,"filename":"image_22112025_14_51_19_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a64ad6255b245e4f546a4a18220b2dd.jpg","text":"TemporaryFile(/tmp/multipartBody4350534734478892571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819722697,"filename":"image_22112025_14_51_36_4914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/447bfecbd92b2d57875692398911dd0f.jpg","text":"TemporaryFile(/tmp/multipartBody2979468927282688622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819722697,"filename":"image_22112025_14_51_31_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d74dffad9a913ffc49de7f0c625e056.jpg","text":"TemporaryFile(/tmp/multipartBody2310625462655913589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819722697,"filename":"image_22112025_14_51_24_2486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b91db9ebb869fc3d82c609e0635b5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1398685189522702118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819722697,"filename":"image_22112025_14_51_28_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38e8ce534418557c7590678925fb0e53.jpg","text":"TemporaryFile(/tmp/multipartBody7820699735265159175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819722697,"filename":"image_22112025_14_51_22_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705152","file1":"1395705149","file0":"1395705145","file4":"1395705158","file5":"1395705159","file3":"1395705155"},"map_files_photo_id_array":[{"photo_id":"1395705159","filename":"file5"},{"photo_id":"1395705152","filename":"file2"},{"photo_id":"1395705158","filename":"file4"},{"photo_id":"1395705149","filename":"file1"},{"photo_id":"1395705145","filename":"file0"},{"photo_id":"1395705155","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705145":["hashtag1","hashtag2"]},{"1395705159":["hashtag1","hashtag2"]},{"1395705158":["hashtag1","hashtag2"]},{"1395705152":["hashtag1","hashtag2"]},{"1395705155":["hashtag1","hashtag2"]},{"1395705149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705145, 1395705159, 1395705158, 1395705152, 1395705155, 1395705149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.141595125198364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:55:02.758626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_37_1625.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_40_2664.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_42_2599.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_46_3576.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_49_2588.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_51_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_37_1625.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_40_2664.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_42_2599.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_46_3576.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_49_2588.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_51_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705163","1395705166","1395705162","1395705164","1395705161","1395705169"],"photo_ids_order":["1395705161","1395705162","1395705163","1395705164","1395705166","1395705169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3547e0beae6d305458c53d1a59cafdbc.jpg","text":"TemporaryFile(/tmp/multipartBody6352547551393104534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819763516,"filename":"image_22112025_14_51_42_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21b9ee8148f9e1f8d09d7f30ffa1d632.jpg","text":"TemporaryFile(/tmp/multipartBody25630976631323094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819763516,"filename":"image_22112025_14_51_49_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9045b2aeff39c3ea6d89cde606ee417.jpg","text":"TemporaryFile(/tmp/multipartBody5268212839360169091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819763516,"filename":"image_22112025_14_51_40_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f93a8cb4be13172b493dd872613723c.jpg","text":"TemporaryFile(/tmp/multipartBody2035368501860073346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819763516,"filename":"image_22112025_14_51_46_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a4a9041331f0d14577c02b0607bbca4.jpg","text":"TemporaryFile(/tmp/multipartBody2843529125486513604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819763516,"filename":"image_22112025_14_51_37_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0585a040332f6d35bffc4ff083eaee2.jpg","text":"TemporaryFile(/tmp/multipartBody1675090887196968287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819763516,"filename":"image_22112025_14_51_51_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705163","file1":"1395705162","file0":"1395705161","file4":"1395705166","file5":"1395705169","file3":"1395705164"},"map_files_photo_id_array":[{"photo_id":"1395705169","filename":"file5"},{"photo_id":"1395705163","filename":"file2"},{"photo_id":"1395705166","filename":"file4"},{"photo_id":"1395705162","filename":"file1"},{"photo_id":"1395705161","filename":"file0"},{"photo_id":"1395705164","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705163":["hashtag1","hashtag2"]},{"1395705166":["hashtag1","hashtag2"]},{"1395705162":["hashtag1","hashtag2"]},{"1395705164":["hashtag1","hashtag2"]},{"1395705161":["hashtag1","hashtag2"]},{"1395705169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705163, 1395705166, 1395705162, 1395705164, 1395705161, 1395705169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48337745666504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:55:41.931597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_55_3822.jpg', '/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_58_2668.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_01_2696.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_04_3344.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_07_2685.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_09_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_55_3822.jpg
/home/pi/Desktop/images/22112025/14/51/image_22112025_14_51_58_2668.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_01_2696.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_04_3344.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_07_2685.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_09_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705184","1395705178","1395705183","1395705182","1395705185","1395705187"],"photo_ids_order":["1395705178","1395705182","1395705183","1395705184","1395705185","1395705187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8472717f8ab1cd5594595d55bf861eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4094925804776908778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819802602,"filename":"image_22112025_14_52_04_3344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89d99ac2ce8961384f9f725f45d299d8.jpg","text":"TemporaryFile(/tmp/multipartBody1316897138029153451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819802602,"filename":"image_22112025_14_51_55_3822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4caa346acd596cdc70622aba1602f3e.jpg","text":"TemporaryFile(/tmp/multipartBody8085118882150174189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819802602,"filename":"image_22112025_14_52_01_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cdcb48ba0920b7afda79d443d7cc225.jpg","text":"TemporaryFile(/tmp/multipartBody2568238845151811166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819802602,"filename":"image_22112025_14_51_58_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66139fc0e5caa4719651ac263dae19e9.jpg","text":"TemporaryFile(/tmp/multipartBody5171419620487008239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819802602,"filename":"image_22112025_14_52_07_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7d6422ca69bd9a38573f9b4c1ad4965.jpg","text":"TemporaryFile(/tmp/multipartBody3327276056583582483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819802602,"filename":"image_22112025_14_52_09_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705183","file1":"1395705182","file0":"1395705178","file4":"1395705185","file5":"1395705187","file3":"1395705184"},"map_files_photo_id_array":[{"photo_id":"1395705187","filename":"file5"},{"photo_id":"1395705183","filename":"file2"},{"photo_id":"1395705185","filename":"file4"},{"photo_id":"1395705182","filename":"file1"},{"photo_id":"1395705178","filename":"file0"},{"photo_id":"1395705184","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705184":["hashtag1","hashtag2"]},{"1395705178":["hashtag1","hashtag2"]},{"1395705183":["hashtag1","hashtag2"]},{"1395705182":["hashtag1","hashtag2"]},{"1395705185":["hashtag1","hashtag2"]},{"1395705187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705184, 1395705178, 1395705183, 1395705182, 1395705185, 1395705187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52501845359802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:56:22.257133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_13_3701.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_16_2771.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_18_2522.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_22_3532.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_25_2802.jpg', '/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_27_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_13_3701.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_16_2771.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_18_2522.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_22_3532.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_25_2802.jpg
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_27_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705214","1395705198","1395705189","1395705191","1395705193","1395705206"],"photo_ids_order":["1395705189","1395705191","1395705193","1395705198","1395705206","1395705214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25f83e5fd9136fc0c4dbd479b13021c3.jpg","text":"TemporaryFile(/tmp/multipartBody3453725293008696632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819842965,"filename":"image_22112025_14_52_27_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1f54cc95deb2fbea821ae92ee4fbba1.jpg","text":"TemporaryFile(/tmp/multipartBody5885435204732259357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819842965,"filename":"image_22112025_14_52_22_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89f870a0cec9a7794e1ad6527ba3ad70.jpg","text":"TemporaryFile(/tmp/multipartBody2246117218035037857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819842965,"filename":"image_22112025_14_52_13_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/825874e541b1f588d7c4044fb6912ffb.jpg","text":"TemporaryFile(/tmp/multipartBody1682398784835694456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819842965,"filename":"image_22112025_14_52_16_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c17043f80b3e824a1a342655a4a4a51d.jpg","text":"TemporaryFile(/tmp/multipartBody7197861372893531965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819842965,"filename":"image_22112025_14_52_18_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51f22a0006d837e8f2b9e37a0287461f.jpg","text":"TemporaryFile(/tmp/multipartBody1605885802977573875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819842965,"filename":"image_22112025_14_52_25_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705193","file1":"1395705191","file0":"1395705189","file4":"1395705206","file5":"1395705214","file3":"1395705198"},"map_files_photo_id_array":[{"photo_id":"1395705214","filename":"file5"},{"photo_id":"1395705193","filename":"file2"},{"photo_id":"1395705206","filename":"file4"},{"photo_id":"1395705191","filename":"file1"},{"photo_id":"1395705189","filename":"file0"},{"photo_id":"1395705198","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705214":["hashtag1","hashtag2"]},{"1395705198":["hashtag1","hashtag2"]},{"1395705189":["hashtag1","hashtag2"]},{"1395705191":["hashtag1","hashtag2"]},{"1395705193":["hashtag1","hashtag2"]},{"1395705206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705214, 1395705198, 1395705189, 1395705191, 1395705193, 1395705206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93923783302307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:57:03.281453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_31_3690.jpg', '/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_07_3012.jpg', '/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_11_3767.jpg', '/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_13_2636.jpg', '/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_16_2735.jpg', '/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_19_3198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/52/image_22112025_14_52_31_3690.jpg
/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_07_3012.jpg
/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_11_3767.jpg
/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_13_2636.jpg
/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_16_2735.jpg
/home/pi/Desktop/images/22112025/14/54/image_22112025_14_54_19_3198.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705220","1395705217","1395705222","1395705225","1395705219","1395705218"],"photo_ids_order":["1395705217","1395705218","1395705219","1395705220","1395705222","1395705225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c03fc4599dd70eabdf87511cd9cd54d.jpg","text":"TemporaryFile(/tmp/multipartBody8182745494039648928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819884057,"filename":"image_22112025_14_54_13_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa1fd046702bdc5556ce8f885591ca64.jpg","text":"TemporaryFile(/tmp/multipartBody7188684422373633971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819884057,"filename":"image_22112025_14_52_31_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3a31b500977d3fc1bac958261f2c666.jpg","text":"TemporaryFile(/tmp/multipartBody1737827965203211924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819884057,"filename":"image_22112025_14_54_16_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73a61ee8a4361329f0b3d7ca3a9190d9.jpg","text":"TemporaryFile(/tmp/multipartBody2589420833113996334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819884057,"filename":"image_22112025_14_54_19_3198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9c66747bac38af80deab429d04f40d2.jpg","text":"TemporaryFile(/tmp/multipartBody5814903692123103681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819884057,"filename":"image_22112025_14_54_11_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28d970cfb3666bd51374d770845c8213.jpg","text":"TemporaryFile(/tmp/multipartBody3821773721503784602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819884057,"filename":"image_22112025_14_54_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705219","file1":"1395705218","file0":"1395705217","file4":"1395705222","file5":"1395705225","file3":"1395705220"},"map_files_photo_id_array":[{"photo_id":"1395705225","filename":"file5"},{"photo_id":"1395705219","filename":"file2"},{"photo_id":"1395705222","filename":"file4"},{"photo_id":"1395705218","filename":"file1"},{"photo_id":"1395705217","filename":"file0"},{"photo_id":"1395705220","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705220":["hashtag1","hashtag2"]},{"1395705217":["hashtag1","hashtag2"]},{"1395705222":["hashtag1","hashtag2"]},{"1395705225":["hashtag1","hashtag2"]},{"1395705219":["hashtag1","hashtag2"]},{"1395705218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705220, 1395705217, 1395705222, 1395705225, 1395705219, 1395705218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42354726791382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:57:42.695294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_07_3011.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_10_3642.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_13_2584.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_19_2797.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_22_2566.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_26_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_07_3011.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_10_3642.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_13_2584.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_19_2797.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_22_2566.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_26_3669.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705241","1395705238","1395705235","1395705240","1395705239","1395705242"],"photo_ids_order":["1395705235","1395705238","1395705239","1395705240","1395705241","1395705242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88eb0344d1840b6825e72cb4ad8dc751.jpg","text":"TemporaryFile(/tmp/multipartBody5260428148062023978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819923392,"filename":"image_22112025_14_56_22_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e6fc7eb091a99fc0a766df6e1993056.jpg","text":"TemporaryFile(/tmp/multipartBody1492958500344594296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819923392,"filename":"image_22112025_14_56_10_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05049fcc68ca9e79dd0e5e30cd1460e4.jpg","text":"TemporaryFile(/tmp/multipartBody46030925944362751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819923392,"filename":"image_22112025_14_56_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7cc39112b2a6d3ce3d42daef69e9b33.jpg","text":"TemporaryFile(/tmp/multipartBody3425169626736079026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819923392,"filename":"image_22112025_14_56_19_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7dc3df3202b943c13d5d5075fae5138.jpg","text":"TemporaryFile(/tmp/multipartBody5740263686810963459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819923392,"filename":"image_22112025_14_56_13_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2ed1daaec62ad202ecc9ae47c395883.jpg","text":"TemporaryFile(/tmp/multipartBody9139918688873812330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763819923392,"filename":"image_22112025_14_56_26_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705239","file1":"1395705238","file0":"1395705235","file4":"1395705241","file5":"1395705242","file3":"1395705240"},"map_files_photo_id_array":[{"photo_id":"1395705242","filename":"file5"},{"photo_id":"1395705239","filename":"file2"},{"photo_id":"1395705241","filename":"file4"},{"photo_id":"1395705238","filename":"file1"},{"photo_id":"1395705235","filename":"file0"},{"photo_id":"1395705240","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705241":["hashtag1","hashtag2"]},{"1395705238":["hashtag1","hashtag2"]},{"1395705235":["hashtag1","hashtag2"]},{"1395705240":["hashtag1","hashtag2"]},{"1395705239":["hashtag1","hashtag2"]},{"1395705242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705241, 1395705238, 1395705235, 1395705240, 1395705239, 1395705242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87906050682068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 14:59:03.139678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_28_2528.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_44_3767.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_46_2587.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_49_2717.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_53_3638.jpg', '/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_55_2488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_28_2528.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_44_3767.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_46_2587.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_49_2717.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_53_3638.jpg
/home/pi/Desktop/images/22112025/14/56/image_22112025_14_56_55_2488.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705481","1395705409","1395705372","1395705447","1395705521","1395705559"],"photo_ids_order":["1395705372","1395705409","1395705447","1395705481","1395705521","1395705559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70c5ec6de41f3289d8ecdc76e3e06a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4996069454278771533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820003981,"filename":"image_22112025_14_56_49_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30e274d08b4d254f5e289d771b4181e2.jpg","text":"TemporaryFile(/tmp/multipartBody4702562387930847553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820003981,"filename":"image_22112025_14_56_44_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f0c12e9db983bc438b45544afd0e541.jpg","text":"TemporaryFile(/tmp/multipartBody1181293185975043896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820003981,"filename":"image_22112025_14_56_28_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f85116db692886fcfc4a5d278e9f4402.jpg","text":"TemporaryFile(/tmp/multipartBody1393652711569520824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820003981,"filename":"image_22112025_14_56_46_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91a613f43ee0006f62a3fef9caa35797.jpg","text":"TemporaryFile(/tmp/multipartBody6821118298148635554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820003981,"filename":"image_22112025_14_56_53_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/653b149c33a1b69ea19206eb1479cf1c.jpg","text":"TemporaryFile(/tmp/multipartBody8488995251737604403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820003981,"filename":"image_22112025_14_56_55_2488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705447","file1":"1395705409","file0":"1395705372","file4":"1395705521","file5":"1395705559","file3":"1395705481"},"map_files_photo_id_array":[{"photo_id":"1395705559","filename":"file5"},{"photo_id":"1395705447","filename":"file2"},{"photo_id":"1395705521","filename":"file4"},{"photo_id":"1395705409","filename":"file1"},{"photo_id":"1395705372","filename":"file0"},{"photo_id":"1395705481","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705481":["hashtag1","hashtag2"]},{"1395705409":["hashtag1","hashtag2"]},{"1395705372":["hashtag1","hashtag2"]},{"1395705447":["hashtag1","hashtag2"]},{"1395705521":["hashtag1","hashtag2"]},{"1395705559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705481, 1395705409, 1395705372, 1395705447, 1395705521, 1395705559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00723886489868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 14:59:42.205287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_14_2760.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_16_2649.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_20_3505.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_23_2707.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_25_2696.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_29_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_14_2760.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_16_2649.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_20_3505.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_23_2707.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_25_2696.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_29_3756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705649","1395705654","1395705689","1395705653","1395705611","1395705707"],"photo_ids_order":["1395705611","1395705649","1395705653","1395705654","1395705689","1395705707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f451830fea2f1335f5de38a0bc71f0cc.jpg","text":"TemporaryFile(/tmp/multipartBody3599825319815260141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820042874,"filename":"image_22112025_14_58_16_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/784255ee8b1e07855b5ee7a3e21ed2de.jpg","text":"TemporaryFile(/tmp/multipartBody5401169578672201181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820042874,"filename":"image_22112025_14_58_23_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/137897981163dc3403d36b346ee7e41b.jpg","text":"TemporaryFile(/tmp/multipartBody5324375160790975581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820042874,"filename":"image_22112025_14_58_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a77ff49a9cecff9f719d6404ce6010b5.jpg","text":"TemporaryFile(/tmp/multipartBody2783258371883029001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820042874,"filename":"image_22112025_14_58_20_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a49e9b6320f8475360ca68bb3bca81ad.jpg","text":"TemporaryFile(/tmp/multipartBody3005172104550689387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820042874,"filename":"image_22112025_14_58_14_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15d54f792a1359c085debb3c27b44337.jpg","text":"TemporaryFile(/tmp/multipartBody5697666089311631383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820042874,"filename":"image_22112025_14_58_29_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705653","file1":"1395705649","file0":"1395705611","file4":"1395705689","file5":"1395705707","file3":"1395705654"},"map_files_photo_id_array":[{"photo_id":"1395705707","filename":"file5"},{"photo_id":"1395705653","filename":"file2"},{"photo_id":"1395705689","filename":"file4"},{"photo_id":"1395705649","filename":"file1"},{"photo_id":"1395705611","filename":"file0"},{"photo_id":"1395705654","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705649":["hashtag1","hashtag2"]},{"1395705654":["hashtag1","hashtag2"]},{"1395705689":["hashtag1","hashtag2"]},{"1395705653":["hashtag1","hashtag2"]},{"1395705611":["hashtag1","hashtag2"]},{"1395705707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705649, 1395705654, 1395705689, 1395705653, 1395705611, 1395705707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37329030036926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:00:22.057814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_32_2561.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_34_2610.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_38_3654.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_41_2671.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_43_2620.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_47_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_32_2561.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_34_2610.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_38_3654.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_41_2671.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_43_2620.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_47_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705733","1395705718","1395705728","1395705722","1395705731","1395705725"],"photo_ids_order":["1395705718","1395705722","1395705725","1395705728","1395705731","1395705733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5af5fdf4bd680f511e8132979fba449e.jpg","text":"TemporaryFile(/tmp/multipartBody7418243067847463927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820082768,"filename":"image_22112025_14_58_47_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab53eee6f6c5dc8069a988cc47fc298d.jpg","text":"TemporaryFile(/tmp/multipartBody2045789550667845132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820082768,"filename":"image_22112025_14_58_32_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f17e81e7b53c0acf2bcda401c9aae6b8.jpg","text":"TemporaryFile(/tmp/multipartBody5984560470418460485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820082768,"filename":"image_22112025_14_58_41_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc17b85d6b7d8fe44cb0f2497d95f220.jpg","text":"TemporaryFile(/tmp/multipartBody325607861063908607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820082768,"filename":"image_22112025_14_58_34_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4090b5759dae17a02367f0ad393f2912.jpg","text":"TemporaryFile(/tmp/multipartBody4470610782768848673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820082768,"filename":"image_22112025_14_58_43_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/637501bb4b7e8ce89649be613bd729ea.jpg","text":"TemporaryFile(/tmp/multipartBody1342976507302612364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820082768,"filename":"image_22112025_14_58_38_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705725","file1":"1395705722","file0":"1395705718","file4":"1395705731","file5":"1395705733","file3":"1395705728"},"map_files_photo_id_array":[{"photo_id":"1395705733","filename":"file5"},{"photo_id":"1395705725","filename":"file2"},{"photo_id":"1395705731","filename":"file4"},{"photo_id":"1395705722","filename":"file1"},{"photo_id":"1395705718","filename":"file0"},{"photo_id":"1395705728","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705733":["hashtag1","hashtag2"]},{"1395705718":["hashtag1","hashtag2"]},{"1395705728":["hashtag1","hashtag2"]},{"1395705722":["hashtag1","hashtag2"]},{"1395705731":["hashtag1","hashtag2"]},{"1395705725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705733, 1395705718, 1395705728, 1395705722, 1395705731, 1395705725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.991718769073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:01:03.026483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_49_2562.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_59_2671.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_01_2674.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_05_3704.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_08_2638.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_10_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_49_2562.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_59_2671.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_01_2674.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_05_3704.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_08_2638.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_10_2803.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6467676162719727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:01:22.187855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_49_2562.jpg', '/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_59_2671.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_01_2674.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_05_3704.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_08_2638.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_10_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_49_2562.jpg
/home/pi/Desktop/images/22112025/14/58/image_22112025_14_58_59_2671.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_01_2674.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_05_3704.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_08_2638.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_10_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705754","1395705748","1395705750","1395705752","1395705746","1395705757"],"photo_ids_order":["1395705746","1395705748","1395705750","1395705752","1395705754","1395705757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c3f8029f659d289bf3d5eb89e49bf76.jpg","text":"TemporaryFile(/tmp/multipartBody3655472455282827177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820142891,"filename":"image_22112025_14_59_08_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/913887f91994cd394b9b823021ff8967.jpg","text":"TemporaryFile(/tmp/multipartBody2374496307058437712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820142891,"filename":"image_22112025_14_58_59_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c628f664592f3a46bafeeeaadd9deed.jpg","text":"TemporaryFile(/tmp/multipartBody988148852567594999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820142891,"filename":"image_22112025_14_59_01_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b567885df0c5680d1d0430d824bcc11.jpg","text":"TemporaryFile(/tmp/multipartBody5731978505720421530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820142891,"filename":"image_22112025_14_59_05_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8bbd43067920e2932cd271f989c8d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8695948826648559267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820142891,"filename":"image_22112025_14_58_49_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e03decb36e619af7e74620e8b92ea5a.jpg","text":"TemporaryFile(/tmp/multipartBody576208149602266037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820142891,"filename":"image_22112025_14_59_10_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705750","file1":"1395705748","file0":"1395705746","file4":"1395705754","file5":"1395705757","file3":"1395705752"},"map_files_photo_id_array":[{"photo_id":"1395705757","filename":"file5"},{"photo_id":"1395705750","filename":"file2"},{"photo_id":"1395705754","filename":"file4"},{"photo_id":"1395705748","filename":"file1"},{"photo_id":"1395705746","filename":"file0"},{"photo_id":"1395705752","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705754":["hashtag1","hashtag2"]},{"1395705748":["hashtag1","hashtag2"]},{"1395705750":["hashtag1","hashtag2"]},{"1395705752":["hashtag1","hashtag2"]},{"1395705746":["hashtag1","hashtag2"]},{"1395705757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705754, 1395705748, 1395705750, 1395705752, 1395705746, 1395705757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01519751548767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:02:02.905445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_14_3747.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_17_2609.jpg', '/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_19_2612.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_07_3017.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_14_2676.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_16_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_14_3747.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_17_2609.jpg
/home/pi/Desktop/images/22112025/14/59/image_22112025_14_59_19_2612.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_07_3017.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_14_2676.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_16_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395705762","1395705765","1395705764","1395705821","1395705781","1395705763"],"photo_ids_order":["1395705762","1395705763","1395705764","1395705765","1395705781","1395705821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/219fbb8e29e1a68eacc0e2c737d541e7.jpg","text":"TemporaryFile(/tmp/multipartBody5725021001058611642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820183650,"filename":"image_22112025_14_59_14_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c27434d4b2208d0ff224195a2fa1792f.jpg","text":"TemporaryFile(/tmp/multipartBody3622794971135823988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820183650,"filename":"image_22112025_15_00_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68d82f657b524f24b10efc404e1f0742.jpg","text":"TemporaryFile(/tmp/multipartBody2292183904346823250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820183650,"filename":"image_22112025_14_59_19_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce500c7ab89be8e5d384c82de7bfacd3.jpg","text":"TemporaryFile(/tmp/multipartBody6365362892077696695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820183650,"filename":"image_22112025_15_00_16_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/439851848dfc501b92dbf0f5d5ce18d6.jpg","text":"TemporaryFile(/tmp/multipartBody6502078371625346252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820183650,"filename":"image_22112025_15_00_14_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6837caed791ccb06edaafe8f7c40619.jpg","text":"TemporaryFile(/tmp/multipartBody5670938645833172826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820183650,"filename":"image_22112025_14_59_17_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395705764","file1":"1395705763","file0":"1395705762","file4":"1395705781","file5":"1395705821","file3":"1395705765"},"map_files_photo_id_array":[{"photo_id":"1395705821","filename":"file5"},{"photo_id":"1395705764","filename":"file2"},{"photo_id":"1395705781","filename":"file4"},{"photo_id":"1395705763","filename":"file1"},{"photo_id":"1395705762","filename":"file0"},{"photo_id":"1395705765","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395705762":["hashtag1","hashtag2"]},{"1395705765":["hashtag1","hashtag2"]},{"1395705764":["hashtag1","hashtag2"]},{"1395705821":["hashtag1","hashtag2"]},{"1395705781":["hashtag1","hashtag2"]},{"1395705763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395705762, 1395705765, 1395705764, 1395705821, 1395705781, 1395705763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96457505226135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:02:42.421253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_20_3631.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_23_2696.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_26_3570.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_29_2683.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_32_2655.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_35_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_20_3631.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_23_2696.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_26_3570.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_29_2683.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_32_2655.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_35_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706068","1395706104","1395706032","1395705995","1395706138","1395705955"],"photo_ids_order":["1395705955","1395705995","1395706032","1395706068","1395706104","1395706138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8f569ed2b883bc611d9c7c07a861a37.jpg","text":"TemporaryFile(/tmp/multipartBody2551456736152605921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820223107,"filename":"image_22112025_15_00_29_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/232b65ef65839c484dba41dd58abe76e.jpg","text":"TemporaryFile(/tmp/multipartBody8281254675487622608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820223107,"filename":"image_22112025_15_00_32_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a17dbcce5a6b8d9ecac0500b9d5b5c1e.jpg","text":"TemporaryFile(/tmp/multipartBody2818370907907111579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820223107,"filename":"image_22112025_15_00_26_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c12d8cd3ba95c00d3fd57c0d1fbdbfd0.jpg","text":"TemporaryFile(/tmp/multipartBody2791729916893237163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820223107,"filename":"image_22112025_15_00_23_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad0d8f9873b4e28094d41af4107ce99a.jpg","text":"TemporaryFile(/tmp/multipartBody2013208952254985289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820223107,"filename":"image_22112025_15_00_35_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a95f847c96eb857ec9f4753393cef55c.jpg","text":"TemporaryFile(/tmp/multipartBody1230010685146272823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820223107,"filename":"image_22112025_15_00_20_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706032","file1":"1395705995","file0":"1395705955","file4":"1395706104","file5":"1395706138","file3":"1395706068"},"map_files_photo_id_array":[{"photo_id":"1395706138","filename":"file5"},{"photo_id":"1395706032","filename":"file2"},{"photo_id":"1395706104","filename":"file4"},{"photo_id":"1395705995","filename":"file1"},{"photo_id":"1395705955","filename":"file0"},{"photo_id":"1395706068","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706068":["hashtag1","hashtag2"]},{"1395706104":["hashtag1","hashtag2"]},{"1395706032":["hashtag1","hashtag2"]},{"1395705995":["hashtag1","hashtag2"]},{"1395706138":["hashtag1","hashtag2"]},{"1395705955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706068, 1395706104, 1395706032, 1395705995, 1395706138, 1395705955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55289268493652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:03:22.578181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_40_2734.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_44_3514.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_47_2782.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_49_2607.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_53_3522.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_40_2734.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_44_3514.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_47_2782.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_49_2607.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_53_3522.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_07_3012.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5828664302825928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:03:42.495508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_40_2734.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_44_3514.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_47_2782.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_49_2607.jpg', '/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_53_3522.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_40_2734.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_44_3514.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_47_2782.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_49_2607.jpg
/home/pi/Desktop/images/22112025/15/00/image_22112025_15_00_53_3522.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706398","1395706365","1395706368","1395706329","1395706404","1395706367"],"photo_ids_order":["1395706329","1395706365","1395706367","1395706368","1395706398","1395706404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28b04f51ed59852f3d7d7e446606bda9.jpg","text":"TemporaryFile(/tmp/multipartBody5448730347132662621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820283163,"filename":"image_22112025_15_00_53_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6541f5fa5fd8943f0d09ce3ea16d5a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8814066349878190164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820283163,"filename":"image_22112025_15_00_44_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c19b18375c3695444b7e8007d73b031.jpg","text":"TemporaryFile(/tmp/multipartBody7814445775888063655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820283163,"filename":"image_22112025_15_00_49_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b636229ca228480f70b649d86292365.jpg","text":"TemporaryFile(/tmp/multipartBody6821658070698508225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820283163,"filename":"image_22112025_15_00_40_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cfc4096662716ce5ddee56559b11ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8714073263369463663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820283163,"filename":"image_22112025_15_02_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fd83e09106923cc045d4b9d9991cbf4.jpg","text":"TemporaryFile(/tmp/multipartBody2401570577726971906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820283163,"filename":"image_22112025_15_00_47_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706367","file1":"1395706365","file0":"1395706329","file4":"1395706398","file5":"1395706404","file3":"1395706368"},"map_files_photo_id_array":[{"photo_id":"1395706404","filename":"file5"},{"photo_id":"1395706367","filename":"file2"},{"photo_id":"1395706398","filename":"file4"},{"photo_id":"1395706365","filename":"file1"},{"photo_id":"1395706329","filename":"file0"},{"photo_id":"1395706368","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706398":["hashtag1","hashtag2"]},{"1395706365":["hashtag1","hashtag2"]},{"1395706368":["hashtag1","hashtag2"]},{"1395706329":["hashtag1","hashtag2"]},{"1395706404":["hashtag1","hashtag2"]},{"1395706367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706398, 1395706365, 1395706368, 1395706329, 1395706404, 1395706367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55491924285889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:04:22.244604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_11_3573.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_13_2764.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_16_2860.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_20_3599.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_23_2781.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_25_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_11_3573.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_13_2764.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_16_2860.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_20_3599.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_23_2781.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_25_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706423","1395706440","1395706433","1395706436","1395706430","1395706426"],"photo_ids_order":["1395706423","1395706426","1395706430","1395706433","1395706436","1395706440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24beb230aa60083ea451c28428334da0.jpg","text":"TemporaryFile(/tmp/multipartBody4545408633598029105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820322912,"filename":"image_22112025_15_02_11_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d5384e3fbcceb700765f1cbfdb18d0b.jpg","text":"TemporaryFile(/tmp/multipartBody27968829545369079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820322912,"filename":"image_22112025_15_02_25_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9b31e58445f14a0f261217feb819275.jpg","text":"TemporaryFile(/tmp/multipartBody5621490311185679257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820322912,"filename":"image_22112025_15_02_20_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52806286e76eb94d776856dc95bea644.jpg","text":"TemporaryFile(/tmp/multipartBody2116393125825086061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820322912,"filename":"image_22112025_15_02_23_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc8b7343eeed2b6d17b3b59567e7ae87.jpg","text":"TemporaryFile(/tmp/multipartBody978802400747978274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820322912,"filename":"image_22112025_15_02_16_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34186ef7bb88f4d8a6d9617a3955fe37.jpg","text":"TemporaryFile(/tmp/multipartBody6732110941387925508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820322912,"filename":"image_22112025_15_02_13_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706430","file1":"1395706426","file0":"1395706423","file4":"1395706436","file5":"1395706440","file3":"1395706433"},"map_files_photo_id_array":[{"photo_id":"1395706440","filename":"file5"},{"photo_id":"1395706430","filename":"file2"},{"photo_id":"1395706436","filename":"file4"},{"photo_id":"1395706426","filename":"file1"},{"photo_id":"1395706423","filename":"file0"},{"photo_id":"1395706433","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706423":["hashtag1","hashtag2"]},{"1395706440":["hashtag1","hashtag2"]},{"1395706433":["hashtag1","hashtag2"]},{"1395706436":["hashtag1","hashtag2"]},{"1395706430":["hashtag1","hashtag2"]},{"1395706426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706423, 1395706440, 1395706433, 1395706436, 1395706430, 1395706426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09946942329407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:05:03.127865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_28_2854.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_32_3665.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_34_2620.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_37_2620.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_41_3636.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_43_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_28_2854.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_32_3665.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_34_2620.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_37_2620.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_41_3636.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_43_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706605","1395706751","1395706673","1395706712","1395706639","1395706567"],"photo_ids_order":["1395706567","1395706605","1395706639","1395706673","1395706712","1395706751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ee3153ab5cbd910a182f8eb41df35d3.jpg","text":"TemporaryFile(/tmp/multipartBody7366579666726196729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820363890,"filename":"image_22112025_15_02_32_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc18769d09ec582ed437281e39373839.jpg","text":"TemporaryFile(/tmp/multipartBody7841676775782190176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820363890,"filename":"image_22112025_15_02_43_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2610c5956dd75b2c95bf719fe6dc1ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3707187890522413890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820363890,"filename":"image_22112025_15_02_37_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe3d102c33d34aeeaa49fdb87037e24e.jpg","text":"TemporaryFile(/tmp/multipartBody2548698430284936324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820363890,"filename":"image_22112025_15_02_41_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df8a16abd5cefd09854295c0200f964c.jpg","text":"TemporaryFile(/tmp/multipartBody4385495240566632438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820363890,"filename":"image_22112025_15_02_34_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7af845f41b5c5a45086ed1fe5052b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5157161543234156576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820363890,"filename":"image_22112025_15_02_28_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706639","file1":"1395706605","file0":"1395706567","file4":"1395706712","file5":"1395706751","file3":"1395706673"},"map_files_photo_id_array":[{"photo_id":"1395706751","filename":"file5"},{"photo_id":"1395706639","filename":"file2"},{"photo_id":"1395706712","filename":"file4"},{"photo_id":"1395706605","filename":"file1"},{"photo_id":"1395706567","filename":"file0"},{"photo_id":"1395706673","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706605":["hashtag1","hashtag2"]},{"1395706751":["hashtag1","hashtag2"]},{"1395706673":["hashtag1","hashtag2"]},{"1395706712":["hashtag1","hashtag2"]},{"1395706639":["hashtag1","hashtag2"]},{"1395706567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706605, 1395706751, 1395706673, 1395706712, 1395706639, 1395706567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88015651702881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:05:42.476533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_47_3555.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_50_2647.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_52_2661.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_56_3569.jpg', '/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_58_2686.jpg', '/home/pi/Desktop/images/22112025/15/03/image_22112025_15_03_01_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_47_3555.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_50_2647.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_52_2661.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_56_3569.jpg
/home/pi/Desktop/images/22112025/15/02/image_22112025_15_02_58_2686.jpg
/home/pi/Desktop/images/22112025/15/03/image_22112025_15_03_01_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706779","1395706815","1395706880","1395706763","1395706885","1395706855"],"photo_ids_order":["1395706763","1395706779","1395706815","1395706855","1395706880","1395706885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c10bf6c6843a5a771315d125f7466689.jpg","text":"TemporaryFile(/tmp/multipartBody8825113210037404603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820403140,"filename":"image_22112025_15_02_50_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee0d92367bdb46ffd8334c75ef2755e0.jpg","text":"TemporaryFile(/tmp/multipartBody2096973983401774694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820403140,"filename":"image_22112025_15_02_52_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f3e3efa754b07dbd5a7100aaf6c46c5.jpg","text":"TemporaryFile(/tmp/multipartBody6657817560675309977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820403140,"filename":"image_22112025_15_02_58_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69d0bee27f57ef38525d10c129ccdbee.jpg","text":"TemporaryFile(/tmp/multipartBody2929568194973658010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820403140,"filename":"image_22112025_15_02_47_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95213cd9591c4d90f66dfa21dff3cb72.jpg","text":"TemporaryFile(/tmp/multipartBody6828701034838375359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820403140,"filename":"image_22112025_15_03_01_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5302f462ec8b3cc226880a09d1cbfcf6.jpg","text":"TemporaryFile(/tmp/multipartBody6020241445485398076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820403140,"filename":"image_22112025_15_02_56_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706815","file1":"1395706779","file0":"1395706763","file4":"1395706880","file5":"1395706885","file3":"1395706855"},"map_files_photo_id_array":[{"photo_id":"1395706885","filename":"file5"},{"photo_id":"1395706815","filename":"file2"},{"photo_id":"1395706880","filename":"file4"},{"photo_id":"1395706779","filename":"file1"},{"photo_id":"1395706763","filename":"file0"},{"photo_id":"1395706855","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706779":["hashtag1","hashtag2"]},{"1395706815":["hashtag1","hashtag2"]},{"1395706880":["hashtag1","hashtag2"]},{"1395706763":["hashtag1","hashtag2"]},{"1395706885":["hashtag1","hashtag2"]},{"1395706855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706779, 1395706815, 1395706880, 1395706763, 1395706885, 1395706855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46393322944641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:06:22.122477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/03/image_22112025_15_03_05_3631.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_07_3018.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_11_3531.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_13_2708.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_17_3693.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_20_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/03/image_22112025_15_03_05_3631.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_07_3018.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_11_3531.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_13_2708.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_17_3693.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_20_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706932","1395706941","1395706935","1395706938","1395706949","1395706945"],"photo_ids_order":["1395706932","1395706935","1395706938","1395706941","1395706945","1395706949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bea085345d73329b9f8df00821cc9142.jpg","text":"TemporaryFile(/tmp/multipartBody4618980092773595954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820442867,"filename":"image_22112025_15_03_05_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e77c48440a577d779ccb633b0eb8660.jpg","text":"TemporaryFile(/tmp/multipartBody6460984153611322020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820442867,"filename":"image_22112025_15_04_13_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15d42b0571709a43218df43f1b1fc10d.jpg","text":"TemporaryFile(/tmp/multipartBody5012812937745114267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820442867,"filename":"image_22112025_15_04_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f3e3dbad8736a5d6adf1a2a13151226.jpg","text":"TemporaryFile(/tmp/multipartBody8713702265573678529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820442867,"filename":"image_22112025_15_04_11_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d296ecc3daa5c58ac71910a365d5ae9.jpg","text":"TemporaryFile(/tmp/multipartBody9222387723650443776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820442867,"filename":"image_22112025_15_04_20_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0872149f9635cdf482f574a2bcbb1c97.jpg","text":"TemporaryFile(/tmp/multipartBody4711514681857072158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820442867,"filename":"image_22112025_15_04_17_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706938","file1":"1395706935","file0":"1395706932","file4":"1395706945","file5":"1395706949","file3":"1395706941"},"map_files_photo_id_array":[{"photo_id":"1395706949","filename":"file5"},{"photo_id":"1395706938","filename":"file2"},{"photo_id":"1395706945","filename":"file4"},{"photo_id":"1395706935","filename":"file1"},{"photo_id":"1395706932","filename":"file0"},{"photo_id":"1395706941","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706932":["hashtag1","hashtag2"]},{"1395706941":["hashtag1","hashtag2"]},{"1395706935":["hashtag1","hashtag2"]},{"1395706938":["hashtag1","hashtag2"]},{"1395706949":["hashtag1","hashtag2"]},{"1395706945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706932, 1395706941, 1395706935, 1395706938, 1395706949, 1395706945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64833641052246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:07:02.929641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_22_2640.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_26_3498.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_29_2778.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_31_2697.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_37_6033.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_39_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_22_2640.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_26_3498.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_29_2778.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_31_2697.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_37_6033.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_39_1602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706959","1395706956","1395706961","1395706955","1395706954","1395706957"],"photo_ids_order":["1395706954","1395706955","1395706956","1395706957","1395706959","1395706961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80e5c8efa70577d5c36e47bf4cede3c9.jpg","text":"TemporaryFile(/tmp/multipartBody5754577527794165717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820483735,"filename":"image_22112025_15_04_37_6033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4f686d67d5fb3ca52fb8b5a4246e48f.jpg","text":"TemporaryFile(/tmp/multipartBody1552847374580125323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820483735,"filename":"image_22112025_15_04_29_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2154245366b0bca1ed1f74fbf82789e.jpg","text":"TemporaryFile(/tmp/multipartBody2853066513598379150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820483735,"filename":"image_22112025_15_04_39_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9bb51e0706bd33e7c568e59c348159e.jpg","text":"TemporaryFile(/tmp/multipartBody3639952365232078965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820483735,"filename":"image_22112025_15_04_26_3498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78a723099a00b548de60597871cdeb09.jpg","text":"TemporaryFile(/tmp/multipartBody7704568790732766622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820483735,"filename":"image_22112025_15_04_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbcfed272ceebc61738c5dcf32e716bb.jpg","text":"TemporaryFile(/tmp/multipartBody7767705507860830907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820483735,"filename":"image_22112025_15_04_31_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706956","file1":"1395706955","file0":"1395706954","file4":"1395706959","file5":"1395706961","file3":"1395706957"},"map_files_photo_id_array":[{"photo_id":"1395706961","filename":"file5"},{"photo_id":"1395706956","filename":"file2"},{"photo_id":"1395706959","filename":"file4"},{"photo_id":"1395706955","filename":"file1"},{"photo_id":"1395706954","filename":"file0"},{"photo_id":"1395706957","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706959":["hashtag1","hashtag2"]},{"1395706956":["hashtag1","hashtag2"]},{"1395706961":["hashtag1","hashtag2"]},{"1395706955":["hashtag1","hashtag2"]},{"1395706954":["hashtag1","hashtag2"]},{"1395706957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706959, 1395706956, 1395706961, 1395706955, 1395706954, 1395706957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59379863739014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:07:42.347118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_41_1759.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_43_2690.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_46_2653.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_50_3711.jpg', '/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_55_2661.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_41_1759.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_43_2690.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_46_2653.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_50_3711.jpg
/home/pi/Desktop/images/22112025/15/04/image_22112025_15_04_55_2661.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706980","1395706974","1395706982","1395706976","1395706978","1395706969"],"photo_ids_order":["1395706969","1395706974","1395706976","1395706978","1395706980","1395706982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5447e86e3ae006f1a8caf427ee77627.jpg","text":"TemporaryFile(/tmp/multipartBody1515973684863726584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820523019,"filename":"image_22112025_15_04_55_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6186f25077587896977e4b04ab1eed33.jpg","text":"TemporaryFile(/tmp/multipartBody2101793303852443672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820523019,"filename":"image_22112025_15_04_43_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9dd297e2e6767146e8b50e5ef10702e6.jpg","text":"TemporaryFile(/tmp/multipartBody1254462691990117787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820523019,"filename":"image_22112025_15_06_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fc1194ce8e4991b86e8ce028967d8f5.jpg","text":"TemporaryFile(/tmp/multipartBody7368758841645753435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820523019,"filename":"image_22112025_15_04_46_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f61457dcf4750a4d14e1a4439e00f8b.jpg","text":"TemporaryFile(/tmp/multipartBody300985240687537495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820523019,"filename":"image_22112025_15_04_50_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e93a098b194ee35fd8a051e1a3e4cee7.jpg","text":"TemporaryFile(/tmp/multipartBody1623364521203106146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820523019,"filename":"image_22112025_15_04_41_1759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706976","file1":"1395706974","file0":"1395706969","file4":"1395706980","file5":"1395706982","file3":"1395706978"},"map_files_photo_id_array":[{"photo_id":"1395706982","filename":"file5"},{"photo_id":"1395706976","filename":"file2"},{"photo_id":"1395706980","filename":"file4"},{"photo_id":"1395706974","filename":"file1"},{"photo_id":"1395706969","filename":"file0"},{"photo_id":"1395706978","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706980":["hashtag1","hashtag2"]},{"1395706974":["hashtag1","hashtag2"]},{"1395706982":["hashtag1","hashtag2"]},{"1395706976":["hashtag1","hashtag2"]},{"1395706978":["hashtag1","hashtag2"]},{"1395706969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706980, 1395706974, 1395706982, 1395706976, 1395706978, 1395706969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51788282394409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:08:28.715307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_11_3691.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_14_2634.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_17_3526.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_20_2700.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_22_2616.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_26_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_11_3691.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_14_2634.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_17_3526.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_20_2700.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_22_2616.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_26_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395706995","1395706989","1395706992","1395706997","1395707000","1395706999"],"photo_ids_order":["1395706989","1395706992","1395706995","1395706997","1395706999","1395707000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4908236d395f5e5dc39ed5df91e1775b.jpg","text":"TemporaryFile(/tmp/multipartBody4027113750655328468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820569382,"filename":"image_22112025_15_06_17_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68bbd594da38cb608c8d14cec88ec41c.jpg","text":"TemporaryFile(/tmp/multipartBody6597078947625940955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820569382,"filename":"image_22112025_15_06_11_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/146b87b327911483f18333e404fe5d84.jpg","text":"TemporaryFile(/tmp/multipartBody954626927229930771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820569382,"filename":"image_22112025_15_06_14_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff3a579e5cd3637688083d3304fc4e93.jpg","text":"TemporaryFile(/tmp/multipartBody7112033099473575505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820569382,"filename":"image_22112025_15_06_20_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92fae65484368c840f26bd96e8565e8c.jpg","text":"TemporaryFile(/tmp/multipartBody2149285542937210964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820569382,"filename":"image_22112025_15_06_26_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b689cc03ed5ff33cd239b828728019d.jpg","text":"TemporaryFile(/tmp/multipartBody210060647516317028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820569382,"filename":"image_22112025_15_06_22_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395706995","file1":"1395706992","file0":"1395706989","file4":"1395706999","file5":"1395707000","file3":"1395706997"},"map_files_photo_id_array":[{"photo_id":"1395707000","filename":"file5"},{"photo_id":"1395706995","filename":"file2"},{"photo_id":"1395706999","filename":"file4"},{"photo_id":"1395706992","filename":"file1"},{"photo_id":"1395706989","filename":"file0"},{"photo_id":"1395706997","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395706995":["hashtag1","hashtag2"]},{"1395706989":["hashtag1","hashtag2"]},{"1395706992":["hashtag1","hashtag2"]},{"1395706997":["hashtag1","hashtag2"]},{"1395707000":["hashtag1","hashtag2"]},{"1395706999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395706995, 1395706989, 1395706992, 1395706997, 1395707000, 1395706999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21808362007141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:09:22.033504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_28_2531.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_31_2814.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_35_3587.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_40_2770.jpg', '/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_44_3662.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_28_2531.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_31_2814.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_35_3587.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_40_2770.jpg
/home/pi/Desktop/images/22112025/15/06/image_22112025_15_06_44_3662.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707006","1395707003","1395707020","1395707014","1395707017","1395707011"],"photo_ids_order":["1395707003","1395707006","1395707011","1395707014","1395707017","1395707020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a14e134a530f353c3c503a811982d30c.jpg","text":"TemporaryFile(/tmp/multipartBody7073696181083281375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820622726,"filename":"image_22112025_15_06_31_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e5752652950475b19169ab62bd660cc.jpg","text":"TemporaryFile(/tmp/multipartBody2003673009386878072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820622726,"filename":"image_22112025_15_06_28_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93b53378963dd084995134dfe6655ed2.jpg","text":"TemporaryFile(/tmp/multipartBody2374988419211975129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820622726,"filename":"image_22112025_15_08_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db47991f299b88097ab30aed81a05b64.jpg","text":"TemporaryFile(/tmp/multipartBody4240520417845740101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820622726,"filename":"image_22112025_15_06_40_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf94f405da9f124585809d403213f173.jpg","text":"TemporaryFile(/tmp/multipartBody1532800566200709290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820622726,"filename":"image_22112025_15_06_44_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d125b28d91a318da87fbb14aadeb4d04.jpg","text":"TemporaryFile(/tmp/multipartBody6987537979612997951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820622726,"filename":"image_22112025_15_06_35_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707011","file1":"1395707006","file0":"1395707003","file4":"1395707017","file5":"1395707020","file3":"1395707014"},"map_files_photo_id_array":[{"photo_id":"1395707020","filename":"file5"},{"photo_id":"1395707011","filename":"file2"},{"photo_id":"1395707017","filename":"file4"},{"photo_id":"1395707006","filename":"file1"},{"photo_id":"1395707003","filename":"file0"},{"photo_id":"1395707014","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707006":["hashtag1","hashtag2"]},{"1395707003":["hashtag1","hashtag2"]},{"1395707020":["hashtag1","hashtag2"]},{"1395707014":["hashtag1","hashtag2"]},{"1395707017":["hashtag1","hashtag2"]},{"1395707011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707006, 1395707003, 1395707020, 1395707014, 1395707017, 1395707011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.539557695388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:10:02.724201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_13_2606.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_20_2609.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_22_2583.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_26_3755.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_29_2678.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_31_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_13_2606.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_20_2609.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_22_2583.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_26_3755.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_29_2678.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_31_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707022","1395707024","1395707021","1395707029","1395707023","1395707026"],"photo_ids_order":["1395707021","1395707022","1395707023","1395707024","1395707026","1395707029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a44c309ec1eaf6246bba520493c17ea6.jpg","text":"TemporaryFile(/tmp/multipartBody3681960924702564741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820663468,"filename":"image_22112025_15_08_20_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b394fae6723977faa7f5a15e747c121e.jpg","text":"TemporaryFile(/tmp/multipartBody4732787503227022425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820663468,"filename":"image_22112025_15_08_26_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef4a73785af7fcb0002e2e0ea7b86797.jpg","text":"TemporaryFile(/tmp/multipartBody2512678299377462504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820663468,"filename":"image_22112025_15_08_13_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6aadb28d06f729c983ab0e82772a7a15.jpg","text":"TemporaryFile(/tmp/multipartBody1998693343654147888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820663468,"filename":"image_22112025_15_08_31_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/589c5cfc19bad7446126882eff00dea9.jpg","text":"TemporaryFile(/tmp/multipartBody6619886522602118524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820663468,"filename":"image_22112025_15_08_22_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e96be504ac8862cf5122137845664835.jpg","text":"TemporaryFile(/tmp/multipartBody817658829839877714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820663468,"filename":"image_22112025_15_08_29_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707023","file1":"1395707022","file0":"1395707021","file4":"1395707026","file5":"1395707029","file3":"1395707024"},"map_files_photo_id_array":[{"photo_id":"1395707029","filename":"file5"},{"photo_id":"1395707023","filename":"file2"},{"photo_id":"1395707026","filename":"file4"},{"photo_id":"1395707022","filename":"file1"},{"photo_id":"1395707021","filename":"file0"},{"photo_id":"1395707024","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707022":["hashtag1","hashtag2"]},{"1395707024":["hashtag1","hashtag2"]},{"1395707021":["hashtag1","hashtag2"]},{"1395707029":["hashtag1","hashtag2"]},{"1395707023":["hashtag1","hashtag2"]},{"1395707026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707022, 1395707024, 1395707021, 1395707029, 1395707023, 1395707026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60749387741089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:10:42.289533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_38_3647.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_40_2696.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_43_2884.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_50_3864.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_52_2664.jpg', '/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_55_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_38_3647.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_40_2696.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_43_2884.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_50_3864.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_52_2664.jpg
/home/pi/Desktop/images/22112025/15/08/image_22112025_15_08_55_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707043","1395707046","1395707049","1395707048","1395707050","1395707047"],"photo_ids_order":["1395707043","1395707046","1395707047","1395707048","1395707049","1395707050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8561c912bca229196763854d88ddf753.jpg","text":"TemporaryFile(/tmp/multipartBody3217522464192966826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820702954,"filename":"image_22112025_15_08_38_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7b1247ba6ab7288986efc5e3cb757b5.jpg","text":"TemporaryFile(/tmp/multipartBody3219247744150089743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820702954,"filename":"image_22112025_15_08_40_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cefd584ce5cc3789b7fc503bb1b0e15f.jpg","text":"TemporaryFile(/tmp/multipartBody5820926217217764547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820702954,"filename":"image_22112025_15_08_52_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17d68f1a8f73ca84dd5f9505e70469fc.jpg","text":"TemporaryFile(/tmp/multipartBody5768131618237199989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820702954,"filename":"image_22112025_15_08_50_3864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b99ba4e1274bd6c36c494c04a1b432be.jpg","text":"TemporaryFile(/tmp/multipartBody8970728183233782801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820702954,"filename":"image_22112025_15_08_55_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45606d4c8df6aeeb4e4fb8bdf19f5da8.jpg","text":"TemporaryFile(/tmp/multipartBody92964475473296323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820702954,"filename":"image_22112025_15_08_43_2884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707047","file1":"1395707046","file0":"1395707043","file4":"1395707049","file5":"1395707050","file3":"1395707048"},"map_files_photo_id_array":[{"photo_id":"1395707050","filename":"file5"},{"photo_id":"1395707047","filename":"file2"},{"photo_id":"1395707049","filename":"file4"},{"photo_id":"1395707046","filename":"file1"},{"photo_id":"1395707043","filename":"file0"},{"photo_id":"1395707048","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707043":["hashtag1","hashtag2"]},{"1395707046":["hashtag1","hashtag2"]},{"1395707049":["hashtag1","hashtag2"]},{"1395707048":["hashtag1","hashtag2"]},{"1395707050":["hashtag1","hashtag2"]},{"1395707047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707043, 1395707046, 1395707049, 1395707048, 1395707050, 1395707047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42346453666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:11:22.562685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/09/image_22112025_15_09_08_13343.jpg', '/home/pi/Desktop/images/22112025/15/09/image_22112025_15_09_11_2960.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_07_3015.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_10_3559.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_13_2616.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_17_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/09/image_22112025_15_09_08_13343.jpg
/home/pi/Desktop/images/22112025/15/09/image_22112025_15_09_11_2960.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_07_3015.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_10_3559.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_13_2616.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_17_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707065","1395707059","1395707068","1395707053","1395707062","1395707056"],"photo_ids_order":["1395707053","1395707056","1395707059","1395707062","1395707065","1395707068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d52df208999b390c2059291737d0aaf.jpg","text":"TemporaryFile(/tmp/multipartBody1169350120017392164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820743261,"filename":"image_22112025_15_10_13_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce347559688f6ca86902ba055f8be3db.jpg","text":"TemporaryFile(/tmp/multipartBody1444920708861123726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820743261,"filename":"image_22112025_15_10_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1767f59535a1eb65becbe9b3b81f0cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6701564098131808817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820743261,"filename":"image_22112025_15_10_17_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41b84d88d8f81ca411c240fe5e2887fc.jpg","text":"TemporaryFile(/tmp/multipartBody5783830432475569301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820743261,"filename":"image_22112025_15_09_08_13343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fe6d5cab0809383106ff5e4e190741e.jpg","text":"TemporaryFile(/tmp/multipartBody2225156751912151632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820743261,"filename":"image_22112025_15_10_10_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0615ffd6ba3e5f943a088b0ca99e7349.jpg","text":"TemporaryFile(/tmp/multipartBody8028500835295511025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820743261,"filename":"image_22112025_15_09_11_2960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707059","file1":"1395707056","file0":"1395707053","file4":"1395707065","file5":"1395707068","file3":"1395707062"},"map_files_photo_id_array":[{"photo_id":"1395707068","filename":"file5"},{"photo_id":"1395707059","filename":"file2"},{"photo_id":"1395707065","filename":"file4"},{"photo_id":"1395707056","filename":"file1"},{"photo_id":"1395707053","filename":"file0"},{"photo_id":"1395707062","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707065":["hashtag1","hashtag2"]},{"1395707059":["hashtag1","hashtag2"]},{"1395707068":["hashtag1","hashtag2"]},{"1395707053":["hashtag1","hashtag2"]},{"1395707062":["hashtag1","hashtag2"]},{"1395707056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707065, 1395707059, 1395707068, 1395707053, 1395707062, 1395707056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31004214286804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:12:03.406422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_19_2532.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_23_3592.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_25_2556.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_28_2665.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_32_3663.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_34_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_19_2532.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_23_3592.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_25_2556.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_28_2665.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_32_3663.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_34_2579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5886106491088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:12:22.821343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_19_2532.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_23_3592.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_25_2556.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_28_2665.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_32_3663.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_34_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_19_2532.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_23_3592.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_25_2556.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_28_2665.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_32_3663.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_34_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707095","1395707092","1395707086","1395707089","1395707080","1395707082"],"photo_ids_order":["1395707080","1395707082","1395707086","1395707089","1395707092","1395707095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff322ad9e3a708feaa9e6d3ca8cea7e7.jpg","text":"TemporaryFile(/tmp/multipartBody4567648882867800746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820803532,"filename":"image_22112025_15_10_34_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/246a946f8991da9ac14eb2d1f73007b6.jpg","text":"TemporaryFile(/tmp/multipartBody7420165281917751939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820803532,"filename":"image_22112025_15_10_32_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1b466c99352fc9e2e9f86b4dee3ee55.jpg","text":"TemporaryFile(/tmp/multipartBody3435559990746634526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820803532,"filename":"image_22112025_15_10_25_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f22e9bd1445dbf47bfd928daa84a743.jpg","text":"TemporaryFile(/tmp/multipartBody37335417961571614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820803532,"filename":"image_22112025_15_10_28_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/add51c4e5a8a3955ce9b8f513988942a.jpg","text":"TemporaryFile(/tmp/multipartBody5017316007166990184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820803532,"filename":"image_22112025_15_10_19_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9b4f77a4f6be95640c3a7e5f0cf1167.jpg","text":"TemporaryFile(/tmp/multipartBody1065960025613639419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820803532,"filename":"image_22112025_15_10_23_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707086","file1":"1395707082","file0":"1395707080","file4":"1395707092","file5":"1395707095","file3":"1395707089"},"map_files_photo_id_array":[{"photo_id":"1395707095","filename":"file5"},{"photo_id":"1395707086","filename":"file2"},{"photo_id":"1395707092","filename":"file4"},{"photo_id":"1395707082","filename":"file1"},{"photo_id":"1395707080","filename":"file0"},{"photo_id":"1395707089","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707095":["hashtag1","hashtag2"]},{"1395707092":["hashtag1","hashtag2"]},{"1395707086":["hashtag1","hashtag2"]},{"1395707089":["hashtag1","hashtag2"]},{"1395707080":["hashtag1","hashtag2"]},{"1395707082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707095, 1395707092, 1395707086, 1395707089, 1395707080, 1395707082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.674779415130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:13:02.675831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_37_2681.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_41_3587.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_43_2683.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_46_2666.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_50_3727.jpg', '/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_52_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_37_2681.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_41_3587.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_43_2683.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_46_2666.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_50_3727.jpg
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_52_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707099","1395707096","1395707098","1395707101","1395707104","1395707097"],"photo_ids_order":["1395707096","1395707097","1395707098","1395707099","1395707101","1395707104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d09c77e3c2f27ea72ae48bde4174d6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3951110470332570642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820843426,"filename":"image_22112025_15_10_46_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c8c1548d788c17e0d305b802a2c3bbf.jpg","text":"TemporaryFile(/tmp/multipartBody2838227714701612335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820843426,"filename":"image_22112025_15_10_37_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38e7723843dc37776d82a28d8e4b7fb1.jpg","text":"TemporaryFile(/tmp/multipartBody8214618519146834868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820843426,"filename":"image_22112025_15_10_43_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cde22d00f5c2f1d94ad1bf9068e7c17.jpg","text":"TemporaryFile(/tmp/multipartBody139114767356392168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820843426,"filename":"image_22112025_15_10_50_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c937f89888ce7d94f3e7ab19c007e920.jpg","text":"TemporaryFile(/tmp/multipartBody1923479737216021031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820843426,"filename":"image_22112025_15_10_52_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6aee33de650537037c7b96fd9984bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6450405642981081565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820843426,"filename":"image_22112025_15_10_41_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707098","file1":"1395707097","file0":"1395707096","file4":"1395707101","file5":"1395707104","file3":"1395707099"},"map_files_photo_id_array":[{"photo_id":"1395707104","filename":"file5"},{"photo_id":"1395707098","filename":"file2"},{"photo_id":"1395707101","filename":"file4"},{"photo_id":"1395707097","filename":"file1"},{"photo_id":"1395707096","filename":"file0"},{"photo_id":"1395707099","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707099":["hashtag1","hashtag2"]},{"1395707096":["hashtag1","hashtag2"]},{"1395707098":["hashtag1","hashtag2"]},{"1395707101":["hashtag1","hashtag2"]},{"1395707104":["hashtag1","hashtag2"]},{"1395707097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707099, 1395707096, 1395707098, 1395707101, 1395707104, 1395707097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67565965652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:13:42.066076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_55_2563.jpg', '/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_02_2947.jpg', '/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_05_2701.jpg', '/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_07_2580.jpg', '/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_10_2803.jpg', '/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_14_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/10/image_22112025_15_10_55_2563.jpg
/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_02_2947.jpg
/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_05_2701.jpg
/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_07_2580.jpg
/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_10_2803.jpg
/home/pi/Desktop/images/22112025/15/11/image_22112025_15_11_14_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707118","1395707117","1395707120","1395707113","1395707116","1395707119"],"photo_ids_order":["1395707113","1395707116","1395707117","1395707118","1395707119","1395707120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b81d55f86257de8ebd3828a2261323b.jpg","text":"TemporaryFile(/tmp/multipartBody2983668715295074940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820882729,"filename":"image_22112025_15_11_07_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d5ef288dc1b00622b34cf690e72a3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6783541931701094509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820882729,"filename":"image_22112025_15_11_05_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/945fc30ea4a1b3e26597db9a803dba3b.jpg","text":"TemporaryFile(/tmp/multipartBody7223062078907100276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820882729,"filename":"image_22112025_15_11_14_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd152f2ddc278c5e4f3b4ca71e23bc50.jpg","text":"TemporaryFile(/tmp/multipartBody6303370392176695316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820882729,"filename":"image_22112025_15_10_55_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/697c39b1252d21d4b471718fcdf08668.jpg","text":"TemporaryFile(/tmp/multipartBody6321929499234111578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820882729,"filename":"image_22112025_15_11_02_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ee93bf972dbcf67ec521ec8996a062d.jpg","text":"TemporaryFile(/tmp/multipartBody4055846012297884231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820882729,"filename":"image_22112025_15_11_10_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707117","file1":"1395707116","file0":"1395707113","file4":"1395707119","file5":"1395707120","file3":"1395707118"},"map_files_photo_id_array":[{"photo_id":"1395707120","filename":"file5"},{"photo_id":"1395707117","filename":"file2"},{"photo_id":"1395707119","filename":"file4"},{"photo_id":"1395707116","filename":"file1"},{"photo_id":"1395707113","filename":"file0"},{"photo_id":"1395707118","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707118":["hashtag1","hashtag2"]},{"1395707117":["hashtag1","hashtag2"]},{"1395707120":["hashtag1","hashtag2"]},{"1395707113":["hashtag1","hashtag2"]},{"1395707116":["hashtag1","hashtag2"]},{"1395707119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707118, 1395707117, 1395707120, 1395707113, 1395707116, 1395707119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54358792304993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:14:22.249658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_07_3018.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_11_3642.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_13_2768.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_16_2836.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_20_3606.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_22_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_07_3018.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_11_3642.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_13_2768.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_16_2836.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_20_3606.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_22_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707130","1395707127","1395707147","1395707138","1395707123","1395707143"],"photo_ids_order":["1395707123","1395707127","1395707130","1395707138","1395707143","1395707147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3deaee85319cf63d84144262795d01e.jpg","text":"TemporaryFile(/tmp/multipartBody2046749739236780610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820922938,"filename":"image_22112025_15_12_13_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94d7ceb6fea716d3cf6fc4ddd9ce9f74.jpg","text":"TemporaryFile(/tmp/multipartBody1253802847222357134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820922938,"filename":"image_22112025_15_12_11_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3991d58ff6e036608f8e948e96322832.jpg","text":"TemporaryFile(/tmp/multipartBody1275818557296442841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820922938,"filename":"image_22112025_15_12_22_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a93ae4170c1cca40b15e77b7685ee7a2.jpg","text":"TemporaryFile(/tmp/multipartBody9179041797040133978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820922938,"filename":"image_22112025_15_12_16_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3621153c2f93a66208de14f77796b535.jpg","text":"TemporaryFile(/tmp/multipartBody7917874289154454343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820922938,"filename":"image_22112025_15_12_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa84eb6160da94bb114d8a82ba4be311.jpg","text":"TemporaryFile(/tmp/multipartBody3735628676673471083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820922938,"filename":"image_22112025_15_12_20_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707130","file1":"1395707127","file0":"1395707123","file4":"1395707143","file5":"1395707147","file3":"1395707138"},"map_files_photo_id_array":[{"photo_id":"1395707147","filename":"file5"},{"photo_id":"1395707130","filename":"file2"},{"photo_id":"1395707143","filename":"file4"},{"photo_id":"1395707127","filename":"file1"},{"photo_id":"1395707123","filename":"file0"},{"photo_id":"1395707138","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707130":["hashtag1","hashtag2"]},{"1395707127":["hashtag1","hashtag2"]},{"1395707147":["hashtag1","hashtag2"]},{"1395707138":["hashtag1","hashtag2"]},{"1395707123":["hashtag1","hashtag2"]},{"1395707143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707130, 1395707127, 1395707147, 1395707138, 1395707123, 1395707143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54162645339966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:15:03.071152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_25_2771.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_28_2744.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_34_2653.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_38_3643.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_40_2644.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_43_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_25_2771.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_28_2744.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_34_2653.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_38_3643.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_40_2644.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_43_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707157","1395707151","1395707153","1395707150","1395707152","1395707155"],"photo_ids_order":["1395707150","1395707151","1395707152","1395707153","1395707155","1395707157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c551a789b5c00136991b67901e4a9d7.jpg","text":"TemporaryFile(/tmp/multipartBody5581859700826798687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820963828,"filename":"image_22112025_15_12_43_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf42bfc52082a5f10ac8cb36fb3eb082.jpg","text":"TemporaryFile(/tmp/multipartBody8005406687565515345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820963828,"filename":"image_22112025_15_12_28_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45ac8bef1045b627ad67c03336f8258e.jpg","text":"TemporaryFile(/tmp/multipartBody1144042685870448030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820963828,"filename":"image_22112025_15_12_38_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f55d48fd8ef47f24a3420c8bdb8665c6.jpg","text":"TemporaryFile(/tmp/multipartBody1146425542466231930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820963828,"filename":"image_22112025_15_12_25_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14cb84989e31c33da64ec862ceb12d74.jpg","text":"TemporaryFile(/tmp/multipartBody663003372609583902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820963828,"filename":"image_22112025_15_12_34_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eed6bbe3f4727238b6969ddbe2288626.jpg","text":"TemporaryFile(/tmp/multipartBody9137969318115101141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763820963828,"filename":"image_22112025_15_12_40_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707152","file1":"1395707151","file0":"1395707150","file4":"1395707155","file5":"1395707157","file3":"1395707153"},"map_files_photo_id_array":[{"photo_id":"1395707157","filename":"file5"},{"photo_id":"1395707152","filename":"file2"},{"photo_id":"1395707155","filename":"file4"},{"photo_id":"1395707151","filename":"file1"},{"photo_id":"1395707150","filename":"file0"},{"photo_id":"1395707153","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707157":["hashtag1","hashtag2"]},{"1395707151":["hashtag1","hashtag2"]},{"1395707153":["hashtag1","hashtag2"]},{"1395707150":["hashtag1","hashtag2"]},{"1395707152":["hashtag1","hashtag2"]},{"1395707155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707157, 1395707151, 1395707153, 1395707150, 1395707152, 1395707155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44940519332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:15:42.372881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_47_3607.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_49_2541.jpg', '/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_52_2770.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_07_3019.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_10_3562.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_13_2507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_47_3607.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_49_2541.jpg
/home/pi/Desktop/images/22112025/15/12/image_22112025_15_12_52_2770.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_07_3019.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_10_3562.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_13_2507.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707163","1395707172","1395707174","1395707168","1395707176","1395707170"],"photo_ids_order":["1395707163","1395707168","1395707170","1395707172","1395707174","1395707176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4f57ada61db90c4a664b2c1e7f10d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5692357119081462596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821003039,"filename":"image_22112025_15_12_47_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac49d5eedb07c0e67261572967579e3b.jpg","text":"TemporaryFile(/tmp/multipartBody716574530992655560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821003039,"filename":"image_22112025_15_14_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51c47cd47c5b5cbb0b5e7e0ce99f88b9.jpg","text":"TemporaryFile(/tmp/multipartBody5801822893574238275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821003039,"filename":"image_22112025_15_14_10_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cb4477cef33ee6dc484752a5f6926b2.jpg","text":"TemporaryFile(/tmp/multipartBody8960575809995650255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821003039,"filename":"image_22112025_15_12_49_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4dc0f9db9a853e0187e61ddf74d8be8f.jpg","text":"TemporaryFile(/tmp/multipartBody807434955784459932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821003039,"filename":"image_22112025_15_14_13_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86d2311b5354e57da588692c1eb345a2.jpg","text":"TemporaryFile(/tmp/multipartBody141869388538066692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821003039,"filename":"image_22112025_15_12_52_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707170","file1":"1395707168","file0":"1395707163","file4":"1395707174","file5":"1395707176","file3":"1395707172"},"map_files_photo_id_array":[{"photo_id":"1395707176","filename":"file5"},{"photo_id":"1395707170","filename":"file2"},{"photo_id":"1395707174","filename":"file4"},{"photo_id":"1395707168","filename":"file1"},{"photo_id":"1395707163","filename":"file0"},{"photo_id":"1395707172","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707163":["hashtag1","hashtag2"]},{"1395707172":["hashtag1","hashtag2"]},{"1395707174":["hashtag1","hashtag2"]},{"1395707168":["hashtag1","hashtag2"]},{"1395707176":["hashtag1","hashtag2"]},{"1395707170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707163, 1395707172, 1395707174, 1395707168, 1395707176, 1395707170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.787784814834595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:16:22.341786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_17_3767.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_19_2697.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_22_2705.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_26_3630.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_28_2687.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_31_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_17_3767.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_19_2697.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_22_2705.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_26_3630.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_28_2687.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_31_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707190","1395707184","1395707192","1395707195","1395707180","1395707187"],"photo_ids_order":["1395707180","1395707184","1395707187","1395707190","1395707192","1395707195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81f5d55903c5fcddeb43a8ddf6743fea.jpg","text":"TemporaryFile(/tmp/multipartBody3592766868308043531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821043087,"filename":"image_22112025_15_14_26_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21b49eb18b44e599ebe9443bd6c6db9d.jpg","text":"TemporaryFile(/tmp/multipartBody1041604117927781643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821043087,"filename":"image_22112025_15_14_19_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8589c7226caca104b0bed2aaf43431f3.jpg","text":"TemporaryFile(/tmp/multipartBody4151249122388254025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821043087,"filename":"image_22112025_15_14_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64a74f4b83e65a380a61e102df2b19c5.jpg","text":"TemporaryFile(/tmp/multipartBody8897836929369583813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821043087,"filename":"image_22112025_15_14_31_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04b9633321da8c11803e699601c29594.jpg","text":"TemporaryFile(/tmp/multipartBody2192349305166688779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821043087,"filename":"image_22112025_15_14_17_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2b52f734ad62614bcde0010a6407fc7.jpg","text":"TemporaryFile(/tmp/multipartBody4933347335028399459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821043087,"filename":"image_22112025_15_14_22_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707187","file1":"1395707184","file0":"1395707180","file4":"1395707192","file5":"1395707195","file3":"1395707190"},"map_files_photo_id_array":[{"photo_id":"1395707195","filename":"file5"},{"photo_id":"1395707187","filename":"file2"},{"photo_id":"1395707192","filename":"file4"},{"photo_id":"1395707184","filename":"file1"},{"photo_id":"1395707180","filename":"file0"},{"photo_id":"1395707190","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707190":["hashtag1","hashtag2"]},{"1395707184":["hashtag1","hashtag2"]},{"1395707192":["hashtag1","hashtag2"]},{"1395707195":["hashtag1","hashtag2"]},{"1395707180":["hashtag1","hashtag2"]},{"1395707187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707190, 1395707184, 1395707192, 1395707195, 1395707180, 1395707187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.013803005218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:17:03.153413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_35_3666.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_38_2730.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_40_2564.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_44_3649.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_46_2556.jpg', '/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_49_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_35_3666.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_38_2730.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_40_2564.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_44_3649.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_46_2556.jpg
/home/pi/Desktop/images/22112025/15/14/image_22112025_15_14_49_2859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707198","1395707201","1395707204","1395707197","1395707199","1395707196"],"photo_ids_order":["1395707196","1395707197","1395707198","1395707199","1395707201","1395707204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/750edea541dc94af64150c4a6f97974e.jpg","text":"TemporaryFile(/tmp/multipartBody7602641316133778874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821083978,"filename":"image_22112025_15_14_40_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/388526e02e13bcbe70d349961ef2c614.jpg","text":"TemporaryFile(/tmp/multipartBody1268357953348315047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821083978,"filename":"image_22112025_15_14_46_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ad6af7b837b0fc6968b3da3228ee323.jpg","text":"TemporaryFile(/tmp/multipartBody9102936145272614228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821083978,"filename":"image_22112025_15_14_49_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77913b1e1cf2bc7bc7ead2a0ff6c61e9.jpg","text":"TemporaryFile(/tmp/multipartBody4037127714224941846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821083978,"filename":"image_22112025_15_14_38_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a511ca964927d17c11eed8587bea1c34.jpg","text":"TemporaryFile(/tmp/multipartBody6795432277351356073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821083978,"filename":"image_22112025_15_14_44_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e375eb8f7f5ffa917b9c6665c2e9503.jpg","text":"TemporaryFile(/tmp/multipartBody4390451177483046456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821083978,"filename":"image_22112025_15_14_35_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707198","file1":"1395707197","file0":"1395707196","file4":"1395707201","file5":"1395707204","file3":"1395707199"},"map_files_photo_id_array":[{"photo_id":"1395707204","filename":"file5"},{"photo_id":"1395707198","filename":"file2"},{"photo_id":"1395707201","filename":"file4"},{"photo_id":"1395707197","filename":"file1"},{"photo_id":"1395707196","filename":"file0"},{"photo_id":"1395707199","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707198":["hashtag1","hashtag2"]},{"1395707201":["hashtag1","hashtag2"]},{"1395707204":["hashtag1","hashtag2"]},{"1395707197":["hashtag1","hashtag2"]},{"1395707199":["hashtag1","hashtag2"]},{"1395707196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707198, 1395707201, 1395707204, 1395707197, 1395707199, 1395707196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90380358695984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:17:42.453041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_07_3011.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_11_3672.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_14_2688.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_16_2642.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_23_2810.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_29_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_07_3011.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_11_3672.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_14_2688.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_16_2642.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_23_2810.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_29_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707220","1395707217","1395707216","1395707219","1395707213","1395707218"],"photo_ids_order":["1395707213","1395707216","1395707217","1395707218","1395707219","1395707220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89f99f86864273a4c5c32a8b5ae58367.jpg","text":"TemporaryFile(/tmp/multipartBody4906045166011191539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821123113,"filename":"image_22112025_15_16_29_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3bd237cd1fc5d20e3144bb0193d33b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1754049815531823142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821123113,"filename":"image_22112025_15_16_14_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/659bf196311e2c020b3e5cce8960ef76.jpg","text":"TemporaryFile(/tmp/multipartBody5590752251904907772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821123113,"filename":"image_22112025_15_16_11_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c13e5d890d7f36b188dc18251905c90b.jpg","text":"TemporaryFile(/tmp/multipartBody870617775547999498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821123113,"filename":"image_22112025_15_16_23_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6831535575fba8fbb7e7395cea3ff828.jpg","text":"TemporaryFile(/tmp/multipartBody6973845267689302030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821123113,"filename":"image_22112025_15_16_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/195f14882a3762d663dac5ae56ea3ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2767008724777197665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821123113,"filename":"image_22112025_15_16_16_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707217","file1":"1395707216","file0":"1395707213","file4":"1395707219","file5":"1395707220","file3":"1395707218"},"map_files_photo_id_array":[{"photo_id":"1395707220","filename":"file5"},{"photo_id":"1395707217","filename":"file2"},{"photo_id":"1395707219","filename":"file4"},{"photo_id":"1395707216","filename":"file1"},{"photo_id":"1395707213","filename":"file0"},{"photo_id":"1395707218","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707220":["hashtag1","hashtag2"]},{"1395707217":["hashtag1","hashtag2"]},{"1395707216":["hashtag1","hashtag2"]},{"1395707219":["hashtag1","hashtag2"]},{"1395707213":["hashtag1","hashtag2"]},{"1395707218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707220, 1395707217, 1395707216, 1395707219, 1395707213, 1395707218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.796953201293945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:18:22.764413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_32_2743.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_34_2523.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_38_3608.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_40_2520.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_44_3719.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_49_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_32_2743.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_34_2523.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_38_3608.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_40_2520.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_44_3719.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_49_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707238","1395707223","1395707226","1395707230","1395707233","1395707236"],"photo_ids_order":["1395707223","1395707226","1395707230","1395707233","1395707236","1395707238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4704922d7e646a102d30d4e4042ab546.jpg","text":"TemporaryFile(/tmp/multipartBody6520647270123127164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821163453,"filename":"image_22112025_15_16_49_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8caa84d6040c4f9867194929eb08cb56.jpg","text":"TemporaryFile(/tmp/multipartBody1173398331429537611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821163453,"filename":"image_22112025_15_16_32_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4543ad4045483149b474b6802de0e279.jpg","text":"TemporaryFile(/tmp/multipartBody7400975849059354401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821163453,"filename":"image_22112025_15_16_34_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1847a034060249d8cf83ac5ff8979239.jpg","text":"TemporaryFile(/tmp/multipartBody6876716601065202317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821163453,"filename":"image_22112025_15_16_38_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87b1925814a260adbe7c162e87776eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1743899768209443124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821163453,"filename":"image_22112025_15_16_40_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a719e82af3dad30e171ae7df46e4aaca.jpg","text":"TemporaryFile(/tmp/multipartBody1762714500320159316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821163453,"filename":"image_22112025_15_16_44_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707230","file1":"1395707226","file0":"1395707223","file4":"1395707236","file5":"1395707238","file3":"1395707233"},"map_files_photo_id_array":[{"photo_id":"1395707238","filename":"file5"},{"photo_id":"1395707230","filename":"file2"},{"photo_id":"1395707236","filename":"file4"},{"photo_id":"1395707226","filename":"file1"},{"photo_id":"1395707223","filename":"file0"},{"photo_id":"1395707233","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707238":["hashtag1","hashtag2"]},{"1395707223":["hashtag1","hashtag2"]},{"1395707226":["hashtag1","hashtag2"]},{"1395707230":["hashtag1","hashtag2"]},{"1395707233":["hashtag1","hashtag2"]},{"1395707236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707238, 1395707223, 1395707226, 1395707230, 1395707233, 1395707236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11180019378662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:19:02.905538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_53_3573.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_56_2655.jpg', '/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_58_2650.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_07_3010.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_11_3698.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_14_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_53_3573.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_56_2655.jpg
/home/pi/Desktop/images/22112025/15/16/image_22112025_15_16_58_2650.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_07_3010.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_11_3698.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_14_2603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707241","1395707244","1395707246","1395707249","1395707243","1395707239"],"photo_ids_order":["1395707239","1395707241","1395707243","1395707244","1395707246","1395707249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdf697ba8292fdb661db1978cc817fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1657030014280292356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821203789,"filename":"image_22112025_15_16_56_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8b0ceb005738b546a3f916eb850c205.jpg","text":"TemporaryFile(/tmp/multipartBody1315624413424843173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821203789,"filename":"image_22112025_15_18_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1854c7f0f3de0413dfa6597dbf390a4.jpg","text":"TemporaryFile(/tmp/multipartBody4907873387258292770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821203789,"filename":"image_22112025_15_18_11_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a50acc1868c2cf0fcc5de4e68aa47b7f.jpg","text":"TemporaryFile(/tmp/multipartBody37872768306214525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821203789,"filename":"image_22112025_15_18_14_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fda7266e5f893efabda8eaed23feb70.jpg","text":"TemporaryFile(/tmp/multipartBody5460106143635087411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821203789,"filename":"image_22112025_15_16_58_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82657fb72e0e5fb380439353ad71296e.jpg","text":"TemporaryFile(/tmp/multipartBody6465759966486448673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821203789,"filename":"image_22112025_15_16_53_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707243","file1":"1395707241","file0":"1395707239","file4":"1395707246","file5":"1395707249","file3":"1395707244"},"map_files_photo_id_array":[{"photo_id":"1395707249","filename":"file5"},{"photo_id":"1395707243","filename":"file2"},{"photo_id":"1395707246","filename":"file4"},{"photo_id":"1395707241","filename":"file1"},{"photo_id":"1395707239","filename":"file0"},{"photo_id":"1395707244","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707241":["hashtag1","hashtag2"]},{"1395707244":["hashtag1","hashtag2"]},{"1395707246":["hashtag1","hashtag2"]},{"1395707249":["hashtag1","hashtag2"]},{"1395707243":["hashtag1","hashtag2"]},{"1395707239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707241, 1395707244, 1395707246, 1395707249, 1395707243, 1395707239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19151329994202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:19:42.162437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_20_2668.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_29_2581.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_31_2576.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_35_3666.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_38_2630.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_40_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_20_2668.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_29_2581.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_31_2576.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_35_3666.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_38_2630.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_40_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707262","1395707264","1395707261","1395707258","1395707263","1395707260"],"photo_ids_order":["1395707258","1395707260","1395707261","1395707262","1395707263","1395707264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71931501184075eccb92eeb76240b537.jpg","text":"TemporaryFile(/tmp/multipartBody8593563759504650136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821242817,"filename":"image_22112025_15_18_35_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18ea8e1c4334145cb3c0a47efcf30179.jpg","text":"TemporaryFile(/tmp/multipartBody6363517389830331445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821242817,"filename":"image_22112025_15_18_40_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/266a8ea8255af9d2f4f9940b02418277.jpg","text":"TemporaryFile(/tmp/multipartBody714948857793783717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821242817,"filename":"image_22112025_15_18_31_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fe4aee7a58a236c8c371f8455005bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1364036381434283814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821242817,"filename":"image_22112025_15_18_20_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b50aa18e087dee60b796410b4518ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1264001631160125700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821242817,"filename":"image_22112025_15_18_38_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/404ab4402233e904c8ece861b9a43825.jpg","text":"TemporaryFile(/tmp/multipartBody5370540803604275285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821242817,"filename":"image_22112025_15_18_29_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707261","file1":"1395707260","file0":"1395707258","file4":"1395707263","file5":"1395707264","file3":"1395707262"},"map_files_photo_id_array":[{"photo_id":"1395707264","filename":"file5"},{"photo_id":"1395707261","filename":"file2"},{"photo_id":"1395707263","filename":"file4"},{"photo_id":"1395707260","filename":"file1"},{"photo_id":"1395707258","filename":"file0"},{"photo_id":"1395707262","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707262":["hashtag1","hashtag2"]},{"1395707264":["hashtag1","hashtag2"]},{"1395707261":["hashtag1","hashtag2"]},{"1395707258":["hashtag1","hashtag2"]},{"1395707263":["hashtag1","hashtag2"]},{"1395707260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707262, 1395707264, 1395707261, 1395707258, 1395707263, 1395707260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.836862564086914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:20:22.467045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_44_3645.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_47_2740.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_49_2725.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_53_3655.jpg', '/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_56_2617.jpg', '/home/pi/Desktop/images/22112025/15/19/image_22112025_15_19_02_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_44_3645.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_47_2740.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_49_2725.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_53_3655.jpg
/home/pi/Desktop/images/22112025/15/18/image_22112025_15_18_56_2617.jpg
/home/pi/Desktop/images/22112025/15/19/image_22112025_15_19_02_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707267","1395707276","1395707284","1395707272","1395707269","1395707280"],"photo_ids_order":["1395707267","1395707269","1395707272","1395707276","1395707280","1395707284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc906e146ccf618f225c04c8beda9446.jpg","text":"TemporaryFile(/tmp/multipartBody2942282718469146865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821283179,"filename":"image_22112025_15_18_44_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc95d95644c6f3f4f32470ea494ea75d.jpg","text":"TemporaryFile(/tmp/multipartBody6381117253363053932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821283179,"filename":"image_22112025_15_18_53_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfad1527550224257279d89dd4e3039d.jpg","text":"TemporaryFile(/tmp/multipartBody4504760029992339206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821283179,"filename":"image_22112025_15_19_02_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c412bea570dc0445bf752da0cf2f214b.jpg","text":"TemporaryFile(/tmp/multipartBody715240430106755363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821283179,"filename":"image_22112025_15_18_49_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/340e19788f16736cd4be9b0238f35ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7846975580888254684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821283179,"filename":"image_22112025_15_18_47_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8257ac916c5413f33af978291b2e76e7.jpg","text":"TemporaryFile(/tmp/multipartBody772797697312930740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821283179,"filename":"image_22112025_15_18_56_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707272","file1":"1395707269","file0":"1395707267","file4":"1395707280","file5":"1395707284","file3":"1395707276"},"map_files_photo_id_array":[{"photo_id":"1395707284","filename":"file5"},{"photo_id":"1395707272","filename":"file2"},{"photo_id":"1395707280","filename":"file4"},{"photo_id":"1395707269","filename":"file1"},{"photo_id":"1395707267","filename":"file0"},{"photo_id":"1395707276","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707267":["hashtag1","hashtag2"]},{"1395707276":["hashtag1","hashtag2"]},{"1395707284":["hashtag1","hashtag2"]},{"1395707272":["hashtag1","hashtag2"]},{"1395707269":["hashtag1","hashtag2"]},{"1395707280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707267, 1395707276, 1395707284, 1395707272, 1395707269, 1395707280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52126717567444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:21:03.332045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/19/image_22112025_15_19_05_2582.jpg', '/home/pi/Desktop/images/22112025/15/19/image_22112025_15_19_07_2590.jpg', '/home/pi/Desktop/images/22112025/15/19/image_22112025_15_19_11_3645.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_07_3017.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_11_3545.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_13_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/19/image_22112025_15_19_05_2582.jpg
/home/pi/Desktop/images/22112025/15/19/image_22112025_15_19_07_2590.jpg
/home/pi/Desktop/images/22112025/15/19/image_22112025_15_19_11_3645.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_07_3017.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_11_3545.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_13_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707288","1395707324","1395707299","1395707290","1395707295","1395707289"],"photo_ids_order":["1395707288","1395707289","1395707290","1395707295","1395707299","1395707324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23504ee729129deb86733163b8bb7947.jpg","text":"TemporaryFile(/tmp/multipartBody4479771986742993482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821324067,"filename":"image_22112025_15_19_05_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0994a4d140c17ad1050a511601ca599.jpg","text":"TemporaryFile(/tmp/multipartBody337598867021877951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821324067,"filename":"image_22112025_15_20_13_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e31c1d4bc075c89bab02b17e6fc77bc.jpg","text":"TemporaryFile(/tmp/multipartBody2283219104729710433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821324067,"filename":"image_22112025_15_20_11_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4db9331ae3144144f1bafc457cf2b187.jpg","text":"TemporaryFile(/tmp/multipartBody5496031477223701133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821324067,"filename":"image_22112025_15_19_11_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6f048602e0c42d0111cf165c7e5603c.jpg","text":"TemporaryFile(/tmp/multipartBody6439022038594945021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821324067,"filename":"image_22112025_15_20_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf6267e060d1a31ad1bc60cb8a288b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1609914969324685666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821324067,"filename":"image_22112025_15_19_07_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707290","file1":"1395707289","file0":"1395707288","file4":"1395707299","file5":"1395707324","file3":"1395707295"},"map_files_photo_id_array":[{"photo_id":"1395707324","filename":"file5"},{"photo_id":"1395707290","filename":"file2"},{"photo_id":"1395707299","filename":"file4"},{"photo_id":"1395707289","filename":"file1"},{"photo_id":"1395707288","filename":"file0"},{"photo_id":"1395707295","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707288":["hashtag1","hashtag2"]},{"1395707324":["hashtag1","hashtag2"]},{"1395707299":["hashtag1","hashtag2"]},{"1395707290":["hashtag1","hashtag2"]},{"1395707295":["hashtag1","hashtag2"]},{"1395707289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707288, 1395707324, 1395707299, 1395707290, 1395707295, 1395707289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08385705947876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:21:42.560982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_17_3732.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_20_2586.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_22_2643.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_26_3578.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_28_2687.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_31_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_17_3732.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_20_2586.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_22_2643.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_26_3578.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_28_2687.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_31_2777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707343","1395707337","1395707339","1395707344","1395707332","1395707341"],"photo_ids_order":["1395707332","1395707337","1395707339","1395707341","1395707343","1395707344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d29b374fb5d050ad69e9f7b80468743.jpg","text":"TemporaryFile(/tmp/multipartBody433556262432983472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821363278,"filename":"image_22112025_15_20_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/643cb11b877b6d61ed1ba4abfe0d4835.jpg","text":"TemporaryFile(/tmp/multipartBody7511133322361111073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821363278,"filename":"image_22112025_15_20_20_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dee2e6c0b7d5b74a546b2dde6826483b.jpg","text":"TemporaryFile(/tmp/multipartBody3349318962536446333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821363278,"filename":"image_22112025_15_20_22_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86f1cf0ee55824b7fd788906a7ed517f.jpg","text":"TemporaryFile(/tmp/multipartBody4617889850259010081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821363278,"filename":"image_22112025_15_20_31_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58cff9721138973d60b25838a57145fe.jpg","text":"TemporaryFile(/tmp/multipartBody9146604272963774621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821363278,"filename":"image_22112025_15_20_17_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c9b35e2e9cd2ea4feea029a5eb76215.jpg","text":"TemporaryFile(/tmp/multipartBody4393115982085188572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821363278,"filename":"image_22112025_15_20_26_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707339","file1":"1395707337","file0":"1395707332","file4":"1395707343","file5":"1395707344","file3":"1395707341"},"map_files_photo_id_array":[{"photo_id":"1395707344","filename":"file5"},{"photo_id":"1395707339","filename":"file2"},{"photo_id":"1395707343","filename":"file4"},{"photo_id":"1395707337","filename":"file1"},{"photo_id":"1395707332","filename":"file0"},{"photo_id":"1395707341","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707343":["hashtag1","hashtag2"]},{"1395707337":["hashtag1","hashtag2"]},{"1395707339":["hashtag1","hashtag2"]},{"1395707344":["hashtag1","hashtag2"]},{"1395707332":["hashtag1","hashtag2"]},{"1395707341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707343, 1395707337, 1395707339, 1395707344, 1395707332, 1395707341)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.449015617370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:22:42.790672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_34_2763.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_38_3882.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_41_2711.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_43_2818.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_46_2661.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_50_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_34_2763.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_38_3882.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_41_2711.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_43_2818.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_46_2661.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_50_3535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707361","1395707364","1395707360","1395707357","1395707362","1395707359"],"photo_ids_order":["1395707357","1395707359","1395707360","1395707361","1395707362","1395707364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19b8b4492b4b027e55fd46b203f3e49f.jpg","text":"TemporaryFile(/tmp/multipartBody1811283557338989640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821423449,"filename":"image_22112025_15_20_43_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f932feac7327a48e8254fa481c7a3a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1971849571681260395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821423449,"filename":"image_22112025_15_20_50_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c71db506bd11fd42c82fc575fc48a79c.jpg","text":"TemporaryFile(/tmp/multipartBody6829417342279229885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821423449,"filename":"image_22112025_15_20_41_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64ccbdfb8b5021335cb7629266ba323e.jpg","text":"TemporaryFile(/tmp/multipartBody6596438077790245334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821423449,"filename":"image_22112025_15_20_34_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad87ca1d83396c77310202d1a3898a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1607854659875445240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821423449,"filename":"image_22112025_15_20_46_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/613fd4a22912fe7ee585b2fd947a55a2.jpg","text":"TemporaryFile(/tmp/multipartBody762631829625050692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821423449,"filename":"image_22112025_15_20_38_3882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707360","file1":"1395707359","file0":"1395707357","file4":"1395707362","file5":"1395707364","file3":"1395707361"},"map_files_photo_id_array":[{"photo_id":"1395707364","filename":"file5"},{"photo_id":"1395707360","filename":"file2"},{"photo_id":"1395707362","filename":"file4"},{"photo_id":"1395707359","filename":"file1"},{"photo_id":"1395707357","filename":"file0"},{"photo_id":"1395707361","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707361":["hashtag1","hashtag2"]},{"1395707364":["hashtag1","hashtag2"]},{"1395707360":["hashtag1","hashtag2"]},{"1395707357":["hashtag1","hashtag2"]},{"1395707362":["hashtag1","hashtag2"]},{"1395707359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707361, 1395707364, 1395707360, 1395707357, 1395707362, 1395707359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.529948472976685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:23:22.083279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_52_2501.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_56_3642.jpg', '/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_58_2734.jpg', '/home/pi/Desktop/images/22112025/15/21/image_22112025_15_21_01_2502.jpg', '/home/pi/Desktop/images/22112025/15/21/image_22112025_15_21_05_3660.jpg', '/home/pi/Desktop/images/22112025/15/21/image_22112025_15_21_08_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_52_2501.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_56_3642.jpg
/home/pi/Desktop/images/22112025/15/20/image_22112025_15_20_58_2734.jpg
/home/pi/Desktop/images/22112025/15/21/image_22112025_15_21_01_2502.jpg
/home/pi/Desktop/images/22112025/15/21/image_22112025_15_21_05_3660.jpg
/home/pi/Desktop/images/22112025/15/21/image_22112025_15_21_08_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707382","1395707376","1395707366","1395707379","1395707370","1395707373"],"photo_ids_order":["1395707366","1395707370","1395707373","1395707376","1395707379","1395707382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/346509e793d5fd44810a182cabdb91fa.jpg","text":"TemporaryFile(/tmp/multipartBody7245289367789287409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821462799,"filename":"image_22112025_15_21_08_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/745bcd40995421165da76dede0a3196e.jpg","text":"TemporaryFile(/tmp/multipartBody7602765111167853404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821462799,"filename":"image_22112025_15_21_01_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f5b2fa31a045cce822e65c4e389221f.jpg","text":"TemporaryFile(/tmp/multipartBody5630589913514528869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821462799,"filename":"image_22112025_15_20_52_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/016e95e72903b18849d4ba4a14ed488e.jpg","text":"TemporaryFile(/tmp/multipartBody4497121937105633208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821462799,"filename":"image_22112025_15_21_05_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0165d3367773c0248d6324a0c19a80d7.jpg","text":"TemporaryFile(/tmp/multipartBody1775433411823702770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821462799,"filename":"image_22112025_15_20_56_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac2093a481507aecd2db1eefac950251.jpg","text":"TemporaryFile(/tmp/multipartBody6505994439828997593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821462799,"filename":"image_22112025_15_20_58_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707373","file1":"1395707370","file0":"1395707366","file4":"1395707379","file5":"1395707382","file3":"1395707376"},"map_files_photo_id_array":[{"photo_id":"1395707382","filename":"file5"},{"photo_id":"1395707373","filename":"file2"},{"photo_id":"1395707379","filename":"file4"},{"photo_id":"1395707370","filename":"file1"},{"photo_id":"1395707366","filename":"file0"},{"photo_id":"1395707376","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707382":["hashtag1","hashtag2"]},{"1395707376":["hashtag1","hashtag2"]},{"1395707366":["hashtag1","hashtag2"]},{"1395707379":["hashtag1","hashtag2"]},{"1395707370":["hashtag1","hashtag2"]},{"1395707373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707382, 1395707376, 1395707366, 1395707379, 1395707370, 1395707373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18557643890381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:24:02.893430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/21/image_22112025_15_21_14_3615.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_07_3018.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_14_2591.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_17_3640.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_20_2684.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_23_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/21/image_22112025_15_21_14_3615.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_07_3018.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_14_2591.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_17_3640.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_20_2684.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_23_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707390","1395707392","1395707386","1395707395","1395707389","1395707388"],"photo_ids_order":["1395707386","1395707388","1395707389","1395707390","1395707392","1395707395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1753168db7378d66df72fa4843c44265.jpg","text":"TemporaryFile(/tmp/multipartBody8302619873096520276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821503744,"filename":"image_22112025_15_22_17_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c51b11b0cceb31b90ca7cdf7434a3c88.jpg","text":"TemporaryFile(/tmp/multipartBody9101396579435582845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821503744,"filename":"image_22112025_15_22_20_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8494146b2f17ca9aba0d102d29e5445.jpg","text":"TemporaryFile(/tmp/multipartBody3603070367300200638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821503744,"filename":"image_22112025_15_21_14_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c6b48de53c3ff358be9ffdb8cf202f7.jpg","text":"TemporaryFile(/tmp/multipartBody8732935831593440837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821503744,"filename":"image_22112025_15_22_23_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/960d1bf1080015df059486f3d8a8508e.jpg","text":"TemporaryFile(/tmp/multipartBody7814288902895386722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821503744,"filename":"image_22112025_15_22_14_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f3592ffeb64e8c8ba4497dd6c8e0e48.jpg","text":"TemporaryFile(/tmp/multipartBody1292856148823811982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821503744,"filename":"image_22112025_15_22_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707389","file1":"1395707388","file0":"1395707386","file4":"1395707392","file5":"1395707395","file3":"1395707390"},"map_files_photo_id_array":[{"photo_id":"1395707395","filename":"file5"},{"photo_id":"1395707389","filename":"file2"},{"photo_id":"1395707392","filename":"file4"},{"photo_id":"1395707388","filename":"file1"},{"photo_id":"1395707386","filename":"file0"},{"photo_id":"1395707390","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707390":["hashtag1","hashtag2"]},{"1395707392":["hashtag1","hashtag2"]},{"1395707386":["hashtag1","hashtag2"]},{"1395707395":["hashtag1","hashtag2"]},{"1395707389":["hashtag1","hashtag2"]},{"1395707388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707390, 1395707392, 1395707386, 1395707395, 1395707389, 1395707388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19423842430115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:24:42.212182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_25_2696.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_29_3754.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_32_2757.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_34_2659.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_37_2777.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_41_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_25_2696.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_29_3754.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_32_2757.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_34_2659.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_37_2777.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_41_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707406","1395707409","1395707408","1395707410","1395707407","1395707404"],"photo_ids_order":["1395707404","1395707406","1395707407","1395707408","1395707409","1395707410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd99fe9b673e985357e06a90fc488be0.jpg","text":"TemporaryFile(/tmp/multipartBody4794770411881294046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821542854,"filename":"image_22112025_15_22_29_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd562bf4684f2e42343aeab00ccfe120.jpg","text":"TemporaryFile(/tmp/multipartBody5651817215002187841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821542854,"filename":"image_22112025_15_22_37_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ffdd1391c2fdbd4ab1462a26b7243f7.jpg","text":"TemporaryFile(/tmp/multipartBody3974786215569586939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821542854,"filename":"image_22112025_15_22_34_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2eb48e762e64fc64adaafcc58c6a4f45.jpg","text":"TemporaryFile(/tmp/multipartBody367175956409799515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821542854,"filename":"image_22112025_15_22_41_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45b2aadc7a7d3dfa36a1480c2a005c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1690291136547056660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821542854,"filename":"image_22112025_15_22_32_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/208776e4f6725daf308e57d426d1d2d3.jpg","text":"TemporaryFile(/tmp/multipartBody6827657809210507094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821542854,"filename":"image_22112025_15_22_25_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707407","file1":"1395707406","file0":"1395707404","file4":"1395707409","file5":"1395707410","file3":"1395707408"},"map_files_photo_id_array":[{"photo_id":"1395707410","filename":"file5"},{"photo_id":"1395707407","filename":"file2"},{"photo_id":"1395707409","filename":"file4"},{"photo_id":"1395707406","filename":"file1"},{"photo_id":"1395707404","filename":"file0"},{"photo_id":"1395707408","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707406":["hashtag1","hashtag2"]},{"1395707409":["hashtag1","hashtag2"]},{"1395707408":["hashtag1","hashtag2"]},{"1395707410":["hashtag1","hashtag2"]},{"1395707407":["hashtag1","hashtag2"]},{"1395707404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707406, 1395707409, 1395707408, 1395707410, 1395707407, 1395707404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2263605594635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:25:22.563865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_44_2692.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_50_2736.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_53_2806.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_55_2555.jpg', '/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_59_3555.jpg', '/home/pi/Desktop/images/22112025/15/23/image_22112025_15_23_01_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_44_2692.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_50_2736.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_53_2806.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_55_2555.jpg
/home/pi/Desktop/images/22112025/15/22/image_22112025_15_22_59_3555.jpg
/home/pi/Desktop/images/22112025/15/23/image_22112025_15_23_01_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707426","1395707429","1395707420","1395707423","1395707417","1395707413"],"photo_ids_order":["1395707413","1395707417","1395707420","1395707423","1395707426","1395707429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcb117a7d79e7c24c3b121a2f85c6512.jpg","text":"TemporaryFile(/tmp/multipartBody656473650318051716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821583248,"filename":"image_22112025_15_22_59_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4a075ddb9051095ddb6c4537d466aa4.jpg","text":"TemporaryFile(/tmp/multipartBody2264710988574710532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821583248,"filename":"image_22112025_15_23_01_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62abba8af8a382d5e2ae7b29b947aacf.jpg","text":"TemporaryFile(/tmp/multipartBody7770420591502890026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821583248,"filename":"image_22112025_15_22_53_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3da29e209006d2ebc188282068cdd060.jpg","text":"TemporaryFile(/tmp/multipartBody4471472645648856006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821583248,"filename":"image_22112025_15_22_55_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfd24075c574743b37257c6acdf022eb.jpg","text":"TemporaryFile(/tmp/multipartBody3285295226208902056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821583248,"filename":"image_22112025_15_22_50_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aca3f0860c6d292764333fa3e56277e0.jpg","text":"TemporaryFile(/tmp/multipartBody8423053541624063029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821583248,"filename":"image_22112025_15_22_44_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707420","file1":"1395707417","file0":"1395707413","file4":"1395707426","file5":"1395707429","file3":"1395707423"},"map_files_photo_id_array":[{"photo_id":"1395707429","filename":"file5"},{"photo_id":"1395707420","filename":"file2"},{"photo_id":"1395707426","filename":"file4"},{"photo_id":"1395707417","filename":"file1"},{"photo_id":"1395707413","filename":"file0"},{"photo_id":"1395707423","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707426":["hashtag1","hashtag2"]},{"1395707429":["hashtag1","hashtag2"]},{"1395707420":["hashtag1","hashtag2"]},{"1395707423":["hashtag1","hashtag2"]},{"1395707417":["hashtag1","hashtag2"]},{"1395707413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707426, 1395707429, 1395707420, 1395707423, 1395707417, 1395707413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62577295303345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:26:03.168634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/23/image_22112025_15_23_04_2855.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_07_3018.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_10_3577.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_13_2644.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_16_3602.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_19_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/23/image_22112025_15_23_04_2855.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_07_3018.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_10_3577.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_13_2644.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_16_3602.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_19_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707433","1395707436","1395707439","1395707432","1395707431","1395707434"],"photo_ids_order":["1395707431","1395707432","1395707433","1395707434","1395707436","1395707439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61506f28da3ebf40700d09d1a7f4e9b2.jpg","text":"TemporaryFile(/tmp/multipartBody2956789328248200440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821623883,"filename":"image_22112025_15_24_10_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9f814b04fb338ad1b3612717c1410cb.jpg","text":"TemporaryFile(/tmp/multipartBody797914593336922456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821623883,"filename":"image_22112025_15_24_16_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2f5e57da726851fe3aa07c997a91513.jpg","text":"TemporaryFile(/tmp/multipartBody1113930714317145905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821623883,"filename":"image_22112025_15_24_19_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43d533d250da10d61a5fc2a7ccfe3922.jpg","text":"TemporaryFile(/tmp/multipartBody5502941826852450363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821623883,"filename":"image_22112025_15_24_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/582de402022580cf7713b699aada4e73.jpg","text":"TemporaryFile(/tmp/multipartBody6270142030989993171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821623883,"filename":"image_22112025_15_23_04_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56d71007cb568a7eab8310d719f71de6.jpg","text":"TemporaryFile(/tmp/multipartBody209857057437819687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821623883,"filename":"image_22112025_15_24_13_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707433","file1":"1395707432","file0":"1395707431","file4":"1395707436","file5":"1395707439","file3":"1395707434"},"map_files_photo_id_array":[{"photo_id":"1395707439","filename":"file5"},{"photo_id":"1395707433","filename":"file2"},{"photo_id":"1395707436","filename":"file4"},{"photo_id":"1395707432","filename":"file1"},{"photo_id":"1395707431","filename":"file0"},{"photo_id":"1395707434","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707433":["hashtag1","hashtag2"]},{"1395707436":["hashtag1","hashtag2"]},{"1395707439":["hashtag1","hashtag2"]},{"1395707432":["hashtag1","hashtag2"]},{"1395707431":["hashtag1","hashtag2"]},{"1395707434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707433, 1395707436, 1395707439, 1395707432, 1395707431, 1395707434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50018906593323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:26:42.676585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_22_2678.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_25_3713.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_28_2582.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_31_2512.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_34_3767.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_37_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_22_2678.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_25_3713.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_28_2582.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_31_2512.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_34_3767.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_37_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707454","1395707457","1395707456","1395707455","1395707458","1395707452"],"photo_ids_order":["1395707452","1395707454","1395707455","1395707456","1395707457","1395707458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6900926d138b181b123dbfa865bd0dba.jpg","text":"TemporaryFile(/tmp/multipartBody2344138109630250511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821663374,"filename":"image_22112025_15_24_25_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85921238592fb996e232170efe978a73.jpg","text":"TemporaryFile(/tmp/multipartBody182574399282754997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821663374,"filename":"image_22112025_15_24_34_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2d80c91da799a31381f43c612baa7e2.jpg","text":"TemporaryFile(/tmp/multipartBody5074062756407219613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821663374,"filename":"image_22112025_15_24_31_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e30072a657f289b2750f5d826124ec92.jpg","text":"TemporaryFile(/tmp/multipartBody3297775855316409470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821663374,"filename":"image_22112025_15_24_28_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/108a92d635822bd096b92be56f70d905.jpg","text":"TemporaryFile(/tmp/multipartBody1133805732581939676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821663374,"filename":"image_22112025_15_24_37_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37f5f7f06c958a7e2f748e56abc3a990.jpg","text":"TemporaryFile(/tmp/multipartBody809304328195387869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821663374,"filename":"image_22112025_15_24_22_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707455","file1":"1395707454","file0":"1395707452","file4":"1395707457","file5":"1395707458","file3":"1395707456"},"map_files_photo_id_array":[{"photo_id":"1395707458","filename":"file5"},{"photo_id":"1395707455","filename":"file2"},{"photo_id":"1395707457","filename":"file4"},{"photo_id":"1395707454","filename":"file1"},{"photo_id":"1395707452","filename":"file0"},{"photo_id":"1395707456","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707454":["hashtag1","hashtag2"]},{"1395707457":["hashtag1","hashtag2"]},{"1395707456":["hashtag1","hashtag2"]},{"1395707455":["hashtag1","hashtag2"]},{"1395707458":["hashtag1","hashtag2"]},{"1395707452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707454, 1395707457, 1395707456, 1395707455, 1395707458, 1395707452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95994305610657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:27:21.821205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_43_2689.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_46_2589.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_49_3636.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_52_2677.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_55_2648.jpg', '/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_58_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_43_2689.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_46_2589.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_49_3636.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_52_2677.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_55_2648.jpg
/home/pi/Desktop/images/22112025/15/24/image_22112025_15_24_58_3712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707460","1395707463","1395707473","1395707467","1395707476","1395707470"],"photo_ids_order":["1395707460","1395707463","1395707467","1395707470","1395707473","1395707476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9bdcdd0b7b0ee5e2fc05fe2fcf7a425.jpg","text":"TemporaryFile(/tmp/multipartBody2412607071188489568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821702468,"filename":"image_22112025_15_24_43_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/685fb4d1929eac0cc09d0a772214ec6f.jpg","text":"TemporaryFile(/tmp/multipartBody2114798685047912758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821702468,"filename":"image_22112025_15_24_46_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b75e71f0579e96a4445526844d39bee3.jpg","text":"TemporaryFile(/tmp/multipartBody5354386584285044709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821702468,"filename":"image_22112025_15_24_55_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ec381ba437246f7dfff17619f490c60.jpg","text":"TemporaryFile(/tmp/multipartBody3467444244593441066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821702468,"filename":"image_22112025_15_24_49_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28a17ac7aabb2ef0deb71fcd908fcc4f.jpg","text":"TemporaryFile(/tmp/multipartBody7224151210560428868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821702468,"filename":"image_22112025_15_24_58_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbea74b79c4cfec5063ff5ebccba00b9.jpg","text":"TemporaryFile(/tmp/multipartBody2584525515745459360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821702468,"filename":"image_22112025_15_24_52_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707467","file1":"1395707463","file0":"1395707460","file4":"1395707473","file5":"1395707476","file3":"1395707470"},"map_files_photo_id_array":[{"photo_id":"1395707476","filename":"file5"},{"photo_id":"1395707467","filename":"file2"},{"photo_id":"1395707473","filename":"file4"},{"photo_id":"1395707463","filename":"file1"},{"photo_id":"1395707460","filename":"file0"},{"photo_id":"1395707470","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707460":["hashtag1","hashtag2"]},{"1395707463":["hashtag1","hashtag2"]},{"1395707473":["hashtag1","hashtag2"]},{"1395707467":["hashtag1","hashtag2"]},{"1395707476":["hashtag1","hashtag2"]},{"1395707470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707460, 1395707463, 1395707473, 1395707467, 1395707476, 1395707470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.083561420440674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:28:03.095453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/25/image_22112025_15_25_01_2627.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_07_3019.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_11_3731.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_13_2612.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_22_2675.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_28_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/25/image_22112025_15_25_01_2627.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_07_3019.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_11_3731.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_13_2612.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_22_2675.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_28_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707481","1395707480","1395707482","1395707479","1395707484","1395707487"],"photo_ids_order":["1395707479","1395707480","1395707481","1395707482","1395707484","1395707487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b45f67129f2b5abb4d472cab46e6cb54.jpg","text":"TemporaryFile(/tmp/multipartBody4397588457506161643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821743783,"filename":"image_22112025_15_26_11_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afacf724d0330658ef9ade2c198d7ded.jpg","text":"TemporaryFile(/tmp/multipartBody2486819470519830168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821743783,"filename":"image_22112025_15_26_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d56379565a07a2e50ae30edee623783.jpg","text":"TemporaryFile(/tmp/multipartBody8296035473202572621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821743783,"filename":"image_22112025_15_26_13_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d7995e488cecbf99ff31c6e7c242f79.jpg","text":"TemporaryFile(/tmp/multipartBody7174366525017120981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821743783,"filename":"image_22112025_15_25_01_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a617181e0745151910039e7fdbe96e53.jpg","text":"TemporaryFile(/tmp/multipartBody5421975386534170038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821743783,"filename":"image_22112025_15_26_22_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9859863662385c021e7c0e4f8efcccde.jpg","text":"TemporaryFile(/tmp/multipartBody3130983828773749207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821743783,"filename":"image_22112025_15_26_28_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707481","file1":"1395707480","file0":"1395707479","file4":"1395707484","file5":"1395707487","file3":"1395707482"},"map_files_photo_id_array":[{"photo_id":"1395707487","filename":"file5"},{"photo_id":"1395707481","filename":"file2"},{"photo_id":"1395707484","filename":"file4"},{"photo_id":"1395707480","filename":"file1"},{"photo_id":"1395707479","filename":"file0"},{"photo_id":"1395707482","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707481":["hashtag1","hashtag2"]},{"1395707480":["hashtag1","hashtag2"]},{"1395707482":["hashtag1","hashtag2"]},{"1395707479":["hashtag1","hashtag2"]},{"1395707484":["hashtag1","hashtag2"]},{"1395707487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707481, 1395707480, 1395707482, 1395707479, 1395707484, 1395707487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58759570121765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:28:42.715987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_31_2646.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_35_3639.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_37_2498.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_40_2676.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_43_3555.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_46_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_31_2646.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_35_3639.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_37_2498.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_40_2676.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_43_3555.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_46_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707502","1395707498","1395707501","1395707503","1395707500","1395707499"],"photo_ids_order":["1395707498","1395707499","1395707500","1395707501","1395707502","1395707503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae2507577c12e37a8111182319cf19da.jpg","text":"TemporaryFile(/tmp/multipartBody6816758071327109373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821785213,"filename":"image_22112025_15_26_43_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15ffa9782da62022627edc264e533f1b.jpg","text":"TemporaryFile(/tmp/multipartBody235683376635816412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821785213,"filename":"image_22112025_15_26_31_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45df07163bdf504725fc575555c7991d.jpg","text":"TemporaryFile(/tmp/multipartBody8025662736013649720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821785213,"filename":"image_22112025_15_26_40_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b848700cd7a6db027822653577f9d43.jpg","text":"TemporaryFile(/tmp/multipartBody4971827932384632675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821785213,"filename":"image_22112025_15_26_46_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cf88915ede0a6d03f03dfaf8308eaf3.jpg","text":"TemporaryFile(/tmp/multipartBody3596289287858898766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821785213,"filename":"image_22112025_15_26_37_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/206e8daa80e93ec9f37fa4b6f8eefd16.jpg","text":"TemporaryFile(/tmp/multipartBody222106744498548262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821785213,"filename":"image_22112025_15_26_35_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707500","file1":"1395707499","file0":"1395707498","file4":"1395707502","file5":"1395707503","file3":"1395707501"},"map_files_photo_id_array":[{"photo_id":"1395707503","filename":"file5"},{"photo_id":"1395707500","filename":"file2"},{"photo_id":"1395707502","filename":"file4"},{"photo_id":"1395707499","filename":"file1"},{"photo_id":"1395707498","filename":"file0"},{"photo_id":"1395707501","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707502":["hashtag1","hashtag2"]},{"1395707498":["hashtag1","hashtag2"]},{"1395707501":["hashtag1","hashtag2"]},{"1395707503":["hashtag1","hashtag2"]},{"1395707500":["hashtag1","hashtag2"]},{"1395707499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707502, 1395707498, 1395707501, 1395707503, 1395707500, 1395707499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48769235610962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:29:22.105965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_49_2908.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_52_3545.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_55_2855.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_58_2511.jpg', '/home/pi/Desktop/images/22112025/15/26/image_22112025_15_27_01_3637.jpg', '/home/pi/Desktop/images/22112025/15/27/image_22112025_15_27_04_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_49_2908.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_52_3545.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_55_2855.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_26_58_2511.jpg
/home/pi/Desktop/images/22112025/15/26/image_22112025_15_27_01_3637.jpg
/home/pi/Desktop/images/22112025/15/27/image_22112025_15_27_04_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707520","1395707514","1395707523","1395707517","1395707510","1395707506"],"photo_ids_order":["1395707506","1395707510","1395707514","1395707517","1395707520","1395707523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c073a893d28073982e5f381e54b547ad.jpg","text":"TemporaryFile(/tmp/multipartBody6803919352429911718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821822795,"filename":"image_22112025_15_27_01_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acb83f33ffea65604d97cb4c87b42e4e.jpg","text":"TemporaryFile(/tmp/multipartBody1128309547642910958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821822795,"filename":"image_22112025_15_26_55_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd71d298b18b4e2a800d7775b5340e53.jpg","text":"TemporaryFile(/tmp/multipartBody91071525329381040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821822795,"filename":"image_22112025_15_27_04_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/535574a2735c1db465af3e12e75f696f.jpg","text":"TemporaryFile(/tmp/multipartBody4418212984790360222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821822795,"filename":"image_22112025_15_26_58_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28f60552d712478b9d47462b24ad1158.jpg","text":"TemporaryFile(/tmp/multipartBody302378362369168650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821822795,"filename":"image_22112025_15_26_52_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a607fb4a25a258ee375cd3aaf0e13fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6672035998746809473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821822795,"filename":"image_22112025_15_26_49_2908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707514","file1":"1395707510","file0":"1395707506","file4":"1395707520","file5":"1395707523","file3":"1395707517"},"map_files_photo_id_array":[{"photo_id":"1395707523","filename":"file5"},{"photo_id":"1395707514","filename":"file2"},{"photo_id":"1395707520","filename":"file4"},{"photo_id":"1395707510","filename":"file1"},{"photo_id":"1395707506","filename":"file0"},{"photo_id":"1395707517","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707520":["hashtag1","hashtag2"]},{"1395707514":["hashtag1","hashtag2"]},{"1395707523":["hashtag1","hashtag2"]},{"1395707517":["hashtag1","hashtag2"]},{"1395707510":["hashtag1","hashtag2"]},{"1395707506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707520, 1395707514, 1395707523, 1395707517, 1395707510, 1395707506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.339807987213135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:30:02.658562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/27/image_22112025_15_27_08_3693.jpg', '/home/pi/Desktop/images/22112025/15/27/image_22112025_15_27_13_5060.jpg', '/home/pi/Desktop/images/22112025/15/27/image_22112025_15_27_16_3111.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_07_3869.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_09_2242.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_13_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/27/image_22112025_15_27_08_3693.jpg
/home/pi/Desktop/images/22112025/15/27/image_22112025_15_27_13_5060.jpg
/home/pi/Desktop/images/22112025/15/27/image_22112025_15_27_16_3111.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_07_3869.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_09_2242.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_13_3685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707547","1395707544","1395707543","1395707549","1395707545","1395707539"],"photo_ids_order":["1395707539","1395707543","1395707544","1395707545","1395707547","1395707549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00085ad8180b985ae08c5af8a0226a60.jpg","text":"TemporaryFile(/tmp/multipartBody6339443014805301162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821863348,"filename":"image_22112025_15_28_09_2242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3fc68bb3242eb7c82d06c1a4f8b03ed.jpg","text":"TemporaryFile(/tmp/multipartBody2443077647586349178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821863348,"filename":"image_22112025_15_27_16_3111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75f9c55363d280ae32421bd27c5db09e.jpg","text":"TemporaryFile(/tmp/multipartBody8313133274186148599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821863348,"filename":"image_22112025_15_27_13_5060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85eca8a31636afbae5be154a8e450762.jpg","text":"TemporaryFile(/tmp/multipartBody856020875201829112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821863348,"filename":"image_22112025_15_28_13_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bf874498a65a43bb5b94a623bb0369b.jpg","text":"TemporaryFile(/tmp/multipartBody429153764669083777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821863348,"filename":"image_22112025_15_28_07_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/447394fa2552fad4ef0a8ea0b7b121a8.jpg","text":"TemporaryFile(/tmp/multipartBody3941590028978409271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821863348,"filename":"image_22112025_15_27_08_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707544","file1":"1395707543","file0":"1395707539","file4":"1395707547","file5":"1395707549","file3":"1395707545"},"map_files_photo_id_array":[{"photo_id":"1395707549","filename":"file5"},{"photo_id":"1395707544","filename":"file2"},{"photo_id":"1395707547","filename":"file4"},{"photo_id":"1395707543","filename":"file1"},{"photo_id":"1395707539","filename":"file0"},{"photo_id":"1395707545","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707547":["hashtag1","hashtag2"]},{"1395707544":["hashtag1","hashtag2"]},{"1395707543":["hashtag1","hashtag2"]},{"1395707549":["hashtag1","hashtag2"]},{"1395707545":["hashtag1","hashtag2"]},{"1395707539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707547, 1395707544, 1395707543, 1395707549, 1395707545, 1395707539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54202055931091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:30:42.042444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_16_2676.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_22_3704.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_25_2749.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_27_2645.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_30_2723.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_34_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_16_2676.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_22_3704.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_25_2749.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_27_2645.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_30_2723.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_34_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707562","1395707585","1395707564","1395707558","1395707566","1395707571"],"photo_ids_order":["1395707558","1395707562","1395707564","1395707566","1395707571","1395707585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31c873a3adaa6fec7d214dce6f5d6051.jpg","text":"TemporaryFile(/tmp/multipartBody1492056502723980458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821902670,"filename":"image_22112025_15_28_22_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/567beaff8ad06358793a8a52b36d0d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5327906184488059469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821902670,"filename":"image_22112025_15_28_34_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b5eea36707dc5188accf48348475d22.jpg","text":"TemporaryFile(/tmp/multipartBody5642646693256925297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821902670,"filename":"image_22112025_15_28_25_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d406f57be299e6d888f9a540819be9f6.jpg","text":"TemporaryFile(/tmp/multipartBody156724597103087771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821902670,"filename":"image_22112025_15_28_16_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd9fa79a3630629a824e7c76a9faa059.jpg","text":"TemporaryFile(/tmp/multipartBody1079012768462623022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821902670,"filename":"image_22112025_15_28_27_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb9bb01d7b756900a0836024efaac271.jpg","text":"TemporaryFile(/tmp/multipartBody2118289718632741440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821902670,"filename":"image_22112025_15_28_30_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707564","file1":"1395707562","file0":"1395707558","file4":"1395707571","file5":"1395707585","file3":"1395707566"},"map_files_photo_id_array":[{"photo_id":"1395707585","filename":"file5"},{"photo_id":"1395707564","filename":"file2"},{"photo_id":"1395707571","filename":"file4"},{"photo_id":"1395707562","filename":"file1"},{"photo_id":"1395707558","filename":"file0"},{"photo_id":"1395707566","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707562":["hashtag1","hashtag2"]},{"1395707585":["hashtag1","hashtag2"]},{"1395707564":["hashtag1","hashtag2"]},{"1395707558":["hashtag1","hashtag2"]},{"1395707566":["hashtag1","hashtag2"]},{"1395707571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707562, 1395707585, 1395707564, 1395707558, 1395707566, 1395707571)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395707564 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_25_2749.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 54.80269813537598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:31:42.256848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_36_2434.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_40_3562.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_42_2640.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_46_3515.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_49_2709.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_51_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_36_2434.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_40_3562.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_42_2640.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_46_3515.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_49_2709.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_51_2588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5219910144805908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:32:02.878421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_36_2434.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_40_3562.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_42_2640.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_46_3515.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_49_2709.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_51_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_36_2434.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_40_3562.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_42_2640.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_46_3515.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_49_2709.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_51_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707681","1395707684","1395707678","1395707677","1395707676","1395707679"],"photo_ids_order":["1395707676","1395707677","1395707678","1395707679","1395707681","1395707684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3ed781ee8e22ab927318ff2c575011f.jpg","text":"TemporaryFile(/tmp/multipartBody3413101725124365149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821983632,"filename":"image_22112025_15_28_49_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbb23645828f99adf911664edb3908e5.jpg","text":"TemporaryFile(/tmp/multipartBody8234559649642668843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821983632,"filename":"image_22112025_15_28_51_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eae1c843a556b8a0e3b76e869f5d99ea.jpg","text":"TemporaryFile(/tmp/multipartBody3500300890759814462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821983632,"filename":"image_22112025_15_28_42_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f835f05490fc5163a2c89704e705e26.jpg","text":"TemporaryFile(/tmp/multipartBody3312081915244801646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821983632,"filename":"image_22112025_15_28_40_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39114a434f54bb5ed2fc29c85066cd64.jpg","text":"TemporaryFile(/tmp/multipartBody6973036552639527713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821983632,"filename":"image_22112025_15_28_36_2434.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b65a07b5d632177eaf2c0a98ee57ecd1.jpg","text":"TemporaryFile(/tmp/multipartBody2895373967216988407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763821983632,"filename":"image_22112025_15_28_46_3515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707678","file1":"1395707677","file0":"1395707676","file4":"1395707681","file5":"1395707684","file3":"1395707679"},"map_files_photo_id_array":[{"photo_id":"1395707684","filename":"file5"},{"photo_id":"1395707678","filename":"file2"},{"photo_id":"1395707681","filename":"file4"},{"photo_id":"1395707677","filename":"file1"},{"photo_id":"1395707676","filename":"file0"},{"photo_id":"1395707679","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707681":["hashtag1","hashtag2"]},{"1395707684":["hashtag1","hashtag2"]},{"1395707678":["hashtag1","hashtag2"]},{"1395707677":["hashtag1","hashtag2"]},{"1395707676":["hashtag1","hashtag2"]},{"1395707679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707681, 1395707684, 1395707678, 1395707677, 1395707676, 1395707679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77678966522217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:32:42.507564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_55_4123.jpg', '/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_58_2687.jpg', '/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_01_2658.jpg', '/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_03_2563.jpg', '/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_07_3660.jpg', '/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_10_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_55_4123.jpg
/home/pi/Desktop/images/22112025/15/28/image_22112025_15_28_58_2687.jpg
/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_01_2658.jpg
/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_03_2563.jpg
/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_07_3660.jpg
/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_10_2523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707699","1395707696","1395707692","1395707695","1395707694","1395707697"],"photo_ids_order":["1395707692","1395707694","1395707695","1395707696","1395707697","1395707699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af2036c9cdece4d2bffde36099640d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4656994713499647177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822023142,"filename":"image_22112025_15_29_10_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6acfd73766f70b102a1f10c1520939d5.jpg","text":"TemporaryFile(/tmp/multipartBody3375830349597310893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822023142,"filename":"image_22112025_15_29_03_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c97c25cc6f3af01d007bfab531bd66e.jpg","text":"TemporaryFile(/tmp/multipartBody403690559107718815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822023142,"filename":"image_22112025_15_28_55_4123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f5ec7f39bb2f4ed78a8ae2282c95b16.jpg","text":"TemporaryFile(/tmp/multipartBody3620694763192742338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822023142,"filename":"image_22112025_15_29_01_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/749f65940018ff0f30a30c3148150c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3442611186776248717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822023142,"filename":"image_22112025_15_28_58_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37493c05fc729f6afce2173cc7fa56d3.jpg","text":"TemporaryFile(/tmp/multipartBody8838069039805070360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822023142,"filename":"image_22112025_15_29_07_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707695","file1":"1395707694","file0":"1395707692","file4":"1395707697","file5":"1395707699","file3":"1395707696"},"map_files_photo_id_array":[{"photo_id":"1395707699","filename":"file5"},{"photo_id":"1395707695","filename":"file2"},{"photo_id":"1395707697","filename":"file4"},{"photo_id":"1395707694","filename":"file1"},{"photo_id":"1395707692","filename":"file0"},{"photo_id":"1395707696","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707699":["hashtag1","hashtag2"]},{"1395707696":["hashtag1","hashtag2"]},{"1395707692":["hashtag1","hashtag2"]},{"1395707695":["hashtag1","hashtag2"]},{"1395707694":["hashtag1","hashtag2"]},{"1395707697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707699, 1395707696, 1395707692, 1395707695, 1395707694, 1395707697)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.026280641555786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:33:46.790691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_12_2592.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_07_3018.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_10_3621.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_13_2502.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_17_3753.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_19_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/29/image_22112025_15_29_12_2592.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_07_3018.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_10_3621.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_13_2502.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_17_3753.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_19_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707715","1395707718","1395707717","1395707720","1395707716","1395707719"],"photo_ids_order":["1395707715","1395707716","1395707717","1395707718","1395707719","1395707720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3a2d549450079d0c81c0109053ffd91.jpg","text":"TemporaryFile(/tmp/multipartBody2493482806819777374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822087409,"filename":"image_22112025_15_29_12_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf0f15eb76472d31f649424552f032f4.jpg","text":"TemporaryFile(/tmp/multipartBody3374693659504334454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822087409,"filename":"image_22112025_15_30_13_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8a6ded31dfb61935f41cbadf351e552.jpg","text":"TemporaryFile(/tmp/multipartBody1024752915447372522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822087409,"filename":"image_22112025_15_30_10_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48e1fdb10dc6a2cd74641b8ef2df4c24.jpg","text":"TemporaryFile(/tmp/multipartBody756396848313545891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822087409,"filename":"image_22112025_15_30_19_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c3b3ee9f4c3e115cc86b1e3889e1a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5548638540790710739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822087409,"filename":"image_22112025_15_30_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37550d2c26086f0fb665478b637fc287.jpg","text":"TemporaryFile(/tmp/multipartBody2218490970972669386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822087409,"filename":"image_22112025_15_30_17_3753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707717","file1":"1395707716","file0":"1395707715","file4":"1395707719","file5":"1395707720","file3":"1395707718"},"map_files_photo_id_array":[{"photo_id":"1395707720","filename":"file5"},{"photo_id":"1395707717","filename":"file2"},{"photo_id":"1395707719","filename":"file4"},{"photo_id":"1395707716","filename":"file1"},{"photo_id":"1395707715","filename":"file0"},{"photo_id":"1395707718","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707715":["hashtag1","hashtag2"]},{"1395707718":["hashtag1","hashtag2"]},{"1395707717":["hashtag1","hashtag2"]},{"1395707720":["hashtag1","hashtag2"]},{"1395707716":["hashtag1","hashtag2"]},{"1395707719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707715, 1395707718, 1395707717, 1395707720, 1395707716, 1395707719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.490516901016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:34:28.189925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_22_2533.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_28_6518.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_30_1635.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_32_1543.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_34_2499.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_37_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_22_2533.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_28_6518.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_30_1635.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_32_1543.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_34_2499.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_37_2574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707756","1395707741","1395707744","1395707785","1395707781","1395707784"],"photo_ids_order":["1395707741","1395707744","1395707756","1395707781","1395707784","1395707785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a18cf846b4f708e51e3f0bf9220437f4.jpg","text":"TemporaryFile(/tmp/multipartBody5024635125442299635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822128784,"filename":"image_22112025_15_30_30_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10871e84dbfabf9b74b37bf1733097b2.jpg","text":"TemporaryFile(/tmp/multipartBody4365904865921025557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822128784,"filename":"image_22112025_15_30_22_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59ff271d56df596e3f6392eb0b23af14.jpg","text":"TemporaryFile(/tmp/multipartBody8123705551005762218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822128784,"filename":"image_22112025_15_30_28_6518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c608f71f5eafd5d31648d7dd5656865.jpg","text":"TemporaryFile(/tmp/multipartBody2228046483461001415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822128784,"filename":"image_22112025_15_30_37_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff4703db922e7cb733ceccd6881cf891.jpg","text":"TemporaryFile(/tmp/multipartBody1263681211414132497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822128784,"filename":"image_22112025_15_30_32_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b2f8cec735f50521bf8b3d0ddb9fb31.jpg","text":"TemporaryFile(/tmp/multipartBody5122956326562385387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822128784,"filename":"image_22112025_15_30_34_2499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707756","file1":"1395707744","file0":"1395707741","file4":"1395707784","file5":"1395707785","file3":"1395707781"},"map_files_photo_id_array":[{"photo_id":"1395707785","filename":"file5"},{"photo_id":"1395707756","filename":"file2"},{"photo_id":"1395707784","filename":"file4"},{"photo_id":"1395707744","filename":"file1"},{"photo_id":"1395707741","filename":"file0"},{"photo_id":"1395707781","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707756":["hashtag1","hashtag2"]},{"1395707741":["hashtag1","hashtag2"]},{"1395707744":["hashtag1","hashtag2"]},{"1395707785":["hashtag1","hashtag2"]},{"1395707781":["hashtag1","hashtag2"]},{"1395707784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707756, 1395707741, 1395707744, 1395707785, 1395707781, 1395707784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.592020750045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:35:22.068811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_46_2734.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_49_3665.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_55_2692.jpg', '/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_59_3572.jpg', '/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_01_2615.jpg', '/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_04_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_46_2734.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_49_3665.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_55_2692.jpg
/home/pi/Desktop/images/22112025/15/30/image_22112025_15_30_59_3572.jpg
/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_01_2615.jpg
/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_04_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707811","1395707814","1395707817","1395707819","1395707804","1395707807"],"photo_ids_order":["1395707804","1395707807","1395707811","1395707814","1395707817","1395707819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68ac2312921e8717760bc5de23d4cfd0.jpg","text":"TemporaryFile(/tmp/multipartBody3327712243412704917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822182665,"filename":"image_22112025_15_30_55_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0394f196444de8b0ad6e6a89f8057cd.jpg","text":"TemporaryFile(/tmp/multipartBody1660809490794871467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822182665,"filename":"image_22112025_15_30_59_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a30e8b9b1c3ddea731d9ceeaaa033dc.jpg","text":"TemporaryFile(/tmp/multipartBody8906336609056353025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822182665,"filename":"image_22112025_15_31_01_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ea40fe64d10f66eed3e71a9d197e680.jpg","text":"TemporaryFile(/tmp/multipartBody4580723746070335097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822182665,"filename":"image_22112025_15_31_04_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee52fa676be3f7af188e6e2a2eef57af.jpg","text":"TemporaryFile(/tmp/multipartBody3297067841365136958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822182665,"filename":"image_22112025_15_30_46_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f2212e78de57fb03f929897a1295103.jpg","text":"TemporaryFile(/tmp/multipartBody1764764230511452876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822182665,"filename":"image_22112025_15_30_49_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707811","file1":"1395707807","file0":"1395707804","file4":"1395707817","file5":"1395707819","file3":"1395707814"},"map_files_photo_id_array":[{"photo_id":"1395707819","filename":"file5"},{"photo_id":"1395707811","filename":"file2"},{"photo_id":"1395707817","filename":"file4"},{"photo_id":"1395707807","filename":"file1"},{"photo_id":"1395707804","filename":"file0"},{"photo_id":"1395707814","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707811":["hashtag1","hashtag2"]},{"1395707814":["hashtag1","hashtag2"]},{"1395707817":["hashtag1","hashtag2"]},{"1395707819":["hashtag1","hashtag2"]},{"1395707804":["hashtag1","hashtag2"]},{"1395707807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707811, 1395707814, 1395707817, 1395707819, 1395707804, 1395707807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75525665283203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:36:02.890907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_08_3749.jpg', '/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_10_2552.jpg', '/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_13_2743.jpg', '/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_07_3019.jpg', '/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_14_7636.jpg', '/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_19_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_08_3749.jpg
/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_10_2552.jpg
/home/pi/Desktop/images/22112025/15/31/image_22112025_15_31_13_2743.jpg
/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_07_3019.jpg
/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_14_7636.jpg
/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_19_1549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707826","1395707822","1395707828","1395707833","1395707827","1395707830"],"photo_ids_order":["1395707822","1395707826","1395707827","1395707828","1395707830","1395707833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c08d660e5035d58399a3f7bb4681c626.jpg","text":"TemporaryFile(/tmp/multipartBody5112894030576134246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822223529,"filename":"image_22112025_15_31_10_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfca9b465599ffcbdffc567ffd7b1a57.jpg","text":"TemporaryFile(/tmp/multipartBody6025020595472454617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822223529,"filename":"image_22112025_15_31_08_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46194ccc241b5c1758daac42998be0f9.jpg","text":"TemporaryFile(/tmp/multipartBody5172370238692405834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822223529,"filename":"image_22112025_15_32_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89abf50e265aae09213bd064b4bdb12a.jpg","text":"TemporaryFile(/tmp/multipartBody8272651836920358592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822223529,"filename":"image_22112025_15_32_19_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05462ee2c47065641f3c1f37cb9008e5.jpg","text":"TemporaryFile(/tmp/multipartBody1889668260579430412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822223529,"filename":"image_22112025_15_31_13_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/192e342043adce516c0e84d86b06b2eb.jpg","text":"TemporaryFile(/tmp/multipartBody4819264428443715835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822223529,"filename":"image_22112025_15_32_14_7636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707827","file1":"1395707826","file0":"1395707822","file4":"1395707830","file5":"1395707833","file3":"1395707828"},"map_files_photo_id_array":[{"photo_id":"1395707833","filename":"file5"},{"photo_id":"1395707827","filename":"file2"},{"photo_id":"1395707830","filename":"file4"},{"photo_id":"1395707826","filename":"file1"},{"photo_id":"1395707822","filename":"file0"},{"photo_id":"1395707828","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707826":["hashtag1","hashtag2"]},{"1395707822":["hashtag1","hashtag2"]},{"1395707828":["hashtag1","hashtag2"]},{"1395707833":["hashtag1","hashtag2"]},{"1395707827":["hashtag1","hashtag2"]},{"1395707830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707826, 1395707822, 1395707828, 1395707833, 1395707827, 1395707830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25005531311035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:36:42.357309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_26_6794.jpg', '/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_29_2900.jpg', '/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_32_1717.jpg', '/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_07_3012.jpg', '/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_20_9470.jpg', '/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_23_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_26_6794.jpg
/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_29_2900.jpg
/home/pi/Desktop/images/22112025/15/32/image_22112025_15_32_32_1717.jpg
/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_07_3012.jpg
/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_20_9470.jpg
/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_23_2841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707847","1395707849","1395707846","1395707845","1395707848","1395707842"],"photo_ids_order":["1395707842","1395707845","1395707846","1395707847","1395707848","1395707849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7e82a7705d99ca0f39d3d2b330dcd79.jpg","text":"TemporaryFile(/tmp/multipartBody5290206094261809964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822262973,"filename":"image_22112025_15_34_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68704f084d595ff990a81df6a831b133.jpg","text":"TemporaryFile(/tmp/multipartBody6306464519983141342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822262973,"filename":"image_22112025_15_34_23_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78f97f9685305d590fd0ee2c2419b10e.jpg","text":"TemporaryFile(/tmp/multipartBody3145237810352135316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822262973,"filename":"image_22112025_15_32_32_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98f23c3d6c033cf32127c3b96ab111d9.jpg","text":"TemporaryFile(/tmp/multipartBody1687754365300745562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822262973,"filename":"image_22112025_15_32_29_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58bfc7006cd5af15ca49803132d4acb4.jpg","text":"TemporaryFile(/tmp/multipartBody8609018438138258169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822262973,"filename":"image_22112025_15_34_20_9470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96f417942134cebedb1f19517e054548.jpg","text":"TemporaryFile(/tmp/multipartBody6069653081882629518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822262973,"filename":"image_22112025_15_32_26_6794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707846","file1":"1395707845","file0":"1395707842","file4":"1395707848","file5":"1395707849","file3":"1395707847"},"map_files_photo_id_array":[{"photo_id":"1395707849","filename":"file5"},{"photo_id":"1395707846","filename":"file2"},{"photo_id":"1395707848","filename":"file4"},{"photo_id":"1395707845","filename":"file1"},{"photo_id":"1395707842","filename":"file0"},{"photo_id":"1395707847","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707847":["hashtag1","hashtag2"]},{"1395707849":["hashtag1","hashtag2"]},{"1395707846":["hashtag1","hashtag2"]},{"1395707845":["hashtag1","hashtag2"]},{"1395707848":["hashtag1","hashtag2"]},{"1395707842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707847, 1395707849, 1395707846, 1395707845, 1395707848, 1395707842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39780116081238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:37:22.518515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_25_1545.jpg', '/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_26_1667.jpg', '/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_28_1589.jpg', '/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_32_2589.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_13_1585.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_14_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_25_1545.jpg
/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_26_1667.jpg
/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_28_1589.jpg
/home/pi/Desktop/images/22112025/15/34/image_22112025_15_34_32_2589.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_13_1585.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_14_1592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707865","1395707859","1395707852","1395707855","1395707868","1395707862"],"photo_ids_order":["1395707852","1395707855","1395707859","1395707862","1395707865","1395707868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ae682cb14ba979dca01bf0eca91e0c6.jpg","text":"TemporaryFile(/tmp/multipartBody8034707255868767921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822303129,"filename":"image_22112025_15_35_13_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30eec4efdba6ab4dc527cb26e62bccb5.jpg","text":"TemporaryFile(/tmp/multipartBody4965358911701912905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822303129,"filename":"image_22112025_15_34_28_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b499e3db23badad77a75ff82dda27ac.jpg","text":"TemporaryFile(/tmp/multipartBody6914791404663955417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822303129,"filename":"image_22112025_15_34_25_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08598b45bbc5295082d3f47671ad326d.jpg","text":"TemporaryFile(/tmp/multipartBody7569186597251505612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822303129,"filename":"image_22112025_15_34_26_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfe8c7341934922337974da882e98563.jpg","text":"TemporaryFile(/tmp/multipartBody2518408351856574709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822303129,"filename":"image_22112025_15_35_14_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19b5d106592ebcd6f37df94e3a3460a9.jpg","text":"TemporaryFile(/tmp/multipartBody4242017851940004976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822303129,"filename":"image_22112025_15_34_32_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707859","file1":"1395707855","file0":"1395707852","file4":"1395707865","file5":"1395707868","file3":"1395707862"},"map_files_photo_id_array":[{"photo_id":"1395707868","filename":"file5"},{"photo_id":"1395707859","filename":"file2"},{"photo_id":"1395707865","filename":"file4"},{"photo_id":"1395707855","filename":"file1"},{"photo_id":"1395707852","filename":"file0"},{"photo_id":"1395707862","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707865":["hashtag1","hashtag2"]},{"1395707859":["hashtag1","hashtag2"]},{"1395707852":["hashtag1","hashtag2"]},{"1395707855":["hashtag1","hashtag2"]},{"1395707868":["hashtag1","hashtag2"]},{"1395707862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707865, 1395707859, 1395707852, 1395707855, 1395707868, 1395707862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83248734474182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:38:02.618069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_18_1566.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_20_1589.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_23_1662.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_26_1764.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_29_1510.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_33_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_18_1566.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_20_1589.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_23_1662.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_26_1764.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_29_1510.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_33_1604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707871","1395707870","1395707873","1395707872","1395707875","1395707877"],"photo_ids_order":["1395707870","1395707871","1395707872","1395707873","1395707875","1395707877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/252f9e90f4b6da3e20d9cfd18f3c0f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3521831062022456687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822343255,"filename":"image_22112025_15_35_20_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2f97ec707015c7ec4a7648f354380c6.jpg","text":"TemporaryFile(/tmp/multipartBody2116997644726845124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822343255,"filename":"image_22112025_15_35_18_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37697c2c0446d0a794e0fb0b2a5dacb0.jpg","text":"TemporaryFile(/tmp/multipartBody804504571914258127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822343255,"filename":"image_22112025_15_35_26_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa301614b27fe379fadb274f1c6d30ff.jpg","text":"TemporaryFile(/tmp/multipartBody2432090400752652469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822343255,"filename":"image_22112025_15_35_23_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cbe0a4623fe3a5125187e42bb0fc0a8.jpg","text":"TemporaryFile(/tmp/multipartBody6984370654040895108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822343255,"filename":"image_22112025_15_35_29_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce6b7848f0c24b5da1150ce228eb58c7.jpg","text":"TemporaryFile(/tmp/multipartBody1114197889236255728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822343255,"filename":"image_22112025_15_35_33_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707872","file1":"1395707871","file0":"1395707870","file4":"1395707875","file5":"1395707877","file3":"1395707873"},"map_files_photo_id_array":[{"photo_id":"1395707877","filename":"file5"},{"photo_id":"1395707872","filename":"file2"},{"photo_id":"1395707875","filename":"file4"},{"photo_id":"1395707871","filename":"file1"},{"photo_id":"1395707870","filename":"file0"},{"photo_id":"1395707873","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707871":["hashtag1","hashtag2"]},{"1395707870":["hashtag1","hashtag2"]},{"1395707873":["hashtag1","hashtag2"]},{"1395707872":["hashtag1","hashtag2"]},{"1395707875":["hashtag1","hashtag2"]},{"1395707877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707871, 1395707870, 1395707873, 1395707872, 1395707875, 1395707877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80879783630371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:38:42.164899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_36_3446.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_38_1470.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_39_1535.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_41_1578.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_50_9039.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_53_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_36_3446.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_38_1470.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_39_1535.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_41_1578.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_50_9039.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_53_1635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707891","1395707885","1395707896","1395707893","1395707895","1395707889"],"photo_ids_order":["1395707885","1395707889","1395707891","1395707893","1395707895","1395707896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1eaac893c053f781abdde26cad99b7be.jpg","text":"TemporaryFile(/tmp/multipartBody6634748330722396815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822382772,"filename":"image_22112025_15_35_39_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adc33223c1cbf5189eed6673e2761e98.jpg","text":"TemporaryFile(/tmp/multipartBody8560895967977002249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822382772,"filename":"image_22112025_15_35_36_3446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/436216a704335869805d55077535fa77.jpg","text":"TemporaryFile(/tmp/multipartBody1361722906302888260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822382772,"filename":"image_22112025_15_35_53_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/794c436cb871773e624bf4e0ea1eeb32.jpg","text":"TemporaryFile(/tmp/multipartBody7473403065321216654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822382772,"filename":"image_22112025_15_35_41_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5499da32142a060539c0a0b5e6f4d303.jpg","text":"TemporaryFile(/tmp/multipartBody750013822298315960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822382772,"filename":"image_22112025_15_35_50_9039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f29619290558bb1c7823cd7d76bbe31.jpg","text":"TemporaryFile(/tmp/multipartBody5087614018723361868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822382772,"filename":"image_22112025_15_35_38_1470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707891","file1":"1395707889","file0":"1395707885","file4":"1395707895","file5":"1395707896","file3":"1395707893"},"map_files_photo_id_array":[{"photo_id":"1395707896","filename":"file5"},{"photo_id":"1395707891","filename":"file2"},{"photo_id":"1395707895","filename":"file4"},{"photo_id":"1395707889","filename":"file1"},{"photo_id":"1395707885","filename":"file0"},{"photo_id":"1395707893","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707891":["hashtag1","hashtag2"]},{"1395707885":["hashtag1","hashtag2"]},{"1395707896":["hashtag1","hashtag2"]},{"1395707893":["hashtag1","hashtag2"]},{"1395707895":["hashtag1","hashtag2"]},{"1395707889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707891, 1395707885, 1395707896, 1395707893, 1395707895, 1395707889)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.85220766067505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:39:42.336225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_54_1546.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_56_1534.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_58_1734.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_59_1684.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_01_1484.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_04_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_54_1546.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_56_1534.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_58_1734.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_59_1684.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_01_1484.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_04_1599.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.48885011672973633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:40:11.223363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_54_1546.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_56_1534.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_58_1734.jpg', '/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_59_1684.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_01_1484.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_04_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_54_1546.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_56_1534.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_58_1734.jpg
/home/pi/Desktop/images/22112025/15/35/image_22112025_15_35_59_1684.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_01_1484.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_04_1599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707922","1395707931","1395707919","1395707916","1395707926","1395707917"],"photo_ids_order":["1395707916","1395707917","1395707919","1395707922","1395707926","1395707931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3922f76f0e75d29d60b2695ceda294a9.jpg","text":"TemporaryFile(/tmp/multipartBody856905079984674333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822474354,"filename":"image_22112025_15_35_59_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7437414f2f49236d3444246428ac93d.jpg","text":"TemporaryFile(/tmp/multipartBody5533649565739553126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822474354,"filename":"image_22112025_15_36_04_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3a745c790ca032d81b7bba854804958.jpg","text":"TemporaryFile(/tmp/multipartBody6829696231616339894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822474354,"filename":"image_22112025_15_35_58_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/083374274e199f5128ca1aaaafffca40.jpg","text":"TemporaryFile(/tmp/multipartBody6699836553131368561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822474354,"filename":"image_22112025_15_35_54_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11f564ee2fed28499bf77ecb24e48cd7.jpg","text":"TemporaryFile(/tmp/multipartBody8723563665911573146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822474354,"filename":"image_22112025_15_36_01_1484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2c9d004545ec997627f491e6fc0e8bd.jpg","text":"TemporaryFile(/tmp/multipartBody6713434012047319281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822474354,"filename":"image_22112025_15_35_56_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707919","file1":"1395707917","file0":"1395707916","file4":"1395707926","file5":"1395707931","file3":"1395707922"},"map_files_photo_id_array":[{"photo_id":"1395707931","filename":"file5"},{"photo_id":"1395707919","filename":"file2"},{"photo_id":"1395707926","filename":"file4"},{"photo_id":"1395707917","filename":"file1"},{"photo_id":"1395707916","filename":"file0"},{"photo_id":"1395707922","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707922":["hashtag1","hashtag2"]},{"1395707931":["hashtag1","hashtag2"]},{"1395707919":["hashtag1","hashtag2"]},{"1395707916":["hashtag1","hashtag2"]},{"1395707926":["hashtag1","hashtag2"]},{"1395707917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707922, 1395707931, 1395707919, 1395707916, 1395707926, 1395707917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90655827522278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:41:03.250092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_08_3894.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_11_2749.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_13_2529.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_17_3663.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_20_2657.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_26_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_08_3894.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_11_2749.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_13_2529.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_17_3663.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_20_2657.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_26_3756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707946","1395707948","1395707945","1395707950","1395707953","1395707947"],"photo_ids_order":["1395707945","1395707946","1395707947","1395707948","1395707950","1395707953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c19f5848514954ef66d385f57323b358.jpg","text":"TemporaryFile(/tmp/multipartBody265842994400014167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822523918,"filename":"image_22112025_15_36_11_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4ba05b9fc1e4cc49b5739fdfb942353.jpg","text":"TemporaryFile(/tmp/multipartBody1245731964302031341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822523918,"filename":"image_22112025_15_36_17_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec75ab32fc0e72049dfc3c0ce51a468c.jpg","text":"TemporaryFile(/tmp/multipartBody3000573325440862230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822523918,"filename":"image_22112025_15_36_08_3894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96db9f6f88f58312990d75c29f1bab98.jpg","text":"TemporaryFile(/tmp/multipartBody3484598665517835912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822523918,"filename":"image_22112025_15_36_20_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7bcef375a2e9472d7bf59aac5f76503.jpg","text":"TemporaryFile(/tmp/multipartBody515919956531515590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822523918,"filename":"image_22112025_15_36_26_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/974f3c73571f500698a6cd1a8c98f4ff.jpg","text":"TemporaryFile(/tmp/multipartBody6391771092185220625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822523918,"filename":"image_22112025_15_36_13_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707947","file1":"1395707946","file0":"1395707945","file4":"1395707950","file5":"1395707953","file3":"1395707948"},"map_files_photo_id_array":[{"photo_id":"1395707953","filename":"file5"},{"photo_id":"1395707947","filename":"file2"},{"photo_id":"1395707950","filename":"file4"},{"photo_id":"1395707946","filename":"file1"},{"photo_id":"1395707945","filename":"file0"},{"photo_id":"1395707948","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707946":["hashtag1","hashtag2"]},{"1395707948":["hashtag1","hashtag2"]},{"1395707945":["hashtag1","hashtag2"]},{"1395707950":["hashtag1","hashtag2"]},{"1395707953":["hashtag1","hashtag2"]},{"1395707947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707946, 1395707948, 1395707945, 1395707950, 1395707953, 1395707947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93204474449158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:41:42.594947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_28_2523.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_31_2662.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_44_3477.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_50_3676.jpg', '/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_59_3639.jpg', '/home/pi/Desktop/images/22112025/15/37/image_22112025_15_37_05_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_28_2523.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_31_2662.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_44_3477.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_50_3676.jpg
/home/pi/Desktop/images/22112025/15/36/image_22112025_15_36_59_3639.jpg
/home/pi/Desktop/images/22112025/15/37/image_22112025_15_37_05_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707966","1395707975","1395707969","1395707963","1395707968","1395707967"],"photo_ids_order":["1395707963","1395707966","1395707967","1395707968","1395707969","1395707975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97ddddc060f90b78964f8044876496eb.jpg","text":"TemporaryFile(/tmp/multipartBody3712066526836688605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822563187,"filename":"image_22112025_15_36_31_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a042184fca331f33f5837bf9110ac67b.jpg","text":"TemporaryFile(/tmp/multipartBody1036321879512989452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822563187,"filename":"image_22112025_15_37_05_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cac2f1005a3b0f2fe827e420ca01037.jpg","text":"TemporaryFile(/tmp/multipartBody1875067174014508644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822563187,"filename":"image_22112025_15_36_59_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/093ff0937d296d8497de1c7541492607.jpg","text":"TemporaryFile(/tmp/multipartBody7612512148003635665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822563187,"filename":"image_22112025_15_36_28_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de1d749fa37215a9e8b900e4befab809.jpg","text":"TemporaryFile(/tmp/multipartBody898970918753793858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822563187,"filename":"image_22112025_15_36_50_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfbb0ba8782719d341db4386a07c5ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3721713141897381876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822563187,"filename":"image_22112025_15_36_44_3477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707967","file1":"1395707966","file0":"1395707963","file4":"1395707969","file5":"1395707975","file3":"1395707968"},"map_files_photo_id_array":[{"photo_id":"1395707975","filename":"file5"},{"photo_id":"1395707967","filename":"file2"},{"photo_id":"1395707969","filename":"file4"},{"photo_id":"1395707966","filename":"file1"},{"photo_id":"1395707963","filename":"file0"},{"photo_id":"1395707968","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707966":["hashtag1","hashtag2"]},{"1395707975":["hashtag1","hashtag2"]},{"1395707969":["hashtag1","hashtag2"]},{"1395707963":["hashtag1","hashtag2"]},{"1395707968":["hashtag1","hashtag2"]},{"1395707967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707966, 1395707975, 1395707969, 1395707963, 1395707968, 1395707967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.296765089035034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:42:21.958462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/37/image_22112025_15_37_14_1631.jpg', '/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_12_4166.jpg', '/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_13_1635.jpg', '/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_16_2619.jpg', '/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_25_2815.jpg', '/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_40_2488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/37/image_22112025_15_37_14_1631.jpg
/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_12_4166.jpg
/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_13_1635.jpg
/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_16_2619.jpg
/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_25_2815.jpg
/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_40_2488.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707990","1395707984","1395707992","1395707980","1395707977","1395707986"],"photo_ids_order":["1395707977","1395707980","1395707984","1395707986","1395707990","1395707992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d228b854bd5bcdc284d2aed52fa2042.jpg","text":"TemporaryFile(/tmp/multipartBody6910405433568264484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822602552,"filename":"image_22112025_15_39_25_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3339c46ac194d765e6ec36db2819fc86.jpg","text":"TemporaryFile(/tmp/multipartBody2538001404830964449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822602552,"filename":"image_22112025_15_39_13_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca1d8a0a11ca121effa0e9cfa9adf93f.jpg","text":"TemporaryFile(/tmp/multipartBody5858897826781611200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822602552,"filename":"image_22112025_15_39_40_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1f9368ebcfd4c89eb71261232d20170.jpg","text":"TemporaryFile(/tmp/multipartBody3923021816502531571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822602552,"filename":"image_22112025_15_39_12_4166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a9a80d3c647baef78029590d6c3424d.jpg","text":"TemporaryFile(/tmp/multipartBody1821555978365073302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822602552,"filename":"image_22112025_15_37_14_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fd1d4a6a56a141a97d71761fb9d1552.jpg","text":"TemporaryFile(/tmp/multipartBody6826458054442439257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822602552,"filename":"image_22112025_15_39_16_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707984","file1":"1395707980","file0":"1395707977","file4":"1395707990","file5":"1395707992","file3":"1395707986"},"map_files_photo_id_array":[{"photo_id":"1395707992","filename":"file5"},{"photo_id":"1395707984","filename":"file2"},{"photo_id":"1395707990","filename":"file4"},{"photo_id":"1395707980","filename":"file1"},{"photo_id":"1395707977","filename":"file0"},{"photo_id":"1395707986","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707990":["hashtag1","hashtag2"]},{"1395707984":["hashtag1","hashtag2"]},{"1395707992":["hashtag1","hashtag2"]},{"1395707980":["hashtag1","hashtag2"]},{"1395707977":["hashtag1","hashtag2"]},{"1395707986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707990, 1395707984, 1395707992, 1395707980, 1395707977, 1395707986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58631372451782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:43:02.664373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_43_3606.jpg', '/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_52_2508.jpg', '/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_55_2687.jpg', '/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_01_2600.jpg', '/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_10_2562.jpg', '/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_16_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_43_3606.jpg
/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_52_2508.jpg
/home/pi/Desktop/images/22112025/15/39/image_22112025_15_39_55_2687.jpg
/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_01_2600.jpg
/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_10_2562.jpg
/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_16_3663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395707996","1395707999","1395708002","1395707995","1395707994","1395707997"],"photo_ids_order":["1395707994","1395707995","1395707996","1395707997","1395707999","1395708002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b1016b0d762df6b2ee0666707add6d3.jpg","text":"TemporaryFile(/tmp/multipartBody6763552913293518134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822643327,"filename":"image_22112025_15_39_55_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1834e2787be5a5f529d3e2c52b481d5.jpg","text":"TemporaryFile(/tmp/multipartBody2256309147033674374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822643327,"filename":"image_22112025_15_40_10_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fbc662fb0a7c948238aa2cf2c312ca5.jpg","text":"TemporaryFile(/tmp/multipartBody578284974236704656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822643327,"filename":"image_22112025_15_40_16_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bb4844b5f5cf2fff6a26261e2b42383.jpg","text":"TemporaryFile(/tmp/multipartBody511686171592670545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822643327,"filename":"image_22112025_15_39_52_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd66590112efcc938c5585ea0b5f42c7.jpg","text":"TemporaryFile(/tmp/multipartBody3535527042266831338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822643327,"filename":"image_22112025_15_39_43_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8aee4e57157625dd58daae16be038ae.jpg","text":"TemporaryFile(/tmp/multipartBody1986265551901956493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822643327,"filename":"image_22112025_15_40_01_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395707996","file1":"1395707995","file0":"1395707994","file4":"1395707999","file5":"1395708002","file3":"1395707997"},"map_files_photo_id_array":[{"photo_id":"1395708002","filename":"file5"},{"photo_id":"1395707996","filename":"file2"},{"photo_id":"1395707999","filename":"file4"},{"photo_id":"1395707995","filename":"file1"},{"photo_id":"1395707994","filename":"file0"},{"photo_id":"1395707997","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395707996":["hashtag1","hashtag2"]},{"1395707999":["hashtag1","hashtag2"]},{"1395708002":["hashtag1","hashtag2"]},{"1395707995":["hashtag1","hashtag2"]},{"1395707994":["hashtag1","hashtag2"]},{"1395707997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395707996, 1395707999, 1395708002, 1395707995, 1395707994, 1395707997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70984101295471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:43:42.006162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_19_2927.jpg', '/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_26_7225.jpg', '/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_28_1507.jpg', '/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_40_3722.jpg', '/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_52_2506.jpg', '/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_11_13328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_19_2927.jpg
/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_26_7225.jpg
/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_28_1507.jpg
/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_40_3722.jpg
/home/pi/Desktop/images/22112025/15/40/image_22112025_15_40_52_2506.jpg
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_11_13328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708014","1395708017","1395708011","1395708016","1395708019","1395708018"],"photo_ids_order":["1395708011","1395708014","1395708016","1395708017","1395708018","1395708019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da7b6bbc3539772dccf2c24344a617b3.jpg","text":"TemporaryFile(/tmp/multipartBody6599396537032785058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822682578,"filename":"image_22112025_15_40_26_7225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6017d2e71689e5b1fa94fdc75e1204a5.jpg","text":"TemporaryFile(/tmp/multipartBody8792368861930922997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822682578,"filename":"image_22112025_15_40_40_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/458d57dfc1b2f4cc0f18210e297478bb.jpg","text":"TemporaryFile(/tmp/multipartBody4438320869776041252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822682578,"filename":"image_22112025_15_40_19_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b6bed6735ed012faf319fe819910e76.jpg","text":"TemporaryFile(/tmp/multipartBody5760568753235780658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822682578,"filename":"image_22112025_15_40_28_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86eb936a374db1008570e7c3fc46a1ac.jpg","text":"TemporaryFile(/tmp/multipartBody6976718767266721749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822682578,"filename":"image_22112025_15_41_11_13328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2329cc8289412b2efaa5e65426431b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8836602350472371652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822682578,"filename":"image_22112025_15_40_52_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708016","file1":"1395708014","file0":"1395708011","file4":"1395708018","file5":"1395708019","file3":"1395708017"},"map_files_photo_id_array":[{"photo_id":"1395708019","filename":"file5"},{"photo_id":"1395708016","filename":"file2"},{"photo_id":"1395708018","filename":"file4"},{"photo_id":"1395708014","filename":"file1"},{"photo_id":"1395708011","filename":"file0"},{"photo_id":"1395708017","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708014":["hashtag1","hashtag2"]},{"1395708017":["hashtag1","hashtag2"]},{"1395708011":["hashtag1","hashtag2"]},{"1395708016":["hashtag1","hashtag2"]},{"1395708019":["hashtag1","hashtag2"]},{"1395708018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708014, 1395708017, 1395708011, 1395708016, 1395708019, 1395708018)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.993062019348145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:44:42.283005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_17_1770.jpg', '/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_25_2656.jpg', '/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_28_3686.jpg', '/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_31_2743.jpg', '/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_34_2593.jpg', '/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_37_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_17_1770.jpg
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_25_2656.jpg
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_28_3686.jpg
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_31_2743.jpg
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_34_2593.jpg
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_37_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708041","1395708044","1395708043","1395708036","1395708045","1395708039"],"photo_ids_order":["1395708036","1395708039","1395708041","1395708043","1395708044","1395708045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99d2e0bf64fc095d0215eae18c31c29c.jpg","text":"TemporaryFile(/tmp/multipartBody6062668729109713520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822742949,"filename":"image_22112025_15_41_28_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da64bf7519910e7856dbb344c639d3a1.jpg","text":"TemporaryFile(/tmp/multipartBody579771620495039208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822742949,"filename":"image_22112025_15_41_34_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fa49fdcfae95e5875600c18d9764758.jpg","text":"TemporaryFile(/tmp/multipartBody7355416413034243438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822742949,"filename":"image_22112025_15_41_31_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd6547b2da5a771e1b7bf3d37d6694ab.jpg","text":"TemporaryFile(/tmp/multipartBody5582012396965362709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822742949,"filename":"image_22112025_15_41_17_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09b972ed1fc3d51cbf5e925b602a4f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7225237210517528705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822742949,"filename":"image_22112025_15_41_37_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a260bd13fbf829e925233dd7052cfa3.jpg","text":"TemporaryFile(/tmp/multipartBody2301699986086939412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822742949,"filename":"image_22112025_15_41_25_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708041","file1":"1395708039","file0":"1395708036","file4":"1395708044","file5":"1395708045","file3":"1395708043"},"map_files_photo_id_array":[{"photo_id":"1395708045","filename":"file5"},{"photo_id":"1395708041","filename":"file2"},{"photo_id":"1395708044","filename":"file4"},{"photo_id":"1395708039","filename":"file1"},{"photo_id":"1395708036","filename":"file0"},{"photo_id":"1395708043","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708041":["hashtag1","hashtag2"]},{"1395708044":["hashtag1","hashtag2"]},{"1395708043":["hashtag1","hashtag2"]},{"1395708036":["hashtag1","hashtag2"]},{"1395708045":["hashtag1","hashtag2"]},{"1395708039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708041, 1395708044, 1395708043, 1395708036, 1395708045, 1395708039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38243818283081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:45:28.692994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:45:42.541923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_44_4422.jpg', '/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_46_1562.jpg', '/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_52_2758.jpg', '/home/pi/Desktop/images/22112025/15/42/image_22112025_15_42_25_3632.jpg', '/home/pi/Desktop/images/22112025/15/42/image_22112025_15_42_34_3462.jpg', '/home/pi/Desktop/images/22112025/15/42/image_22112025_15_43_01_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_44_4422.jpg
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_46_1562.jpg
/home/pi/Desktop/images/22112025/15/41/image_22112025_15_41_52_2758.jpg
/home/pi/Desktop/images/22112025/15/42/image_22112025_15_42_25_3632.jpg
/home/pi/Desktop/images/22112025/15/42/image_22112025_15_42_34_3462.jpg
/home/pi/Desktop/images/22112025/15/42/image_22112025_15_43_01_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708068","1395708061","1395708064","1395708066","1395708063","1395708057"],"photo_ids_order":["1395708057","1395708061","1395708063","1395708064","1395708066","1395708068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c44d61e2edb5b4a7db11182e2e815b8b.jpg","text":"TemporaryFile(/tmp/multipartBody753060921637376552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822803123,"filename":"image_22112025_15_43_01_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2adb82b41c593530465abd694dae3e35.jpg","text":"TemporaryFile(/tmp/multipartBody3811066300782076399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822803123,"filename":"image_22112025_15_41_46_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/271c17bf14cf96425f4623c36e3acf20.jpg","text":"TemporaryFile(/tmp/multipartBody7689734367245071028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822803123,"filename":"image_22112025_15_42_25_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c814afa2b6ecf628e28e667fcfc37baf.jpg","text":"TemporaryFile(/tmp/multipartBody5817603106324182131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822803123,"filename":"image_22112025_15_42_34_3462.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71dbaf44440527674dccc0239abef6b1.jpg","text":"TemporaryFile(/tmp/multipartBody7035870781840058691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822803123,"filename":"image_22112025_15_41_52_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a652f5ed44a136740ba1a5df744213c.jpg","text":"TemporaryFile(/tmp/multipartBody455604339208175234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822803123,"filename":"image_22112025_15_41_44_4422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708063","file1":"1395708061","file0":"1395708057","file4":"1395708066","file5":"1395708068","file3":"1395708064"},"map_files_photo_id_array":[{"photo_id":"1395708068","filename":"file5"},{"photo_id":"1395708063","filename":"file2"},{"photo_id":"1395708066","filename":"file4"},{"photo_id":"1395708061","filename":"file1"},{"photo_id":"1395708057","filename":"file0"},{"photo_id":"1395708064","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708068":["hashtag1","hashtag2"]},{"1395708061":["hashtag1","hashtag2"]},{"1395708064":["hashtag1","hashtag2"]},{"1395708066":["hashtag1","hashtag2"]},{"1395708063":["hashtag1","hashtag2"]},{"1395708057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708068, 1395708061, 1395708064, 1395708066, 1395708063, 1395708057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.728004455566406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:46:22.753065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_19_2731.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_25_2702.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_37_3620.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_45_2692.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_49_3658.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_51_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_19_2731.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_25_2702.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_37_3620.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_45_2692.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_49_3658.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_51_2502.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4673130512237549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:46:42.665358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_19_2731.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_25_2702.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_37_3620.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_45_2692.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_49_3658.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_51_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_19_2731.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_25_2702.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_37_3620.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_45_2692.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_49_3658.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_51_2502.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708092","1395708089","1395708091","1395708090","1395708093","1395708087"],"photo_ids_order":["1395708087","1395708089","1395708090","1395708091","1395708092","1395708093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3da3ff63bb93429e9a6e9d373c649e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1896856352925923460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822863252,"filename":"image_22112025_15_43_49_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a67645760652614aa35ddc491c2cb10f.jpg","text":"TemporaryFile(/tmp/multipartBody7669724678610602753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822863252,"filename":"image_22112025_15_43_25_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edac093e32bf8e8162585e6b6d76f057.jpg","text":"TemporaryFile(/tmp/multipartBody3773220077374153799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822863252,"filename":"image_22112025_15_43_45_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57b3d0e133ccc9186b1ec6fcf885607a.jpg","text":"TemporaryFile(/tmp/multipartBody5957579648709032988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822863252,"filename":"image_22112025_15_43_37_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adf665e6706642a3b4d7f2a4a6674fc7.jpg","text":"TemporaryFile(/tmp/multipartBody2186799153586791496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822863252,"filename":"image_22112025_15_43_51_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6369489ab5edf898ff7e9fca9f4a7e41.jpg","text":"TemporaryFile(/tmp/multipartBody5808458800734176427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822863252,"filename":"image_22112025_15_43_19_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708090","file1":"1395708089","file0":"1395708087","file4":"1395708092","file5":"1395708093","file3":"1395708091"},"map_files_photo_id_array":[{"photo_id":"1395708093","filename":"file5"},{"photo_id":"1395708090","filename":"file2"},{"photo_id":"1395708092","filename":"file4"},{"photo_id":"1395708089","filename":"file1"},{"photo_id":"1395708087","filename":"file0"},{"photo_id":"1395708091","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708092":["hashtag1","hashtag2"]},{"1395708089":["hashtag1","hashtag2"]},{"1395708091":["hashtag1","hashtag2"]},{"1395708090":["hashtag1","hashtag2"]},{"1395708093":["hashtag1","hashtag2"]},{"1395708087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708092, 1395708089, 1395708091, 1395708090, 1395708093, 1395708087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.637094259262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:47:21.927342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_55_3765.jpg', '/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_58_2539.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_04_3653.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_07_2747.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_09_2581.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_13_3515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_55_3765.jpg
/home/pi/Desktop/images/22112025/15/43/image_22112025_15_43_58_2539.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_04_3653.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_07_2747.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_09_2581.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_13_3515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708105","1395708095","1395708110","1395708107","1395708099","1395708102"],"photo_ids_order":["1395708095","1395708099","1395708102","1395708105","1395708107","1395708110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/394c91c047152e2b78e551d439fc1cba.jpg","text":"TemporaryFile(/tmp/multipartBody5392319814636739315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822902485,"filename":"image_22112025_15_44_07_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ee22ffe9f33349fcae4d3c28bf9dfa6.jpg","text":"TemporaryFile(/tmp/multipartBody3137347183164444114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822902485,"filename":"image_22112025_15_43_55_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82c160b55ac5353972cf474687b1dfde.jpg","text":"TemporaryFile(/tmp/multipartBody1953389816520905672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822902485,"filename":"image_22112025_15_44_13_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfd3d4826ea68a898a98fcfb69b38898.jpg","text":"TemporaryFile(/tmp/multipartBody7405669372768106451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822902485,"filename":"image_22112025_15_44_09_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5db7d6fb4ea9da664650cc3772f086bf.jpg","text":"TemporaryFile(/tmp/multipartBody1236426729308291889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822902485,"filename":"image_22112025_15_43_58_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b450e51c2007becbd8c8d6138a88f1cf.jpg","text":"TemporaryFile(/tmp/multipartBody1948065456940087690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822902485,"filename":"image_22112025_15_44_04_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708102","file1":"1395708099","file0":"1395708095","file4":"1395708107","file5":"1395708110","file3":"1395708105"},"map_files_photo_id_array":[{"photo_id":"1395708110","filename":"file5"},{"photo_id":"1395708102","filename":"file2"},{"photo_id":"1395708107","filename":"file4"},{"photo_id":"1395708099","filename":"file1"},{"photo_id":"1395708095","filename":"file0"},{"photo_id":"1395708105","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708105":["hashtag1","hashtag2"]},{"1395708095":["hashtag1","hashtag2"]},{"1395708110":["hashtag1","hashtag2"]},{"1395708107":["hashtag1","hashtag2"]},{"1395708099":["hashtag1","hashtag2"]},{"1395708102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708105, 1395708095, 1395708110, 1395708107, 1395708099, 1395708102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33211302757263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:48:03.245838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_19_3622.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_21_2557.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_25_3648.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_28_2650.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_30_2537.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_39_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_19_3622.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_21_2557.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_25_3648.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_28_2650.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_30_2537.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_39_1554.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5068271160125732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:48:22.804280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_19_3622.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_21_2557.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_25_3648.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_28_2650.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_30_2537.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_39_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_19_3622.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_21_2557.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_25_3648.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_28_2650.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_30_2537.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_39_1554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708132","1395708126","1395708137","1395708135","1395708129","1395708123"],"photo_ids_order":["1395708123","1395708126","1395708129","1395708132","1395708135","1395708137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6f5345c35030af921e62a0607572afc.jpg","text":"TemporaryFile(/tmp/multipartBody7421045260209078576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822963366,"filename":"image_22112025_15_44_28_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cf74fddf3c4b40085ca3c2431d038c9.jpg","text":"TemporaryFile(/tmp/multipartBody4860119394580213691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822963366,"filename":"image_22112025_15_44_21_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08a80a1548a7ddcbd040e2d682611178.jpg","text":"TemporaryFile(/tmp/multipartBody8842147062228582616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822963366,"filename":"image_22112025_15_44_39_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69722198d17a1f1c169e66631eed251b.jpg","text":"TemporaryFile(/tmp/multipartBody7111851631463632591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822963366,"filename":"image_22112025_15_44_30_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/737b0d95d632a672d068d4ab4fbe671f.jpg","text":"TemporaryFile(/tmp/multipartBody7689566312562548919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822963366,"filename":"image_22112025_15_44_25_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/467e325c0634ac1317c2c24045b59715.jpg","text":"TemporaryFile(/tmp/multipartBody5036960150726458968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763822963366,"filename":"image_22112025_15_44_19_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708129","file1":"1395708126","file0":"1395708123","file4":"1395708135","file5":"1395708137","file3":"1395708132"},"map_files_photo_id_array":[{"photo_id":"1395708137","filename":"file5"},{"photo_id":"1395708129","filename":"file2"},{"photo_id":"1395708135","filename":"file4"},{"photo_id":"1395708126","filename":"file1"},{"photo_id":"1395708123","filename":"file0"},{"photo_id":"1395708132","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708132":["hashtag1","hashtag2"]},{"1395708126":["hashtag1","hashtag2"]},{"1395708137":["hashtag1","hashtag2"]},{"1395708135":["hashtag1","hashtag2"]},{"1395708129":["hashtag1","hashtag2"]},{"1395708123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708132, 1395708126, 1395708137, 1395708135, 1395708129, 1395708123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95549941062927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:49:02.916291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_43_3578.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_45_2571.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_52_2554.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_54_2758.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_58_3630.jpg', '/home/pi/Desktop/images/22112025/15/44/image_22112025_15_45_00_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_43_3578.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_45_2571.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_52_2554.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_54_2758.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_44_58_3630.jpg
/home/pi/Desktop/images/22112025/15/44/image_22112025_15_45_00_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708140","1395708142","1395708139","1395708147","1395708141","1395708144"],"photo_ids_order":["1395708139","1395708140","1395708141","1395708142","1395708144","1395708147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ecfc97057b2d65d4be111da8fc87eec.jpg","text":"TemporaryFile(/tmp/multipartBody941714097373734549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823003736,"filename":"image_22112025_15_44_45_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcb1615b2b790da16cbe877ab75f8a42.jpg","text":"TemporaryFile(/tmp/multipartBody3696287991873261190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823003736,"filename":"image_22112025_15_44_54_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd664705e44fc52967202db4e3b5cb56.jpg","text":"TemporaryFile(/tmp/multipartBody9175637732540578443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823003736,"filename":"image_22112025_15_44_43_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fad1f9f54e5e29648489a7ed2b27c56c.jpg","text":"TemporaryFile(/tmp/multipartBody1760956701680891117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823003736,"filename":"image_22112025_15_45_00_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/075e067e35fafc29b60f887ba708820b.jpg","text":"TemporaryFile(/tmp/multipartBody6241263244469710623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823003736,"filename":"image_22112025_15_44_52_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5beeb2bcf59bd20d9161b1ccd3568d5.jpg","text":"TemporaryFile(/tmp/multipartBody4911368883176638438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823003736,"filename":"image_22112025_15_44_58_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708141","file1":"1395708140","file0":"1395708139","file4":"1395708144","file5":"1395708147","file3":"1395708142"},"map_files_photo_id_array":[{"photo_id":"1395708147","filename":"file5"},{"photo_id":"1395708141","filename":"file2"},{"photo_id":"1395708144","filename":"file4"},{"photo_id":"1395708140","filename":"file1"},{"photo_id":"1395708139","filename":"file0"},{"photo_id":"1395708142","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708140":["hashtag1","hashtag2"]},{"1395708142":["hashtag1","hashtag2"]},{"1395708139":["hashtag1","hashtag2"]},{"1395708147":["hashtag1","hashtag2"]},{"1395708141":["hashtag1","hashtag2"]},{"1395708144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708140, 1395708142, 1395708139, 1395708147, 1395708141, 1395708144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93550753593445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:49:42.086249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_10_3489.jpg', '/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_16_3479.jpg', '/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_31_1732.jpg', '/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_33_1713.jpg', '/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_34_1627.jpg', '/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_37_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_10_3489.jpg
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_16_3479.jpg
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_31_1732.jpg
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_33_1713.jpg
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_34_1627.jpg
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_37_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708164","1395708161","1395708160","1395708163","1395708162","1395708156"],"photo_ids_order":["1395708156","1395708160","1395708161","1395708162","1395708163","1395708164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adb6079f347cdeab49ca3fd33818c0d3.jpg","text":"TemporaryFile(/tmp/multipartBody6802287509100593004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823042638,"filename":"image_22112025_15_45_37_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a634f3012d2d594570acaadfa1b64f99.jpg","text":"TemporaryFile(/tmp/multipartBody7783658734710280388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823042638,"filename":"image_22112025_15_45_31_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4f50e0fc03b168cc5895a4ae57b750d.jpg","text":"TemporaryFile(/tmp/multipartBody129352961602727494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823042638,"filename":"image_22112025_15_45_16_3479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f4f1abaf5bdfbfb315bf2854196c174.jpg","text":"TemporaryFile(/tmp/multipartBody6406178199101135495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823042638,"filename":"image_22112025_15_45_34_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecfb42ed566d66e5846d54a0635f381d.jpg","text":"TemporaryFile(/tmp/multipartBody936848351798044216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823042638,"filename":"image_22112025_15_45_33_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/679ecf9c8c43044b74fd8ba00711094d.jpg","text":"TemporaryFile(/tmp/multipartBody305074600738224150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823042638,"filename":"image_22112025_15_45_10_3489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708161","file1":"1395708160","file0":"1395708156","file4":"1395708163","file5":"1395708164","file3":"1395708162"},"map_files_photo_id_array":[{"photo_id":"1395708164","filename":"file5"},{"photo_id":"1395708161","filename":"file2"},{"photo_id":"1395708163","filename":"file4"},{"photo_id":"1395708160","filename":"file1"},{"photo_id":"1395708156","filename":"file0"},{"photo_id":"1395708162","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708164":["hashtag1","hashtag2"]},{"1395708161":["hashtag1","hashtag2"]},{"1395708160":["hashtag1","hashtag2"]},{"1395708163":["hashtag1","hashtag2"]},{"1395708162":["hashtag1","hashtag2"]},{"1395708156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708164, 1395708161, 1395708160, 1395708163, 1395708162, 1395708156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57827019691467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:50:22.356864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_43_3468.jpg', '/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_57_2543.jpg', '/home/pi/Desktop/images/22112025/15/45/image_22112025_15_46_00_2602.jpg', '/home/pi/Desktop/images/22112025/15/46/image_22112025_15_46_15_2556.jpg', '/home/pi/Desktop/images/22112025/15/46/image_22112025_15_46_21_2653.jpg', '/home/pi/Desktop/images/22112025/15/46/image_22112025_15_46_40_1427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_43_3468.jpg
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_45_57_2543.jpg
/home/pi/Desktop/images/22112025/15/45/image_22112025_15_46_00_2602.jpg
/home/pi/Desktop/images/22112025/15/46/image_22112025_15_46_15_2556.jpg
/home/pi/Desktop/images/22112025/15/46/image_22112025_15_46_21_2653.jpg
/home/pi/Desktop/images/22112025/15/46/image_22112025_15_46_40_1427.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708188","1395708172","1395708169","1395708184","1395708166","1395708177"],"photo_ids_order":["1395708166","1395708169","1395708172","1395708177","1395708184","1395708188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81cd428c1bef1443b9c900e76d97d397.jpg","text":"TemporaryFile(/tmp/multipartBody4694346049439904060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823082937,"filename":"image_22112025_15_46_40_1427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e34f270bfa3e0c66b58f88d0318c0d5.jpg","text":"TemporaryFile(/tmp/multipartBody4738498435050024372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823082937,"filename":"image_22112025_15_46_00_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/008bfb6891ed65081742280f82b5e054.jpg","text":"TemporaryFile(/tmp/multipartBody8848266903661297277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823082937,"filename":"image_22112025_15_45_57_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b9c8febc0d06ad09a1c9c92d7bae795.jpg","text":"TemporaryFile(/tmp/multipartBody7076792851205106279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823082937,"filename":"image_22112025_15_46_21_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/071e6034dd93705373b2154226a30123.jpg","text":"TemporaryFile(/tmp/multipartBody6325744957352214882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823082937,"filename":"image_22112025_15_45_43_3468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87aa6800af18ffe3704843347cee60fb.jpg","text":"TemporaryFile(/tmp/multipartBody1777026524543729750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823082937,"filename":"image_22112025_15_46_15_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708172","file1":"1395708169","file0":"1395708166","file4":"1395708184","file5":"1395708188","file3":"1395708177"},"map_files_photo_id_array":[{"photo_id":"1395708188","filename":"file5"},{"photo_id":"1395708172","filename":"file2"},{"photo_id":"1395708184","filename":"file4"},{"photo_id":"1395708169","filename":"file1"},{"photo_id":"1395708166","filename":"file0"},{"photo_id":"1395708177","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708188":["hashtag1","hashtag2"]},{"1395708172":["hashtag1","hashtag2"]},{"1395708169":["hashtag1","hashtag2"]},{"1395708184":["hashtag1","hashtag2"]},{"1395708166":["hashtag1","hashtag2"]},{"1395708177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708188, 1395708172, 1395708169, 1395708184, 1395708166, 1395708177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93263030052185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:51:03.126825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/46/image_22112025_15_46_58_2606.jpg', '/home/pi/Desktop/images/22112025/15/46/image_22112025_15_47_00_2492.jpg', '/home/pi/Desktop/images/22112025/15/47/image_22112025_15_47_21_2538.jpg', '/home/pi/Desktop/images/22112025/15/47/image_22112025_15_47_54_3545.jpg', '/home/pi/Desktop/images/22112025/15/48/image_22112025_15_48_22_3630.jpg', '/home/pi/Desktop/images/22112025/15/48/image_22112025_15_48_33_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/46/image_22112025_15_46_58_2606.jpg
/home/pi/Desktop/images/22112025/15/46/image_22112025_15_47_00_2492.jpg
/home/pi/Desktop/images/22112025/15/47/image_22112025_15_47_21_2538.jpg
/home/pi/Desktop/images/22112025/15/47/image_22112025_15_47_54_3545.jpg
/home/pi/Desktop/images/22112025/15/48/image_22112025_15_48_22_3630.jpg
/home/pi/Desktop/images/22112025/15/48/image_22112025_15_48_33_2520.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708194","1395708193","1395708196","1395708198","1395708195","1395708201"],"photo_ids_order":["1395708193","1395708194","1395708195","1395708196","1395708198","1395708201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57bd14247b7bc8254e6eec4fa6820d6c.jpg","text":"TemporaryFile(/tmp/multipartBody890749961243906260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823123769,"filename":"image_22112025_15_47_00_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffeed21a0fc50a6809a61c325b62af8e.jpg","text":"TemporaryFile(/tmp/multipartBody3676778738666903020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823123769,"filename":"image_22112025_15_46_58_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef4dbf517494599e7d7f4940c8ed5f4a.jpg","text":"TemporaryFile(/tmp/multipartBody7135292484533299579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823123769,"filename":"image_22112025_15_47_54_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05e0ed82686ed3e8471ecc59901256e9.jpg","text":"TemporaryFile(/tmp/multipartBody8529572129431806460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823123769,"filename":"image_22112025_15_48_22_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a885b47035bfd438feabdd4d8b6cb2d.jpg","text":"TemporaryFile(/tmp/multipartBody4960833292610092773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823123769,"filename":"image_22112025_15_47_21_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76f5f1dbf7775b1bb7c8c3fab22692d5.jpg","text":"TemporaryFile(/tmp/multipartBody6930592037805983121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823123769,"filename":"image_22112025_15_48_33_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708195","file1":"1395708194","file0":"1395708193","file4":"1395708198","file5":"1395708201","file3":"1395708196"},"map_files_photo_id_array":[{"photo_id":"1395708201","filename":"file5"},{"photo_id":"1395708195","filename":"file2"},{"photo_id":"1395708198","filename":"file4"},{"photo_id":"1395708194","filename":"file1"},{"photo_id":"1395708193","filename":"file0"},{"photo_id":"1395708196","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708194":["hashtag1","hashtag2"]},{"1395708193":["hashtag1","hashtag2"]},{"1395708196":["hashtag1","hashtag2"]},{"1395708198":["hashtag1","hashtag2"]},{"1395708195":["hashtag1","hashtag2"]},{"1395708201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708194, 1395708193, 1395708196, 1395708198, 1395708195, 1395708201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32634210586548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:51:42.730742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/48/image_22112025_15_48_51_3528.jpg', '/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_03_2496.jpg', '/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_27_2472.jpg', '/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_30_3605.jpg', '/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_46_3485.jpg', '/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_48_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/48/image_22112025_15_48_51_3528.jpg
/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_03_2496.jpg
/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_27_2472.jpg
/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_30_3605.jpg
/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_46_3485.jpg
/home/pi/Desktop/images/22112025/15/49/image_22112025_15_49_48_2542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708210","1395708212","1395708215","1395708218","1395708214","1395708216"],"photo_ids_order":["1395708210","1395708212","1395708214","1395708215","1395708216","1395708218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eaa6a183ca3eedb43d08f139bd9daeea.jpg","text":"TemporaryFile(/tmp/multipartBody5289481463537291792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823163339,"filename":"image_22112025_15_48_51_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faaaeac38a0a395397818a537e32f095.jpg","text":"TemporaryFile(/tmp/multipartBody7974445320806577656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823163339,"filename":"image_22112025_15_49_03_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/082e7aa4a3c9ff05fdd2fcd0f52eb135.jpg","text":"TemporaryFile(/tmp/multipartBody1308702463530202727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823163339,"filename":"image_22112025_15_49_30_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/387f71747fac5f0e5fdcb1c80f45c5a2.jpg","text":"TemporaryFile(/tmp/multipartBody3754478286785634955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823163339,"filename":"image_22112025_15_49_48_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6479f76bf348793d9653c636e4ec109.jpg","text":"TemporaryFile(/tmp/multipartBody3372056531693360789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823163339,"filename":"image_22112025_15_49_27_2472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6040e255c53c189361ee8d321802b16.jpg","text":"TemporaryFile(/tmp/multipartBody4790855090492877342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823163339,"filename":"image_22112025_15_49_46_3485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708214","file1":"1395708212","file0":"1395708210","file4":"1395708216","file5":"1395708218","file3":"1395708215"},"map_files_photo_id_array":[{"photo_id":"1395708218","filename":"file5"},{"photo_id":"1395708214","filename":"file2"},{"photo_id":"1395708216","filename":"file4"},{"photo_id":"1395708212","filename":"file1"},{"photo_id":"1395708210","filename":"file0"},{"photo_id":"1395708215","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708210":["hashtag1","hashtag2"]},{"1395708212":["hashtag1","hashtag2"]},{"1395708215":["hashtag1","hashtag2"]},{"1395708218":["hashtag1","hashtag2"]},{"1395708214":["hashtag1","hashtag2"]},{"1395708216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708210, 1395708212, 1395708215, 1395708218, 1395708214, 1395708216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.532525300979614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:52:22.397382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/49/image_22112025_15_50_00_3465.jpg', '/home/pi/Desktop/images/22112025/15/50/image_22112025_15_50_21_2520.jpg', '/home/pi/Desktop/images/22112025/15/50/image_22112025_15_50_45_2574.jpg', '/home/pi/Desktop/images/22112025/15/50/image_22112025_15_51_00_2561.jpg', '/home/pi/Desktop/images/22112025/15/51/image_22112025_15_51_37_4060.jpg', '/home/pi/Desktop/images/22112025/15/52/image_22112025_15_52_24_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/49/image_22112025_15_50_00_3465.jpg
/home/pi/Desktop/images/22112025/15/50/image_22112025_15_50_21_2520.jpg
/home/pi/Desktop/images/22112025/15/50/image_22112025_15_50_45_2574.jpg
/home/pi/Desktop/images/22112025/15/50/image_22112025_15_51_00_2561.jpg
/home/pi/Desktop/images/22112025/15/51/image_22112025_15_51_37_4060.jpg
/home/pi/Desktop/images/22112025/15/52/image_22112025_15_52_24_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708239","1395708242","1395708221","1395708224","1395708232","1395708228"],"photo_ids_order":["1395708221","1395708224","1395708228","1395708232","1395708239","1395708242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7458d3eb815647db9dd508761f1b0b97.jpg","text":"TemporaryFile(/tmp/multipartBody4248037242324986353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823202969,"filename":"image_22112025_15_51_37_4060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f21529a8d58ee10472dcf1b30c1e3629.jpg","text":"TemporaryFile(/tmp/multipartBody1935843657884705278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823202969,"filename":"image_22112025_15_52_24_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2d6ee2c27b850bfa0679b6952194796.jpg","text":"TemporaryFile(/tmp/multipartBody4954131230190248613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823202969,"filename":"image_22112025_15_50_00_3465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbda31cb2b102c8ed4dc2b2132e7725a.jpg","text":"TemporaryFile(/tmp/multipartBody993854293751927999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823202969,"filename":"image_22112025_15_50_21_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b58efccaf72390e9fa67cb98b91d07b.jpg","text":"TemporaryFile(/tmp/multipartBody8714892073033004294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823202969,"filename":"image_22112025_15_51_00_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d899c9f88cdf3c16609169a07f08b69d.jpg","text":"TemporaryFile(/tmp/multipartBody4296439878695340215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823202969,"filename":"image_22112025_15_50_45_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708228","file1":"1395708224","file0":"1395708221","file4":"1395708239","file5":"1395708242","file3":"1395708232"},"map_files_photo_id_array":[{"photo_id":"1395708242","filename":"file5"},{"photo_id":"1395708228","filename":"file2"},{"photo_id":"1395708239","filename":"file4"},{"photo_id":"1395708224","filename":"file1"},{"photo_id":"1395708221","filename":"file0"},{"photo_id":"1395708232","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708239":["hashtag1","hashtag2"]},{"1395708242":["hashtag1","hashtag2"]},{"1395708221":["hashtag1","hashtag2"]},{"1395708224":["hashtag1","hashtag2"]},{"1395708232":["hashtag1","hashtag2"]},{"1395708228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708239, 1395708242, 1395708221, 1395708224, 1395708232, 1395708228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29525971412659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:53:03.371907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/52/image_22112025_15_52_35_5002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/52/image_22112025_15_52_35_5002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708244"],"photo_id":"1395708244","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51d5d26c1d0c7969038a94953ba1eae8.jpg","text":"TemporaryFile(/tmp/multipartBody1447951679103529863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823243937,"filename":"image_22112025_15_52_35_5002.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395708244"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395708244"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.000661611557007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:53:22.657418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/52/image_22112025_15_52_48_3478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/52/image_22112025_15_52_48_3478.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708247"],"photo_id":"1395708247","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/268904233825f01e79924852e3a3ad15.jpg","text":"TemporaryFile(/tmp/multipartBody5343116450211466275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823263160,"filename":"image_22112025_15_52_48_3478.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395708247"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395708247"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.582900047302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:53:42.680004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_35_2816.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_38_2766.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_40_2657.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_44_3673.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_47_2717.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_50_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_35_2816.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_38_2766.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_40_2657.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_44_3673.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_47_2717.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_50_2823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708263","1395708274","1395708262","1395708264","1395708261","1395708258"],"photo_ids_order":["1395708258","1395708261","1395708262","1395708263","1395708264","1395708274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faa536a6529325a3d4fe7bbf46f29c07.jpg","text":"TemporaryFile(/tmp/multipartBody8707566603937736972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823284852,"filename":"image_30102025_18_01_44_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33830df734d20711d9d4dce88f4c8097.jpg","text":"TemporaryFile(/tmp/multipartBody2184600708728241878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823284852,"filename":"image_30102025_18_01_50_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc9bc16098accd14ddfe437385c1238c.jpg","text":"TemporaryFile(/tmp/multipartBody7243490319603628531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823284852,"filename":"image_30102025_18_01_40_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b763b1be60f25802febc01515757044.jpg","text":"TemporaryFile(/tmp/multipartBody6539249487222833547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823284852,"filename":"image_30102025_18_01_47_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/930f679f793d39bc02026ca04f00527b.jpg","text":"TemporaryFile(/tmp/multipartBody2966206839343818659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823284852,"filename":"image_30102025_18_01_38_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/193e8c06d5effff91517008a9228acbb.jpg","text":"TemporaryFile(/tmp/multipartBody5392447148869345409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823284852,"filename":"image_30102025_18_01_35_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708262","file1":"1395708261","file0":"1395708258","file4":"1395708264","file5":"1395708274","file3":"1395708263"},"map_files_photo_id_array":[{"photo_id":"1395708274","filename":"file5"},{"photo_id":"1395708262","filename":"file2"},{"photo_id":"1395708264","filename":"file4"},{"photo_id":"1395708261","filename":"file1"},{"photo_id":"1395708258","filename":"file0"},{"photo_id":"1395708263","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395708263":["hashtag1","hashtag2"]},{"1395708274":["hashtag1","hashtag2"]},{"1395708262":["hashtag1","hashtag2"]},{"1395708264":["hashtag1","hashtag2"]},{"1395708261":["hashtag1","hashtag2"]},{"1395708258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395708263, 1395708274, 1395708262, 1395708264, 1395708261, 1395708258)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.621684551239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:54:41.906596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/53/image_22112025_15_53_39_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/53/image_22112025_15_53_39_3705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708286"],"photo_id":"1395708286","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cfd20bd3f0df1ead23f8de37f061a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1242341434504836706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823342415,"filename":"image_22112025_15_53_39_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395708286"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395708286"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.16916036605835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:55:02.819758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_58_2602.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_02_3895.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_05_2851.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_07_2640.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_14_3778.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_23_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/02/image_20112025_19_02_58_2602.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_02_3895.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_05_2851.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_07_2640.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_14_3778.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_23_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708290","1395708292","1395708289","1395708297","1395708291","1395708294"],"photo_ids_order":["1395708289","1395708290","1395708291","1395708292","1395708294","1395708297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7141d5bba86cdba5dc38d1431b2bb1b7.jpg","text":"TemporaryFile(/tmp/multipartBody896175019122805152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823365015,"filename":"image_20112025_19_03_02_3895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27f67cfbe9c101c04c2f2882ab2cb5c0.jpg","text":"TemporaryFile(/tmp/multipartBody4762694463098386727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823365015,"filename":"image_20112025_19_03_07_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f30e79e8038335990e2e38a2c59c7808.jpg","text":"TemporaryFile(/tmp/multipartBody2671141404559778485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823365015,"filename":"image_20112025_19_02_58_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c65bcc26e50a46ca375802c9be790cca.jpg","text":"TemporaryFile(/tmp/multipartBody3960891386030709504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823365015,"filename":"image_20112025_19_03_23_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2db9cb314a67c5d58ec9cf06f292aedf.jpg","text":"TemporaryFile(/tmp/multipartBody8607438766623830343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823365015,"filename":"image_20112025_19_03_05_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7058ab80ef73a7f338ceebe716d8c79b.jpg","text":"TemporaryFile(/tmp/multipartBody6977237719784131885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823365015,"filename":"image_20112025_19_03_14_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708291","file1":"1395708290","file0":"1395708289","file4":"1395708294","file5":"1395708297","file3":"1395708292"},"map_files_photo_id_array":[{"photo_id":"1395708297","filename":"file5"},{"photo_id":"1395708291","filename":"file2"},{"photo_id":"1395708294","filename":"file4"},{"photo_id":"1395708290","filename":"file1"},{"photo_id":"1395708289","filename":"file0"},{"photo_id":"1395708292","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395708290":["hashtag1","hashtag2"]},{"1395708292":["hashtag1","hashtag2"]},{"1395708289":["hashtag1","hashtag2"]},{"1395708297":["hashtag1","hashtag2"]},{"1395708291":["hashtag1","hashtag2"]},{"1395708294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395708290, 1395708292, 1395708289, 1395708297, 1395708291, 1395708294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85832738876343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:55:42.024931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/54/image_22112025_15_54_33_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/54/image_22112025_15_54_33_2561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708306"],"photo_id":"1395708306","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9ebc03aa119745b4558197e8159a1af.jpg","text":"TemporaryFile(/tmp/multipartBody3572010310773504965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823402520,"filename":"image_22112025_15_54_33_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395708306"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395708306"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.858530521392822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:56:02.739265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_26_2877.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_32_3695.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_34_2562.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_41_3664.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_46_2732.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_49_2828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_26_2877.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_32_3695.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_34_2562.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_41_3664.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_46_2732.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_49_2828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708344","1395708341","1395708352","1395708322","1395708319","1395708348"],"photo_ids_order":["1395708319","1395708322","1395708341","1395708344","1395708348","1395708352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a4e15cadfbee6f61954c798a0ef30b1.jpg","text":"TemporaryFile(/tmp/multipartBody8240980406210936126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823435810,"filename":"image_20112025_19_03_41_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d60c8efa98593fb16a7b5facf40e9ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5458522089475016305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823435810,"filename":"image_20112025_19_03_34_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20c2df8d7a45946fc1df68ed8dc1aa7b.jpg","text":"TemporaryFile(/tmp/multipartBody4927716597857562877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823435810,"filename":"image_20112025_19_03_49_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cade3045da399203f09b55c14f0d6ab.jpg","text":"TemporaryFile(/tmp/multipartBody8789440629434115607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823435810,"filename":"image_20112025_19_03_32_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/989970980f52df075a7d50f045397361.jpg","text":"TemporaryFile(/tmp/multipartBody4921928863219538356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823435810,"filename":"image_20112025_19_03_26_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1617b9438ee9a16caecae4b6e5f98b37.jpg","text":"TemporaryFile(/tmp/multipartBody8471977395132931314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823435810,"filename":"image_20112025_19_03_46_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708341","file1":"1395708322","file0":"1395708319","file4":"1395708348","file5":"1395708352","file3":"1395708344"},"map_files_photo_id_array":[{"photo_id":"1395708352","filename":"file5"},{"photo_id":"1395708341","filename":"file2"},{"photo_id":"1395708348","filename":"file4"},{"photo_id":"1395708322","filename":"file1"},{"photo_id":"1395708319","filename":"file0"},{"photo_id":"1395708344","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395708344":["hashtag1","hashtag2"]},{"1395708341":["hashtag1","hashtag2"]},{"1395708352":["hashtag1","hashtag2"]},{"1395708322":["hashtag1","hashtag2"]},{"1395708319":["hashtag1","hashtag2"]},{"1395708348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395708344, 1395708341, 1395708352, 1395708322, 1395708319, 1395708348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.691900968551636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:57:03.137106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/55/image_22112025_15_55_15_2614.jpg', '/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_05_2585.jpg', '/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_15_3469.jpg', '/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_42_3549.jpg', '/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_50_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/55/image_22112025_15_55_15_2614.jpg
/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_05_2585.jpg
/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_15_3469.jpg
/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_42_3549.jpg
/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_50_2509.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708362","1395708359","1395708361","1395708364","1395708360"],"photo_ids_order":["1395708359","1395708360","1395708361","1395708362","1395708364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/666a85623ff819d7df0a430ecd38455e.jpg","text":"TemporaryFile(/tmp/multipartBody4854210860316004156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823483753,"filename":"image_22112025_15_56_42_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19b998576341b08ccdcda6f9fd2a0cf4.jpg","text":"TemporaryFile(/tmp/multipartBody7590278275882699816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823483753,"filename":"image_22112025_15_55_15_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0b29858bb6adae6e7c4f53e1a38400a.jpg","text":"TemporaryFile(/tmp/multipartBody351988264227968354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823483753,"filename":"image_22112025_15_56_15_3469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a28dc93e9468aa41551e8d045550a622.jpg","text":"TemporaryFile(/tmp/multipartBody2566451877353899387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823483753,"filename":"image_22112025_15_56_50_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92b53bf4a477cf4f1a3609abc3438f85.jpg","text":"TemporaryFile(/tmp/multipartBody8864147184171932946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823483753,"filename":"image_22112025_15_56_05_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708361","file1":"1395708360","file0":"1395708359","file4":"1395708364","file3":"1395708362"},"map_files_photo_id_array":[{"photo_id":"1395708361","filename":"file2"},{"photo_id":"1395708364","filename":"file4"},{"photo_id":"1395708360","filename":"file1"},{"photo_id":"1395708359","filename":"file0"},{"photo_id":"1395708362","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708362":["hashtag1","hashtag2"]},{"1395708359":["hashtag1","hashtag2"]},{"1395708361":["hashtag1","hashtag2"]},{"1395708364":["hashtag1","hashtag2"]},{"1395708360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708362, 1395708359, 1395708361, 1395708364, 1395708360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.596956253051758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:57:42.411251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_54_3728.jpg', '/home/pi/Desktop/images/22112025/15/57/image_22112025_15_57_16_12677.jpg', '/home/pi/Desktop/images/22112025/15/57/image_22112025_15_57_27_1772.jpg', '/home/pi/Desktop/images/22112025/15/57/image_22112025_15_57_35_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/56/image_22112025_15_56_54_3728.jpg
/home/pi/Desktop/images/22112025/15/57/image_22112025_15_57_16_12677.jpg
/home/pi/Desktop/images/22112025/15/57/image_22112025_15_57_27_1772.jpg
/home/pi/Desktop/images/22112025/15/57/image_22112025_15_57_35_2757.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708380","1395708374","1395708383","1395708377"],"photo_ids_order":["1395708374","1395708377","1395708380","1395708383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8bef1bcb26a1cffdf8746cefd0dd64d.jpg","text":"TemporaryFile(/tmp/multipartBody6810156621809411347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823522940,"filename":"image_22112025_15_57_27_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af16aa02185e9b614d85ad5da19448d6.jpg","text":"TemporaryFile(/tmp/multipartBody3346559887732118487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823522940,"filename":"image_22112025_15_56_54_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c8a8d80b510bd85371dda33b7a6a339.jpg","text":"TemporaryFile(/tmp/multipartBody5812633038157991928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823522940,"filename":"image_22112025_15_57_35_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15da11fa533da8fb5065ad978a75796c.jpg","text":"TemporaryFile(/tmp/multipartBody3715360986738840910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823522940,"filename":"image_22112025_15_57_16_12677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708380","file1":"1395708377","file0":"1395708374","file3":"1395708383"},"map_files_photo_id_array":[{"photo_id":"1395708380","filename":"file2"},{"photo_id":"1395708377","filename":"file1"},{"photo_id":"1395708374","filename":"file0"},{"photo_id":"1395708383","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708380":["hashtag1","hashtag2"]},{"1395708374":["hashtag1","hashtag2"]},{"1395708383":["hashtag1","hashtag2"]},{"1395708377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708380, 1395708374, 1395708383, 1395708377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.578617811203003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 15:59:02.678264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/57/image_22112025_15_57_39_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/57/image_22112025_15_57_39_3710.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708387"],"photo_id":"1395708387","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0546fb11059b9fbbc538d1924ae9b8f3.jpg","text":"TemporaryFile(/tmp/multipartBody5777156742556259641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823603245,"filename":"image_22112025_15_57_39_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395708387"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395708387"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.91081714630127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:59:21.992012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/58/image_22112025_15_58_20_2688.jpg', '/home/pi/Desktop/images/22112025/15/59/image_22112025_15_59_17_2507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/58/image_22112025_15_58_20_2688.jpg
/home/pi/Desktop/images/22112025/15/59/image_22112025_15_59_17_2507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708491","1395708455"],"photo_ids_order":["1395708455","1395708491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33f216e2fdc8ce3c8416ee998829683c.jpg","text":"TemporaryFile(/tmp/multipartBody8117349602104396749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823622510,"filename":"image_22112025_15_59_17_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58a0020f8d536b391d976c8bcee95eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7039002630129803184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823622510,"filename":"image_22112025_15_58_20_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395708491","file0":"1395708455"},"map_files_photo_id_array":[{"photo_id":"1395708491","filename":"file1"},{"photo_id":"1395708455","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395708491":["hashtag1","hashtag2"]},{"1395708455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395708491, 1395708455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.126771688461304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 15:59:41.828044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_52_2730.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_56_3887.jpg', '/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_59_2690.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_02_2689.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_04_2765.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_08_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_52_2730.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_56_3887.jpg
/home/pi/Desktop/images/30102025/18/01/image_30102025_18_01_59_2690.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_02_2689.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_04_2765.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_08_3727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708779","1395708664","1395708628","1395708820","1395708699","1395708741"],"photo_ids_order":["1395708628","1395708664","1395708699","1395708741","1395708779","1395708820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecc1e98d04b3b3f92b6b9b515541cd2a.jpg","text":"TemporaryFile(/tmp/multipartBody6091766881110723733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823643993,"filename":"image_30102025_18_02_04_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32dd46526c7796cfb5a0a61bcaeb5198.jpg","text":"TemporaryFile(/tmp/multipartBody3443823717708338741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823643993,"filename":"image_30102025_18_01_56_3887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d75a990a6504c8b065197fdc781b3e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2883498804740352626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823643993,"filename":"image_30102025_18_01_52_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/555ce9314480e2caa7ad5389f118f2ce.jpg","text":"TemporaryFile(/tmp/multipartBody8909679125708632119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823643993,"filename":"image_30102025_18_02_08_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e5bf622860af1cf6fa4acbd37c11a99.jpg","text":"TemporaryFile(/tmp/multipartBody749711338171954031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823643993,"filename":"image_30102025_18_01_59_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7493733699d45ad4d9d7048587737ab7.jpg","text":"TemporaryFile(/tmp/multipartBody3752641001735068575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823643993,"filename":"image_30102025_18_02_02_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708699","file1":"1395708664","file0":"1395708628","file4":"1395708779","file5":"1395708820","file3":"1395708741"},"map_files_photo_id_array":[{"photo_id":"1395708820","filename":"file5"},{"photo_id":"1395708699","filename":"file2"},{"photo_id":"1395708779","filename":"file4"},{"photo_id":"1395708664","filename":"file1"},{"photo_id":"1395708628","filename":"file0"},{"photo_id":"1395708741","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395708779":["hashtag1","hashtag2"]},{"1395708664":["hashtag1","hashtag2"]},{"1395708628":["hashtag1","hashtag2"]},{"1395708820":["hashtag1","hashtag2"]},{"1395708699":["hashtag1","hashtag2"]},{"1395708741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395708779, 1395708664, 1395708628, 1395708820, 1395708699, 1395708741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.148160457611084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:00:22.077321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_11_2549.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_13_2915.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_17_3513.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_20_2595.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_23_3560.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_26_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_11_2549.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_13_2915.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_17_3513.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_20_2595.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_23_3560.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_26_2792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395708959","1395708929","1395708892","1395708855","1395708834","1395708831"],"photo_ids_order":["1395708831","1395708834","1395708855","1395708892","1395708929","1395708959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc49e71458cb1a56e096396ad4e7d012.jpg","text":"TemporaryFile(/tmp/multipartBody2901901686773528001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823684307,"filename":"image_30102025_18_02_26_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84c45ec78d646a7e45c601d0adbbef9f.jpg","text":"TemporaryFile(/tmp/multipartBody4331728487042519030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823684307,"filename":"image_30102025_18_02_23_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41464adcc846a309378856c019b8456b.jpg","text":"TemporaryFile(/tmp/multipartBody6986770476706338308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823684307,"filename":"image_30102025_18_02_20_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c9772311f8e3d4c65855fcb387e723f.jpg","text":"TemporaryFile(/tmp/multipartBody3061331004361105307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823684307,"filename":"image_30102025_18_02_17_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16354955cd6ae7b6c3a04ce5312a9b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8305097629284541826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823684307,"filename":"image_30102025_18_02_13_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be6e394f10e97960c73d09bf3d91e27b.jpg","text":"TemporaryFile(/tmp/multipartBody8772393930867435498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823684307,"filename":"image_30102025_18_02_11_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395708855","file1":"1395708834","file0":"1395708831","file4":"1395708929","file5":"1395708959","file3":"1395708892"},"map_files_photo_id_array":[{"photo_id":"1395708959","filename":"file5"},{"photo_id":"1395708855","filename":"file2"},{"photo_id":"1395708929","filename":"file4"},{"photo_id":"1395708834","filename":"file1"},{"photo_id":"1395708831","filename":"file0"},{"photo_id":"1395708892","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395708959":["hashtag1","hashtag2"]},{"1395708929":["hashtag1","hashtag2"]},{"1395708892":["hashtag1","hashtag2"]},{"1395708855":["hashtag1","hashtag2"]},{"1395708834":["hashtag1","hashtag2"]},{"1395708831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395708959, 1395708929, 1395708892, 1395708855, 1395708834, 1395708831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92614412307739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:01:02.904156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_53_3712.jpg', '/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_56_3141.jpg', '/home/pi/Desktop/images/20112025/19/04/image_20112025_19_04_17_3699.jpg', '/home/pi/Desktop/images/20112025/19/04/image_20112025_19_04_31_3650.jpg', '/home/pi/Desktop/images/20112025/19/04/image_20112025_19_04_40_3081.jpg', '/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_04_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_53_3712.jpg
/home/pi/Desktop/images/20112025/19/03/image_20112025_19_03_56_3141.jpg
/home/pi/Desktop/images/20112025/19/04/image_20112025_19_04_17_3699.jpg
/home/pi/Desktop/images/20112025/19/04/image_20112025_19_04_31_3650.jpg
/home/pi/Desktop/images/20112025/19/04/image_20112025_19_04_40_3081.jpg
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_04_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709031","1395709007","1395709024","1395709059","1395709038","1395709055"],"photo_ids_order":["1395709007","1395709024","1395709031","1395709038","1395709055","1395709059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82e55c4e59ab7c5276060be9ad8cd2ce.jpg","text":"TemporaryFile(/tmp/multipartBody5350604976816927627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823725112,"filename":"image_20112025_19_04_17_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26095c1ac09787a5be1b489042975128.jpg","text":"TemporaryFile(/tmp/multipartBody4953332337371085287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823725112,"filename":"image_20112025_19_03_53_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84981aadcdb90ba84722f93cf556862c.jpg","text":"TemporaryFile(/tmp/multipartBody1642467604472583088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823725112,"filename":"image_20112025_19_03_56_3141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee6922fbe99b1db6e495bbe3a973f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7162351520627498588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823725112,"filename":"image_20112025_19_05_04_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7eeb8e3a2f721dd615599e055505ffa.jpg","text":"TemporaryFile(/tmp/multipartBody983967249163654766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823725112,"filename":"image_20112025_19_04_31_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64ca31bb2e955902707b17aa8378d004.jpg","text":"TemporaryFile(/tmp/multipartBody7744398184478585092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823725112,"filename":"image_20112025_19_04_40_3081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709031","file1":"1395709024","file0":"1395709007","file4":"1395709055","file5":"1395709059","file3":"1395709038"},"map_files_photo_id_array":[{"photo_id":"1395709059","filename":"file5"},{"photo_id":"1395709031","filename":"file2"},{"photo_id":"1395709055","filename":"file4"},{"photo_id":"1395709024","filename":"file1"},{"photo_id":"1395709007","filename":"file0"},{"photo_id":"1395709038","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395709031":["hashtag1","hashtag2"]},{"1395709007":["hashtag1","hashtag2"]},{"1395709024":["hashtag1","hashtag2"]},{"1395709059":["hashtag1","hashtag2"]},{"1395709038":["hashtag1","hashtag2"]},{"1395709055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395709031, 1395709007, 1395709024, 1395709059, 1395709038, 1395709055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.095248222351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:01:42.348545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/15/59/image_22112025_15_59_29_2895.jpg', '/home/pi/Desktop/images/22112025/16/01/image_22112025_16_01_16_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/15/59/image_22112025_15_59_29_2895.jpg
/home/pi/Desktop/images/22112025/16/01/image_22112025_16_01_16_3600.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709066","1395709069"],"photo_ids_order":["1395709066","1395709069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cb9024d0ba0490244f406c74ff3f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody5498875825080608864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823762851,"filename":"image_22112025_15_59_29_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38447870565428681b4fb648a34f6ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4486728924597228466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823762851,"filename":"image_22112025_16_01_16_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395709069","file0":"1395709066"},"map_files_photo_id_array":[{"photo_id":"1395709069","filename":"file1"},{"photo_id":"1395709066","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709066":["hashtag1","hashtag2"]},{"1395709069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709066, 1395709069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.711722373962402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:02:02.984446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_08_3752.jpg', '/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_13_2702.jpg', '/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_16_3444.jpg', '/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_29_3100.jpg', '/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_41_3790.jpg', '/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_46_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_08_3752.jpg
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_13_2702.jpg
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_16_3444.jpg
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_29_3100.jpg
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_41_3790.jpg
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_46_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709078","1395709071","1395709080","1395709073","1395709082","1395709076"],"photo_ids_order":["1395709071","1395709073","1395709076","1395709078","1395709080","1395709082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3eb25baa0f0d3604fee57ebd4b3cc02f.jpg","text":"TemporaryFile(/tmp/multipartBody7529017554632507589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823787386,"filename":"image_20112025_19_05_29_3100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/892f26bd590b34c5ce2b84e7c8be75ed.jpg","text":"TemporaryFile(/tmp/multipartBody5024639294941112513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823787386,"filename":"image_20112025_19_05_08_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36b660bc4d25ba7bd3a3df0ab8599019.jpg","text":"TemporaryFile(/tmp/multipartBody4357884642063275339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823787386,"filename":"image_20112025_19_05_41_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca550b0fc67081185c7c87072351a614.jpg","text":"TemporaryFile(/tmp/multipartBody3450015615520264197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823787386,"filename":"image_20112025_19_05_13_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfede1810f469dd34718e20a18a55080.jpg","text":"TemporaryFile(/tmp/multipartBody236544046923698373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823787386,"filename":"image_20112025_19_05_46_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1dbd24660ff2141bdc7a85a5b5535437.jpg","text":"TemporaryFile(/tmp/multipartBody6194087219319954455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823787386,"filename":"image_20112025_19_05_16_3444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709076","file1":"1395709073","file0":"1395709071","file4":"1395709080","file5":"1395709082","file3":"1395709078"},"map_files_photo_id_array":[{"photo_id":"1395709082","filename":"file5"},{"photo_id":"1395709076","filename":"file2"},{"photo_id":"1395709080","filename":"file4"},{"photo_id":"1395709073","filename":"file1"},{"photo_id":"1395709071","filename":"file0"},{"photo_id":"1395709078","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395709078":["hashtag1","hashtag2"]},{"1395709071":["hashtag1","hashtag2"]},{"1395709080":["hashtag1","hashtag2"]},{"1395709073":["hashtag1","hashtag2"]},{"1395709082":["hashtag1","hashtag2"]},{"1395709076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395709078, 1395709071, 1395709080, 1395709073, 1395709082, 1395709076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.906678438186646 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:03:03.409659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/01/image_22112025_16_01_54_2581.jpg', '/home/pi/Desktop/images/22112025/16/02/image_22112025_16_02_18_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/01/image_22112025_16_01_54_2581.jpg
/home/pi/Desktop/images/22112025/16/02/image_22112025_16_02_18_2580.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709093","1395709095"],"photo_ids_order":["1395709093","1395709095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19c51cf80d524eb62da373560d30be38.jpg","text":"TemporaryFile(/tmp/multipartBody1929826037474226912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823843977,"filename":"image_22112025_16_01_54_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a90b212cf639d11116f3340efd0f7201.jpg","text":"TemporaryFile(/tmp/multipartBody3861284330973228647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823843977,"filename":"image_22112025_16_02_18_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395709095","file0":"1395709093"},"map_files_photo_id_array":[{"photo_id":"1395709095","filename":"file1"},{"photo_id":"1395709093","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709093":["hashtag1","hashtag2"]},{"1395709095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709093, 1395709095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.67917561531067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:03:22.861751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/02/image_22112025_16_02_45_2588.jpg', '/home/pi/Desktop/images/22112025/16/03/image_22112025_16_03_30_2560.jpg', '/home/pi/Desktop/images/22112025/16/03/image_22112025_16_03_34_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/02/image_22112025_16_02_45_2588.jpg
/home/pi/Desktop/images/22112025/16/03/image_22112025_16_03_30_2560.jpg
/home/pi/Desktop/images/22112025/16/03/image_22112025_16_03_34_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709099","1395709101","1395709097"],"photo_ids_order":["1395709097","1395709099","1395709101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15cad3f5f7158735a06a084056226b5f.jpg","text":"TemporaryFile(/tmp/multipartBody866589000618107389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823863385,"filename":"image_22112025_16_03_30_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e90e2f22d77faa9dea4837f0d903da29.jpg","text":"TemporaryFile(/tmp/multipartBody899644405082200963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823863385,"filename":"image_22112025_16_03_34_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12d8d014baf425d2b91f5233ad6c1903.jpg","text":"TemporaryFile(/tmp/multipartBody5346443961654301078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823863385,"filename":"image_22112025_16_02_45_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709101","file1":"1395709099","file0":"1395709097"},"map_files_photo_id_array":[{"photo_id":"1395709101","filename":"file2"},{"photo_id":"1395709099","filename":"file1"},{"photo_id":"1395709097","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709099":["hashtag1","hashtag2"]},{"1395709101":["hashtag1","hashtag2"]},{"1395709097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709099, 1395709101, 1395709097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.92165994644165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:04:02.589904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_49_2821.jpg', '/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_52_2644.jpg', '/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_55_3790.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_01_2743.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_16_2796.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_22_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_49_2821.jpg
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_52_2644.jpg
/home/pi/Desktop/images/20112025/19/05/image_20112025_19_05_55_3790.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_01_2743.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_16_2796.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_22_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709112","1395709111","1395709114","1395709113","1395709116","1395709119"],"photo_ids_order":["1395709111","1395709112","1395709113","1395709114","1395709116","1395709119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8376f41100bf7ab2c284c33820d73e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2936109662263185716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823904790,"filename":"image_20112025_19_05_52_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6813c9dc7fdc0b04b51af7a437c3936.jpg","text":"TemporaryFile(/tmp/multipartBody1249883273147229674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823904790,"filename":"image_20112025_19_05_49_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/636139a77245fad050eb3cae26631a2f.jpg","text":"TemporaryFile(/tmp/multipartBody4271506144822223248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823904790,"filename":"image_20112025_19_06_01_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2cd3451f5071d685f5e281df26d0513.jpg","text":"TemporaryFile(/tmp/multipartBody3102622031615683064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823904790,"filename":"image_20112025_19_05_55_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0221b6a83279039a13536f367cda915a.jpg","text":"TemporaryFile(/tmp/multipartBody7631115028234343362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823904790,"filename":"image_20112025_19_06_16_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/876aa765ba4c3cfd9fda74235250589b.jpg","text":"TemporaryFile(/tmp/multipartBody2903026838395163452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823904790,"filename":"image_20112025_19_06_22_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709113","file1":"1395709112","file0":"1395709111","file4":"1395709116","file5":"1395709119","file3":"1395709114"},"map_files_photo_id_array":[{"photo_id":"1395709119","filename":"file5"},{"photo_id":"1395709113","filename":"file2"},{"photo_id":"1395709116","filename":"file4"},{"photo_id":"1395709112","filename":"file1"},{"photo_id":"1395709111","filename":"file0"},{"photo_id":"1395709114","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395709112":["hashtag1","hashtag2"]},{"1395709111":["hashtag1","hashtag2"]},{"1395709114":["hashtag1","hashtag2"]},{"1395709113":["hashtag1","hashtag2"]},{"1395709116":["hashtag1","hashtag2"]},{"1395709119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395709112, 1395709111, 1395709114, 1395709113, 1395709116, 1395709119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.448787450790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:04:41.938673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/03/image_22112025_16_03_37_2832.jpg', '/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_25_3535.jpg', '/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_37_1595.jpg', '/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_43_2765.jpg', '/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_45_2595.jpg', '/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_48_3290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/03/image_22112025_16_03_37_2832.jpg
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_25_3535.jpg
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_37_1595.jpg
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_43_2765.jpg
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_45_2595.jpg
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_48_3290.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709139","1395709141","1395709135","1395709129","1395709140","1395709137"],"photo_ids_order":["1395709129","1395709135","1395709137","1395709139","1395709140","1395709141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28febb6a6f7b8a6a9e3b6fe8b50829a2.jpg","text":"TemporaryFile(/tmp/multipartBody3091534739956507319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823942524,"filename":"image_22112025_16_04_43_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8abe70458b891aca72b9f23e8d9bcdfb.jpg","text":"TemporaryFile(/tmp/multipartBody3618388023110868689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823942524,"filename":"image_22112025_16_04_48_3290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d1dda9c584e63b8798378c2bf4b48ca.jpg","text":"TemporaryFile(/tmp/multipartBody6004871435383786173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823942524,"filename":"image_22112025_16_04_25_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c17d53b9f286d52c5f6da968706c169.jpg","text":"TemporaryFile(/tmp/multipartBody2521202800790977624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823942524,"filename":"image_22112025_16_03_37_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc7f4c0d850eaf9475b56e21260e0215.jpg","text":"TemporaryFile(/tmp/multipartBody6069976982449513721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823942524,"filename":"image_22112025_16_04_45_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da16d67d03668b73e4fb18d76b1f77d5.jpg","text":"TemporaryFile(/tmp/multipartBody6785201220842597403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763823942524,"filename":"image_22112025_16_04_37_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709137","file1":"1395709135","file0":"1395709129","file4":"1395709140","file5":"1395709141","file3":"1395709139"},"map_files_photo_id_array":[{"photo_id":"1395709141","filename":"file5"},{"photo_id":"1395709137","filename":"file2"},{"photo_id":"1395709140","filename":"file4"},{"photo_id":"1395709135","filename":"file1"},{"photo_id":"1395709129","filename":"file0"},{"photo_id":"1395709139","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709139":["hashtag1","hashtag2"]},{"1395709141":["hashtag1","hashtag2"]},{"1395709135":["hashtag1","hashtag2"]},{"1395709129":["hashtag1","hashtag2"]},{"1395709140":["hashtag1","hashtag2"]},{"1395709137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709139, 1395709141, 1395709135, 1395709129, 1395709140, 1395709137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.241639852523804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:05:22.118532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_51_2722.jpg', '/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_57_5907.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_07_3012.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_13_2602.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_19_2586.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_31_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_51_2722.jpg
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_57_5907.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_07_3012.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_13_2602.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_19_2586.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_31_2661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 4.000913143157959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:05:42.233733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_51_2722.jpg', '/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_57_5907.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_07_3012.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_13_2602.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_19_2586.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_31_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_51_2722.jpg
/home/pi/Desktop/images/22112025/16/04/image_22112025_16_04_57_5907.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_07_3012.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_13_2602.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_19_2586.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_31_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709178","1395709171","1395709164","1395709158","1395709173","1395709172"],"photo_ids_order":["1395709158","1395709164","1395709171","1395709172","1395709173","1395709178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2ef30513cf0300b82842403f59c8aa8.jpg","text":"TemporaryFile(/tmp/multipartBody7675593778691936114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824002849,"filename":"image_22112025_16_05_31_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b119f0354e032595d066c592f1b2b44a.jpg","text":"TemporaryFile(/tmp/multipartBody1076289232474866953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824002849,"filename":"image_22112025_16_05_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed3c63ec3bc47292d4fe1ff1bfabda60.jpg","text":"TemporaryFile(/tmp/multipartBody8998478322494016945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824002849,"filename":"image_22112025_16_04_57_5907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e301132e69181cd1c62bebab3a63b88.jpg","text":"TemporaryFile(/tmp/multipartBody5484112560667311338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824002849,"filename":"image_22112025_16_04_51_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4724422630f0b0e205e9376efa1bf553.jpg","text":"TemporaryFile(/tmp/multipartBody6972376463477161412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824002849,"filename":"image_22112025_16_05_19_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50e46a98ee90a0a1302aceebf1ba719c.jpg","text":"TemporaryFile(/tmp/multipartBody3424515841651569579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824002849,"filename":"image_22112025_16_05_13_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709171","file1":"1395709164","file0":"1395709158","file4":"1395709173","file5":"1395709178","file3":"1395709172"},"map_files_photo_id_array":[{"photo_id":"1395709178","filename":"file5"},{"photo_id":"1395709171","filename":"file2"},{"photo_id":"1395709173","filename":"file4"},{"photo_id":"1395709164","filename":"file1"},{"photo_id":"1395709158","filename":"file0"},{"photo_id":"1395709172","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709178":["hashtag1","hashtag2"]},{"1395709171":["hashtag1","hashtag2"]},{"1395709164":["hashtag1","hashtag2"]},{"1395709158":["hashtag1","hashtag2"]},{"1395709173":["hashtag1","hashtag2"]},{"1395709172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709178, 1395709171, 1395709164, 1395709158, 1395709173, 1395709172)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.75557780265808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:06:42.503128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_46_2558.jpg', '/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_52_3609.jpg', '/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_04_2688.jpg', '/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_19_2754.jpg', '/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_22_2597.jpg', '/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_27_4845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_46_2558.jpg
/home/pi/Desktop/images/22112025/16/05/image_22112025_16_05_52_3609.jpg
/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_04_2688.jpg
/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_19_2754.jpg
/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_22_2597.jpg
/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_27_4845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709198","1395709195","1395709197","1395709191","1395709193","1395709196"],"photo_ids_order":["1395709191","1395709193","1395709195","1395709196","1395709197","1395709198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c83912af4c94b4653b6bbad80147ad75.jpg","text":"TemporaryFile(/tmp/multipartBody7091900531873442942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824063081,"filename":"image_22112025_16_06_27_4845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ca18252478d82423b27026caf1583f5.jpg","text":"TemporaryFile(/tmp/multipartBody7515007914035862582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824063081,"filename":"image_22112025_16_06_04_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0e175955339a29e5165bf49c1f1b98c.jpg","text":"TemporaryFile(/tmp/multipartBody5946852276599246726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824063081,"filename":"image_22112025_16_06_22_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39093595bbb0b990127f0e44025021bf.jpg","text":"TemporaryFile(/tmp/multipartBody4498790774906082081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824063081,"filename":"image_22112025_16_05_46_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b5bf32db80adc7a146eefc91b07165a.jpg","text":"TemporaryFile(/tmp/multipartBody8083622175672651360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824063081,"filename":"image_22112025_16_05_52_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e87bcfcf96038f9f15facecb103a3a19.jpg","text":"TemporaryFile(/tmp/multipartBody2863222012342995656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824063081,"filename":"image_22112025_16_06_19_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709195","file1":"1395709193","file0":"1395709191","file4":"1395709197","file5":"1395709198","file3":"1395709196"},"map_files_photo_id_array":[{"photo_id":"1395709198","filename":"file5"},{"photo_id":"1395709195","filename":"file2"},{"photo_id":"1395709197","filename":"file4"},{"photo_id":"1395709193","filename":"file1"},{"photo_id":"1395709191","filename":"file0"},{"photo_id":"1395709196","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709198":["hashtag1","hashtag2"]},{"1395709195":["hashtag1","hashtag2"]},{"1395709197":["hashtag1","hashtag2"]},{"1395709191":["hashtag1","hashtag2"]},{"1395709193":["hashtag1","hashtag2"]},{"1395709196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709198, 1395709195, 1395709197, 1395709191, 1395709193, 1395709196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55686926841736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:07:22.863796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_31_1761.jpg', '/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_43_1676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_31_1761.jpg
/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_43_1676.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709205","1395709202"],"photo_ids_order":["1395709202","1395709205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/420a2c1b3319f28cf45d7478f242a53a.jpg","text":"TemporaryFile(/tmp/multipartBody8452802857059462911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824103387,"filename":"image_22112025_16_06_43_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24520174891dd4df0dbad000adca4e95.jpg","text":"TemporaryFile(/tmp/multipartBody7412238285600770725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824103387,"filename":"image_22112025_16_06_31_1761.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395709205","file0":"1395709202"},"map_files_photo_id_array":[{"photo_id":"1395709205","filename":"file1"},{"photo_id":"1395709202","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709205":["hashtag1","hashtag2"]},{"1395709202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709205, 1395709202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.832732439041138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:07:42.745158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_29_2709.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_31_2575.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_35_3598.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_37_2559.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_41_3596.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_44_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_29_2709.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_31_2575.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_35_3598.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_37_2559.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_41_3596.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_44_2676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 3.460599899291992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:08:02.440517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:08:21.927846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_29_2709.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_31_2575.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_35_3598.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_37_2559.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_41_3596.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_44_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_29_2709.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_31_2575.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_35_3598.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_37_2559.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_41_3596.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_44_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709234","1395709228","1395709237","1395709231","1395709225","1395709239"],"photo_ids_order":["1395709225","1395709228","1395709231","1395709234","1395709237","1395709239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3478a91631f25c47b98a7cab6c4c3da3.jpg","text":"TemporaryFile(/tmp/multipartBody883527523623616938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824168639,"filename":"image_30102025_18_02_37_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e45d3776fca90c2fbba591041092892.jpg","text":"TemporaryFile(/tmp/multipartBody9080010310900453213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824168639,"filename":"image_30102025_18_02_31_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e3e005353b67faf1caf1b5cbf0eca59.jpg","text":"TemporaryFile(/tmp/multipartBody8056119913342232082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824168639,"filename":"image_30102025_18_02_41_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/716db04f2b8df86fd3c82e0daf1d0ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3738623652476958564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824168639,"filename":"image_30102025_18_02_35_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e878e61d57bebd7f2a6147ed0c5885e.jpg","text":"TemporaryFile(/tmp/multipartBody849908525607751043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824168639,"filename":"image_30102025_18_02_29_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5ad5f26ead393f5655ab076f2cb2a09.jpg","text":"TemporaryFile(/tmp/multipartBody284953544008043311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824168639,"filename":"image_30102025_18_02_44_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709231","file1":"1395709228","file0":"1395709225","file4":"1395709237","file5":"1395709239","file3":"1395709234"},"map_files_photo_id_array":[{"photo_id":"1395709239","filename":"file5"},{"photo_id":"1395709231","filename":"file2"},{"photo_id":"1395709237","filename":"file4"},{"photo_id":"1395709228","filename":"file1"},{"photo_id":"1395709225","filename":"file0"},{"photo_id":"1395709234","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395709234":["hashtag1","hashtag2"]},{"1395709228":["hashtag1","hashtag2"]},{"1395709237":["hashtag1","hashtag2"]},{"1395709231":["hashtag1","hashtag2"]},{"1395709225":["hashtag1","hashtag2"]},{"1395709239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395709234, 1395709228, 1395709237, 1395709231, 1395709225, 1395709239)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395709231 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_35_3598.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395709231 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_35_3598.jpg";
uploaded 6 photos
time to upload: 66.33925890922546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:09:42.712829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_52_2539.jpg', '/home/pi/Desktop/images/22112025/16/07/image_22112025_16_07_13_3557.jpg', '/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_22_3561.jpg', '/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_34_2706.jpg', '/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_37_3191.jpg', '/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_39_2491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/06/image_22112025_16_06_52_2539.jpg
/home/pi/Desktop/images/22112025/16/07/image_22112025_16_07_13_3557.jpg
/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_22_3561.jpg
/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_34_2706.jpg
/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_37_3191.jpg
/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_39_2491.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709256","1395709252","1395709255","1395709258","1395709257","1395709254"],"photo_ids_order":["1395709252","1395709254","1395709255","1395709256","1395709257","1395709258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c6afccef29b586b3a52faab5241bd12.jpg","text":"TemporaryFile(/tmp/multipartBody6691350343077402906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824243305,"filename":"image_22112025_16_08_34_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5764ef65cb7261df0674bbdce4152bec.jpg","text":"TemporaryFile(/tmp/multipartBody1805933757036183875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824243305,"filename":"image_22112025_16_06_52_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f963fbe7d9dd0ff75695b7d96189f14.jpg","text":"TemporaryFile(/tmp/multipartBody5603314951503316665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824243305,"filename":"image_22112025_16_08_22_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2b4602ee06f08d050bc3134b86e55e5.jpg","text":"TemporaryFile(/tmp/multipartBody2054528874672653803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824243305,"filename":"image_22112025_16_08_39_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9dd868c216ac058d70bd62c6b7d121a2.jpg","text":"TemporaryFile(/tmp/multipartBody1691332366154898104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824243305,"filename":"image_22112025_16_08_37_3191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cdd2351839230e0e9f009940a081ffb.jpg","text":"TemporaryFile(/tmp/multipartBody3633705097432668421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824243305,"filename":"image_22112025_16_07_13_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709255","file1":"1395709254","file0":"1395709252","file4":"1395709257","file5":"1395709258","file3":"1395709256"},"map_files_photo_id_array":[{"photo_id":"1395709258","filename":"file5"},{"photo_id":"1395709255","filename":"file2"},{"photo_id":"1395709257","filename":"file4"},{"photo_id":"1395709254","filename":"file1"},{"photo_id":"1395709252","filename":"file0"},{"photo_id":"1395709256","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709256":["hashtag1","hashtag2"]},{"1395709252":["hashtag1","hashtag2"]},{"1395709255":["hashtag1","hashtag2"]},{"1395709258":["hashtag1","hashtag2"]},{"1395709257":["hashtag1","hashtag2"]},{"1395709254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709256, 1395709252, 1395709255, 1395709258, 1395709257, 1395709254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4105920791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:10:21.932263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_43_3769.jpg', '/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_54_2511.jpg', '/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_58_3647.jpg', '/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_01_2560.jpg', '/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_04_3637.jpg', '/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_07_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_43_3769.jpg
/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_54_2511.jpg
/home/pi/Desktop/images/22112025/16/08/image_22112025_16_08_58_3647.jpg
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_01_2560.jpg
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_04_3637.jpg
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_07_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709277","1395709279","1395709264","1395709267","1395709260","1395709274"],"photo_ids_order":["1395709260","1395709264","1395709267","1395709274","1395709277","1395709279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b263b4f90dd1ff9d4bd2ef294873d608.jpg","text":"TemporaryFile(/tmp/multipartBody3414814487518172389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824282511,"filename":"image_22112025_16_09_04_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f22f8a55fa4430e8f100f956992f7e1.jpg","text":"TemporaryFile(/tmp/multipartBody8316976822677489680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824282511,"filename":"image_22112025_16_09_07_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3306db7d9dbc4d12772d45dd26aa7750.jpg","text":"TemporaryFile(/tmp/multipartBody8776554586462483164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824282511,"filename":"image_22112025_16_08_54_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18bd0bc52930492a39aa393eb2d4cd2c.jpg","text":"TemporaryFile(/tmp/multipartBody2676150004715606888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824282511,"filename":"image_22112025_16_08_58_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07bf559b0928bbd7fd4787f54f5ba8d6.jpg","text":"TemporaryFile(/tmp/multipartBody835091670270077890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824282511,"filename":"image_22112025_16_08_43_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fa3ed8b0e2f7691a0db9add83a24c49.jpg","text":"TemporaryFile(/tmp/multipartBody2404026497776514592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824282511,"filename":"image_22112025_16_09_01_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709267","file1":"1395709264","file0":"1395709260","file4":"1395709277","file5":"1395709279","file3":"1395709274"},"map_files_photo_id_array":[{"photo_id":"1395709279","filename":"file5"},{"photo_id":"1395709267","filename":"file2"},{"photo_id":"1395709277","filename":"file4"},{"photo_id":"1395709264","filename":"file1"},{"photo_id":"1395709260","filename":"file0"},{"photo_id":"1395709274","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709277":["hashtag1","hashtag2"]},{"1395709279":["hashtag1","hashtag2"]},{"1395709264":["hashtag1","hashtag2"]},{"1395709267":["hashtag1","hashtag2"]},{"1395709260":["hashtag1","hashtag2"]},{"1395709274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709277, 1395709279, 1395709264, 1395709267, 1395709260, 1395709274)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.86040711402893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:11:22.122802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_22_1625.jpg', '/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_29_6809.jpg', '/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_32_1468.jpg', '/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_37_3524.jpg', '/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_40_2647.jpg', '/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_51_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_22_1625.jpg
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_29_6809.jpg
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_32_1468.jpg
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_37_3524.jpg
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_40_2647.jpg
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_51_2530.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709283","1395709293","1395709296","1395709299","1395709286","1395709289"],"photo_ids_order":["1395709283","1395709286","1395709289","1395709293","1395709296","1395709299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dc0bdc410fb3ba37f08dfe7a4928a83.jpg","text":"TemporaryFile(/tmp/multipartBody2878739474948038045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824342704,"filename":"image_22112025_16_09_22_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d6ad1b260d6d97f5d55f8e24c5fb7b8.jpg","text":"TemporaryFile(/tmp/multipartBody2122884375843348059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824342704,"filename":"image_22112025_16_09_37_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbfdc8fe267e70cf20505428f59385e6.jpg","text":"TemporaryFile(/tmp/multipartBody8414831376344059886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824342704,"filename":"image_22112025_16_09_40_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc649a9cef1395eb924f930f37cf8bac.jpg","text":"TemporaryFile(/tmp/multipartBody8798455402212978084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824342704,"filename":"image_22112025_16_09_51_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec8495f1e187396b6012b0142b659497.jpg","text":"TemporaryFile(/tmp/multipartBody4872703225759354611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824342704,"filename":"image_22112025_16_09_29_6809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0cd51600fb798e7d9fef8a7e1bc1fa5.jpg","text":"TemporaryFile(/tmp/multipartBody594442923452272456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824342704,"filename":"image_22112025_16_09_32_1468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709289","file1":"1395709286","file0":"1395709283","file4":"1395709296","file5":"1395709299","file3":"1395709293"},"map_files_photo_id_array":[{"photo_id":"1395709299","filename":"file5"},{"photo_id":"1395709289","filename":"file2"},{"photo_id":"1395709296","filename":"file4"},{"photo_id":"1395709286","filename":"file1"},{"photo_id":"1395709283","filename":"file0"},{"photo_id":"1395709293","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709283":["hashtag1","hashtag2"]},{"1395709293":["hashtag1","hashtag2"]},{"1395709296":["hashtag1","hashtag2"]},{"1395709299":["hashtag1","hashtag2"]},{"1395709286":["hashtag1","hashtag2"]},{"1395709289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709283, 1395709293, 1395709296, 1395709299, 1395709286, 1395709289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9758403301239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:12:02.471461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_28_2647.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_31_3634.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_40_3692.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_43_2925.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_46_2653.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_49_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_28_2647.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_31_3634.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_40_3692.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_43_2925.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_46_2653.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_49_2538.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 4.537617921829224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:12:22.050670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_55_3250.jpg', '/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_12_2622.jpg', '/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_25_3587.jpg', '/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_34_9230.jpg', '/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_37_1533.jpg', '/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_47_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/09/image_22112025_16_09_55_3250.jpg
/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_12_2622.jpg
/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_25_3587.jpg
/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_34_9230.jpg
/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_37_1533.jpg
/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_47_1554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709331","1395709325","1395709328","1395709313","1395709321","1395709317"],"photo_ids_order":["1395709313","1395709317","1395709321","1395709325","1395709328","1395709331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d4e726df92c7d19c0655ec4d27e5278.jpg","text":"TemporaryFile(/tmp/multipartBody7485340594528063525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824402626,"filename":"image_22112025_16_11_47_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/095dc543a128d94761654ded34a15772.jpg","text":"TemporaryFile(/tmp/multipartBody1738248227459478730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824402626,"filename":"image_22112025_16_11_34_9230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/740ae63ca56b0ad50002f1332df9ae7c.jpg","text":"TemporaryFile(/tmp/multipartBody155279280684357321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824402626,"filename":"image_22112025_16_11_37_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b913eb265b904052b849a883f6c242a.jpg","text":"TemporaryFile(/tmp/multipartBody3825740867395480530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824402626,"filename":"image_22112025_16_09_55_3250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e2f315be4120fb6acbb40fa16b07776.jpg","text":"TemporaryFile(/tmp/multipartBody5200878474617341982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824402626,"filename":"image_22112025_16_11_25_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fc8121adadbac38ac4e624c63072386.jpg","text":"TemporaryFile(/tmp/multipartBody4601039567913155318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824402626,"filename":"image_22112025_16_11_12_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709321","file1":"1395709317","file0":"1395709313","file4":"1395709328","file5":"1395709331","file3":"1395709325"},"map_files_photo_id_array":[{"photo_id":"1395709331","filename":"file5"},{"photo_id":"1395709321","filename":"file2"},{"photo_id":"1395709328","filename":"file4"},{"photo_id":"1395709317","filename":"file1"},{"photo_id":"1395709313","filename":"file0"},{"photo_id":"1395709325","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709331":["hashtag1","hashtag2"]},{"1395709325":["hashtag1","hashtag2"]},{"1395709328":["hashtag1","hashtag2"]},{"1395709313":["hashtag1","hashtag2"]},{"1395709321":["hashtag1","hashtag2"]},{"1395709317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709331, 1395709325, 1395709328, 1395709313, 1395709321, 1395709317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.812724113464355 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:13:22.384081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_49_1535.jpg', '/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_10_2912.jpg', '/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_12_2684.jpg', '/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_21_8991.jpg', '/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_26_1648.jpg', '/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_32_6120.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/11/image_22112025_16_11_49_1535.jpg
/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_10_2912.jpg
/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_12_2684.jpg
/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_21_8991.jpg
/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_26_1648.jpg
/home/pi/Desktop/images/22112025/16/12/image_22112025_16_12_32_6120.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709345","1395709339","1395709342","1395709350","1395709347","1395709335"],"photo_ids_order":["1395709335","1395709339","1395709342","1395709345","1395709347","1395709350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59dba6f911df68705639e496b839841f.jpg","text":"TemporaryFile(/tmp/multipartBody6938485531832999728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824462973,"filename":"image_22112025_16_12_21_8991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/721783b7f4ac790e68c704370d24eb4d.jpg","text":"TemporaryFile(/tmp/multipartBody6460742483990737844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824462973,"filename":"image_22112025_16_12_10_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7856603ab4143f187228f6d1a71217fc.jpg","text":"TemporaryFile(/tmp/multipartBody4882094689798016530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824462973,"filename":"image_22112025_16_12_12_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/beb1dcde05fa9c81051f3a8dd3eda02e.jpg","text":"TemporaryFile(/tmp/multipartBody416027427301955554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824462973,"filename":"image_22112025_16_12_32_6120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53eb1a481f60f94fa9a3a70f86bafa24.jpg","text":"TemporaryFile(/tmp/multipartBody8422779917613686540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824462973,"filename":"image_22112025_16_12_26_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95ba5c4883a97ac95bec7e8b6681dbc4.jpg","text":"TemporaryFile(/tmp/multipartBody8677471300828538105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824462973,"filename":"image_22112025_16_11_49_1535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709342","file1":"1395709339","file0":"1395709335","file4":"1395709347","file5":"1395709350","file3":"1395709345"},"map_files_photo_id_array":[{"photo_id":"1395709350","filename":"file5"},{"photo_id":"1395709342","filename":"file2"},{"photo_id":"1395709347","filename":"file4"},{"photo_id":"1395709339","filename":"file1"},{"photo_id":"1395709335","filename":"file0"},{"photo_id":"1395709345","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709345":["hashtag1","hashtag2"]},{"1395709339":["hashtag1","hashtag2"]},{"1395709342":["hashtag1","hashtag2"]},{"1395709350":["hashtag1","hashtag2"]},{"1395709347":["hashtag1","hashtag2"]},{"1395709335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709345, 1395709339, 1395709342, 1395709350, 1395709347, 1395709335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48635792732239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:14:03.381063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_04_2680.jpg', '/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_25_3705.jpg', '/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_34_3564.jpg', '/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_36_2485.jpg', '/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_39_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_04_2680.jpg
/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_25_3705.jpg
/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_34_3564.jpg
/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_36_2485.jpg
/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_39_2823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709355","1395709358","1395709356","1395709353","1395709352"],"photo_ids_order":["1395709352","1395709353","1395709355","1395709356","1395709358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5b08a00657260dd90c1342b790ea95a.jpg","text":"TemporaryFile(/tmp/multipartBody7557890230957000110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824503994,"filename":"image_22112025_16_13_34_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8595747f54b78571363ffb16d9a2777f.jpg","text":"TemporaryFile(/tmp/multipartBody6072642612633603374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824503994,"filename":"image_22112025_16_13_39_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e825ad291769df163576f08d677ade74.jpg","text":"TemporaryFile(/tmp/multipartBody2903164072351765710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824503994,"filename":"image_22112025_16_13_36_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cb8beb19c9bc6ca8abeed58e8154812.jpg","text":"TemporaryFile(/tmp/multipartBody188694250387334440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824503994,"filename":"image_22112025_16_13_25_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bd8f6a3ebea3bfe25f4027d6794affc.jpg","text":"TemporaryFile(/tmp/multipartBody7647938600320321507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824503994,"filename":"image_22112025_16_13_04_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709355","file1":"1395709353","file0":"1395709352","file4":"1395709358","file3":"1395709356"},"map_files_photo_id_array":[{"photo_id":"1395709355","filename":"file2"},{"photo_id":"1395709358","filename":"file4"},{"photo_id":"1395709353","filename":"file1"},{"photo_id":"1395709352","filename":"file0"},{"photo_id":"1395709356","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709355":["hashtag1","hashtag2"]},{"1395709358":["hashtag1","hashtag2"]},{"1395709356":["hashtag1","hashtag2"]},{"1395709353":["hashtag1","hashtag2"]},{"1395709352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709355, 1395709358, 1395709356, 1395709353, 1395709352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.765621185302734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:14:42.590438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_43_3599.jpg', '/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_09_2463.jpg', '/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_13_3577.jpg', '/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_22_3509.jpg', '/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_31_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/13/image_22112025_16_13_43_3599.jpg
/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_09_2463.jpg
/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_13_3577.jpg
/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_22_3509.jpg
/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_31_3566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709382","1395709381","1395709384","1395709383","1395709377"],"photo_ids_order":["1395709377","1395709381","1395709382","1395709383","1395709384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfb1dd2d973e24d6f77770f5cbdcee65.jpg","text":"TemporaryFile(/tmp/multipartBody7900267599524210950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824543149,"filename":"image_22112025_16_14_13_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3127b40c162af74df7671cd54b59d09.jpg","text":"TemporaryFile(/tmp/multipartBody7968565523177004529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824543149,"filename":"image_22112025_16_14_09_2463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdff24815ba6542aff319e961b63e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody1538060435452596948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824543149,"filename":"image_22112025_16_14_31_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc72c489fa89adbbc6b5f5afa5d592a6.jpg","text":"TemporaryFile(/tmp/multipartBody1800609444396980403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824543149,"filename":"image_22112025_16_14_22_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a0dd12422fe4eb0ebeb41f1b18bce4c.jpg","text":"TemporaryFile(/tmp/multipartBody5596597852498591984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824543149,"filename":"image_22112025_16_13_43_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709382","file1":"1395709381","file0":"1395709377","file4":"1395709384","file3":"1395709383"},"map_files_photo_id_array":[{"photo_id":"1395709382","filename":"file2"},{"photo_id":"1395709384","filename":"file4"},{"photo_id":"1395709381","filename":"file1"},{"photo_id":"1395709377","filename":"file0"},{"photo_id":"1395709383","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709382":["hashtag1","hashtag2"]},{"1395709381":["hashtag1","hashtag2"]},{"1395709384":["hashtag1","hashtag2"]},{"1395709383":["hashtag1","hashtag2"]},{"1395709377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709382, 1395709381, 1395709384, 1395709383, 1395709377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.85916829109192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:15:21.804114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_48_2521.jpg', '/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_07_3012.jpg', '/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_11_3515.jpg', '/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_13_2471.jpg', '/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_23_3606.jpg', '/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_26_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/14/image_22112025_16_14_48_2521.jpg
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_07_3012.jpg
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_11_3515.jpg
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_13_2471.jpg
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_23_3606.jpg
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_26_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709393","1395709396","1395709399","1395709402","1395709386","1395709389"],"photo_ids_order":["1395709386","1395709389","1395709393","1395709396","1395709399","1395709402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae12392229be02e0b5a395654209bb00.jpg","text":"TemporaryFile(/tmp/multipartBody4503459107509257454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824582388,"filename":"image_22112025_16_15_11_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/589b7d906f088bd3af5a12a7c2a13808.jpg","text":"TemporaryFile(/tmp/multipartBody741590224135797986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824582388,"filename":"image_22112025_16_15_13_2471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/030cb9955e635ead41bea0bfd4f6f6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3925086441080616406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824582388,"filename":"image_22112025_16_15_23_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1714d5a2a0f08146cb40386082d78729.jpg","text":"TemporaryFile(/tmp/multipartBody4314361634218681747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824582388,"filename":"image_22112025_16_15_26_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/893359cea156ef8893c527df5dccdcab.jpg","text":"TemporaryFile(/tmp/multipartBody6083068484581826208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824582388,"filename":"image_22112025_16_14_48_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f8ab35f6d0b281202d256ec92d115dc.jpg","text":"TemporaryFile(/tmp/multipartBody7597551687887393265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824582388,"filename":"image_22112025_16_15_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709393","file1":"1395709389","file0":"1395709386","file4":"1395709399","file5":"1395709402","file3":"1395709396"},"map_files_photo_id_array":[{"photo_id":"1395709402","filename":"file5"},{"photo_id":"1395709393","filename":"file2"},{"photo_id":"1395709399","filename":"file4"},{"photo_id":"1395709389","filename":"file1"},{"photo_id":"1395709386","filename":"file0"},{"photo_id":"1395709396","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709393":["hashtag1","hashtag2"]},{"1395709396":["hashtag1","hashtag2"]},{"1395709399":["hashtag1","hashtag2"]},{"1395709402":["hashtag1","hashtag2"]},{"1395709386":["hashtag1","hashtag2"]},{"1395709389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709393, 1395709396, 1395709399, 1395709402, 1395709386, 1395709389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89463710784912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:16:02.378107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_32_2485.jpg', '/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_34_2742.jpg', '/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_40_2536.jpg', '/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_47_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_32_2485.jpg
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_34_2742.jpg
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_40_2536.jpg
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_47_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709406","1395709405","1395709404","1395709407"],"photo_ids_order":["1395709404","1395709405","1395709406","1395709407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ca746c59c861d758e9c31c0bd998110.jpg","text":"TemporaryFile(/tmp/multipartBody2540175939393939076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824622958,"filename":"image_22112025_16_15_40_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7dd65c6fd795303dcf68a25274107dce.jpg","text":"TemporaryFile(/tmp/multipartBody4938094870158628227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824622958,"filename":"image_22112025_16_15_34_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51d6ad608054a932bd7a21d2e99bb652.jpg","text":"TemporaryFile(/tmp/multipartBody8470345207140166843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824622958,"filename":"image_22112025_16_15_32_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/944f95e77b2069deb3f06fcbd07edfe6.jpg","text":"TemporaryFile(/tmp/multipartBody4648640490526333047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824622958,"filename":"image_22112025_16_15_47_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709406","file1":"1395709405","file0":"1395709404","file3":"1395709407"},"map_files_photo_id_array":[{"photo_id":"1395709406","filename":"file2"},{"photo_id":"1395709405","filename":"file1"},{"photo_id":"1395709404","filename":"file0"},{"photo_id":"1395709407","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709406":["hashtag1","hashtag2"]},{"1395709405":["hashtag1","hashtag2"]},{"1395709404":["hashtag1","hashtag2"]},{"1395709407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709406, 1395709405, 1395709404, 1395709407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.18617868423462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:16:44.850952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_56_2592.jpg', '/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_17_1546.jpg', '/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_28_2566.jpg', '/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_38_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/15/image_22112025_16_15_56_2592.jpg
/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_17_1546.jpg
/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_28_2566.jpg
/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_38_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709421","1395709429","1395709423","1395709425"],"photo_ids_order":["1395709421","1395709423","1395709425","1395709429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cab8ce3f47114995166736b7ac54291.jpg","text":"TemporaryFile(/tmp/multipartBody3928241098657361518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824665393,"filename":"image_22112025_16_15_56_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0dd304064b034fdb599dce447519348.jpg","text":"TemporaryFile(/tmp/multipartBody7735416112355090126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824665393,"filename":"image_22112025_16_16_38_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74bef76438abfabc0d6818e5e0c01cef.jpg","text":"TemporaryFile(/tmp/multipartBody6626964731869287484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824665393,"filename":"image_22112025_16_16_17_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0133def3e87c47c0aab076a993f8fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5844742053619625432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824665393,"filename":"image_22112025_16_16_28_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709425","file1":"1395709423","file0":"1395709421","file3":"1395709429"},"map_files_photo_id_array":[{"photo_id":"1395709425","filename":"file2"},{"photo_id":"1395709423","filename":"file1"},{"photo_id":"1395709421","filename":"file0"},{"photo_id":"1395709429","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709421":["hashtag1","hashtag2"]},{"1395709429":["hashtag1","hashtag2"]},{"1395709423":["hashtag1","hashtag2"]},{"1395709425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709421, 1395709429, 1395709423, 1395709425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.37615203857422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:17:22.078416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_59_3574.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_02_2770.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_08_3527.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_26_3517.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_29_2532.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_35_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_59_3574.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_02_2770.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_08_3527.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_26_3517.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_29_2532.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_35_3582.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8252205848693848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:17:42.035754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_59_3574.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_02_2770.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_08_3527.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_26_3517.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_29_2532.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_35_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/16/image_22112025_16_16_59_3574.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_02_2770.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_08_3527.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_26_3517.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_29_2532.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_35_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709475","1395709477","1395709491","1395709476","1395709478","1395709487"],"photo_ids_order":["1395709475","1395709476","1395709477","1395709478","1395709487","1395709491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de1a5741364a83c987decec0870463f9.jpg","text":"TemporaryFile(/tmp/multipartBody7589303875140663931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824729142,"filename":"image_22112025_16_16_59_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad4e02b032475320a2d04f9389d23073.jpg","text":"TemporaryFile(/tmp/multipartBody6399387794345591090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824729142,"filename":"image_22112025_16_17_08_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b838ddc34d4490961882849f0f42a29f.jpg","text":"TemporaryFile(/tmp/multipartBody5900324458749062119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824729142,"filename":"image_22112025_16_17_35_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a327a3b9eeeff5aa10a83e900d5de389.jpg","text":"TemporaryFile(/tmp/multipartBody6973001451047235304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824729142,"filename":"image_22112025_16_17_02_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3317c80caec87f273e72211be79d73bb.jpg","text":"TemporaryFile(/tmp/multipartBody6065767696727984905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824729142,"filename":"image_22112025_16_17_26_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cefec973154fb687989c2aa282c9fceb.jpg","text":"TemporaryFile(/tmp/multipartBody6607245122780963775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824729142,"filename":"image_22112025_16_17_29_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709477","file1":"1395709476","file0":"1395709475","file4":"1395709487","file5":"1395709491","file3":"1395709478"},"map_files_photo_id_array":[{"photo_id":"1395709491","filename":"file5"},{"photo_id":"1395709477","filename":"file2"},{"photo_id":"1395709487","filename":"file4"},{"photo_id":"1395709476","filename":"file1"},{"photo_id":"1395709475","filename":"file0"},{"photo_id":"1395709478","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709475":["hashtag1","hashtag2"]},{"1395709477":["hashtag1","hashtag2"]},{"1395709491":["hashtag1","hashtag2"]},{"1395709476":["hashtag1","hashtag2"]},{"1395709478":["hashtag1","hashtag2"]},{"1395709487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709475, 1395709477, 1395709491, 1395709476, 1395709478, 1395709487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.136860847473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:18:42.969825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_37_2475.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_49_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_37_2475.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_49_2571.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.40609097480773926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:19:02.987762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_37_2475.jpg', '/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_49_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_37_2475.jpg
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_49_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709505","1395709506"],"photo_ids_order":["1395709505","1395709506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfab1cc2e795af930f89d4bcc6752b46.jpg","text":"TemporaryFile(/tmp/multipartBody3631125522721117255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824806086,"filename":"image_22112025_16_17_37_2475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08c92374c8f3daf7bc8c1a38d24c518f.jpg","text":"TemporaryFile(/tmp/multipartBody1684776388041816446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824806086,"filename":"image_22112025_16_17_49_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395709506","file0":"1395709505"},"map_files_photo_id_array":[{"photo_id":"1395709506","filename":"file1"},{"photo_id":"1395709505","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709505":["hashtag1","hashtag2"]},{"1395709506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709505, 1395709506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.881452560424805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:19:42.168264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_53_3610.jpg', '/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_04_2452.jpg', '/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_08_3647.jpg', '/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_10_2706.jpg', '/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_16_3455.jpg', '/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_19_2499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/17/image_22112025_16_17_53_3610.jpg
/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_04_2452.jpg
/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_08_3647.jpg
/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_10_2706.jpg
/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_16_3455.jpg
/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_19_2499.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709523","1395709525","1395709519","1395709522","1395709521","1395709524"],"photo_ids_order":["1395709519","1395709521","1395709522","1395709523","1395709524","1395709525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/818e7f05fa2d72414a3c6fd42a1be078.jpg","text":"TemporaryFile(/tmp/multipartBody4019494258218599957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824842778,"filename":"image_22112025_16_18_10_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cd9ad39e8ecf43ec7aff8c660e1dfc4.jpg","text":"TemporaryFile(/tmp/multipartBody4329301511516448989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824842778,"filename":"image_22112025_16_18_19_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33e293450b72141559254f2e0b7b0246.jpg","text":"TemporaryFile(/tmp/multipartBody8574100997782292925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824842778,"filename":"image_22112025_16_17_53_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e7b27e8a49708db249c172df4a11cb4.jpg","text":"TemporaryFile(/tmp/multipartBody349831846390640889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824842778,"filename":"image_22112025_16_18_08_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/279cad7321d06efddcc9ea6a7c822539.jpg","text":"TemporaryFile(/tmp/multipartBody2089763800818870604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824842778,"filename":"image_22112025_16_18_04_2452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/848258e74a955067f4610117abf56aa1.jpg","text":"TemporaryFile(/tmp/multipartBody276307509410790617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824842778,"filename":"image_22112025_16_18_16_3455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709522","file1":"1395709521","file0":"1395709519","file4":"1395709524","file5":"1395709525","file3":"1395709523"},"map_files_photo_id_array":[{"photo_id":"1395709525","filename":"file5"},{"photo_id":"1395709522","filename":"file2"},{"photo_id":"1395709524","filename":"file4"},{"photo_id":"1395709521","filename":"file1"},{"photo_id":"1395709519","filename":"file0"},{"photo_id":"1395709523","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709523":["hashtag1","hashtag2"]},{"1395709525":["hashtag1","hashtag2"]},{"1395709519":["hashtag1","hashtag2"]},{"1395709522":["hashtag1","hashtag2"]},{"1395709521":["hashtag1","hashtag2"]},{"1395709524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709523, 1395709525, 1395709519, 1395709522, 1395709521, 1395709524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19098448753357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:20:22.382291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_23_3649.jpg', '/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_25_2559.jpg', '/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_43_2648.jpg', '/home/pi/Desktop/images/22112025/16/19/image_22112025_16_19_16_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_23_3649.jpg
/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_25_2559.jpg
/home/pi/Desktop/images/22112025/16/18/image_22112025_16_18_43_2648.jpg
/home/pi/Desktop/images/22112025/16/19/image_22112025_16_19_16_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709531","1395709534","1395709536","1395709527"],"photo_ids_order":["1395709527","1395709531","1395709534","1395709536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bad0b451da61543ce82b677597bc80c.jpg","text":"TemporaryFile(/tmp/multipartBody3852935210808703512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824882960,"filename":"image_22112025_16_18_25_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93bb1187727ad4aecfc9fb62e2d3c117.jpg","text":"TemporaryFile(/tmp/multipartBody9155070420611893129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824882960,"filename":"image_22112025_16_18_43_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/200857cf9467dbdf2d50f77ac1b44085.jpg","text":"TemporaryFile(/tmp/multipartBody7168105845089420750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824882960,"filename":"image_22112025_16_19_16_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56c420d407db87f025f19d377d635565.jpg","text":"TemporaryFile(/tmp/multipartBody3471717040638670337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824882960,"filename":"image_22112025_16_18_23_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709534","file1":"1395709531","file0":"1395709527","file3":"1395709536"},"map_files_photo_id_array":[{"photo_id":"1395709534","filename":"file2"},{"photo_id":"1395709531","filename":"file1"},{"photo_id":"1395709527","filename":"file0"},{"photo_id":"1395709536","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709531":["hashtag1","hashtag2"]},{"1395709534":["hashtag1","hashtag2"]},{"1395709536":["hashtag1","hashtag2"]},{"1395709527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709531, 1395709534, 1395709536, 1395709527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.260371208190918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:21:03.237650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_28_2647.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_31_3634.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_40_3692.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_43_2925.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_46_2653.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_49_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_28_2647.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_31_3634.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_40_3692.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_43_2925.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_46_2653.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_49_2538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709564","1395709558","1395709567","1395709560","1395709557","1395709559"],"photo_ids_order":["1395709557","1395709558","1395709559","1395709560","1395709564","1395709567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2ccba0b93323f31d6bba7db4891b80e.jpg","text":"TemporaryFile(/tmp/multipartBody8637885443551889596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824925314,"filename":"image_20112025_19_06_46_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dbae1810cccf4ff3be193ec49fcbc52.jpg","text":"TemporaryFile(/tmp/multipartBody9090176950292105709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824925314,"filename":"image_20112025_19_06_31_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b74d20e18c01651a63b3bdcf25d53d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8239338387666972223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824925314,"filename":"image_20112025_19_06_49_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72a8b035ff6a75522a09dbb5ba26d82a.jpg","text":"TemporaryFile(/tmp/multipartBody1332417603494841763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824925314,"filename":"image_20112025_19_06_43_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9439419ff7d6b93803397397dd63a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody2484609336340817465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824925314,"filename":"image_20112025_19_06_28_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7d8b1cd6dd70d091ce976873f3128a1.jpg","text":"TemporaryFile(/tmp/multipartBody470233398648824285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824925314,"filename":"image_20112025_19_06_40_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709559","file1":"1395709558","file0":"1395709557","file4":"1395709564","file5":"1395709567","file3":"1395709560"},"map_files_photo_id_array":[{"photo_id":"1395709567","filename":"file5"},{"photo_id":"1395709559","filename":"file2"},{"photo_id":"1395709564","filename":"file4"},{"photo_id":"1395709558","filename":"file1"},{"photo_id":"1395709557","filename":"file0"},{"photo_id":"1395709560","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395709564":["hashtag1","hashtag2"]},{"1395709558":["hashtag1","hashtag2"]},{"1395709567":["hashtag1","hashtag2"]},{"1395709560":["hashtag1","hashtag2"]},{"1395709557":["hashtag1","hashtag2"]},{"1395709559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395709564, 1395709558, 1395709567, 1395709560, 1395709557, 1395709559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31104516983032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:21:42.523530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/19/image_22112025_16_19_43_5403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/19/image_22112025_16_19_43_5403.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709575"],"photo_id":"1395709575","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29ebf0180ee7faab3ee8cc10e07f20ba.jpg","text":"TemporaryFile(/tmp/multipartBody5160340589401279676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763824963021,"filename":"image_22112025_16_19_43_5403.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395709575"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395709575"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.276137590408325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:22:03.070744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:22:22.774254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/21/image_22112025_16_21_26_3635.jpg', '/home/pi/Desktop/images/22112025/16/22/image_22112025_16_22_10_2503.jpg', '/home/pi/Desktop/images/22112025/16/22/image_22112025_16_22_19_2666.jpg', '/home/pi/Desktop/images/22112025/16/22/image_22112025_16_22_26_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/21/image_22112025_16_21_26_3635.jpg
/home/pi/Desktop/images/22112025/16/22/image_22112025_16_22_10_2503.jpg
/home/pi/Desktop/images/22112025/16/22/image_22112025_16_22_19_2666.jpg
/home/pi/Desktop/images/22112025/16/22/image_22112025_16_22_26_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709582","1395709579","1395709590","1395709586"],"photo_ids_order":["1395709579","1395709582","1395709586","1395709590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10c879f83a95c2db7b44d5208e43ad5d.jpg","text":"TemporaryFile(/tmp/multipartBody4381985403767301924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825003310,"filename":"image_22112025_16_22_10_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b327f95b395ad868377d53589dec8ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2326122283834647913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825003310,"filename":"image_22112025_16_21_26_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d769248828879bba212d8d50efd72c8.jpg","text":"TemporaryFile(/tmp/multipartBody6923333449029193009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825003310,"filename":"image_22112025_16_22_26_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9338e10c1b7e1be843bd66f7184c037.jpg","text":"TemporaryFile(/tmp/multipartBody4863062036510872458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825003310,"filename":"image_22112025_16_22_19_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709586","file1":"1395709582","file0":"1395709579","file3":"1395709590"},"map_files_photo_id_array":[{"photo_id":"1395709586","filename":"file2"},{"photo_id":"1395709582","filename":"file1"},{"photo_id":"1395709579","filename":"file0"},{"photo_id":"1395709590","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709582":["hashtag1","hashtag2"]},{"1395709579":["hashtag1","hashtag2"]},{"1395709590":["hashtag1","hashtag2"]},{"1395709586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709582, 1395709579, 1395709590, 1395709586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.908899784088135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:23:02.902304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_52_3791.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_55_2726.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_58_2633.jpg', '/home/pi/Desktop/images/20112025/19/06/image_20112025_19_07_01_3691.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_07_2591.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_10_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_52_3791.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_55_2726.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_06_58_2633.jpg
/home/pi/Desktop/images/20112025/19/06/image_20112025_19_07_01_3691.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_07_2591.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_10_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709601","1395709600","1395709603","1395709602","1395709605","1395709608"],"photo_ids_order":["1395709600","1395709601","1395709602","1395709603","1395709605","1395709608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bc800419c07e86498f7f5f2caf31394.jpg","text":"TemporaryFile(/tmp/multipartBody7684194027210471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825045096,"filename":"image_20112025_19_06_55_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71593497cd049df8006d61ff2c3e3a34.jpg","text":"TemporaryFile(/tmp/multipartBody7430358422920814750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825045096,"filename":"image_20112025_19_06_52_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56c5311a4c6934a595f88321b70f9d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5406654182285000051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825045096,"filename":"image_20112025_19_07_01_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/898f7108b43de2db187292878fe8a974.jpg","text":"TemporaryFile(/tmp/multipartBody7466958971266647482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825045096,"filename":"image_20112025_19_06_58_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc3eeee9d81d5cb803ec88a037daabb5.jpg","text":"TemporaryFile(/tmp/multipartBody8612982865041220407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825045096,"filename":"image_20112025_19_07_07_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2ba64d78d66e2826b40b98b59eda810.jpg","text":"TemporaryFile(/tmp/multipartBody7745148754220563593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825045096,"filename":"image_20112025_19_07_10_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709602","file1":"1395709601","file0":"1395709600","file4":"1395709605","file5":"1395709608","file3":"1395709603"},"map_files_photo_id_array":[{"photo_id":"1395709608","filename":"file5"},{"photo_id":"1395709602","filename":"file2"},{"photo_id":"1395709605","filename":"file4"},{"photo_id":"1395709601","filename":"file1"},{"photo_id":"1395709600","filename":"file0"},{"photo_id":"1395709603","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395709601":["hashtag1","hashtag2"]},{"1395709600":["hashtag1","hashtag2"]},{"1395709603":["hashtag1","hashtag2"]},{"1395709602":["hashtag1","hashtag2"]},{"1395709605":["hashtag1","hashtag2"]},{"1395709608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395709601, 1395709600, 1395709603, 1395709602, 1395709605, 1395709608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89605379104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:23:42.114692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_29_2709.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_31_2575.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_35_3598.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_37_2559.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_41_3596.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_44_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_29_2709.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_31_2575.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_35_3598.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_37_2559.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_41_3596.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_44_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709631","1395709622","1395709624","1395709627","1395709620","1395709617"],"photo_ids_order":["1395709617","1395709620","1395709622","1395709624","1395709627","1395709631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b265a82d423b2e8edf8a8ac2b9fbdaa.jpg","text":"TemporaryFile(/tmp/multipartBody6581274968367574487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825084228,"filename":"image_30102025_18_02_44_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee10dd6e91f250b8b149b8d4945dfc2e.jpg","text":"TemporaryFile(/tmp/multipartBody4187982076017426862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825084228,"filename":"image_30102025_18_02_35_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0bb57e521c3451038a998cce820f524.jpg","text":"TemporaryFile(/tmp/multipartBody2917254161668104571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825084228,"filename":"image_30102025_18_02_37_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed4e782a7ff6ec27709b5d0910e895bc.jpg","text":"TemporaryFile(/tmp/multipartBody4889130186741439557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825084228,"filename":"image_30102025_18_02_41_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d65e798514c03ee6db9c642f8cbadc70.jpg","text":"TemporaryFile(/tmp/multipartBody2605685065124260220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825084228,"filename":"image_30102025_18_02_31_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/832a0d7762ade00dd7e6e632ee6bba78.jpg","text":"TemporaryFile(/tmp/multipartBody6908262931338527951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825084228,"filename":"image_30102025_18_02_29_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709622","file1":"1395709620","file0":"1395709617","file4":"1395709627","file5":"1395709631","file3":"1395709624"},"map_files_photo_id_array":[{"photo_id":"1395709631","filename":"file5"},{"photo_id":"1395709622","filename":"file2"},{"photo_id":"1395709627","filename":"file4"},{"photo_id":"1395709620","filename":"file1"},{"photo_id":"1395709617","filename":"file0"},{"photo_id":"1395709624","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395709631":["hashtag1","hashtag2"]},{"1395709622":["hashtag1","hashtag2"]},{"1395709624":["hashtag1","hashtag2"]},{"1395709627":["hashtag1","hashtag2"]},{"1395709620":["hashtag1","hashtag2"]},{"1395709617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395709631, 1395709622, 1395709624, 1395709627, 1395709620, 1395709617)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.008654832839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:24:42.416379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/22/image_22112025_16_22_49_3602.jpg', '/home/pi/Desktop/images/22112025/16/23/image_22112025_16_23_28_3113.jpg', '/home/pi/Desktop/images/22112025/16/23/image_22112025_16_23_37_2635.jpg', '/home/pi/Desktop/images/22112025/16/23/image_22112025_16_23_58_1531.jpg', '/home/pi/Desktop/images/22112025/16/24/image_22112025_16_24_22_2697.jpg', '/home/pi/Desktop/images/22112025/16/24/image_22112025_16_24_37_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/22/image_22112025_16_22_49_3602.jpg
/home/pi/Desktop/images/22112025/16/23/image_22112025_16_23_28_3113.jpg
/home/pi/Desktop/images/22112025/16/23/image_22112025_16_23_37_2635.jpg
/home/pi/Desktop/images/22112025/16/23/image_22112025_16_23_58_1531.jpg
/home/pi/Desktop/images/22112025/16/24/image_22112025_16_24_22_2697.jpg
/home/pi/Desktop/images/22112025/16/24/image_22112025_16_24_37_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709649","1395709645","1395709648","1395709647","1395709650","1395709643"],"photo_ids_order":["1395709643","1395709645","1395709647","1395709648","1395709649","1395709650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/539b104e492abdc8c9e7f6ce1e0c1b93.jpg","text":"TemporaryFile(/tmp/multipartBody333336090480556953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825143017,"filename":"image_22112025_16_24_22_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3162fa33fe0659b2566880f14304ab50.jpg","text":"TemporaryFile(/tmp/multipartBody462410387509066579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825143017,"filename":"image_22112025_16_23_28_3113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e2f4b4d0cb1176799809e10c4abf02c.jpg","text":"TemporaryFile(/tmp/multipartBody2181798154181913226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825143017,"filename":"image_22112025_16_23_58_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bac929aab7b56b41c12cf69245079253.jpg","text":"TemporaryFile(/tmp/multipartBody7096754835494909219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825143017,"filename":"image_22112025_16_23_37_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a0c0db40b05b6a946c2427a8c4f8fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3276439927645770991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825143017,"filename":"image_22112025_16_24_37_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60125616e0d400564902353d43b3d8b3.jpg","text":"TemporaryFile(/tmp/multipartBody2968565900494779025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825143017,"filename":"image_22112025_16_22_49_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709647","file1":"1395709645","file0":"1395709643","file4":"1395709649","file5":"1395709650","file3":"1395709648"},"map_files_photo_id_array":[{"photo_id":"1395709650","filename":"file5"},{"photo_id":"1395709647","filename":"file2"},{"photo_id":"1395709649","filename":"file4"},{"photo_id":"1395709645","filename":"file1"},{"photo_id":"1395709643","filename":"file0"},{"photo_id":"1395709648","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709649":["hashtag1","hashtag2"]},{"1395709645":["hashtag1","hashtag2"]},{"1395709648":["hashtag1","hashtag2"]},{"1395709647":["hashtag1","hashtag2"]},{"1395709650":["hashtag1","hashtag2"]},{"1395709643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709649, 1395709645, 1395709648, 1395709647, 1395709650, 1395709643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.439523220062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:25:22.558248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/24/image_22112025_16_24_55_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/24/image_22112025_16_24_55_2579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709656"],"photo_id":"1395709656","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed08c6f47ee211f8b3b561fa9a347524.jpg","text":"TemporaryFile(/tmp/multipartBody5816252210496864488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825185195,"filename":"image_22112025_16_24_55_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395709656"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395709656"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.428508758544922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:25:42.536607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_46_2590.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_50_3624.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_53_2698.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_55_2681.jpg', '/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_59_3617.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_02_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_46_2590.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_50_3624.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_53_2698.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_55_2681.jpg
/home/pi/Desktop/images/30102025/18/02/image_30102025_18_02_59_3617.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_02_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709667","1395709669","1395709671","1395709665","1395709668","1395709670"],"photo_ids_order":["1395709665","1395709667","1395709668","1395709669","1395709670","1395709671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3f5c13df793982005bade98abda4cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6225340221205615436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825204710,"filename":"image_30102025_18_02_50_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90a7278485f3082e7badb218fffc2287.jpg","text":"TemporaryFile(/tmp/multipartBody6909531999983869897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825204710,"filename":"image_30102025_18_02_55_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecf14c1b7e69242f83e26ebc6ea7350b.jpg","text":"TemporaryFile(/tmp/multipartBody963990627373308150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825204710,"filename":"image_30102025_18_03_02_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e02fa695421e9dc25f8b21c7e14bf2c4.jpg","text":"TemporaryFile(/tmp/multipartBody357516165130611156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825204710,"filename":"image_30102025_18_02_46_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f564f1dba76c6cafc5f75612726091be.jpg","text":"TemporaryFile(/tmp/multipartBody4191361594807857233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825204710,"filename":"image_30102025_18_02_53_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c2999e2b048c68ad81c7409694e9224.jpg","text":"TemporaryFile(/tmp/multipartBody8037005594934888959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825204710,"filename":"image_30102025_18_02_59_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709668","file1":"1395709667","file0":"1395709665","file4":"1395709670","file5":"1395709671","file3":"1395709669"},"map_files_photo_id_array":[{"photo_id":"1395709671","filename":"file5"},{"photo_id":"1395709668","filename":"file2"},{"photo_id":"1395709670","filename":"file4"},{"photo_id":"1395709667","filename":"file1"},{"photo_id":"1395709665","filename":"file0"},{"photo_id":"1395709669","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395709667":["hashtag1","hashtag2"]},{"1395709669":["hashtag1","hashtag2"]},{"1395709671":["hashtag1","hashtag2"]},{"1395709665":["hashtag1","hashtag2"]},{"1395709668":["hashtag1","hashtag2"]},{"1395709670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395709667, 1395709669, 1395709671, 1395709665, 1395709668, 1395709670)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.95854902267456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:26:45.896654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/24/image_22112025_16_24_59_4864.jpg', '/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_08_3508.jpg', '/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_10_2771.jpg', '/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_17_4225.jpg', '/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_43_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/24/image_22112025_16_24_59_4864.jpg
/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_08_3508.jpg
/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_10_2771.jpg
/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_17_4225.jpg
/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_43_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709700","1395709699","1395709696","1395709698","1395709697"],"photo_ids_order":["1395709696","1395709697","1395709698","1395709699","1395709700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/586babe6a8ae3de72390c11d3d4ce928.jpg","text":"TemporaryFile(/tmp/multipartBody377652156535490476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825266485,"filename":"image_22112025_16_26_43_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1293338fda789833bf405300011c39c.jpg","text":"TemporaryFile(/tmp/multipartBody2506785440977050608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825266485,"filename":"image_22112025_16_26_17_4225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15d9c37a73a4159d180478c8305236b2.jpg","text":"TemporaryFile(/tmp/multipartBody397499320162185584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825266485,"filename":"image_22112025_16_24_59_4864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afd6ff846ea0cb74efd41feaa33dacdd.jpg","text":"TemporaryFile(/tmp/multipartBody568510628126415098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825266485,"filename":"image_22112025_16_26_10_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a308c26179958d1716473e0be64dc4c.jpg","text":"TemporaryFile(/tmp/multipartBody4778578137222753235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825266485,"filename":"image_22112025_16_26_08_3508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709698","file1":"1395709697","file0":"1395709696","file4":"1395709700","file3":"1395709699"},"map_files_photo_id_array":[{"photo_id":"1395709698","filename":"file2"},{"photo_id":"1395709700","filename":"file4"},{"photo_id":"1395709697","filename":"file1"},{"photo_id":"1395709696","filename":"file0"},{"photo_id":"1395709699","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709700":["hashtag1","hashtag2"]},{"1395709699":["hashtag1","hashtag2"]},{"1395709696":["hashtag1","hashtag2"]},{"1395709698":["hashtag1","hashtag2"]},{"1395709697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709700, 1395709699, 1395709696, 1395709698, 1395709697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.580698013305664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:27:24.589989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_56_3651.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_01_5180.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_13_10028.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_19_1550.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_21_1678.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_36_11816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/26/image_22112025_16_26_56_3651.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_01_5180.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_13_10028.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_19_1550.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_21_1678.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_36_11816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709717","1395709711","1395709714","1395709719","1395709704","1395709707"],"photo_ids_order":["1395709704","1395709707","1395709711","1395709714","1395709717","1395709719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b71a9c5b67486c7c8c5815da46e3d99.jpg","text":"TemporaryFile(/tmp/multipartBody5289477314421067793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825305183,"filename":"image_22112025_16_27_21_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9c20e08824f17a5abe9603b9281bf7b.jpg","text":"TemporaryFile(/tmp/multipartBody6446179054502058890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825305183,"filename":"image_22112025_16_27_13_10028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86497cb8e60ba64d54d30325c0d7d021.jpg","text":"TemporaryFile(/tmp/multipartBody6213700034907141351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825305183,"filename":"image_22112025_16_27_19_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c6065d839e2fee65c55e96f48cda394.jpg","text":"TemporaryFile(/tmp/multipartBody3068159168392431293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825305183,"filename":"image_22112025_16_27_36_11816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6355e209fe5f6d3ec5a8779e161f8c88.jpg","text":"TemporaryFile(/tmp/multipartBody1494193086740750989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825305183,"filename":"image_22112025_16_26_56_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7aa9001a4c147f533bce5fd1b8693db3.jpg","text":"TemporaryFile(/tmp/multipartBody2291984152215147454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825305183,"filename":"image_22112025_16_27_01_5180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709711","file1":"1395709707","file0":"1395709704","file4":"1395709717","file5":"1395709719","file3":"1395709714"},"map_files_photo_id_array":[{"photo_id":"1395709719","filename":"file5"},{"photo_id":"1395709711","filename":"file2"},{"photo_id":"1395709717","filename":"file4"},{"photo_id":"1395709707","filename":"file1"},{"photo_id":"1395709704","filename":"file0"},{"photo_id":"1395709714","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709717":["hashtag1","hashtag2"]},{"1395709711":["hashtag1","hashtag2"]},{"1395709714":["hashtag1","hashtag2"]},{"1395709719":["hashtag1","hashtag2"]},{"1395709704":["hashtag1","hashtag2"]},{"1395709707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709717, 1395709711, 1395709714, 1395709719, 1395709704, 1395709707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36485457420349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:28:02.370303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_37_1436.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_39_1623.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_47_1516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_37_1436.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_39_1623.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_47_1516.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4641144275665283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:28:21.904226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_37_1436.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_39_1623.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_47_1516.jpg', '/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_49_1508.jpg', '/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_19_5303.jpg', '/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_27_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_37_1436.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_39_1623.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_47_1516.jpg
/home/pi/Desktop/images/22112025/16/27/image_22112025_16_27_49_1508.jpg
/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_19_5303.jpg
/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_27_1569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709739","1395709733","1395709727","1395709736","1395709731","1395709725"],"photo_ids_order":["1395709725","1395709727","1395709731","1395709733","1395709736","1395709739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0844b26b9375c76146cde1792e39d3ba.jpg","text":"TemporaryFile(/tmp/multipartBody3358060892781290471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825363140,"filename":"image_22112025_16_28_27_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89394fe54d2c3fbdd62702623328f1ab.jpg","text":"TemporaryFile(/tmp/multipartBody1921386276958318007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825363140,"filename":"image_22112025_16_27_49_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3ac9995bf3b0c9407b3ca0bb90048ba.jpg","text":"TemporaryFile(/tmp/multipartBody6889815381939340266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825363140,"filename":"image_22112025_16_27_39_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3eab8a75dcd8794c56eb04a2f65ddd83.jpg","text":"TemporaryFile(/tmp/multipartBody2050862779292297153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825363140,"filename":"image_22112025_16_28_19_5303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abc90b78ea9032f5de1fbf755af59b63.jpg","text":"TemporaryFile(/tmp/multipartBody1571478589732922783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825363140,"filename":"image_22112025_16_27_47_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab2275dd51e0d11401698ee65299cb30.jpg","text":"TemporaryFile(/tmp/multipartBody5307931534489619967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825363140,"filename":"image_22112025_16_27_37_1436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709731","file1":"1395709727","file0":"1395709725","file4":"1395709736","file5":"1395709739","file3":"1395709733"},"map_files_photo_id_array":[{"photo_id":"1395709739","filename":"file5"},{"photo_id":"1395709731","filename":"file2"},{"photo_id":"1395709736","filename":"file4"},{"photo_id":"1395709727","filename":"file1"},{"photo_id":"1395709725","filename":"file0"},{"photo_id":"1395709733","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709739":["hashtag1","hashtag2"]},{"1395709733":["hashtag1","hashtag2"]},{"1395709727":["hashtag1","hashtag2"]},{"1395709736":["hashtag1","hashtag2"]},{"1395709731":["hashtag1","hashtag2"]},{"1395709725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709739, 1395709733, 1395709727, 1395709736, 1395709731, 1395709725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45440459251404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:29:03.288000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_41_3644.jpg', '/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_43_2583.jpg', '/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_47_3465.jpg', '/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_52_2594.jpg', '/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_55_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_41_3644.jpg
/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_43_2583.jpg
/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_47_3465.jpg
/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_52_2594.jpg
/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_55_2848.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709745","1395709748","1395709746","1395709743","1395709742"],"photo_ids_order":["1395709742","1395709743","1395709745","1395709746","1395709748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/509182eedfd382bb26a1f6e2bd7d65ec.jpg","text":"TemporaryFile(/tmp/multipartBody213363509051577955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825404037,"filename":"image_22112025_16_28_47_3465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2c792e97c29a94fdeb3ac4d6956ce43.jpg","text":"TemporaryFile(/tmp/multipartBody2578159902597290038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825404037,"filename":"image_22112025_16_28_55_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/178e92e3e7c4b55dc25273195f94e9ec.jpg","text":"TemporaryFile(/tmp/multipartBody9097333206718050945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825404037,"filename":"image_22112025_16_28_52_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/686755b3d03aa84e2162b02450e10ac4.jpg","text":"TemporaryFile(/tmp/multipartBody9052145617134965969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825404037,"filename":"image_22112025_16_28_43_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/275e63cceb592c0c49e00e093c682f57.jpg","text":"TemporaryFile(/tmp/multipartBody4965023464100462523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825404037,"filename":"image_22112025_16_28_41_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709745","file1":"1395709743","file0":"1395709742","file4":"1395709748","file3":"1395709746"},"map_files_photo_id_array":[{"photo_id":"1395709745","filename":"file2"},{"photo_id":"1395709748","filename":"file4"},{"photo_id":"1395709743","filename":"file1"},{"photo_id":"1395709742","filename":"file0"},{"photo_id":"1395709746","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709745":["hashtag1","hashtag2"]},{"1395709748":["hashtag1","hashtag2"]},{"1395709746":["hashtag1","hashtag2"]},{"1395709743":["hashtag1","hashtag2"]},{"1395709742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709745, 1395709748, 1395709746, 1395709743, 1395709742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.303175449371338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:29:42.213055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_58_3518.jpg', '/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_19_3546.jpg', '/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_25_2925.jpg', '/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_28_3514.jpg', '/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_31_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/28/image_22112025_16_28_58_3518.jpg
/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_19_3546.jpg
/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_25_2925.jpg
/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_28_3514.jpg
/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_31_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709762","1395709765","1395709764","1395709760","1395709763"],"photo_ids_order":["1395709760","1395709762","1395709763","1395709764","1395709765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bc8c2e3b247d365e5022d793c58bcf4.jpg","text":"TemporaryFile(/tmp/multipartBody6802645485952069863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825442777,"filename":"image_22112025_16_29_19_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e20d13bf1ea78567d9f1cc38101185d.jpg","text":"TemporaryFile(/tmp/multipartBody8710196063960049105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825442777,"filename":"image_22112025_16_29_31_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0930b217a889bd595b9df998d094764a.jpg","text":"TemporaryFile(/tmp/multipartBody5497381476264993215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825442777,"filename":"image_22112025_16_29_28_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2acfdc10d41e6ad452974f92bd2bd6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8851101976863687258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825442777,"filename":"image_22112025_16_28_58_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/356ab39bcb5fd78693601be20c873f34.jpg","text":"TemporaryFile(/tmp/multipartBody2746731985570795479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825442777,"filename":"image_22112025_16_29_25_2925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709763","file1":"1395709762","file0":"1395709760","file4":"1395709765","file3":"1395709764"},"map_files_photo_id_array":[{"photo_id":"1395709763","filename":"file2"},{"photo_id":"1395709765","filename":"file4"},{"photo_id":"1395709762","filename":"file1"},{"photo_id":"1395709760","filename":"file0"},{"photo_id":"1395709764","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709762":["hashtag1","hashtag2"]},{"1395709765":["hashtag1","hashtag2"]},{"1395709764":["hashtag1","hashtag2"]},{"1395709760":["hashtag1","hashtag2"]},{"1395709763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709762, 1395709765, 1395709764, 1395709760, 1395709763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.72538709640503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:30:22.445456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_37_2474.jpg', '/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_23_3449.jpg', '/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_26_2541.jpg', '/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_41_2680.jpg', '/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_44_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/29/image_22112025_16_29_37_2474.jpg
/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_23_3449.jpg
/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_26_2541.jpg
/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_41_2680.jpg
/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_44_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709782","1395709779","1395709787","1395709775","1395709790"],"photo_ids_order":["1395709775","1395709779","1395709782","1395709787","1395709790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8035b3fb4a43074b8413b9bb7331ca0e.jpg","text":"TemporaryFile(/tmp/multipartBody7649046754672980495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825483056,"filename":"image_22112025_16_30_26_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f6d939f3f3e9a09a6a14ffcd82c9fce.jpg","text":"TemporaryFile(/tmp/multipartBody5906965842352566772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825483056,"filename":"image_22112025_16_30_23_3449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd2477e3976674bb81eb45d4d68b6748.jpg","text":"TemporaryFile(/tmp/multipartBody464731235701834702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825483056,"filename":"image_22112025_16_30_41_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/208353550aeed953ded29f90cb2a0573.jpg","text":"TemporaryFile(/tmp/multipartBody438171577333860604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825483056,"filename":"image_22112025_16_29_37_2474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f3a70a8b190eef6731ccc461ad9ad36.jpg","text":"TemporaryFile(/tmp/multipartBody3212399581582265198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825483056,"filename":"image_22112025_16_30_44_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709782","file1":"1395709779","file0":"1395709775","file4":"1395709790","file3":"1395709787"},"map_files_photo_id_array":[{"photo_id":"1395709782","filename":"file2"},{"photo_id":"1395709790","filename":"file4"},{"photo_id":"1395709779","filename":"file1"},{"photo_id":"1395709775","filename":"file0"},{"photo_id":"1395709787","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709782":["hashtag1","hashtag2"]},{"1395709779":["hashtag1","hashtag2"]},{"1395709787":["hashtag1","hashtag2"]},{"1395709775":["hashtag1","hashtag2"]},{"1395709790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709782, 1395709779, 1395709787, 1395709775, 1395709790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.909971714019775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:31:03.227375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_13_2858.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_16_2649.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_25_2661.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_28_2777.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_31_3618.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_37_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_13_2858.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_16_2649.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_25_2661.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_28_2777.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_31_3618.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_37_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709805","1395709802","1395709801","1395709809","1395709800","1395709799"],"photo_ids_order":["1395709799","1395709800","1395709801","1395709802","1395709805","1395709809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2d36d2e2be244d6a9ab6bce7e595d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7739512405019573617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825525542,"filename":"image_20112025_19_07_31_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd232b43da9291204d61a4e57e8c6918.jpg","text":"TemporaryFile(/tmp/multipartBody6203003496120920983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825525542,"filename":"image_20112025_19_07_28_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a6677d0b058c0208368fe64c918406d.jpg","text":"TemporaryFile(/tmp/multipartBody941510232648118732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825525542,"filename":"image_20112025_19_07_25_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfb1a76608c76fe9add91b42a3f2fc91.jpg","text":"TemporaryFile(/tmp/multipartBody5987982065850916507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825525542,"filename":"image_20112025_19_07_37_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edf049e0ea8810fcc84c33e6c13e9614.jpg","text":"TemporaryFile(/tmp/multipartBody7634435558737351210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825525542,"filename":"image_20112025_19_07_16_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b676811f2b6f435956c63f53a798006e.jpg","text":"TemporaryFile(/tmp/multipartBody8177545016855700982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825525542,"filename":"image_20112025_19_07_13_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709801","file1":"1395709800","file0":"1395709799","file4":"1395709805","file5":"1395709809","file3":"1395709802"},"map_files_photo_id_array":[{"photo_id":"1395709809","filename":"file5"},{"photo_id":"1395709801","filename":"file2"},{"photo_id":"1395709805","filename":"file4"},{"photo_id":"1395709800","filename":"file1"},{"photo_id":"1395709799","filename":"file0"},{"photo_id":"1395709802","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395709805":["hashtag1","hashtag2"]},{"1395709802":["hashtag1","hashtag2"]},{"1395709801":["hashtag1","hashtag2"]},{"1395709809":["hashtag1","hashtag2"]},{"1395709800":["hashtag1","hashtag2"]},{"1395709799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395709805, 1395709802, 1395709801, 1395709809, 1395709800, 1395709799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23106861114502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:31:42.585318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_56_2647.jpg', '/home/pi/Desktop/images/22112025/16/31/image_22112025_16_31_47_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/30/image_22112025_16_30_56_2647.jpg
/home/pi/Desktop/images/22112025/16/31/image_22112025_16_31_47_3629.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709817","1395709816"],"photo_ids_order":["1395709816","1395709817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74a7657104998501d2738d866a8caaae.jpg","text":"TemporaryFile(/tmp/multipartBody9210452333744126201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825563107,"filename":"image_22112025_16_31_47_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1baba23865c8ce1c6f06149de53eba6.jpg","text":"TemporaryFile(/tmp/multipartBody3815159606129833349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825563107,"filename":"image_22112025_16_30_56_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395709817","file0":"1395709816"},"map_files_photo_id_array":[{"photo_id":"1395709817","filename":"file1"},{"photo_id":"1395709816","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709817":["hashtag1","hashtag2"]},{"1395709816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709817, 1395709816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.883070707321167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:32:02.265759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_42_2556.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_46_3807.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_52_2648.jpg', '/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_58_2651.jpg', '/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_01_2788.jpg', '/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_10_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_42_2556.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_46_3807.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_52_2648.jpg
/home/pi/Desktop/images/20112025/19/07/image_20112025_19_07_58_2651.jpg
/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_01_2788.jpg
/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_10_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709820","1395709822","1395709819","1395709827","1395709821","1395709824"],"photo_ids_order":["1395709819","1395709820","1395709821","1395709822","1395709824","1395709827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb48bf342beb4759c17bab5367728b80.jpg","text":"TemporaryFile(/tmp/multipartBody5006568432026525207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825584411,"filename":"image_20112025_19_07_46_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74b4afed773fbdf20fea31a7d161b1bc.jpg","text":"TemporaryFile(/tmp/multipartBody6739985202184492429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825584411,"filename":"image_20112025_19_07_58_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97eeef393b45b6b3070a43ec000de583.jpg","text":"TemporaryFile(/tmp/multipartBody3704725259753732058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825584411,"filename":"image_20112025_19_07_42_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/386b4500565618b5d7fdd9d1d33e5550.jpg","text":"TemporaryFile(/tmp/multipartBody1989694574957874568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825584411,"filename":"image_20112025_19_08_10_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7aa58f04bf8f8b286d56cea6b169e50f.jpg","text":"TemporaryFile(/tmp/multipartBody46992900562270461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825584411,"filename":"image_20112025_19_07_52_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3de64c117892a08bc025588c0da784b.jpg","text":"TemporaryFile(/tmp/multipartBody2832721945846062179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825584411,"filename":"image_20112025_19_08_01_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709821","file1":"1395709820","file0":"1395709819","file4":"1395709824","file5":"1395709827","file3":"1395709822"},"map_files_photo_id_array":[{"photo_id":"1395709827","filename":"file5"},{"photo_id":"1395709821","filename":"file2"},{"photo_id":"1395709824","filename":"file4"},{"photo_id":"1395709820","filename":"file1"},{"photo_id":"1395709819","filename":"file0"},{"photo_id":"1395709822","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395709820":["hashtag1","hashtag2"]},{"1395709822":["hashtag1","hashtag2"]},{"1395709819":["hashtag1","hashtag2"]},{"1395709827":["hashtag1","hashtag2"]},{"1395709821":["hashtag1","hashtag2"]},{"1395709824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395709820, 1395709822, 1395709819, 1395709827, 1395709821, 1395709824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23124599456787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:32:41.849419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/31/image_22112025_16_31_58_2628.jpg', '/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_05_2930.jpg', '/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_19_2716.jpg', '/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_23_3593.jpg', '/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_28_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/31/image_22112025_16_31_58_2628.jpg
/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_05_2930.jpg
/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_19_2716.jpg
/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_23_3593.jpg
/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_28_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709840","1395709843","1395709842","1395709836","1395709841"],"photo_ids_order":["1395709836","1395709840","1395709841","1395709842","1395709843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e20efcda7be73074728ae18ba756078.jpg","text":"TemporaryFile(/tmp/multipartBody7611420782269602637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825622417,"filename":"image_22112025_16_32_05_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/273e89fb92122e9c1b2453d8150e4310.jpg","text":"TemporaryFile(/tmp/multipartBody7444088334177741431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825622417,"filename":"image_22112025_16_32_28_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7db56f8ceb3b497b2e04c6c0f6838b91.jpg","text":"TemporaryFile(/tmp/multipartBody7994316069960408266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825622417,"filename":"image_22112025_16_32_23_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb0bb788c12de2917dde12b530d3659a.jpg","text":"TemporaryFile(/tmp/multipartBody6817204981764623491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825622417,"filename":"image_22112025_16_31_58_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfbdac10ab929cfc36b6412150d11a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5196040165051377776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825622417,"filename":"image_22112025_16_32_19_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709841","file1":"1395709840","file0":"1395709836","file4":"1395709843","file3":"1395709842"},"map_files_photo_id_array":[{"photo_id":"1395709841","filename":"file2"},{"photo_id":"1395709843","filename":"file4"},{"photo_id":"1395709840","filename":"file1"},{"photo_id":"1395709836","filename":"file0"},{"photo_id":"1395709842","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709840":["hashtag1","hashtag2"]},{"1395709843":["hashtag1","hashtag2"]},{"1395709842":["hashtag1","hashtag2"]},{"1395709836":["hashtag1","hashtag2"]},{"1395709841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709840, 1395709843, 1395709842, 1395709836, 1395709841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.91915464401245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:33:22.177884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_34_2600.jpg', '/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_14_3651.jpg', '/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_25_2604.jpg', '/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_29_3568.jpg', '/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_40_2604.jpg', '/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_49_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/32/image_22112025_16_32_34_2600.jpg
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_14_3651.jpg
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_25_2604.jpg
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_29_3568.jpg
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_40_2604.jpg
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_49_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709859","1395709850","1395709853","1395709861","1395709846","1395709856"],"photo_ids_order":["1395709846","1395709850","1395709853","1395709856","1395709859","1395709861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0068009d6ba386105420326bbaa33e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6819015807216409644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825662788,"filename":"image_22112025_16_33_40_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55d555b5df3e37edeed2e542dce45481.jpg","text":"TemporaryFile(/tmp/multipartBody5427619882151616598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825662788,"filename":"image_22112025_16_33_14_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d49c340f9949026fd9c8fb42a0ad5f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5156706752172922189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825662788,"filename":"image_22112025_16_33_25_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3cd7d79c878cbe7b539f4f05303c151.jpg","text":"TemporaryFile(/tmp/multipartBody7429930434894391461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825662788,"filename":"image_22112025_16_33_49_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89fda08a31d1666cae2ecb111de8f053.jpg","text":"TemporaryFile(/tmp/multipartBody5864203481510170596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825662788,"filename":"image_22112025_16_32_34_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30e5dc91ca44b533596fb4dc44460474.jpg","text":"TemporaryFile(/tmp/multipartBody8122730489583097126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825662788,"filename":"image_22112025_16_33_29_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709853","file1":"1395709850","file0":"1395709846","file4":"1395709859","file5":"1395709861","file3":"1395709856"},"map_files_photo_id_array":[{"photo_id":"1395709861","filename":"file5"},{"photo_id":"1395709853","filename":"file2"},{"photo_id":"1395709859","filename":"file4"},{"photo_id":"1395709850","filename":"file1"},{"photo_id":"1395709846","filename":"file0"},{"photo_id":"1395709856","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709859":["hashtag1","hashtag2"]},{"1395709850":["hashtag1","hashtag2"]},{"1395709853":["hashtag1","hashtag2"]},{"1395709861":["hashtag1","hashtag2"]},{"1395709846":["hashtag1","hashtag2"]},{"1395709856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709859, 1395709850, 1395709853, 1395709861, 1395709846, 1395709856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43151569366455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:34:03.069386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_53_3615.jpg', '/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_55_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_53_3615.jpg
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_55_2777.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4693419933319092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:34:22.431013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_53_3615.jpg', '/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_55_2777.jpg', '/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_58_2763.jpg', '/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_02_3648.jpg', '/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_13_2578.jpg', '/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_17_3503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_53_3615.jpg
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_55_2777.jpg
/home/pi/Desktop/images/22112025/16/33/image_22112025_16_33_58_2763.jpg
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_02_3648.jpg
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_13_2578.jpg
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_17_3503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709875","1395709872","1395709866","1395709869","1395709880","1395709877"],"photo_ids_order":["1395709866","1395709869","1395709872","1395709875","1395709877","1395709880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11da9ff229f2c47de3087430ef9bd581.jpg","text":"TemporaryFile(/tmp/multipartBody4264918290337288932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825723097,"filename":"image_22112025_16_34_02_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7580aa838c68df22b548c599307a85f8.jpg","text":"TemporaryFile(/tmp/multipartBody1100295452705743093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825723097,"filename":"image_22112025_16_33_58_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49cbf6c0042c915550ae0c9b593b28e7.jpg","text":"TemporaryFile(/tmp/multipartBody6912561817694629567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825723097,"filename":"image_22112025_16_33_53_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4b49de94d1f5ae2ea5879a50402df93.jpg","text":"TemporaryFile(/tmp/multipartBody3804963131620240906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825723097,"filename":"image_22112025_16_33_55_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67202425c058d6a56be6cd763811c1af.jpg","text":"TemporaryFile(/tmp/multipartBody2420627633673411708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825723097,"filename":"image_22112025_16_34_17_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e5619f1ce68605504f16cdf08c283e5.jpg","text":"TemporaryFile(/tmp/multipartBody2897432244484924045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825723097,"filename":"image_22112025_16_34_13_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709872","file1":"1395709869","file0":"1395709866","file4":"1395709877","file5":"1395709880","file3":"1395709875"},"map_files_photo_id_array":[{"photo_id":"1395709880","filename":"file5"},{"photo_id":"1395709872","filename":"file2"},{"photo_id":"1395709877","filename":"file4"},{"photo_id":"1395709869","filename":"file1"},{"photo_id":"1395709866","filename":"file0"},{"photo_id":"1395709875","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709875":["hashtag1","hashtag2"]},{"1395709872":["hashtag1","hashtag2"]},{"1395709866":["hashtag1","hashtag2"]},{"1395709869":["hashtag1","hashtag2"]},{"1395709880":["hashtag1","hashtag2"]},{"1395709877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709875, 1395709872, 1395709866, 1395709869, 1395709880, 1395709877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.337947607040405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:35:03.399653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_19_2477.jpg', '/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_23_3614.jpg', '/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_26_2672.jpg', '/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_32_3509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_19_2477.jpg
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_23_3614.jpg
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_26_2672.jpg
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_32_3509.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709885","1395709882","1395709884","1395709883"],"photo_ids_order":["1395709882","1395709883","1395709884","1395709885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c5adf99aac6851eadf37ad6c9257ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6096822090500452175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825764014,"filename":"image_22112025_16_34_32_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e85dabba1f09126d1934d952637d183c.jpg","text":"TemporaryFile(/tmp/multipartBody3767697564690525946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825764014,"filename":"image_22112025_16_34_19_2477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19baaaa797170c2c9dcff3547827e944.jpg","text":"TemporaryFile(/tmp/multipartBody7389664845614347820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825764014,"filename":"image_22112025_16_34_26_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e94fd8540232f2dd6efe45c44f292f05.jpg","text":"TemporaryFile(/tmp/multipartBody4935116021396909483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825764014,"filename":"image_22112025_16_34_23_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709884","file1":"1395709883","file0":"1395709882","file3":"1395709885"},"map_files_photo_id_array":[{"photo_id":"1395709884","filename":"file2"},{"photo_id":"1395709883","filename":"file1"},{"photo_id":"1395709882","filename":"file0"},{"photo_id":"1395709885","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709885":["hashtag1","hashtag2"]},{"1395709882":["hashtag1","hashtag2"]},{"1395709884":["hashtag1","hashtag2"]},{"1395709883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709885, 1395709882, 1395709884, 1395709883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.43152093887329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:35:42.722655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_34_2609.jpg', '/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_20_2673.jpg', '/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_26_3546.jpg', '/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_41_3633.jpg', '/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_43_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_34_2609.jpg
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_20_2673.jpg
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_26_3546.jpg
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_41_3633.jpg
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_43_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709897","1395709901","1395709900","1395709902","1395709905"],"photo_ids_order":["1395709897","1395709900","1395709901","1395709902","1395709905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92c66bf81d16fa29cdb261875ef913e2.jpg","text":"TemporaryFile(/tmp/multipartBody2156279084052474216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825803291,"filename":"image_22112025_16_34_34_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32c395ed9863246732385ee9b0d250c1.jpg","text":"TemporaryFile(/tmp/multipartBody8217009262977107103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825803291,"filename":"image_22112025_16_35_26_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36eae7377bc3c260c2f28fed958ab224.jpg","text":"TemporaryFile(/tmp/multipartBody3807580646404998954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825803291,"filename":"image_22112025_16_35_20_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e40f732c112e7eeb3986e635deb4e2a5.jpg","text":"TemporaryFile(/tmp/multipartBody8540793304785920126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825803291,"filename":"image_22112025_16_35_41_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab3416f9833baaa32653f8f30fb271ad.jpg","text":"TemporaryFile(/tmp/multipartBody8088174109762248126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763825803291,"filename":"image_22112025_16_35_43_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709901","file1":"1395709900","file0":"1395709897","file4":"1395709905","file3":"1395709902"},"map_files_photo_id_array":[{"photo_id":"1395709901","filename":"file2"},{"photo_id":"1395709905","filename":"file4"},{"photo_id":"1395709900","filename":"file1"},{"photo_id":"1395709897","filename":"file0"},{"photo_id":"1395709902","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709897":["hashtag1","hashtag2"]},{"1395709901":["hashtag1","hashtag2"]},{"1395709900":["hashtag1","hashtag2"]},{"1395709902":["hashtag1","hashtag2"]},{"1395709905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709897, 1395709901, 1395709900, 1395709902, 1395709905)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395709901 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_26_3546.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395709901 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_26_3546.jpg";
uploaded 5 photos
time to upload: 63.251991510391235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:37:06.687054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:37:35.058963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:37:49.952786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:38:02.456736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:38:22.152188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:38:42.157425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:39:15.260676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_34_2609.jpg', '/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_20_2673.jpg', '/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_26_3546.jpg', '/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_41_3633.jpg', '/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_43_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/34/image_22112025_16_34_34_2609.jpg
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_20_2673.jpg
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_26_3546.jpg
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_41_3633.jpg
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_43_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709964","1395709972","1395709966","1395709975","1395709969"],"photo_ids_order":["1395709964","1395709966","1395709969","1395709972","1395709975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60bb79d5d81fc27694359160acc0dee1.jpg","text":"TemporaryFile(/tmp/multipartBody3727612825636001778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826015950,"filename":"image_22112025_16_34_34_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4660e7839c3bc856ab448d2c595caf7e.jpg","text":"TemporaryFile(/tmp/multipartBody5868122882757813470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826015950,"filename":"image_22112025_16_35_41_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d412cb7b7407a5007fc5f4f1c7e12407.jpg","text":"TemporaryFile(/tmp/multipartBody3955729329689251820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826015950,"filename":"image_22112025_16_35_20_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/659a60a1f453d3965e77ca457bc0d036.jpg","text":"TemporaryFile(/tmp/multipartBody8843838190959973649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826015950,"filename":"image_22112025_16_35_43_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dabd77cbfbd0ff1a5765d9c28e81e2b.jpg","text":"TemporaryFile(/tmp/multipartBody2832177746487193101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826015950,"filename":"image_22112025_16_35_26_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709969","file1":"1395709966","file0":"1395709964","file4":"1395709975","file3":"1395709972"},"map_files_photo_id_array":[{"photo_id":"1395709969","filename":"file2"},{"photo_id":"1395709975","filename":"file4"},{"photo_id":"1395709966","filename":"file1"},{"photo_id":"1395709964","filename":"file0"},{"photo_id":"1395709972","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395709964":["hashtag1","hashtag2"]},{"1395709972":["hashtag1","hashtag2"]},{"1395709966":["hashtag1","hashtag2"]},{"1395709975":["hashtag1","hashtag2"]},{"1395709969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395709964, 1395709972, 1395709966, 1395709975, 1395709969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.876710176467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:39:54.399219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_04_2720.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_07_2934.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_11_3726.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_14_2607.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_16_2653.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_20_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_04_2720.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_07_2934.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_11_3726.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_14_2607.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_16_2653.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_20_3661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.078840732574463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:40:03.146162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_43_3607.jpg', '/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_46_2676.jpg', '/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_52_3668.jpg', '/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_57_2633.jpg', '/home/pi/Desktop/images/20112025/19/08/image_20112025_19_09_01_3733.jpg', '/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_04_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_43_3607.jpg
/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_46_2676.jpg
/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_52_3668.jpg
/home/pi/Desktop/images/20112025/19/08/image_20112025_19_08_57_2633.jpg
/home/pi/Desktop/images/20112025/19/08/image_20112025_19_09_01_3733.jpg
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_04_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395709996","1395709990","1395709984","1395709987","1395709989","1395709994"],"photo_ids_order":["1395709984","1395709987","1395709989","1395709990","1395709994","1395709996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40085141d93096080074c51253ae3436.jpg","text":"TemporaryFile(/tmp/multipartBody1310178736218487212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826065286,"filename":"image_20112025_19_09_04_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe144ea5c6b066c06d263c659f4aa66b.jpg","text":"TemporaryFile(/tmp/multipartBody2765139290414067009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826065286,"filename":"image_20112025_19_08_57_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f561e968cdae4770467d83d60036683.jpg","text":"TemporaryFile(/tmp/multipartBody222656249852107829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826065286,"filename":"image_20112025_19_08_43_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb394ee74b7b4885df4df0aaf5fe6f89.jpg","text":"TemporaryFile(/tmp/multipartBody7251248272368879685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826065286,"filename":"image_20112025_19_08_46_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3970f96476840f529b4da02496589faa.jpg","text":"TemporaryFile(/tmp/multipartBody7474172821839419253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826065286,"filename":"image_20112025_19_08_52_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2309449733514667e0b38c96abab63d5.jpg","text":"TemporaryFile(/tmp/multipartBody4107534944456981464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826065286,"filename":"image_20112025_19_09_01_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395709989","file1":"1395709987","file0":"1395709984","file4":"1395709994","file5":"1395709996","file3":"1395709990"},"map_files_photo_id_array":[{"photo_id":"1395709996","filename":"file5"},{"photo_id":"1395709989","filename":"file2"},{"photo_id":"1395709994","filename":"file4"},{"photo_id":"1395709987","filename":"file1"},{"photo_id":"1395709984","filename":"file0"},{"photo_id":"1395709990","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395709996":["hashtag1","hashtag2"]},{"1395709990":["hashtag1","hashtag2"]},{"1395709984":["hashtag1","hashtag2"]},{"1395709987":["hashtag1","hashtag2"]},{"1395709989":["hashtag1","hashtag2"]},{"1395709994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395709996, 1395709990, 1395709984, 1395709987, 1395709989, 1395709994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.003430128097534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:40:42.595339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_58_2479.jpg', '/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_04_2506.jpg', '/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_19_2515.jpg', '/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_23_3593.jpg', '/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_34_2617.jpg', '/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_46_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/35/image_22112025_16_35_58_2479.jpg
/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_04_2506.jpg
/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_19_2515.jpg
/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_23_3593.jpg
/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_34_2617.jpg
/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_46_2525.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710016","1395710015","1395710009","1395710014","1395710017","1395710013"],"photo_ids_order":["1395710009","1395710013","1395710014","1395710015","1395710016","1395710017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb889bfd23ff7a0fe1bad008108b993e.jpg","text":"TemporaryFile(/tmp/multipartBody342655306558128750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826103180,"filename":"image_22112025_16_36_34_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a141e4cdb0b99a40a6070aed4acd175.jpg","text":"TemporaryFile(/tmp/multipartBody6596349415210383403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826103180,"filename":"image_22112025_16_36_23_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd44594f1dd99307b1158461846bb8cc.jpg","text":"TemporaryFile(/tmp/multipartBody839698994660266842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826103180,"filename":"image_22112025_16_35_58_2479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61cc75ca61eee8f8d8b5e8223071a650.jpg","text":"TemporaryFile(/tmp/multipartBody6032529119916030849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826103180,"filename":"image_22112025_16_36_19_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93a2ecfbc3c896233700172e8c4fed87.jpg","text":"TemporaryFile(/tmp/multipartBody6557937142183766160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826103180,"filename":"image_22112025_16_36_46_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9397eabb5eb3806831724167e2b2d22.jpg","text":"TemporaryFile(/tmp/multipartBody159368189606453902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826103180,"filename":"image_22112025_16_36_04_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710014","file1":"1395710013","file0":"1395710009","file4":"1395710016","file5":"1395710017","file3":"1395710015"},"map_files_photo_id_array":[{"photo_id":"1395710017","filename":"file5"},{"photo_id":"1395710014","filename":"file2"},{"photo_id":"1395710016","filename":"file4"},{"photo_id":"1395710013","filename":"file1"},{"photo_id":"1395710009","filename":"file0"},{"photo_id":"1395710015","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710016":["hashtag1","hashtag2"]},{"1395710015":["hashtag1","hashtag2"]},{"1395710009":["hashtag1","hashtag2"]},{"1395710014":["hashtag1","hashtag2"]},{"1395710017":["hashtag1","hashtag2"]},{"1395710013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710016, 1395710015, 1395710009, 1395710014, 1395710017, 1395710013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45638370513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:41:22.705436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_50_3621.jpg', '/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_52_2587.jpg', '/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_55_2655.jpg', '/home/pi/Desktop/images/22112025/16/37/image_22112025_16_37_01_2541.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_19_3015.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_23_3514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_50_3621.jpg
/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_52_2587.jpg
/home/pi/Desktop/images/22112025/16/36/image_22112025_16_36_55_2655.jpg
/home/pi/Desktop/images/22112025/16/37/image_22112025_16_37_01_2541.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_19_3015.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_23_3514.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710042","1395710045","1395710039","1395710050","1395710047","1395710034"],"photo_ids_order":["1395710034","1395710039","1395710042","1395710045","1395710047","1395710050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75e46d68f9c1f0624ca2f3a452f8d9ba.jpg","text":"TemporaryFile(/tmp/multipartBody8936495376066986009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826143323,"filename":"image_22112025_16_36_55_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3f0078b51ea089c29c72e44cd3e4712.jpg","text":"TemporaryFile(/tmp/multipartBody1392418738809841982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826143323,"filename":"image_22112025_16_37_01_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06bbf9ead5615eb83cede50b63405298.jpg","text":"TemporaryFile(/tmp/multipartBody5707894372119135046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826143323,"filename":"image_22112025_16_36_52_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9628100ce256b8b91bc73c9178c0e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6324644224059641756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826143323,"filename":"image_22112025_16_40_23_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e52807039fabf45553ef1c25e6a54699.jpg","text":"TemporaryFile(/tmp/multipartBody2465807073036394961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826143323,"filename":"image_22112025_16_40_19_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af538e79910264c1fd9fd8ca04870bb9.jpg","text":"TemporaryFile(/tmp/multipartBody6655623591311337082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826143323,"filename":"image_22112025_16_36_50_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710042","file1":"1395710039","file0":"1395710034","file4":"1395710047","file5":"1395710050","file3":"1395710045"},"map_files_photo_id_array":[{"photo_id":"1395710050","filename":"file5"},{"photo_id":"1395710042","filename":"file2"},{"photo_id":"1395710047","filename":"file4"},{"photo_id":"1395710039","filename":"file1"},{"photo_id":"1395710034","filename":"file0"},{"photo_id":"1395710045","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710042":["hashtag1","hashtag2"]},{"1395710045":["hashtag1","hashtag2"]},{"1395710039":["hashtag1","hashtag2"]},{"1395710050":["hashtag1","hashtag2"]},{"1395710047":["hashtag1","hashtag2"]},{"1395710034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710042, 1395710045, 1395710039, 1395710050, 1395710047, 1395710034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33467769622803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:42:02.411554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_25_2636.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_29_3545.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_32_2754.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_41_3508.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_44_2610.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_46_2506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_25_2636.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_29_3545.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_32_2754.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_41_3508.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_44_2610.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_46_2506.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5286617279052734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:42:22.112334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_25_2636.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_29_3545.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_32_2754.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_41_3508.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_44_2610.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_46_2506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_25_2636.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_29_3545.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_32_2754.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_41_3508.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_44_2610.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_46_2506.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710083","1395710077","1395710071","1395710080","1395710068","1395710073"],"photo_ids_order":["1395710068","1395710071","1395710073","1395710077","1395710080","1395710083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/beb410543cba5253de27477c2ed44f03.jpg","text":"TemporaryFile(/tmp/multipartBody7090068226647443453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826202704,"filename":"image_22112025_16_40_46_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdae1347b0d7c728cc1c13ccf8ecd73b.jpg","text":"TemporaryFile(/tmp/multipartBody8804071814156858505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826202704,"filename":"image_22112025_16_40_41_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f14e3c27073efe366826fab6ee2a5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4607383744476652026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826202704,"filename":"image_22112025_16_40_29_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03213fbf1413232aa82e4d46b575f9f6.jpg","text":"TemporaryFile(/tmp/multipartBody5093863022372638031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826202704,"filename":"image_22112025_16_40_44_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edb46927e0edbaf3843c1fa6310d4e1c.jpg","text":"TemporaryFile(/tmp/multipartBody6966550060391269716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826202704,"filename":"image_22112025_16_40_25_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12b89e63f443949c5cef22e37d0920da.jpg","text":"TemporaryFile(/tmp/multipartBody7651523449632999399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826202704,"filename":"image_22112025_16_40_32_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710073","file1":"1395710071","file0":"1395710068","file4":"1395710080","file5":"1395710083","file3":"1395710077"},"map_files_photo_id_array":[{"photo_id":"1395710083","filename":"file5"},{"photo_id":"1395710073","filename":"file2"},{"photo_id":"1395710080","filename":"file4"},{"photo_id":"1395710071","filename":"file1"},{"photo_id":"1395710068","filename":"file0"},{"photo_id":"1395710077","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710083":["hashtag1","hashtag2"]},{"1395710077":["hashtag1","hashtag2"]},{"1395710071":["hashtag1","hashtag2"]},{"1395710080":["hashtag1","hashtag2"]},{"1395710068":["hashtag1","hashtag2"]},{"1395710073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710083, 1395710077, 1395710071, 1395710080, 1395710068, 1395710073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86065697669983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:43:03.076638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_52_5378.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_53_1566.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_56_2691.jpg', '/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_58_2643.jpg', '/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_01_2649.jpg', '/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_05_3508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_52_5378.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_53_1566.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_56_2691.jpg
/home/pi/Desktop/images/22112025/16/40/image_22112025_16_40_58_2643.jpg
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_01_2649.jpg
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_05_3508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710090","1395710093","1395710087","1395710086","1395710088","1395710085"],"photo_ids_order":["1395710085","1395710086","1395710087","1395710088","1395710090","1395710093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9189b63621a23fd0ed926e1e53f7a473.jpg","text":"TemporaryFile(/tmp/multipartBody6636387780498241855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826243744,"filename":"image_22112025_16_41_01_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3786ff27d4b49d90dc8b6ce562e88c0.jpg","text":"TemporaryFile(/tmp/multipartBody483101447543843960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826243744,"filename":"image_22112025_16_41_05_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39ce34da624a40c47c1ef4e062cca76a.jpg","text":"TemporaryFile(/tmp/multipartBody529524799825289659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826243744,"filename":"image_22112025_16_40_56_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f4239aadb69ab3f9f90f7a81e5f0b84.jpg","text":"TemporaryFile(/tmp/multipartBody3229346225718396515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826243744,"filename":"image_22112025_16_40_53_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c862c27afd330dbb6c64b17a7ed155a4.jpg","text":"TemporaryFile(/tmp/multipartBody7867354281127433615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826243744,"filename":"image_22112025_16_40_58_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c037bd7b7bbca533bda7b762d391223d.jpg","text":"TemporaryFile(/tmp/multipartBody1201506358726081029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826243744,"filename":"image_22112025_16_40_52_5378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710087","file1":"1395710086","file0":"1395710085","file4":"1395710090","file5":"1395710093","file3":"1395710088"},"map_files_photo_id_array":[{"photo_id":"1395710093","filename":"file5"},{"photo_id":"1395710087","filename":"file2"},{"photo_id":"1395710090","filename":"file4"},{"photo_id":"1395710086","filename":"file1"},{"photo_id":"1395710085","filename":"file0"},{"photo_id":"1395710088","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710090":["hashtag1","hashtag2"]},{"1395710093":["hashtag1","hashtag2"]},{"1395710087":["hashtag1","hashtag2"]},{"1395710086":["hashtag1","hashtag2"]},{"1395710088":["hashtag1","hashtag2"]},{"1395710085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710090, 1395710093, 1395710087, 1395710086, 1395710088, 1395710085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54629158973694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:43:42.319275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_07_2494.jpg', '/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_13_2480.jpg', '/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_23_3557.jpg', '/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_26_2669.jpg', '/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_41_3713.jpg', '/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_50_6624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_07_2494.jpg
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_13_2480.jpg
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_23_3557.jpg
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_26_2669.jpg
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_41_3713.jpg
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_50_6624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710109","1395710103","1395710105","1395710108","1395710107","1395710106"],"photo_ids_order":["1395710103","1395710105","1395710106","1395710107","1395710108","1395710109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea2db58ca32d5a849b304a74d899e049.jpg","text":"TemporaryFile(/tmp/multipartBody5651989334313705835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826282920,"filename":"image_22112025_16_41_50_6624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed3ed651db2721abc9b7422b98f7aaf9.jpg","text":"TemporaryFile(/tmp/multipartBody2956303077907244160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826282920,"filename":"image_22112025_16_41_07_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e91f5c675990623be62abaed74401451.jpg","text":"TemporaryFile(/tmp/multipartBody7916877081982887308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826282920,"filename":"image_22112025_16_41_13_2480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d2891509f2390d7ae59a5122e85e8ee.jpg","text":"TemporaryFile(/tmp/multipartBody7861674692122842494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826282920,"filename":"image_22112025_16_41_41_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afa88de1218a92a158837f30e1f691e1.jpg","text":"TemporaryFile(/tmp/multipartBody6340477741974193039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826282920,"filename":"image_22112025_16_41_26_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02a62baefec42519b0d4dd4551a56888.jpg","text":"TemporaryFile(/tmp/multipartBody5228484853717754799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826282920,"filename":"image_22112025_16_41_23_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710106","file1":"1395710105","file0":"1395710103","file4":"1395710108","file5":"1395710109","file3":"1395710107"},"map_files_photo_id_array":[{"photo_id":"1395710109","filename":"file5"},{"photo_id":"1395710106","filename":"file2"},{"photo_id":"1395710108","filename":"file4"},{"photo_id":"1395710105","filename":"file1"},{"photo_id":"1395710103","filename":"file0"},{"photo_id":"1395710107","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710109":["hashtag1","hashtag2"]},{"1395710103":["hashtag1","hashtag2"]},{"1395710105":["hashtag1","hashtag2"]},{"1395710108":["hashtag1","hashtag2"]},{"1395710107":["hashtag1","hashtag2"]},{"1395710106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710109, 1395710103, 1395710105, 1395710108, 1395710107, 1395710106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6795608997345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:44:22.636377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_54_1557.jpg', '/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_58_3177.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_11_2620.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_13_2664.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_26_3556.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_28_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_54_1557.jpg
/home/pi/Desktop/images/22112025/16/41/image_22112025_16_41_58_3177.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_11_2620.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_13_2664.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_26_3556.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_28_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710115","1395710120","1395710131","1395710113","1395710124","1395710127"],"photo_ids_order":["1395710113","1395710115","1395710120","1395710124","1395710127","1395710131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35cd48dc68ca2dee4a6547cfdd2be744.jpg","text":"TemporaryFile(/tmp/multipartBody8893574866559619156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826323238,"filename":"image_22112025_16_41_58_3177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58c8b13c495f1c56b4fda4f141a7ed67.jpg","text":"TemporaryFile(/tmp/multipartBody7080673161952870468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826323238,"filename":"image_22112025_16_42_11_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fb1f535d69a7aa9158358e03435b05d.jpg","text":"TemporaryFile(/tmp/multipartBody3511246862582624391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826323238,"filename":"image_22112025_16_42_28_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/912459a3e4df53d8e8070b8440341537.jpg","text":"TemporaryFile(/tmp/multipartBody1598129041526560533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826323238,"filename":"image_22112025_16_41_54_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd85ece1a46d1beec825a54ebbdeb5a7.jpg","text":"TemporaryFile(/tmp/multipartBody357134527010953873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826323238,"filename":"image_22112025_16_42_13_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0d3fd990b3e4457fc718c30ac102631.jpg","text":"TemporaryFile(/tmp/multipartBody8696692764908852472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826323238,"filename":"image_22112025_16_42_26_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710120","file1":"1395710115","file0":"1395710113","file4":"1395710127","file5":"1395710131","file3":"1395710124"},"map_files_photo_id_array":[{"photo_id":"1395710131","filename":"file5"},{"photo_id":"1395710120","filename":"file2"},{"photo_id":"1395710127","filename":"file4"},{"photo_id":"1395710115","filename":"file1"},{"photo_id":"1395710113","filename":"file0"},{"photo_id":"1395710124","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710115":["hashtag1","hashtag2"]},{"1395710120":["hashtag1","hashtag2"]},{"1395710131":["hashtag1","hashtag2"]},{"1395710113":["hashtag1","hashtag2"]},{"1395710124":["hashtag1","hashtag2"]},{"1395710127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710115, 1395710120, 1395710131, 1395710113, 1395710124, 1395710127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80770921707153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:45:02.542316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_34_3528.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_41_3577.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_43_2718.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_50_3718.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_55_2655.jpg', '/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_59_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_34_3528.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_41_3577.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_43_2718.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_50_3718.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_55_2655.jpg
/home/pi/Desktop/images/22112025/16/42/image_22112025_16_42_59_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710138","1395710140","1395710137","1395710142","1395710145","1395710139"],"photo_ids_order":["1395710137","1395710138","1395710139","1395710140","1395710142","1395710145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bc9d72033dc9a6f30c18b4f4a7c7d5a.jpg","text":"TemporaryFile(/tmp/multipartBody2814967318227539241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826363194,"filename":"image_22112025_16_42_41_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/462b9767ef9ad3d733992d75249f987a.jpg","text":"TemporaryFile(/tmp/multipartBody8246416345000857974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826363194,"filename":"image_22112025_16_42_50_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/988f3a490b2f4b96520c2bd9b791b7c4.jpg","text":"TemporaryFile(/tmp/multipartBody3190805508937037514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826363194,"filename":"image_22112025_16_42_34_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06bea60ead1e865b910f59a728866b31.jpg","text":"TemporaryFile(/tmp/multipartBody1179396286918544674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826363194,"filename":"image_22112025_16_42_55_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/448ca6b5997bd6e31111f06deae7d443.jpg","text":"TemporaryFile(/tmp/multipartBody4571253762606732507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826363194,"filename":"image_22112025_16_42_59_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a88bb44c833a11ddcf47583b071ffd8e.jpg","text":"TemporaryFile(/tmp/multipartBody8548661445527514535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826363194,"filename":"image_22112025_16_42_43_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710139","file1":"1395710138","file0":"1395710137","file4":"1395710142","file5":"1395710145","file3":"1395710140"},"map_files_photo_id_array":[{"photo_id":"1395710145","filename":"file5"},{"photo_id":"1395710139","filename":"file2"},{"photo_id":"1395710142","filename":"file4"},{"photo_id":"1395710138","filename":"file1"},{"photo_id":"1395710137","filename":"file0"},{"photo_id":"1395710140","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710138":["hashtag1","hashtag2"]},{"1395710140":["hashtag1","hashtag2"]},{"1395710137":["hashtag1","hashtag2"]},{"1395710142":["hashtag1","hashtag2"]},{"1395710145":["hashtag1","hashtag2"]},{"1395710139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710138, 1395710140, 1395710137, 1395710142, 1395710145, 1395710139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.459779262542725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:45:41.976928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_01_2509.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_04_2819.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_08_3584.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_10_2690.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_13_2586.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_17_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_01_2509.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_04_2819.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_08_3584.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_10_2690.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_13_2586.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_17_3567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710153","1395710162","1395710164","1395710160","1395710157","1395710166"],"photo_ids_order":["1395710153","1395710157","1395710160","1395710162","1395710164","1395710166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d58d396860a0f8b17d2b4d83ca7ade1d.jpg","text":"TemporaryFile(/tmp/multipartBody4179091433776548797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826402563,"filename":"image_22112025_16_43_01_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4743d6fddf3189aab2583059ec6cfcc0.jpg","text":"TemporaryFile(/tmp/multipartBody8637048566962980075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826402563,"filename":"image_22112025_16_43_10_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f381d76ef3428742f140b23895b16391.jpg","text":"TemporaryFile(/tmp/multipartBody2636513749080784732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826402563,"filename":"image_22112025_16_43_13_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c990829ad96ef9e6bd5b4b8144e8f003.jpg","text":"TemporaryFile(/tmp/multipartBody7630393555615196183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826402563,"filename":"image_22112025_16_43_08_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/724d6f3e19ea06814d79c5dc95920271.jpg","text":"TemporaryFile(/tmp/multipartBody7104488101922735596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826402563,"filename":"image_22112025_16_43_04_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d10ae6b151c33e1bb202f1fdce6d4a0.jpg","text":"TemporaryFile(/tmp/multipartBody9208068302280911820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826402563,"filename":"image_22112025_16_43_17_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710160","file1":"1395710157","file0":"1395710153","file4":"1395710164","file5":"1395710166","file3":"1395710162"},"map_files_photo_id_array":[{"photo_id":"1395710166","filename":"file5"},{"photo_id":"1395710160","filename":"file2"},{"photo_id":"1395710164","filename":"file4"},{"photo_id":"1395710157","filename":"file1"},{"photo_id":"1395710153","filename":"file0"},{"photo_id":"1395710162","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710153":["hashtag1","hashtag2"]},{"1395710162":["hashtag1","hashtag2"]},{"1395710164":["hashtag1","hashtag2"]},{"1395710160":["hashtag1","hashtag2"]},{"1395710157":["hashtag1","hashtag2"]},{"1395710166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710153, 1395710162, 1395710164, 1395710160, 1395710157, 1395710166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.878594636917114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:46:22.197927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_19_2473.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_23_3548.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_25_2476.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_29_3596.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_34_2612.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_38_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_19_2473.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_23_3548.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_25_2476.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_29_3596.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_34_2612.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_38_3623.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.47066736221313477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:46:42.237222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_19_2473.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_23_3548.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_25_2476.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_29_3596.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_34_2612.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_38_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_19_2473.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_23_3548.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_25_2476.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_29_3596.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_34_2612.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_38_3623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710183","1395710189","1395710191","1395710188","1395710187","1395710190"],"photo_ids_order":["1395710183","1395710187","1395710188","1395710189","1395710190","1395710191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dae237e66405b04f2bd77e424ea195f5.jpg","text":"TemporaryFile(/tmp/multipartBody6603252884725890468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826462829,"filename":"image_22112025_16_43_19_2473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3b1d861a2476c568f0d24f01709f0bb.jpg","text":"TemporaryFile(/tmp/multipartBody3961136907806748521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826462829,"filename":"image_22112025_16_43_29_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0db707e50dcc022cb6b9194ee5cef25.jpg","text":"TemporaryFile(/tmp/multipartBody6785217140984566683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826462829,"filename":"image_22112025_16_43_38_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec989c0871a22b1ccbfee4ab6a813399.jpg","text":"TemporaryFile(/tmp/multipartBody5815084266763065293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826462829,"filename":"image_22112025_16_43_25_2476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f18493cc919f785dba51b5316ccd2a6d.jpg","text":"TemporaryFile(/tmp/multipartBody435853347556843569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826462829,"filename":"image_22112025_16_43_23_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c3c20693b14d99ba0cf7d3344e30bd5.jpg","text":"TemporaryFile(/tmp/multipartBody5899472291225246595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826462829,"filename":"image_22112025_16_43_34_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710188","file1":"1395710187","file0":"1395710183","file4":"1395710190","file5":"1395710191","file3":"1395710189"},"map_files_photo_id_array":[{"photo_id":"1395710191","filename":"file5"},{"photo_id":"1395710188","filename":"file2"},{"photo_id":"1395710190","filename":"file4"},{"photo_id":"1395710187","filename":"file1"},{"photo_id":"1395710183","filename":"file0"},{"photo_id":"1395710189","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710183":["hashtag1","hashtag2"]},{"1395710189":["hashtag1","hashtag2"]},{"1395710191":["hashtag1","hashtag2"]},{"1395710188":["hashtag1","hashtag2"]},{"1395710187":["hashtag1","hashtag2"]},{"1395710190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710183, 1395710189, 1395710191, 1395710188, 1395710187, 1395710190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.578341007232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:47:22.519394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_40_2513.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_44_3661.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_46_2479.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_49_2772.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_53_3656.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_55_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_40_2513.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_44_3661.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_46_2479.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_49_2772.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_53_3656.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_55_2538.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5020852088928223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:47:42.416931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_40_2513.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_44_3661.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_46_2479.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_49_2772.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_53_3656.jpg', '/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_55_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_40_2513.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_44_3661.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_46_2479.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_49_2772.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_53_3656.jpg
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_55_2538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710220","1395710214","1395710213","1395710212","1395710209","1395710211"],"photo_ids_order":["1395710209","1395710211","1395710212","1395710213","1395710214","1395710220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90eaac8587ce9047f18044bcd4de2f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3237496021023924137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826523078,"filename":"image_22112025_16_43_55_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0079b93b7cb2e96e0c3d0b8e96a6fece.jpg","text":"TemporaryFile(/tmp/multipartBody643427494614663744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826523078,"filename":"image_22112025_16_43_53_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01f1f73d95a410e2268f28db3306d921.jpg","text":"TemporaryFile(/tmp/multipartBody6172199365592978881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826523078,"filename":"image_22112025_16_43_49_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff950465e9c26c15c6df3b0ba9d079a8.jpg","text":"TemporaryFile(/tmp/multipartBody8913476816333267032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826523078,"filename":"image_22112025_16_43_46_2479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82292e2461be098cd07a1d60df7226e7.jpg","text":"TemporaryFile(/tmp/multipartBody6929248918420884259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826523078,"filename":"image_22112025_16_43_40_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cd3bda72d037f019018cd992813a5f8.jpg","text":"TemporaryFile(/tmp/multipartBody6585973711230785484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826523078,"filename":"image_22112025_16_43_44_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710212","file1":"1395710211","file0":"1395710209","file4":"1395710214","file5":"1395710220","file3":"1395710213"},"map_files_photo_id_array":[{"photo_id":"1395710220","filename":"file5"},{"photo_id":"1395710212","filename":"file2"},{"photo_id":"1395710214","filename":"file4"},{"photo_id":"1395710211","filename":"file1"},{"photo_id":"1395710209","filename":"file0"},{"photo_id":"1395710213","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710220":["hashtag1","hashtag2"]},{"1395710214":["hashtag1","hashtag2"]},{"1395710213":["hashtag1","hashtag2"]},{"1395710212":["hashtag1","hashtag2"]},{"1395710209":["hashtag1","hashtag2"]},{"1395710211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710220, 1395710214, 1395710213, 1395710212, 1395710209, 1395710211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.053109645843506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:48:22.557635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_59_3559.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_01_2496.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_04_2621.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_10_2619.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_13_2510.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_19_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/43/image_22112025_16_43_59_3559.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_01_2496.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_04_2621.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_10_2619.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_13_2510.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_19_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710229","1395710222","1395710233","1395710236","1395710238","1395710226"],"photo_ids_order":["1395710222","1395710226","1395710229","1395710233","1395710236","1395710238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf684ffad079729bca65e795c9b3be48.jpg","text":"TemporaryFile(/tmp/multipartBody3368740232922966737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826563142,"filename":"image_22112025_16_44_04_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12158580c875a92683a3879cbd2ae485.jpg","text":"TemporaryFile(/tmp/multipartBody9201974821315350552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826563142,"filename":"image_22112025_16_43_59_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06ba01df8ab8aca4af54611e32ab2db6.jpg","text":"TemporaryFile(/tmp/multipartBody9148893064014159301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826563142,"filename":"image_22112025_16_44_10_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d92a7310a7ef5066c7ad90a05a8f16f9.jpg","text":"TemporaryFile(/tmp/multipartBody2657741791900196688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826563142,"filename":"image_22112025_16_44_13_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d937bf328c23789b393762fae1780b6.jpg","text":"TemporaryFile(/tmp/multipartBody2825829027277164920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826563142,"filename":"image_22112025_16_44_19_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd84a47ced3cf9fee4fee703c0c9e506.jpg","text":"TemporaryFile(/tmp/multipartBody5169119752627448406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826563142,"filename":"image_22112025_16_44_01_2496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710229","file1":"1395710226","file0":"1395710222","file4":"1395710236","file5":"1395710238","file3":"1395710233"},"map_files_photo_id_array":[{"photo_id":"1395710238","filename":"file5"},{"photo_id":"1395710229","filename":"file2"},{"photo_id":"1395710236","filename":"file4"},{"photo_id":"1395710226","filename":"file1"},{"photo_id":"1395710222","filename":"file0"},{"photo_id":"1395710233","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710229":["hashtag1","hashtag2"]},{"1395710222":["hashtag1","hashtag2"]},{"1395710233":["hashtag1","hashtag2"]},{"1395710236":["hashtag1","hashtag2"]},{"1395710238":["hashtag1","hashtag2"]},{"1395710226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710229, 1395710222, 1395710233, 1395710236, 1395710238, 1395710226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78725075721741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:49:03.701691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_22_2657.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_26_3833.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_28_2658.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_31_2600.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_35_3683.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_37_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_22_2657.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_26_3833.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_28_2658.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_31_2600.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_35_3683.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_37_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710252","1395710246","1395710249","1395710243","1395710241","1395710244"],"photo_ids_order":["1395710241","1395710243","1395710244","1395710246","1395710249","1395710252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06cfb9a27b3551e58f7f520d93570560.jpg","text":"TemporaryFile(/tmp/multipartBody1491786520707599756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826606905,"filename":"image_22112025_16_44_37_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/985592b7f18b025e5b9df404d36dd855.jpg","text":"TemporaryFile(/tmp/multipartBody511113260272128312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826606905,"filename":"image_22112025_16_44_31_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e144d91372c0b6c44fbee6de42c86ea1.jpg","text":"TemporaryFile(/tmp/multipartBody7791723791743982364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826606905,"filename":"image_22112025_16_44_35_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d51a8f1086d5251be04406678d67d82e.jpg","text":"TemporaryFile(/tmp/multipartBody8718413607804439650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826606905,"filename":"image_22112025_16_44_26_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6aa3db9e6c66b92bc7bc7cee10cf9472.jpg","text":"TemporaryFile(/tmp/multipartBody1906606375303249695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826606905,"filename":"image_22112025_16_44_22_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/754d6d0aec2196f91fa4c47775833c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6493734014279671324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826606905,"filename":"image_22112025_16_44_28_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710244","file1":"1395710243","file0":"1395710241","file4":"1395710249","file5":"1395710252","file3":"1395710246"},"map_files_photo_id_array":[{"photo_id":"1395710252","filename":"file5"},{"photo_id":"1395710244","filename":"file2"},{"photo_id":"1395710249","filename":"file4"},{"photo_id":"1395710243","filename":"file1"},{"photo_id":"1395710241","filename":"file0"},{"photo_id":"1395710246","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710252":["hashtag1","hashtag2"]},{"1395710246":["hashtag1","hashtag2"]},{"1395710249":["hashtag1","hashtag2"]},{"1395710243":["hashtag1","hashtag2"]},{"1395710241":["hashtag1","hashtag2"]},{"1395710244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710252, 1395710246, 1395710249, 1395710243, 1395710241, 1395710244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74597787857056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:49:42.687362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_40_2666.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_43_3451.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_46_2566.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_50_3668.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_52_2489.jpg', '/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_56_3506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_40_2666.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_43_3451.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_46_2566.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_50_3668.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_52_2489.jpg
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_56_3506.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710264","1395710261","1395710263","1395710262","1395710265","1395710259"],"photo_ids_order":["1395710259","1395710261","1395710262","1395710263","1395710264","1395710265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f2f823d542e3ea3c646ba5dfd0727ca.jpg","text":"TemporaryFile(/tmp/multipartBody9036241490104785874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826643265,"filename":"image_22112025_16_44_52_2489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/647eac811ba4d2dc59346c5be61a49b1.jpg","text":"TemporaryFile(/tmp/multipartBody3109776205686673347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826643265,"filename":"image_22112025_16_44_43_3451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/badc22f28f54bdae7e89190f604c4273.jpg","text":"TemporaryFile(/tmp/multipartBody8999752176747279934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826643265,"filename":"image_22112025_16_44_50_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2e77117caa9155680172aadd105e9f2.jpg","text":"TemporaryFile(/tmp/multipartBody8185618810232919519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826643265,"filename":"image_22112025_16_44_46_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cf8d1790c0906bbeb28f14eeccb183c.jpg","text":"TemporaryFile(/tmp/multipartBody1554769117732917948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826643265,"filename":"image_22112025_16_44_56_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c42d7c5209a694e41ff193d6d16b1fef.jpg","text":"TemporaryFile(/tmp/multipartBody5530496291795725189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826643265,"filename":"image_22112025_16_44_40_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710262","file1":"1395710261","file0":"1395710259","file4":"1395710264","file5":"1395710265","file3":"1395710263"},"map_files_photo_id_array":[{"photo_id":"1395710265","filename":"file5"},{"photo_id":"1395710262","filename":"file2"},{"photo_id":"1395710264","filename":"file4"},{"photo_id":"1395710261","filename":"file1"},{"photo_id":"1395710259","filename":"file0"},{"photo_id":"1395710263","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710264":["hashtag1","hashtag2"]},{"1395710261":["hashtag1","hashtag2"]},{"1395710263":["hashtag1","hashtag2"]},{"1395710262":["hashtag1","hashtag2"]},{"1395710265":["hashtag1","hashtag2"]},{"1395710259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710264, 1395710261, 1395710263, 1395710262, 1395710265, 1395710259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61964464187622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:50:21.940051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_58_2607.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_11_3604.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_13_2595.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_17_3522.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_19_2614.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_23_3481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/44/image_22112025_16_44_58_2607.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_11_3604.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_13_2595.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_17_3522.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_19_2614.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_23_3481.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710279","1395710270","1395710273","1395710267","1395710276","1395710283"],"photo_ids_order":["1395710267","1395710270","1395710273","1395710276","1395710279","1395710283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3db8d517845f2412df2d88c9b6011fc6.jpg","text":"TemporaryFile(/tmp/multipartBody602615176105391915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826682529,"filename":"image_22112025_16_45_19_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac9e9153833ba145cbd55c5f14d07133.jpg","text":"TemporaryFile(/tmp/multipartBody1665203267550679430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826682529,"filename":"image_22112025_16_45_11_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0781387a0cb59a292cc5a544d17fee0.jpg","text":"TemporaryFile(/tmp/multipartBody7419820414286868784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826682529,"filename":"image_22112025_16_45_13_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aeb1f68cb5ad0d2176e57e452ea90839.jpg","text":"TemporaryFile(/tmp/multipartBody1684517526486797076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826682529,"filename":"image_22112025_16_44_58_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5731c15947138ab9bb72d677d063468.jpg","text":"TemporaryFile(/tmp/multipartBody4064026471312933891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826682529,"filename":"image_22112025_16_45_17_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e39de5acf9cc1f18fee8f9566408c280.jpg","text":"TemporaryFile(/tmp/multipartBody1403878397537565734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826682529,"filename":"image_22112025_16_45_23_3481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710273","file1":"1395710270","file0":"1395710267","file4":"1395710279","file5":"1395710283","file3":"1395710276"},"map_files_photo_id_array":[{"photo_id":"1395710283","filename":"file5"},{"photo_id":"1395710273","filename":"file2"},{"photo_id":"1395710279","filename":"file4"},{"photo_id":"1395710270","filename":"file1"},{"photo_id":"1395710267","filename":"file0"},{"photo_id":"1395710276","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710279":["hashtag1","hashtag2"]},{"1395710270":["hashtag1","hashtag2"]},{"1395710273":["hashtag1","hashtag2"]},{"1395710267":["hashtag1","hashtag2"]},{"1395710276":["hashtag1","hashtag2"]},{"1395710283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710279, 1395710270, 1395710273, 1395710267, 1395710276, 1395710283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21087861061096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:51:02.623931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_29_3522.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_34_2551.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_38_3582.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_40_2578.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_44_3625.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_47_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_29_3522.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_34_2551.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_38_3582.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_40_2578.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_44_3625.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_47_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710301","1395710285","1395710284","1395710287","1395710286","1395710305"],"photo_ids_order":["1395710284","1395710285","1395710286","1395710287","1395710301","1395710305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49cb3f01a06ad9b79efcc5a2215216b9.jpg","text":"TemporaryFile(/tmp/multipartBody5779387757330254028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826723316,"filename":"image_22112025_16_45_44_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/282de6cb7f9d3240c063d45ea0fa8c9d.jpg","text":"TemporaryFile(/tmp/multipartBody2716962017476231686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826723316,"filename":"image_22112025_16_45_34_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a94655d87058e538c9bc97500169a2cb.jpg","text":"TemporaryFile(/tmp/multipartBody6036795209036475296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826723316,"filename":"image_22112025_16_45_29_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b5ee8797fd54987e4096903315e323b.jpg","text":"TemporaryFile(/tmp/multipartBody9015847181305501195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826723316,"filename":"image_22112025_16_45_40_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb5a7fd7779c5341b2eb11243714125e.jpg","text":"TemporaryFile(/tmp/multipartBody3306941659280681474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826723316,"filename":"image_22112025_16_45_38_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6366acff01bce71f8f218b2ab81605e.jpg","text":"TemporaryFile(/tmp/multipartBody1501283012672090871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826723316,"filename":"image_22112025_16_45_47_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710286","file1":"1395710285","file0":"1395710284","file4":"1395710301","file5":"1395710305","file3":"1395710287"},"map_files_photo_id_array":[{"photo_id":"1395710305","filename":"file5"},{"photo_id":"1395710286","filename":"file2"},{"photo_id":"1395710301","filename":"file4"},{"photo_id":"1395710285","filename":"file1"},{"photo_id":"1395710284","filename":"file0"},{"photo_id":"1395710287","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710301":["hashtag1","hashtag2"]},{"1395710285":["hashtag1","hashtag2"]},{"1395710284":["hashtag1","hashtag2"]},{"1395710287":["hashtag1","hashtag2"]},{"1395710286":["hashtag1","hashtag2"]},{"1395710305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710301, 1395710285, 1395710284, 1395710287, 1395710286, 1395710305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34093260765076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:51:44.534198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_49_2831.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_52_2613.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_56_3645.jpg', '/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_58_2595.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_05_3487.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_13_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_49_2831.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_52_2613.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_56_3645.jpg
/home/pi/Desktop/images/22112025/16/45/image_22112025_16_45_58_2595.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_05_3487.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_13_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710334","1395710333","1395710336","1395710330","1395710332","1395710335"],"photo_ids_order":["1395710330","1395710332","1395710333","1395710334","1395710335","1395710336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be21f0b588b4c4ec4dc82f9c301cb276.jpg","text":"TemporaryFile(/tmp/multipartBody5556076755165756230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826765113,"filename":"image_22112025_16_45_58_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ba95ff3f8a458afbfb7684a98153fba.jpg","text":"TemporaryFile(/tmp/multipartBody4927874324684458937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826765113,"filename":"image_22112025_16_45_56_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e61780713784bfd6bf3873b13aa1da1.jpg","text":"TemporaryFile(/tmp/multipartBody6361984098300916236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826765113,"filename":"image_22112025_16_46_13_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cceab40a23b2cf9aacff892b18ebfbb.jpg","text":"TemporaryFile(/tmp/multipartBody8596481520298205332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826765113,"filename":"image_22112025_16_45_49_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2915c52d8e1538b1668fee474f5bd7cb.jpg","text":"TemporaryFile(/tmp/multipartBody2375567942075651566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826765113,"filename":"image_22112025_16_45_52_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01373d76894e1380bfb92423ade3edac.jpg","text":"TemporaryFile(/tmp/multipartBody6748253507472567740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826765113,"filename":"image_22112025_16_46_05_3487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710333","file1":"1395710332","file0":"1395710330","file4":"1395710335","file5":"1395710336","file3":"1395710334"},"map_files_photo_id_array":[{"photo_id":"1395710336","filename":"file5"},{"photo_id":"1395710333","filename":"file2"},{"photo_id":"1395710335","filename":"file4"},{"photo_id":"1395710332","filename":"file1"},{"photo_id":"1395710330","filename":"file0"},{"photo_id":"1395710334","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710334":["hashtag1","hashtag2"]},{"1395710333":["hashtag1","hashtag2"]},{"1395710336":["hashtag1","hashtag2"]},{"1395710330":["hashtag1","hashtag2"]},{"1395710332":["hashtag1","hashtag2"]},{"1395710335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710334, 1395710333, 1395710336, 1395710330, 1395710332, 1395710335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85192847251892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:52:22.844888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_18_4247.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_19_1609.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_22_2678.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_26_3549.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_28_2492.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_32_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_18_4247.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_19_1609.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_22_2678.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_26_3549.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_28_2492.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_32_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710345","1395710354","1395710348","1395710342","1395710339","1395710350"],"photo_ids_order":["1395710339","1395710342","1395710345","1395710348","1395710350","1395710354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0601e974c2f9d822702278c10367a360.jpg","text":"TemporaryFile(/tmp/multipartBody2433797730357659962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826803443,"filename":"image_22112025_16_46_22_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54693a94bea42c173fdba842020adbdc.jpg","text":"TemporaryFile(/tmp/multipartBody6478736871689123178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826803443,"filename":"image_22112025_16_46_32_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bd12a64ea615eaabf9f65c3ef2184a4.jpg","text":"TemporaryFile(/tmp/multipartBody3970945232909589145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826803443,"filename":"image_22112025_16_46_26_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5842e74aebb2c3ab421a39a4f73c041.jpg","text":"TemporaryFile(/tmp/multipartBody976504507055999303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826803443,"filename":"image_22112025_16_46_19_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d7be864110951ca8459312e478cddc2.jpg","text":"TemporaryFile(/tmp/multipartBody8228147478491213794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826803443,"filename":"image_22112025_16_46_18_4247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b1e5e50e42abca20a038c85723c9196.jpg","text":"TemporaryFile(/tmp/multipartBody2928418031161738650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826803443,"filename":"image_22112025_16_46_28_2492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710345","file1":"1395710342","file0":"1395710339","file4":"1395710350","file5":"1395710354","file3":"1395710348"},"map_files_photo_id_array":[{"photo_id":"1395710354","filename":"file5"},{"photo_id":"1395710345","filename":"file2"},{"photo_id":"1395710350","filename":"file4"},{"photo_id":"1395710342","filename":"file1"},{"photo_id":"1395710339","filename":"file0"},{"photo_id":"1395710348","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710345":["hashtag1","hashtag2"]},{"1395710354":["hashtag1","hashtag2"]},{"1395710348":["hashtag1","hashtag2"]},{"1395710342":["hashtag1","hashtag2"]},{"1395710339":["hashtag1","hashtag2"]},{"1395710350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710345, 1395710354, 1395710348, 1395710342, 1395710339, 1395710350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29838585853577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:53:02.692193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_37_2565.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_43_2523.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_47_3633.jpg', '/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_49_2558.jpg', '/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_04_2603.jpg', '/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_07_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_37_2565.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_43_2523.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_47_3633.jpg
/home/pi/Desktop/images/22112025/16/46/image_22112025_16_46_49_2558.jpg
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_04_2603.jpg
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_07_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710363","1395710365","1395710370","1395710367","1395710361","1395710364"],"photo_ids_order":["1395710361","1395710363","1395710364","1395710365","1395710367","1395710370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb5ae61c8bb1552c5464f58723bee75c.jpg","text":"TemporaryFile(/tmp/multipartBody407038976106896231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826843380,"filename":"image_22112025_16_46_43_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4554abfd2407892f8e7d4da071f43b9f.jpg","text":"TemporaryFile(/tmp/multipartBody4085594652853484491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826843380,"filename":"image_22112025_16_46_49_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ac1ed4895443d291b693b7d94f5f4fa.jpg","text":"TemporaryFile(/tmp/multipartBody5337183938100553657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826843380,"filename":"image_22112025_16_47_07_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d764433b05ddceed4578acba6e94102a.jpg","text":"TemporaryFile(/tmp/multipartBody5118950897267136541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826843380,"filename":"image_22112025_16_47_04_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/722b61abd550ddaa40484ac889fd3038.jpg","text":"TemporaryFile(/tmp/multipartBody7104447445328136103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826843380,"filename":"image_22112025_16_46_37_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af761211216099267779cc0b64fc4e56.jpg","text":"TemporaryFile(/tmp/multipartBody8257346988010057747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826843380,"filename":"image_22112025_16_46_47_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710364","file1":"1395710363","file0":"1395710361","file4":"1395710367","file5":"1395710370","file3":"1395710365"},"map_files_photo_id_array":[{"photo_id":"1395710370","filename":"file5"},{"photo_id":"1395710364","filename":"file2"},{"photo_id":"1395710367","filename":"file4"},{"photo_id":"1395710363","filename":"file1"},{"photo_id":"1395710361","filename":"file0"},{"photo_id":"1395710365","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710363":["hashtag1","hashtag2"]},{"1395710365":["hashtag1","hashtag2"]},{"1395710370":["hashtag1","hashtag2"]},{"1395710367":["hashtag1","hashtag2"]},{"1395710361":["hashtag1","hashtag2"]},{"1395710364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710363, 1395710365, 1395710370, 1395710367, 1395710361, 1395710364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97153282165527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:53:41.933237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_19_2484.jpg', '/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_22_3475.jpg', '/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_25_2610.jpg', '/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_29_3582.jpg', '/home/pi/Desktop/images/22112025/16/48/image_22112025_16_48_22_2688.jpg', '/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_10_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_19_2484.jpg
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_22_3475.jpg
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_25_2610.jpg
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_29_3582.jpg
/home/pi/Desktop/images/22112025/16/48/image_22112025_16_48_22_2688.jpg
/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_10_2591.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.2050824165344238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:54:02.957968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_19_2484.jpg', '/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_22_3475.jpg', '/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_25_2610.jpg', '/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_29_3582.jpg', '/home/pi/Desktop/images/22112025/16/48/image_22112025_16_48_22_2688.jpg', '/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_10_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_19_2484.jpg
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_22_3475.jpg
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_25_2610.jpg
/home/pi/Desktop/images/22112025/16/47/image_22112025_16_47_29_3582.jpg
/home/pi/Desktop/images/22112025/16/48/image_22112025_16_48_22_2688.jpg
/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_10_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710390","1395710393","1395710392","1395710395","1395710391","1395710388"],"photo_ids_order":["1395710388","1395710390","1395710391","1395710392","1395710393","1395710395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e64eea76718aa7a85bfd5b53eeb3f503.jpg","text":"TemporaryFile(/tmp/multipartBody6020414014833214315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826903610,"filename":"image_22112025_16_47_22_3475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f59849b7c574f4af2b39942617a944a.jpg","text":"TemporaryFile(/tmp/multipartBody6533488811701242784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826903610,"filename":"image_22112025_16_48_22_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1be9e5668d31f7a51acfa0c8c362ab5.jpg","text":"TemporaryFile(/tmp/multipartBody495565484609586249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826903610,"filename":"image_22112025_16_47_29_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bc0fff598108384a7c77bdc1907fdbf.jpg","text":"TemporaryFile(/tmp/multipartBody3542532674334334452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826903610,"filename":"image_22112025_16_49_10_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c3b8f9b311d1795381dfed7bc89a1cc.jpg","text":"TemporaryFile(/tmp/multipartBody834727758061527453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826903610,"filename":"image_22112025_16_47_25_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e506ea68e3e49b6ee69d18bca435ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1580930406025797832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826903610,"filename":"image_22112025_16_47_19_2484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710391","file1":"1395710390","file0":"1395710388","file4":"1395710393","file5":"1395710395","file3":"1395710392"},"map_files_photo_id_array":[{"photo_id":"1395710395","filename":"file5"},{"photo_id":"1395710391","filename":"file2"},{"photo_id":"1395710393","filename":"file4"},{"photo_id":"1395710390","filename":"file1"},{"photo_id":"1395710388","filename":"file0"},{"photo_id":"1395710392","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710390":["hashtag1","hashtag2"]},{"1395710393":["hashtag1","hashtag2"]},{"1395710392":["hashtag1","hashtag2"]},{"1395710395":["hashtag1","hashtag2"]},{"1395710391":["hashtag1","hashtag2"]},{"1395710388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710390, 1395710393, 1395710392, 1395710395, 1395710391, 1395710388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.534847259521484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:54:42.133552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_19_2633.jpg', '/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_28_3650.jpg', '/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_31_2489.jpg', '/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_34_3568.jpg', '/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_43_3596.jpg', '/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_52_8871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_19_2633.jpg
/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_28_3650.jpg
/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_31_2489.jpg
/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_34_3568.jpg
/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_43_3596.jpg
/home/pi/Desktop/images/22112025/16/49/image_22112025_16_49_52_8871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710412","1395710409","1395710411","1395710410","1395710407","1395710403"],"photo_ids_order":["1395710403","1395710407","1395710409","1395710410","1395710411","1395710412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/564579a04c392c768e19cc3725492d56.jpg","text":"TemporaryFile(/tmp/multipartBody7468645130715422916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826942731,"filename":"image_22112025_16_49_52_8871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0808e25cfb265ba438e362bc062a376e.jpg","text":"TemporaryFile(/tmp/multipartBody4938907015281773458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826942731,"filename":"image_22112025_16_49_31_2489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07fde34ea74dc86eae2deab1d0738c57.jpg","text":"TemporaryFile(/tmp/multipartBody4787153140997666858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826942731,"filename":"image_22112025_16_49_43_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f121e61d7ed3e8808a33503af66a278.jpg","text":"TemporaryFile(/tmp/multipartBody3681875316265616088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826942731,"filename":"image_22112025_16_49_34_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc62575a41ddc2ec9b092fd459e46441.jpg","text":"TemporaryFile(/tmp/multipartBody7690392776019287671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826942731,"filename":"image_22112025_16_49_28_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f48aa7f1601a62d4199bc4c11ed8917.jpg","text":"TemporaryFile(/tmp/multipartBody702500854570477819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826942731,"filename":"image_22112025_16_49_19_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710409","file1":"1395710407","file0":"1395710403","file4":"1395710411","file5":"1395710412","file3":"1395710410"},"map_files_photo_id_array":[{"photo_id":"1395710412","filename":"file5"},{"photo_id":"1395710409","filename":"file2"},{"photo_id":"1395710411","filename":"file4"},{"photo_id":"1395710407","filename":"file1"},{"photo_id":"1395710403","filename":"file0"},{"photo_id":"1395710410","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710412":["hashtag1","hashtag2"]},{"1395710409":["hashtag1","hashtag2"]},{"1395710411":["hashtag1","hashtag2"]},{"1395710410":["hashtag1","hashtag2"]},{"1395710407":["hashtag1","hashtag2"]},{"1395710403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710412, 1395710409, 1395710411, 1395710410, 1395710407, 1395710403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33743929862976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:55:22.373477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/50/image_22112025_16_50_32_3632.jpg', '/home/pi/Desktop/images/22112025/16/50/image_22112025_16_50_47_3582.jpg', '/home/pi/Desktop/images/22112025/16/50/image_22112025_16_50_50_2866.jpg', '/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_02_2778.jpg', '/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_17_2594.jpg', '/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_23_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/50/image_22112025_16_50_32_3632.jpg
/home/pi/Desktop/images/22112025/16/50/image_22112025_16_50_47_3582.jpg
/home/pi/Desktop/images/22112025/16/50/image_22112025_16_50_50_2866.jpg
/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_02_2778.jpg
/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_17_2594.jpg
/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_23_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710427","1395710414","1395710421","1395710430","1395710424","1395710418"],"photo_ids_order":["1395710414","1395710418","1395710421","1395710424","1395710427","1395710430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ad8929a7164fa2c8cd78f76d218c4ff.jpg","text":"TemporaryFile(/tmp/multipartBody3532689721626757364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826983015,"filename":"image_22112025_16_51_17_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a29f278953ab09f4015803fa2f397ce.jpg","text":"TemporaryFile(/tmp/multipartBody5360808811603397411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826983015,"filename":"image_22112025_16_50_32_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a401e894987f6e31ba226f04303ecf3d.jpg","text":"TemporaryFile(/tmp/multipartBody490559671015012744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826983015,"filename":"image_22112025_16_50_50_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb894d83e4ff116b95764b004a95df06.jpg","text":"TemporaryFile(/tmp/multipartBody3334835004312728821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826983015,"filename":"image_22112025_16_51_23_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/619aababacfd04e81cb8d5572eb6634d.jpg","text":"TemporaryFile(/tmp/multipartBody6624215343794611046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826983015,"filename":"image_22112025_16_51_02_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72491c1fcf3b7bffde7d9650a5d82e2c.jpg","text":"TemporaryFile(/tmp/multipartBody517358573787847846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763826983015,"filename":"image_22112025_16_50_47_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710421","file1":"1395710418","file0":"1395710414","file4":"1395710427","file5":"1395710430","file3":"1395710424"},"map_files_photo_id_array":[{"photo_id":"1395710430","filename":"file5"},{"photo_id":"1395710421","filename":"file2"},{"photo_id":"1395710427","filename":"file4"},{"photo_id":"1395710418","filename":"file1"},{"photo_id":"1395710414","filename":"file0"},{"photo_id":"1395710424","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710427":["hashtag1","hashtag2"]},{"1395710414":["hashtag1","hashtag2"]},{"1395710421":["hashtag1","hashtag2"]},{"1395710430":["hashtag1","hashtag2"]},{"1395710424":["hashtag1","hashtag2"]},{"1395710418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710427, 1395710414, 1395710421, 1395710430, 1395710424, 1395710418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.317687034606934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:56:03.284644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_29_2528.jpg', '/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_38_2540.jpg', '/home/pi/Desktop/images/22112025/16/52/image_22112025_16_52_21_4227.jpg', '/home/pi/Desktop/images/22112025/16/52/image_22112025_16_52_23_1646.jpg', '/home/pi/Desktop/images/22112025/16/52/image_22112025_16_52_38_2563.jpg', '/home/pi/Desktop/images/22112025/16/52/image_22112025_16_52_49_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_29_2528.jpg
/home/pi/Desktop/images/22112025/16/51/image_22112025_16_51_38_2540.jpg
/home/pi/Desktop/images/22112025/16/52/image_22112025_16_52_21_4227.jpg
/home/pi/Desktop/images/22112025/16/52/image_22112025_16_52_23_1646.jpg
/home/pi/Desktop/images/22112025/16/52/image_22112025_16_52_38_2563.jpg
/home/pi/Desktop/images/22112025/16/52/image_22112025_16_52_49_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710432","1395710435","1395710437","1395710440","1395710434","1395710433"],"photo_ids_order":["1395710432","1395710433","1395710434","1395710435","1395710437","1395710440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/590294ea2fe26f392fbd861aa61bd5f7.jpg","text":"TemporaryFile(/tmp/multipartBody8261481971959389674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827023941,"filename":"image_22112025_16_51_29_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73cabfd4730609bebab09556855e26fd.jpg","text":"TemporaryFile(/tmp/multipartBody63373355194889195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827023941,"filename":"image_22112025_16_52_23_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcad57f725c9af108ae28f7ea33682aa.jpg","text":"TemporaryFile(/tmp/multipartBody2398759812461273314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827023941,"filename":"image_22112025_16_52_38_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d43ff330dfece459a1c22bd771a0e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7095992026036349524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827023941,"filename":"image_22112025_16_52_49_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/532a49b81d8326ad39998bee6e33a873.jpg","text":"TemporaryFile(/tmp/multipartBody2712515588506771994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827023941,"filename":"image_22112025_16_52_21_4227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/725ad3b1d3f20aa27c48032f6e0e4001.jpg","text":"TemporaryFile(/tmp/multipartBody1322711903686812480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827023941,"filename":"image_22112025_16_51_38_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710434","file1":"1395710433","file0":"1395710432","file4":"1395710437","file5":"1395710440","file3":"1395710435"},"map_files_photo_id_array":[{"photo_id":"1395710440","filename":"file5"},{"photo_id":"1395710434","filename":"file2"},{"photo_id":"1395710437","filename":"file4"},{"photo_id":"1395710433","filename":"file1"},{"photo_id":"1395710432","filename":"file0"},{"photo_id":"1395710435","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710432":["hashtag1","hashtag2"]},{"1395710435":["hashtag1","hashtag2"]},{"1395710437":["hashtag1","hashtag2"]},{"1395710440":["hashtag1","hashtag2"]},{"1395710434":["hashtag1","hashtag2"]},{"1395710433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710432, 1395710435, 1395710437, 1395710440, 1395710434, 1395710433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01721501350403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:56:42.733117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/53/image_22112025_16_53_20_2731.jpg', '/home/pi/Desktop/images/22112025/16/53/image_22112025_16_53_37_2776.jpg', '/home/pi/Desktop/images/22112025/16/53/image_22112025_16_53_50_3501.jpg', '/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_17_2661.jpg', '/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_34_2656.jpg', '/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_38_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/53/image_22112025_16_53_20_2731.jpg
/home/pi/Desktop/images/22112025/16/53/image_22112025_16_53_37_2776.jpg
/home/pi/Desktop/images/22112025/16/53/image_22112025_16_53_50_3501.jpg
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_17_2661.jpg
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_34_2656.jpg
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_38_3519.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710459","1395710456","1395710455","1395710458","1395710452","1395710457"],"photo_ids_order":["1395710452","1395710455","1395710456","1395710457","1395710458","1395710459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0df6021518a42cf746aff6beaad09556.jpg","text":"TemporaryFile(/tmp/multipartBody210812938086123711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827063351,"filename":"image_22112025_16_54_38_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77a27f8001f7a401ca2ce0bf628c7183.jpg","text":"TemporaryFile(/tmp/multipartBody8642799817520607588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827063351,"filename":"image_22112025_16_53_50_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eab3e323d6f9248f64ddab937073e703.jpg","text":"TemporaryFile(/tmp/multipartBody475600450769744736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827063351,"filename":"image_22112025_16_53_37_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f43712ef429dca04c1a287121e9e74b8.jpg","text":"TemporaryFile(/tmp/multipartBody5679317542125662600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827063351,"filename":"image_22112025_16_54_34_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7d777cfe3a411dfcc8382500d31d8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5943367720889089597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827063351,"filename":"image_22112025_16_53_20_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de9d394b15907689c7420d0d972a25f0.jpg","text":"TemporaryFile(/tmp/multipartBody4980798792724160032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827063351,"filename":"image_22112025_16_54_17_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710456","file1":"1395710455","file0":"1395710452","file4":"1395710458","file5":"1395710459","file3":"1395710457"},"map_files_photo_id_array":[{"photo_id":"1395710459","filename":"file5"},{"photo_id":"1395710456","filename":"file2"},{"photo_id":"1395710458","filename":"file4"},{"photo_id":"1395710455","filename":"file1"},{"photo_id":"1395710452","filename":"file0"},{"photo_id":"1395710457","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710459":["hashtag1","hashtag2"]},{"1395710456":["hashtag1","hashtag2"]},{"1395710455":["hashtag1","hashtag2"]},{"1395710458":["hashtag1","hashtag2"]},{"1395710452":["hashtag1","hashtag2"]},{"1395710457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710459, 1395710456, 1395710455, 1395710458, 1395710452, 1395710457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15307593345642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:57:21.972379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_41_2535.jpg', '/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_47_3517.jpg', '/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_50_2659.jpg', '/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_52_2734.jpg', '/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_56_3536.jpg', '/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_59_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_41_2535.jpg
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_47_3517.jpg
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_50_2659.jpg
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_52_2734.jpg
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_56_3536.jpg
/home/pi/Desktop/images/22112025/16/54/image_22112025_16_54_59_2853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710478","1395710472","1395710466","1395710475","1395710469","1395710463"],"photo_ids_order":["1395710463","1395710466","1395710469","1395710472","1395710475","1395710478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6718f24d76d94e32d971e09f9585cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody4633341945190414955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827104124,"filename":"image_22112025_16_54_59_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/323d5d61818d33ccefa898b2f9608cd2.jpg","text":"TemporaryFile(/tmp/multipartBody5789451742544541191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827104124,"filename":"image_22112025_16_54_52_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc4caa008fe5d53b339021279c05aad9.jpg","text":"TemporaryFile(/tmp/multipartBody2918701911973116342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827104124,"filename":"image_22112025_16_54_47_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4151765e2f649c75e42da25ec332063c.jpg","text":"TemporaryFile(/tmp/multipartBody5373082443922651014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827104124,"filename":"image_22112025_16_54_56_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/513606c98683441629747d93464592d5.jpg","text":"TemporaryFile(/tmp/multipartBody619204654299664129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827104124,"filename":"image_22112025_16_54_50_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b81134394b5cfbdbd5c09ee628333473.jpg","text":"TemporaryFile(/tmp/multipartBody8825343403317929441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827104124,"filename":"image_22112025_16_54_41_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710469","file1":"1395710466","file0":"1395710463","file4":"1395710475","file5":"1395710478","file3":"1395710472"},"map_files_photo_id_array":[{"photo_id":"1395710478","filename":"file5"},{"photo_id":"1395710469","filename":"file2"},{"photo_id":"1395710475","filename":"file4"},{"photo_id":"1395710466","filename":"file1"},{"photo_id":"1395710463","filename":"file0"},{"photo_id":"1395710472","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710478":["hashtag1","hashtag2"]},{"1395710472":["hashtag1","hashtag2"]},{"1395710466":["hashtag1","hashtag2"]},{"1395710475":["hashtag1","hashtag2"]},{"1395710469":["hashtag1","hashtag2"]},{"1395710463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710478, 1395710472, 1395710466, 1395710475, 1395710469, 1395710463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93679857254028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 16:59:03.294099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_07_3012.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_25_2607.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_29_3620.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_31_2613.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_40_2615.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_43_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_07_3012.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_25_2607.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_29_3620.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_31_2613.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_40_2615.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_43_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710483","1395710486","1395710491","1395710494","1395710488","1395710479"],"photo_ids_order":["1395710479","1395710483","1395710486","1395710488","1395710491","1395710494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d3e267e97555764f1ce21a4ca3af2ef.jpg","text":"TemporaryFile(/tmp/multipartBody7973218210325638384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827204178,"filename":"image_22112025_16_55_25_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/614a446978d9ff632dd5970bd0bd9a10.jpg","text":"TemporaryFile(/tmp/multipartBody3872785705048320926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827204178,"filename":"image_22112025_16_55_29_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b2a29553d52992138909856cc9fc2d59.jpg","text":"TemporaryFile(/tmp/multipartBody1844425661865667829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827204178,"filename":"image_22112025_16_55_40_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd3c9cb67eb62d111c6c1763458706ec.jpg","text":"TemporaryFile(/tmp/multipartBody300321356576964491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827204178,"filename":"image_22112025_16_55_43_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19a9c9027ba06f334b8cefa8b44e7775.jpg","text":"TemporaryFile(/tmp/multipartBody6190575913585755590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827204178,"filename":"image_22112025_16_55_31_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4fb3d7713d41b77d92aa8637b80642f.jpg","text":"TemporaryFile(/tmp/multipartBody6395779527335936167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827204178,"filename":"image_22112025_16_55_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710486","file1":"1395710483","file0":"1395710479","file4":"1395710491","file5":"1395710494","file3":"1395710488"},"map_files_photo_id_array":[{"photo_id":"1395710494","filename":"file5"},{"photo_id":"1395710486","filename":"file2"},{"photo_id":"1395710491","filename":"file4"},{"photo_id":"1395710483","filename":"file1"},{"photo_id":"1395710479","filename":"file0"},{"photo_id":"1395710488","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710483":["hashtag1","hashtag2"]},{"1395710486":["hashtag1","hashtag2"]},{"1395710491":["hashtag1","hashtag2"]},{"1395710494":["hashtag1","hashtag2"]},{"1395710488":["hashtag1","hashtag2"]},{"1395710479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710483, 1395710486, 1395710491, 1395710494, 1395710488, 1395710479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.401695251464844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 16:59:42.441165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_46_3589.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_49_2595.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_52_2855.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_55_3566.jpg', '/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_58_2676.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_02_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_46_3589.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_49_2595.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_52_2855.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_55_3566.jpg
/home/pi/Desktop/images/22112025/16/55/image_22112025_16_55_58_2676.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_02_3549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710663","1395710548","1395710583","1395710515","1395710622","1395710502"],"photo_ids_order":["1395710502","1395710515","1395710548","1395710583","1395710622","1395710663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/647e8a37bbc9b6c50768f596f3a37eca.jpg","text":"TemporaryFile(/tmp/multipartBody3580794575556510619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827243076,"filename":"image_22112025_16_56_02_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98feec5086fa4ef470d90f5ce4644cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8899479270073694614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827243076,"filename":"image_22112025_16_55_52_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35707e705fb9eaec7131b38ae6d0678e.jpg","text":"TemporaryFile(/tmp/multipartBody3106576179947360303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827243076,"filename":"image_22112025_16_55_55_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/287f44f580ae63e3b60225f3727f9071.jpg","text":"TemporaryFile(/tmp/multipartBody384327223905519278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827243076,"filename":"image_22112025_16_55_49_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28d755b5a83d557339617da890ba4e50.jpg","text":"TemporaryFile(/tmp/multipartBody6207469638748156100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827243076,"filename":"image_22112025_16_55_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb4fc4e8d9e75dbb55a45924c4e4f439.jpg","text":"TemporaryFile(/tmp/multipartBody7370381439562855576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827243076,"filename":"image_22112025_16_55_46_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710548","file1":"1395710515","file0":"1395710502","file4":"1395710622","file5":"1395710663","file3":"1395710583"},"map_files_photo_id_array":[{"photo_id":"1395710663","filename":"file5"},{"photo_id":"1395710548","filename":"file2"},{"photo_id":"1395710622","filename":"file4"},{"photo_id":"1395710515","filename":"file1"},{"photo_id":"1395710502","filename":"file0"},{"photo_id":"1395710583","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710663":["hashtag1","hashtag2"]},{"1395710548":["hashtag1","hashtag2"]},{"1395710583":["hashtag1","hashtag2"]},{"1395710515":["hashtag1","hashtag2"]},{"1395710622":["hashtag1","hashtag2"]},{"1395710502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710663, 1395710548, 1395710583, 1395710515, 1395710622, 1395710502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16783356666565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:00:22.709204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_11_3729.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_13_2702.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_16_2565.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_20_3740.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_22_2646.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_25_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_11_3729.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_13_2702.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_16_2565.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_20_3740.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_22_2646.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_25_2845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395710825","1395710860","1395711004","1395710898","1395710970","1395710934"],"photo_ids_order":["1395710825","1395710860","1395710898","1395710934","1395710970","1395711004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a84f4125617bb5a9c56946806581be1b.jpg","text":"TemporaryFile(/tmp/multipartBody2507694196102529656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827283371,"filename":"image_22112025_16_56_11_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0c223d9cf92f0dd3a12cddba5119b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7734545700402317321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827283371,"filename":"image_22112025_16_56_13_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3071a60ed680f37346c4bd982ea89bf9.jpg","text":"TemporaryFile(/tmp/multipartBody5416005924707784708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827283371,"filename":"image_22112025_16_56_25_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e8b1de03d8944b81b7354b7a0456a3a.jpg","text":"TemporaryFile(/tmp/multipartBody4377182344404423555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827283371,"filename":"image_22112025_16_56_16_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd30d7e20a318b950fabec176e389a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3940863851478225486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827283371,"filename":"image_22112025_16_56_22_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d898cb7fb4c1c92a81dcb8c4efc5030.jpg","text":"TemporaryFile(/tmp/multipartBody1191593007994961999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827283371,"filename":"image_22112025_16_56_20_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395710898","file1":"1395710860","file0":"1395710825","file4":"1395710970","file5":"1395711004","file3":"1395710934"},"map_files_photo_id_array":[{"photo_id":"1395711004","filename":"file5"},{"photo_id":"1395710898","filename":"file2"},{"photo_id":"1395710970","filename":"file4"},{"photo_id":"1395710860","filename":"file1"},{"photo_id":"1395710825","filename":"file0"},{"photo_id":"1395710934","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395710825":["hashtag1","hashtag2"]},{"1395710860":["hashtag1","hashtag2"]},{"1395711004":["hashtag1","hashtag2"]},{"1395710898":["hashtag1","hashtag2"]},{"1395710970":["hashtag1","hashtag2"]},{"1395710934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395710825, 1395710860, 1395711004, 1395710898, 1395710970, 1395710934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.859214305877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:01:02.575669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_29_3509.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_31_2653.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_34_2632.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_37_2755.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_40_3626.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_43_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_29_3509.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_31_2653.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_34_2632.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_37_2755.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_40_3626.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_43_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395711110","1395711163","1395711148","1395711040","1395711072","1395711135"],"photo_ids_order":["1395711040","1395711072","1395711110","1395711135","1395711148","1395711163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/188f7245f7e52fb18b53efa8c10476ed.jpg","text":"TemporaryFile(/tmp/multipartBody8366128817299720297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827323320,"filename":"image_22112025_16_56_34_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/298903785621d751b065c6e0d65dad93.jpg","text":"TemporaryFile(/tmp/multipartBody952172164928845958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827323320,"filename":"image_22112025_16_56_43_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb36359d5e7382ca4608073d070de7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4532364805808733560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827323320,"filename":"image_22112025_16_56_40_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df12ae1737830169be1d0dd9646c9cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5045729594895427212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827323320,"filename":"image_22112025_16_56_29_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc25c7d3f71a3e2c1df71592cf6566e4.jpg","text":"TemporaryFile(/tmp/multipartBody4736924088977667786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827323320,"filename":"image_22112025_16_56_31_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d11bd40f6c8a432b09d447a8f97fac7f.jpg","text":"TemporaryFile(/tmp/multipartBody5867868240926175738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827323320,"filename":"image_22112025_16_56_37_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395711110","file1":"1395711072","file0":"1395711040","file4":"1395711148","file5":"1395711163","file3":"1395711135"},"map_files_photo_id_array":[{"photo_id":"1395711163","filename":"file5"},{"photo_id":"1395711110","filename":"file2"},{"photo_id":"1395711148","filename":"file4"},{"photo_id":"1395711072","filename":"file1"},{"photo_id":"1395711040","filename":"file0"},{"photo_id":"1395711135","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395711110":["hashtag1","hashtag2"]},{"1395711163":["hashtag1","hashtag2"]},{"1395711148":["hashtag1","hashtag2"]},{"1395711040":["hashtag1","hashtag2"]},{"1395711072":["hashtag1","hashtag2"]},{"1395711135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395711110, 1395711163, 1395711148, 1395711040, 1395711072, 1395711135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90568685531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:01:41.846488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_47_3680.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_49_2496.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_52_2665.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_55_3199.jpg', '/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_58_2681.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_07_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_47_3680.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_49_2496.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_52_2665.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_55_3199.jpg
/home/pi/Desktop/images/22112025/16/56/image_22112025_16_56_58_2681.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_07_3573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395711280","1395711277","1395711265","1395711244","1395711279","1395711281"],"photo_ids_order":["1395711244","1395711265","1395711277","1395711279","1395711280","1395711281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2139d639d44db03bf41bfc0b8e5ea87.jpg","text":"TemporaryFile(/tmp/multipartBody4493113077227067419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827362531,"filename":"image_22112025_16_56_58_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3309263629548e9fd7731143195e10d3.jpg","text":"TemporaryFile(/tmp/multipartBody7280985905323862542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827362531,"filename":"image_22112025_16_56_52_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1307abd9d7b17537ac9613ee3ff13ad.jpg","text":"TemporaryFile(/tmp/multipartBody3252896242008622726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827362531,"filename":"image_22112025_16_56_49_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18a9d103946c2ac070477fbe295a27e6.jpg","text":"TemporaryFile(/tmp/multipartBody1122201679884809512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827362531,"filename":"image_22112025_16_56_47_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e456c5e0aab1621997f72842847e659e.jpg","text":"TemporaryFile(/tmp/multipartBody2012153839205877651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827362531,"filename":"image_22112025_16_56_55_3199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e7e83d66a77a53e8fe6074ce3c233a1.jpg","text":"TemporaryFile(/tmp/multipartBody7553801448173119139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827362531,"filename":"image_22112025_16_57_07_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395711277","file1":"1395711265","file0":"1395711244","file4":"1395711280","file5":"1395711281","file3":"1395711279"},"map_files_photo_id_array":[{"photo_id":"1395711281","filename":"file5"},{"photo_id":"1395711277","filename":"file2"},{"photo_id":"1395711280","filename":"file4"},{"photo_id":"1395711265","filename":"file1"},{"photo_id":"1395711244","filename":"file0"},{"photo_id":"1395711279","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395711280":["hashtag1","hashtag2"]},{"1395711277":["hashtag1","hashtag2"]},{"1395711265":["hashtag1","hashtag2"]},{"1395711244":["hashtag1","hashtag2"]},{"1395711279":["hashtag1","hashtag2"]},{"1395711281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395711280, 1395711277, 1395711265, 1395711244, 1395711279, 1395711281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77888035774231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:02:22.134112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_10_2617.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_14_3545.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_16_2484.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_19_2668.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_22_3705.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_25_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_10_2617.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_14_3545.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_16_2484.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_19_2668.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_22_3705.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_25_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395711347","1395711286","1395711289","1395711283","1395711310","1395711293"],"photo_ids_order":["1395711283","1395711286","1395711289","1395711293","1395711310","1395711347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d88f85ac7be3ea87473dcf92aafd5242.jpg","text":"TemporaryFile(/tmp/multipartBody2576728856176073944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827402827,"filename":"image_22112025_16_57_25_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fa6b3ae1569c03a757a4cb40f375feb.jpg","text":"TemporaryFile(/tmp/multipartBody2147457330848549405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827402827,"filename":"image_22112025_16_57_14_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b3b2a13ce9ae64954f35866d2562c0d.jpg","text":"TemporaryFile(/tmp/multipartBody9171649470517278787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827402827,"filename":"image_22112025_16_57_16_2484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e32bfaddeb569908830d195ad2a36488.jpg","text":"TemporaryFile(/tmp/multipartBody340940321988097942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827402827,"filename":"image_22112025_16_57_10_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f7eb533f695e3f51dc1930333b07449.jpg","text":"TemporaryFile(/tmp/multipartBody7876468375607875160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827402827,"filename":"image_22112025_16_57_22_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c84ff9f169c8b42ebe6374f41be12008.jpg","text":"TemporaryFile(/tmp/multipartBody8328512676856150933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827402827,"filename":"image_22112025_16_57_19_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395711289","file1":"1395711286","file0":"1395711283","file4":"1395711310","file5":"1395711347","file3":"1395711293"},"map_files_photo_id_array":[{"photo_id":"1395711347","filename":"file5"},{"photo_id":"1395711289","filename":"file2"},{"photo_id":"1395711310","filename":"file4"},{"photo_id":"1395711286","filename":"file1"},{"photo_id":"1395711283","filename":"file0"},{"photo_id":"1395711293","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395711347":["hashtag1","hashtag2"]},{"1395711286":["hashtag1","hashtag2"]},{"1395711289":["hashtag1","hashtag2"]},{"1395711283":["hashtag1","hashtag2"]},{"1395711310":["hashtag1","hashtag2"]},{"1395711293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395711347, 1395711286, 1395711289, 1395711283, 1395711310, 1395711293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81594228744507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:03:03.151711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_28_2675.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_38_3524.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_40_2633.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_43_2562.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_46_3579.jpg', '/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_53_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_28_2675.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_38_3524.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_40_2633.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_43_2562.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_46_3579.jpg
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_53_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395711536","1395711638","1395711676","1395711570","1395711501","1395711603"],"photo_ids_order":["1395711501","1395711536","1395711570","1395711603","1395711638","1395711676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a779232d0464dfb03a49d2f7a2df5e66.jpg","text":"TemporaryFile(/tmp/multipartBody6356171353750325021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827443957,"filename":"image_22112025_16_57_38_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c424c1146d3d507ba5e89d7df8000df4.jpg","text":"TemporaryFile(/tmp/multipartBody2941892421861711391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827443957,"filename":"image_22112025_16_57_46_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c839d161ebc9bfec6db88eff978d4352.jpg","text":"TemporaryFile(/tmp/multipartBody2159107968566052585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827443957,"filename":"image_22112025_16_57_53_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4662b9840bb315286fc3ece0c35beb5.jpg","text":"TemporaryFile(/tmp/multipartBody6992078606243974455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827443957,"filename":"image_22112025_16_57_40_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b02c8337fbfd3780ff3ae2626a074a50.jpg","text":"TemporaryFile(/tmp/multipartBody3089716191115524859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827443957,"filename":"image_22112025_16_57_28_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49efa977ae56831669a25f33a5a865a7.jpg","text":"TemporaryFile(/tmp/multipartBody1798472427314727219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827443957,"filename":"image_22112025_16_57_43_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395711570","file1":"1395711536","file0":"1395711501","file4":"1395711638","file5":"1395711676","file3":"1395711603"},"map_files_photo_id_array":[{"photo_id":"1395711676","filename":"file5"},{"photo_id":"1395711570","filename":"file2"},{"photo_id":"1395711638","filename":"file4"},{"photo_id":"1395711536","filename":"file1"},{"photo_id":"1395711501","filename":"file0"},{"photo_id":"1395711603","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395711536":["hashtag1","hashtag2"]},{"1395711638":["hashtag1","hashtag2"]},{"1395711676":["hashtag1","hashtag2"]},{"1395711570":["hashtag1","hashtag2"]},{"1395711501":["hashtag1","hashtag2"]},{"1395711603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395711536, 1395711638, 1395711676, 1395711570, 1395711501, 1395711603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12817311286926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:03:42.335468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_58_2610.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_01_2818.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_04_3666.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_07_2604.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_11_3647.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_19_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_58_2610.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_01_2818.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_04_3666.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_07_2604.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_11_3647.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_19_2631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.515169620513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:04:03.150674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_58_2610.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_01_2818.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_04_3666.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_07_2604.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_11_3647.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_19_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/57/image_22112025_16_57_58_2610.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_01_2818.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_04_3666.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_07_2604.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_11_3647.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_19_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395711940","1395712086","1395711984","1395711876","1395711906","1395712052"],"photo_ids_order":["1395711876","1395711906","1395711940","1395711984","1395712052","1395712086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f419ade5a0ca4c2c86f09adae7f4554.jpg","text":"TemporaryFile(/tmp/multipartBody5599402131207214477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827503928,"filename":"image_22112025_16_58_04_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b195140549fe6d893f62c351df54815d.jpg","text":"TemporaryFile(/tmp/multipartBody1890539307213498688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827503928,"filename":"image_22112025_16_58_19_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3359e5c135b97f1a6a325381e31ca00.jpg","text":"TemporaryFile(/tmp/multipartBody2903500892706831455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827503928,"filename":"image_22112025_16_58_07_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87a2b430cafd1f6cf0b4f92a4307c80c.jpg","text":"TemporaryFile(/tmp/multipartBody6182108664090407262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827503928,"filename":"image_22112025_16_57_58_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c7c28015fcb40e39dc637e695e0a6d4.jpg","text":"TemporaryFile(/tmp/multipartBody4397118652804014683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827503928,"filename":"image_22112025_16_58_01_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa05ecae97bae41246a78573008a1075.jpg","text":"TemporaryFile(/tmp/multipartBody6890259338030936995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827503928,"filename":"image_22112025_16_58_11_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395711940","file1":"1395711906","file0":"1395711876","file4":"1395712052","file5":"1395712086","file3":"1395711984"},"map_files_photo_id_array":[{"photo_id":"1395712086","filename":"file5"},{"photo_id":"1395711940","filename":"file2"},{"photo_id":"1395712052","filename":"file4"},{"photo_id":"1395711906","filename":"file1"},{"photo_id":"1395711876","filename":"file0"},{"photo_id":"1395711984","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395711940":["hashtag1","hashtag2"]},{"1395712086":["hashtag1","hashtag2"]},{"1395711984":["hashtag1","hashtag2"]},{"1395711876":["hashtag1","hashtag2"]},{"1395711906":["hashtag1","hashtag2"]},{"1395712052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395711940, 1395712086, 1395711984, 1395711876, 1395711906, 1395712052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49910521507263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:04:42.626835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_52_2692.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_55_2551.jpg', '/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_58_3621.jpg', '/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_01_2665.jpg', '/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_16_3679.jpg', '/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_34_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_52_2692.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_55_2551.jpg
/home/pi/Desktop/images/22112025/16/58/image_22112025_16_58_58_3621.jpg
/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_01_2665.jpg
/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_16_3679.jpg
/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_34_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712183","1395712222","1395712204","1395712207","1395712206","1395712226"],"photo_ids_order":["1395712183","1395712204","1395712206","1395712207","1395712222","1395712226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eda3be9cc851243ebc89825dcffcbbaa.jpg","text":"TemporaryFile(/tmp/multipartBody1847566910537726075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827543264,"filename":"image_22112025_16_58_52_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4717bbdb0cfc087c3a8453dc90c57e55.jpg","text":"TemporaryFile(/tmp/multipartBody2628698257449084333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827543264,"filename":"image_22112025_16_59_16_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05fe32399303781405ba834b42c89941.jpg","text":"TemporaryFile(/tmp/multipartBody8919711238545586547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827543264,"filename":"image_22112025_16_58_55_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/efb4ec9ca3f4abf44df4af83962e0625.jpg","text":"TemporaryFile(/tmp/multipartBody5553048900547212685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827543264,"filename":"image_22112025_16_59_01_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb3550da3c11026073124360740ad8e2.jpg","text":"TemporaryFile(/tmp/multipartBody115745357765367061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827543264,"filename":"image_22112025_16_58_58_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3bd85628441d9c788d6b79c31611192.jpg","text":"TemporaryFile(/tmp/multipartBody4311215840777242026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827543264,"filename":"image_22112025_16_59_34_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712206","file1":"1395712204","file0":"1395712183","file4":"1395712222","file5":"1395712226","file3":"1395712207"},"map_files_photo_id_array":[{"photo_id":"1395712226","filename":"file5"},{"photo_id":"1395712206","filename":"file2"},{"photo_id":"1395712222","filename":"file4"},{"photo_id":"1395712204","filename":"file1"},{"photo_id":"1395712183","filename":"file0"},{"photo_id":"1395712207","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712183":["hashtag1","hashtag2"]},{"1395712222":["hashtag1","hashtag2"]},{"1395712204":["hashtag1","hashtag2"]},{"1395712207":["hashtag1","hashtag2"]},{"1395712206":["hashtag1","hashtag2"]},{"1395712226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712183, 1395712222, 1395712204, 1395712207, 1395712206, 1395712226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78783917427063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:05:21.943442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_36_2495.jpg', '/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_40_3618.jpg', '/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_46_3567.jpg', '/home/pi/Desktop/images/22112025/17/00/image_22112025_17_00_35_2569.jpg', '/home/pi/Desktop/images/22112025/17/00/image_22112025_17_00_41_3762.jpg', '/home/pi/Desktop/images/22112025/17/00/image_22112025_17_00_44_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_36_2495.jpg
/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_40_3618.jpg
/home/pi/Desktop/images/22112025/16/59/image_22112025_16_59_46_3567.jpg
/home/pi/Desktop/images/22112025/17/00/image_22112025_17_00_35_2569.jpg
/home/pi/Desktop/images/22112025/17/00/image_22112025_17_00_41_3762.jpg
/home/pi/Desktop/images/22112025/17/00/image_22112025_17_00_44_2525.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712228","1395712231","1395712241","1395712235","1395712244","1395712238"],"photo_ids_order":["1395712228","1395712231","1395712235","1395712238","1395712241","1395712244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6edbea6fd92e161854c32aa7e235c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1214885234517045760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827582601,"filename":"image_22112025_16_59_36_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29a405d9268f4060c5e06b25cfb81dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4003044312539375566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827582601,"filename":"image_22112025_16_59_40_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b1207cbe4d84a39e7584b775ec8588d.jpg","text":"TemporaryFile(/tmp/multipartBody4732179036972814593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827582601,"filename":"image_22112025_17_00_41_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74bde046ec958803b26e09843e57c84d.jpg","text":"TemporaryFile(/tmp/multipartBody8771678919979591407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827582601,"filename":"image_22112025_16_59_46_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3af4f56834cb10f582aaa1280aee523.jpg","text":"TemporaryFile(/tmp/multipartBody5584148673312186051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827582601,"filename":"image_22112025_17_00_44_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16d356e6edf4792bc48d2a667c5bdc2a.jpg","text":"TemporaryFile(/tmp/multipartBody5486400704312587144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827582601,"filename":"image_22112025_17_00_35_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712235","file1":"1395712231","file0":"1395712228","file4":"1395712241","file5":"1395712244","file3":"1395712238"},"map_files_photo_id_array":[{"photo_id":"1395712244","filename":"file5"},{"photo_id":"1395712235","filename":"file2"},{"photo_id":"1395712241","filename":"file4"},{"photo_id":"1395712231","filename":"file1"},{"photo_id":"1395712228","filename":"file0"},{"photo_id":"1395712238","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712228":["hashtag1","hashtag2"]},{"1395712231":["hashtag1","hashtag2"]},{"1395712241":["hashtag1","hashtag2"]},{"1395712235":["hashtag1","hashtag2"]},{"1395712244":["hashtag1","hashtag2"]},{"1395712238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712228, 1395712231, 1395712241, 1395712235, 1395712244, 1395712238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78909158706665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:06:02.574082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_26_2617.jpg', '/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_32_2640.jpg', '/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_56_2705.jpg', '/home/pi/Desktop/images/22112025/17/02/image_22112025_17_02_25_2593.jpg', '/home/pi/Desktop/images/22112025/17/02/image_22112025_17_02_55_2677.jpg', '/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_35_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_26_2617.jpg
/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_32_2640.jpg
/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_56_2705.jpg
/home/pi/Desktop/images/22112025/17/02/image_22112025_17_02_25_2593.jpg
/home/pi/Desktop/images/22112025/17/02/image_22112025_17_02_55_2677.jpg
/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_35_2612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5604331493377686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:06:22.067024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_26_2617.jpg', '/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_32_2640.jpg', '/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_56_2705.jpg', '/home/pi/Desktop/images/22112025/17/02/image_22112025_17_02_25_2593.jpg', '/home/pi/Desktop/images/22112025/17/02/image_22112025_17_02_55_2677.jpg', '/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_35_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_26_2617.jpg
/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_32_2640.jpg
/home/pi/Desktop/images/22112025/17/01/image_22112025_17_01_56_2705.jpg
/home/pi/Desktop/images/22112025/17/02/image_22112025_17_02_25_2593.jpg
/home/pi/Desktop/images/22112025/17/02/image_22112025_17_02_55_2677.jpg
/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_35_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712270","1395712267","1395712255","1395712262","1395712265","1395712259"],"photo_ids_order":["1395712255","1395712259","1395712262","1395712265","1395712267","1395712270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5dbe00129fc3d6f0ce70b9e6146cac84.jpg","text":"TemporaryFile(/tmp/multipartBody4311743725413715928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827642763,"filename":"image_22112025_17_03_35_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/371217785d6a24b29e6961e46fd8ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody2431444441679023168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827642763,"filename":"image_22112025_17_02_55_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7948457e0688483bba236e825e998cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4300793217689852374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827642763,"filename":"image_22112025_17_01_26_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f28fe578a1c4833a0bc58c12ebfed8d.jpg","text":"TemporaryFile(/tmp/multipartBody4792789368631893409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827642763,"filename":"image_22112025_17_01_56_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f31fd0c0dd008a3da6162deb6a25dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4654137895212378535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827642763,"filename":"image_22112025_17_02_25_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88264ca8261fd16a50f691a7a38b0f85.jpg","text":"TemporaryFile(/tmp/multipartBody4574590388817794960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827642763,"filename":"image_22112025_17_01_32_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712262","file1":"1395712259","file0":"1395712255","file4":"1395712267","file5":"1395712270","file3":"1395712265"},"map_files_photo_id_array":[{"photo_id":"1395712270","filename":"file5"},{"photo_id":"1395712262","filename":"file2"},{"photo_id":"1395712267","filename":"file4"},{"photo_id":"1395712259","filename":"file1"},{"photo_id":"1395712255","filename":"file0"},{"photo_id":"1395712265","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712270":["hashtag1","hashtag2"]},{"1395712267":["hashtag1","hashtag2"]},{"1395712255":["hashtag1","hashtag2"]},{"1395712262":["hashtag1","hashtag2"]},{"1395712265":["hashtag1","hashtag2"]},{"1395712259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712270, 1395712267, 1395712255, 1395712262, 1395712265, 1395712259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.121482849121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:07:02.955140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_38_3688.jpg', '/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_50_2690.jpg', '/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_52_2592.jpg', '/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_02_3533.jpg', '/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_14_2716.jpg', '/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_32_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_38_3688.jpg
/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_50_2690.jpg
/home/pi/Desktop/images/22112025/17/03/image_22112025_17_03_52_2592.jpg
/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_02_3533.jpg
/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_14_2716.jpg
/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_32_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712279","1395712273","1395712276","1395712272","1395712271","1395712274"],"photo_ids_order":["1395712271","1395712272","1395712273","1395712274","1395712276","1395712279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7c82c494e5e697d07d977bb8f1f9496.jpg","text":"TemporaryFile(/tmp/multipartBody8087737404557234415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827683677,"filename":"image_22112025_17_04_32_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d679a83ed5ed9e9b8da7214dff40b222.jpg","text":"TemporaryFile(/tmp/multipartBody6717186972539458194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827683677,"filename":"image_22112025_17_03_52_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c477a10f093f9b7f476e1988f42c718.jpg","text":"TemporaryFile(/tmp/multipartBody393063525790560975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827683677,"filename":"image_22112025_17_04_14_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a92061eebe1d260805ba45a47d7c089f.jpg","text":"TemporaryFile(/tmp/multipartBody5378137024820149060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827683677,"filename":"image_22112025_17_03_50_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5050b7ab7cd94fb25ed1d2d191fc6956.jpg","text":"TemporaryFile(/tmp/multipartBody3670894885453177935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827683677,"filename":"image_22112025_17_03_38_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df14347875863af57d30dace9f4fe9e6.jpg","text":"TemporaryFile(/tmp/multipartBody4026579492412158664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827683677,"filename":"image_22112025_17_04_02_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712273","file1":"1395712272","file0":"1395712271","file4":"1395712276","file5":"1395712279","file3":"1395712274"},"map_files_photo_id_array":[{"photo_id":"1395712279","filename":"file5"},{"photo_id":"1395712273","filename":"file2"},{"photo_id":"1395712276","filename":"file4"},{"photo_id":"1395712272","filename":"file1"},{"photo_id":"1395712271","filename":"file0"},{"photo_id":"1395712274","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712279":["hashtag1","hashtag2"]},{"1395712273":["hashtag1","hashtag2"]},{"1395712276":["hashtag1","hashtag2"]},{"1395712272":["hashtag1","hashtag2"]},{"1395712271":["hashtag1","hashtag2"]},{"1395712274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712279, 1395712273, 1395712276, 1395712272, 1395712271, 1395712274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82526183128357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:07:42.247434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_34_2585.jpg', '/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_38_3487.jpg', '/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_44_3663.jpg', '/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_53_3736.jpg', '/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_56_2758.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_07_3013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_34_2585.jpg
/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_38_3487.jpg
/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_44_3663.jpg
/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_53_3736.jpg
/home/pi/Desktop/images/22112025/17/04/image_22112025_17_04_56_2758.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_07_3013.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712294","1395712288","1395712293","1395712296","1395712292","1395712295"],"photo_ids_order":["1395712288","1395712292","1395712293","1395712294","1395712295","1395712296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e264fff084f626e6d470cafe6df9b0f7.jpg","text":"TemporaryFile(/tmp/multipartBody432412841492217009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827722875,"filename":"image_22112025_17_04_53_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/637ce75dda53f78391bc819b291d8edc.jpg","text":"TemporaryFile(/tmp/multipartBody6780780559781082488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827722875,"filename":"image_22112025_17_04_34_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e26444ea7cb09b3414c607964e5fa5c1.jpg","text":"TemporaryFile(/tmp/multipartBody2361374628847073308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827722875,"filename":"image_22112025_17_04_44_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/548fcd7ea9c53f181bab10b0acbc0f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6041623132028208303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827722875,"filename":"image_22112025_17_05_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07ca22bb3af211acb415f5ed4b41d04f.jpg","text":"TemporaryFile(/tmp/multipartBody248962539466801848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827722875,"filename":"image_22112025_17_04_38_3487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc5c32a4a30c82a91adc138124c96a85.jpg","text":"TemporaryFile(/tmp/multipartBody2726719712174785099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827722875,"filename":"image_22112025_17_04_56_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712293","file1":"1395712292","file0":"1395712288","file4":"1395712295","file5":"1395712296","file3":"1395712294"},"map_files_photo_id_array":[{"photo_id":"1395712296","filename":"file5"},{"photo_id":"1395712293","filename":"file2"},{"photo_id":"1395712295","filename":"file4"},{"photo_id":"1395712292","filename":"file1"},{"photo_id":"1395712288","filename":"file0"},{"photo_id":"1395712294","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712294":["hashtag1","hashtag2"]},{"1395712288":["hashtag1","hashtag2"]},{"1395712293":["hashtag1","hashtag2"]},{"1395712296":["hashtag1","hashtag2"]},{"1395712292":["hashtag1","hashtag2"]},{"1395712295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712294, 1395712288, 1395712293, 1395712296, 1395712292, 1395712295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71695160865784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:08:22.522153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_11_3560.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_20_3732.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_29_2529.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_31_2702.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_38_2857.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_40_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_11_3560.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_20_3732.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_29_2529.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_31_2702.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_38_2857.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_40_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712313","1395712309","1395712299","1395712302","1395712316","1395712304"],"photo_ids_order":["1395712299","1395712302","1395712304","1395712309","1395712313","1395712316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed2a58b1e5b13f67ae213d40a2668c05.jpg","text":"TemporaryFile(/tmp/multipartBody7956404796780715049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827763165,"filename":"image_22112025_17_05_38_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/596166f72439cdaf56424a3bc672b717.jpg","text":"TemporaryFile(/tmp/multipartBody8109616940048788680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827763165,"filename":"image_22112025_17_05_31_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ccfa8dace4a1390477a1bd37b015c56.jpg","text":"TemporaryFile(/tmp/multipartBody417203545174195251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827763165,"filename":"image_22112025_17_05_11_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/983f2411bff29bb1f61a6f9e5a45b04b.jpg","text":"TemporaryFile(/tmp/multipartBody595624919085771512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827763165,"filename":"image_22112025_17_05_20_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63bd79e36b7a01186bfaa269361db19b.jpg","text":"TemporaryFile(/tmp/multipartBody1451364903228802842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827763165,"filename":"image_22112025_17_05_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40e75aba326a20cf8998f45c06d16afe.jpg","text":"TemporaryFile(/tmp/multipartBody8529873184812618799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827763165,"filename":"image_22112025_17_05_29_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712304","file1":"1395712302","file0":"1395712299","file4":"1395712313","file5":"1395712316","file3":"1395712309"},"map_files_photo_id_array":[{"photo_id":"1395712316","filename":"file5"},{"photo_id":"1395712304","filename":"file2"},{"photo_id":"1395712313","filename":"file4"},{"photo_id":"1395712302","filename":"file1"},{"photo_id":"1395712299","filename":"file0"},{"photo_id":"1395712309","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712313":["hashtag1","hashtag2"]},{"1395712309":["hashtag1","hashtag2"]},{"1395712299":["hashtag1","hashtag2"]},{"1395712302":["hashtag1","hashtag2"]},{"1395712316":["hashtag1","hashtag2"]},{"1395712304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712313, 1395712309, 1395712299, 1395712302, 1395712316, 1395712304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60152578353882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:09:03.555026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_44_3560.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_47_2842.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_49_2628.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_53_3686.jpg', '/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_59_2666.jpg', '/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_02_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_44_3560.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_47_2842.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_49_2628.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_53_3686.jpg
/home/pi/Desktop/images/22112025/17/05/image_22112025_17_05_59_2666.jpg
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_02_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712321","1395712324","1395712323","1395712326","1395712329","1395712322"],"photo_ids_order":["1395712321","1395712322","1395712323","1395712324","1395712326","1395712329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2c95a45b50707a9f3dfd163aad0111e.jpg","text":"TemporaryFile(/tmp/multipartBody6990507346721523917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827804376,"filename":"image_22112025_17_05_44_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7c93ea764ac91c1642ad1fb15d98259.jpg","text":"TemporaryFile(/tmp/multipartBody7183171752105525630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827804376,"filename":"image_22112025_17_05_53_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/355fadc70e520553e1917302d3d2e1dc.jpg","text":"TemporaryFile(/tmp/multipartBody6801229868874063741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827804376,"filename":"image_22112025_17_05_49_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b82cb92f63f6b36d12c46815fe3b066.jpg","text":"TemporaryFile(/tmp/multipartBody3021544489882180725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827804376,"filename":"image_22112025_17_05_59_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aaab41a6d57c44910e21212b268d1d5d.jpg","text":"TemporaryFile(/tmp/multipartBody606259830558983644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827804376,"filename":"image_22112025_17_06_02_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a38454b4703a6c76be4720c00012e9b.jpg","text":"TemporaryFile(/tmp/multipartBody2530476925324366195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827804376,"filename":"image_22112025_17_05_47_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712323","file1":"1395712322","file0":"1395712321","file4":"1395712326","file5":"1395712329","file3":"1395712324"},"map_files_photo_id_array":[{"photo_id":"1395712329","filename":"file5"},{"photo_id":"1395712323","filename":"file2"},{"photo_id":"1395712326","filename":"file4"},{"photo_id":"1395712322","filename":"file1"},{"photo_id":"1395712321","filename":"file0"},{"photo_id":"1395712324","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712321":["hashtag1","hashtag2"]},{"1395712324":["hashtag1","hashtag2"]},{"1395712323":["hashtag1","hashtag2"]},{"1395712326":["hashtag1","hashtag2"]},{"1395712329":["hashtag1","hashtag2"]},{"1395712322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712321, 1395712324, 1395712323, 1395712326, 1395712329, 1395712322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78965663909912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:09:42.706486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_07_2564.jpg', '/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_14_3781.jpg', '/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_43_2645.jpg', '/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_59_2650.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_01_2584.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_05_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_07_2564.jpg
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_14_3781.jpg
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_43_2645.jpg
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_59_2650.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_01_2584.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_05_3579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5352520942687988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:10:02.434949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_07_2564.jpg', '/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_14_3781.jpg', '/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_43_2645.jpg', '/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_59_2650.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_01_2584.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_05_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_07_2564.jpg
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_14_3781.jpg
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_43_2645.jpg
/home/pi/Desktop/images/22112025/17/06/image_22112025_17_06_59_2650.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_01_2584.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_05_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712345","1395712344","1395712347","1395712352","1395712349","1395712346"],"photo_ids_order":["1395712344","1395712345","1395712346","1395712347","1395712349","1395712352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/573ac11583eec96a4ea1c1a970d9e23f.jpg","text":"TemporaryFile(/tmp/multipartBody3455608743105996812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827863106,"filename":"image_22112025_17_06_14_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a16d8802fcec20ca9d36d4313c5d96f.jpg","text":"TemporaryFile(/tmp/multipartBody6654054989108296849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827863106,"filename":"image_22112025_17_06_07_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46986f45d22fb7bedc90f0e364048300.jpg","text":"TemporaryFile(/tmp/multipartBody367122008925921145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827863106,"filename":"image_22112025_17_06_59_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fe35d4048b121bec58456973c04b7d7.jpg","text":"TemporaryFile(/tmp/multipartBody2344747006418260261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827863106,"filename":"image_22112025_17_07_05_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12313e70679b837a1621e817ae44e121.jpg","text":"TemporaryFile(/tmp/multipartBody1828821296931915507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827863106,"filename":"image_22112025_17_07_01_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ec2d9400270e4f95c017918f714f13a.jpg","text":"TemporaryFile(/tmp/multipartBody4315299760884879338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827863106,"filename":"image_22112025_17_06_43_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712346","file1":"1395712345","file0":"1395712344","file4":"1395712349","file5":"1395712352","file3":"1395712347"},"map_files_photo_id_array":[{"photo_id":"1395712352","filename":"file5"},{"photo_id":"1395712346","filename":"file2"},{"photo_id":"1395712349","filename":"file4"},{"photo_id":"1395712345","filename":"file1"},{"photo_id":"1395712344","filename":"file0"},{"photo_id":"1395712347","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712345":["hashtag1","hashtag2"]},{"1395712344":["hashtag1","hashtag2"]},{"1395712347":["hashtag1","hashtag2"]},{"1395712352":["hashtag1","hashtag2"]},{"1395712349":["hashtag1","hashtag2"]},{"1395712346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712345, 1395712344, 1395712347, 1395712352, 1395712349, 1395712346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.080087661743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:10:41.991347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_07_2570.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_16_2675.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_23_3725.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_32_3540.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_38_3607.jpg', '/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_58_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_07_2570.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_16_2675.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_23_3725.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_32_3540.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_38_3607.jpg
/home/pi/Desktop/images/22112025/17/07/image_22112025_17_07_58_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712375","1395712372","1395712374","1395712371","1395712373","1395712376"],"photo_ids_order":["1395712371","1395712372","1395712373","1395712374","1395712375","1395712376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab2e34966012367b16c96643d2098871.jpg","text":"TemporaryFile(/tmp/multipartBody7283877903491499298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827902611,"filename":"image_22112025_17_07_38_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9644d7084579fb31a4c75bf8e08bad7d.jpg","text":"TemporaryFile(/tmp/multipartBody5244812818152885548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827902611,"filename":"image_22112025_17_07_16_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90cdee19b92feac39036895c817df5bb.jpg","text":"TemporaryFile(/tmp/multipartBody8351589198216207359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827902611,"filename":"image_22112025_17_07_32_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bac941d562e286eaeebdb8f0fff2f8d2.jpg","text":"TemporaryFile(/tmp/multipartBody8741074325106072120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827902611,"filename":"image_22112025_17_07_07_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7082d9870707c02c297217473dfdd275.jpg","text":"TemporaryFile(/tmp/multipartBody5258034285915539212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827902611,"filename":"image_22112025_17_07_23_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d4bc07bb960de06dd2e5156d62a1853.jpg","text":"TemporaryFile(/tmp/multipartBody2069484603538073438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827902611,"filename":"image_22112025_17_07_58_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712373","file1":"1395712372","file0":"1395712371","file4":"1395712375","file5":"1395712376","file3":"1395712374"},"map_files_photo_id_array":[{"photo_id":"1395712376","filename":"file5"},{"photo_id":"1395712373","filename":"file2"},{"photo_id":"1395712375","filename":"file4"},{"photo_id":"1395712372","filename":"file1"},{"photo_id":"1395712371","filename":"file0"},{"photo_id":"1395712374","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712375":["hashtag1","hashtag2"]},{"1395712372":["hashtag1","hashtag2"]},{"1395712374":["hashtag1","hashtag2"]},{"1395712371":["hashtag1","hashtag2"]},{"1395712373":["hashtag1","hashtag2"]},{"1395712376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712375, 1395712372, 1395712374, 1395712371, 1395712373, 1395712376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.309839963912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:11:22.267760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/09/image_22112025_17_09_50_3587.jpg', '/home/pi/Desktop/images/22112025/17/10/image_22112025_17_10_59_2643.jpg', '/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_24_3645.jpg', '/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_26_2654.jpg', '/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_38_2939.jpg', '/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_47_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/09/image_22112025_17_09_50_3587.jpg
/home/pi/Desktop/images/22112025/17/10/image_22112025_17_10_59_2643.jpg
/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_24_3645.jpg
/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_26_2654.jpg
/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_38_2939.jpg
/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_47_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712378","1395712386","1395712391","1395712394","1395712388","1395712382"],"photo_ids_order":["1395712378","1395712382","1395712386","1395712388","1395712391","1395712394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/934d37d0dc982a83d7bb45c573d2af59.jpg","text":"TemporaryFile(/tmp/multipartBody8840286349457635800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827942908,"filename":"image_22112025_17_09_50_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9efe8cd6a10b8c8db3f65e803c846b1.jpg","text":"TemporaryFile(/tmp/multipartBody8716299269893399873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827942908,"filename":"image_22112025_17_11_24_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9ced80413eb45cc351dd79626d44284.jpg","text":"TemporaryFile(/tmp/multipartBody3151282370195813490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827942908,"filename":"image_22112025_17_11_38_2939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/478729a6f3845635cf188a43f75074ce.jpg","text":"TemporaryFile(/tmp/multipartBody5663143159505335364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827942908,"filename":"image_22112025_17_11_47_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8c2c76990bbf039789055b64e7044f5.jpg","text":"TemporaryFile(/tmp/multipartBody5093810604336802043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827942908,"filename":"image_22112025_17_11_26_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/219f3d26976e07b81455a715cc0aba7b.jpg","text":"TemporaryFile(/tmp/multipartBody6280896816208957662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763827942908,"filename":"image_22112025_17_10_59_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712386","file1":"1395712382","file0":"1395712378","file4":"1395712391","file5":"1395712394","file3":"1395712388"},"map_files_photo_id_array":[{"photo_id":"1395712394","filename":"file5"},{"photo_id":"1395712386","filename":"file2"},{"photo_id":"1395712391","filename":"file4"},{"photo_id":"1395712382","filename":"file1"},{"photo_id":"1395712378","filename":"file0"},{"photo_id":"1395712388","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712378":["hashtag1","hashtag2"]},{"1395712386":["hashtag1","hashtag2"]},{"1395712391":["hashtag1","hashtag2"]},{"1395712394":["hashtag1","hashtag2"]},{"1395712388":["hashtag1","hashtag2"]},{"1395712382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712378, 1395712386, 1395712391, 1395712394, 1395712388, 1395712382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69144821166992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:12:02.905124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_51_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_51_3617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.44480443000793457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:12:22.433038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_51_3617.jpg', '/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_53_2619.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_02_2681.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_05_2583.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_08_2880.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_11_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_51_3617.jpg
/home/pi/Desktop/images/22112025/17/11/image_22112025_17_11_53_2619.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_02_2681.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_05_2583.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_08_2880.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_11_3583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712412","1395712408","1395712417","1395712405","1395712419","1395712415"],"photo_ids_order":["1395712405","1395712408","1395712412","1395712415","1395712417","1395712419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d82465fdff4d4cbca11acaa2e6637265.jpg","text":"TemporaryFile(/tmp/multipartBody750524305272676032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828003184,"filename":"image_22112025_17_12_02_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4ceb93379e4ec281b7e131ca4b6d78e.jpg","text":"TemporaryFile(/tmp/multipartBody3146729267128607241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828003184,"filename":"image_22112025_17_11_53_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/074aa05766286abebadeb63e1aa31578.jpg","text":"TemporaryFile(/tmp/multipartBody4047539165118807245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828003184,"filename":"image_22112025_17_12_08_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/491a5eafe771b3f7fb6db707e98c37af.jpg","text":"TemporaryFile(/tmp/multipartBody5327916580879239709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828003184,"filename":"image_22112025_17_11_51_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e11c28d2cbdd316ad97bd4f1dcf5161b.jpg","text":"TemporaryFile(/tmp/multipartBody2834595632978780095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828003184,"filename":"image_22112025_17_12_11_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a689ac5a96d4f3c95194ed717fba6028.jpg","text":"TemporaryFile(/tmp/multipartBody2625827737215853874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828003184,"filename":"image_22112025_17_12_05_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712412","file1":"1395712408","file0":"1395712405","file4":"1395712417","file5":"1395712419","file3":"1395712415"},"map_files_photo_id_array":[{"photo_id":"1395712419","filename":"file5"},{"photo_id":"1395712412","filename":"file2"},{"photo_id":"1395712417","filename":"file4"},{"photo_id":"1395712408","filename":"file1"},{"photo_id":"1395712405","filename":"file0"},{"photo_id":"1395712415","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712412":["hashtag1","hashtag2"]},{"1395712408":["hashtag1","hashtag2"]},{"1395712417":["hashtag1","hashtag2"]},{"1395712405":["hashtag1","hashtag2"]},{"1395712419":["hashtag1","hashtag2"]},{"1395712415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712412, 1395712408, 1395712417, 1395712405, 1395712419, 1395712415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.130354166030884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:13:03.432437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_14_2562.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_20_2552.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_23_2668.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_26_3669.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_29_2786.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_32_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_14_2562.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_20_2552.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_23_2668.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_26_3669.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_29_2786.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_32_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712426","1395712429","1395712423","1395712422","1395712421","1395712424"],"photo_ids_order":["1395712421","1395712422","1395712423","1395712424","1395712426","1395712429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4712460d3ac12ccf021effaebcce8ed2.jpg","text":"TemporaryFile(/tmp/multipartBody2420730228792578074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828044178,"filename":"image_22112025_17_12_29_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/caebae4c6c7e4b3b28ac176d8282b720.jpg","text":"TemporaryFile(/tmp/multipartBody2201280210686197985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828044178,"filename":"image_22112025_17_12_32_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbc44b76b2df77956755a60bafecf2ab.jpg","text":"TemporaryFile(/tmp/multipartBody8769281869940863066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828044178,"filename":"image_22112025_17_12_23_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d5e99528a73d7acd2ebdc28387116e2.jpg","text":"TemporaryFile(/tmp/multipartBody1384446325237038705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828044178,"filename":"image_22112025_17_12_20_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65b8ab72dcbce1b0b497c28652d95406.jpg","text":"TemporaryFile(/tmp/multipartBody3081295371914375915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828044178,"filename":"image_22112025_17_12_14_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b66e7bc67c4e1bb20c4a0c4d27c1bc1.jpg","text":"TemporaryFile(/tmp/multipartBody8499950065563466580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828044178,"filename":"image_22112025_17_12_26_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712423","file1":"1395712422","file0":"1395712421","file4":"1395712426","file5":"1395712429","file3":"1395712424"},"map_files_photo_id_array":[{"photo_id":"1395712429","filename":"file5"},{"photo_id":"1395712423","filename":"file2"},{"photo_id":"1395712426","filename":"file4"},{"photo_id":"1395712422","filename":"file1"},{"photo_id":"1395712421","filename":"file0"},{"photo_id":"1395712424","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712426":["hashtag1","hashtag2"]},{"1395712429":["hashtag1","hashtag2"]},{"1395712423":["hashtag1","hashtag2"]},{"1395712422":["hashtag1","hashtag2"]},{"1395712421":["hashtag1","hashtag2"]},{"1395712424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712426, 1395712429, 1395712423, 1395712422, 1395712421, 1395712424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61494255065918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:13:42.662159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_35_3618.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_38_2519.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_41_2657.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_44_3669.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_47_2624.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_50_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_35_3618.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_38_2519.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_41_2657.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_44_3669.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_47_2624.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_50_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712444","1395712443","1395712446","1395712442","1395712445","1395712439"],"photo_ids_order":["1395712439","1395712442","1395712443","1395712444","1395712445","1395712446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1086805377132d05b86c16603fba4302.jpg","text":"TemporaryFile(/tmp/multipartBody3904504921579682189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828083313,"filename":"image_22112025_17_12_44_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78eb6f01b9b297b1f6b91766f2be9982.jpg","text":"TemporaryFile(/tmp/multipartBody2819292847810072797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828083313,"filename":"image_22112025_17_12_41_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/546f40ff54c76ca94ebf0f9adec7da7f.jpg","text":"TemporaryFile(/tmp/multipartBody1990737366876820949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828083313,"filename":"image_22112025_17_12_50_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/587180328c0a4d414deebf14b0ac2cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1630440019438665449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828083313,"filename":"image_22112025_17_12_38_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3d6a48540c1ccf9170b52306f17d2b2.jpg","text":"TemporaryFile(/tmp/multipartBody2348993289658528906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828083313,"filename":"image_22112025_17_12_47_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43b9feb654149abe5be80e7c1aed3ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8691379964176496990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828083313,"filename":"image_22112025_17_12_35_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712443","file1":"1395712442","file0":"1395712439","file4":"1395712445","file5":"1395712446","file3":"1395712444"},"map_files_photo_id_array":[{"photo_id":"1395712446","filename":"file5"},{"photo_id":"1395712443","filename":"file2"},{"photo_id":"1395712445","filename":"file4"},{"photo_id":"1395712442","filename":"file1"},{"photo_id":"1395712439","filename":"file0"},{"photo_id":"1395712444","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712444":["hashtag1","hashtag2"]},{"1395712443":["hashtag1","hashtag2"]},{"1395712446":["hashtag1","hashtag2"]},{"1395712442":["hashtag1","hashtag2"]},{"1395712445":["hashtag1","hashtag2"]},{"1395712439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712444, 1395712443, 1395712446, 1395712442, 1395712445, 1395712439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92487049102783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:14:21.895100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_53_3839.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_56_2566.jpg', '/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_59_2597.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_02_3864.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_05_2512.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_08_3483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_53_3839.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_56_2566.jpg
/home/pi/Desktop/images/22112025/17/12/image_22112025_17_12_59_2597.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_02_3864.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_05_2512.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_08_3483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712456","1395712471","1395712465","1395712449","1395712452","1395712475"],"photo_ids_order":["1395712449","1395712452","1395712456","1395712465","1395712471","1395712475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d63856d799ff57e64e7e6d51ad4ea70.jpg","text":"TemporaryFile(/tmp/multipartBody4143050430185265005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828122630,"filename":"image_22112025_17_12_59_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/444a0c5e99b7cd2d4c5ee58dc0c1a602.jpg","text":"TemporaryFile(/tmp/multipartBody222653449178996909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828122630,"filename":"image_22112025_17_13_05_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3623bc5f0359104a095434457ab9de5.jpg","text":"TemporaryFile(/tmp/multipartBody7133630882167188720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828122630,"filename":"image_22112025_17_13_02_3864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8f96aec4321d183c44198cd801e4701.jpg","text":"TemporaryFile(/tmp/multipartBody125989375663605529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828122630,"filename":"image_22112025_17_12_53_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd2629660c9fb76f14a7b139de5ab15f.jpg","text":"TemporaryFile(/tmp/multipartBody1606576930197003322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828122630,"filename":"image_22112025_17_12_56_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f434c8e34161a6c611050b8204a1de1.jpg","text":"TemporaryFile(/tmp/multipartBody1182228296030370985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828122630,"filename":"image_22112025_17_13_08_3483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712456","file1":"1395712452","file0":"1395712449","file4":"1395712471","file5":"1395712475","file3":"1395712465"},"map_files_photo_id_array":[{"photo_id":"1395712475","filename":"file5"},{"photo_id":"1395712456","filename":"file2"},{"photo_id":"1395712471","filename":"file4"},{"photo_id":"1395712452","filename":"file1"},{"photo_id":"1395712449","filename":"file0"},{"photo_id":"1395712465","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712456":["hashtag1","hashtag2"]},{"1395712471":["hashtag1","hashtag2"]},{"1395712465":["hashtag1","hashtag2"]},{"1395712449":["hashtag1","hashtag2"]},{"1395712452":["hashtag1","hashtag2"]},{"1395712475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712456, 1395712471, 1395712465, 1395712449, 1395712452, 1395712475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53957986831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:15:02.938674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_11_2783.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_14_2789.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_17_2777.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_23_2656.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_26_2667.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_28_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_11_2783.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_14_2789.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_17_2777.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_23_2656.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_26_2667.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_28_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712489","1395712491","1395712494","1395712497","1395712490","1395712492"],"photo_ids_order":["1395712489","1395712490","1395712491","1395712492","1395712494","1395712497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d86ab220fe20a1a9c0b736ba996f543.jpg","text":"TemporaryFile(/tmp/multipartBody6152591775223005586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828163656,"filename":"image_22112025_17_13_11_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4246646374afa27331189f6f924c7e0.jpg","text":"TemporaryFile(/tmp/multipartBody9020981537319639959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828163656,"filename":"image_22112025_17_13_17_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8bee11b5d513aa505df99ba362ba452.jpg","text":"TemporaryFile(/tmp/multipartBody2152669453830752023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828163656,"filename":"image_22112025_17_13_26_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a57cdd1c0e0067d9281dc19a312aea9c.jpg","text":"TemporaryFile(/tmp/multipartBody8448785889495629085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828163656,"filename":"image_22112025_17_13_28_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d689ccd07d4fbdaa2c3861d3ff87478.jpg","text":"TemporaryFile(/tmp/multipartBody7652088078563828106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828163656,"filename":"image_22112025_17_13_14_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21c4904f547791609a0af3d29432b4f5.jpg","text":"TemporaryFile(/tmp/multipartBody3926889752525096407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828163656,"filename":"image_22112025_17_13_23_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712491","file1":"1395712490","file0":"1395712489","file4":"1395712494","file5":"1395712497","file3":"1395712492"},"map_files_photo_id_array":[{"photo_id":"1395712497","filename":"file5"},{"photo_id":"1395712491","filename":"file2"},{"photo_id":"1395712494","filename":"file4"},{"photo_id":"1395712490","filename":"file1"},{"photo_id":"1395712489","filename":"file0"},{"photo_id":"1395712492","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712489":["hashtag1","hashtag2"]},{"1395712491":["hashtag1","hashtag2"]},{"1395712494":["hashtag1","hashtag2"]},{"1395712497":["hashtag1","hashtag2"]},{"1395712490":["hashtag1","hashtag2"]},{"1395712492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712489, 1395712491, 1395712494, 1395712497, 1395712490, 1395712492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32310223579407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:15:42.256749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_35_3286.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_38_2543.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_40_2610.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_44_3713.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_47_2649.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_49_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_35_3286.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_38_2543.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_40_2610.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_44_3713.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_47_2649.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_49_2609.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5253560543060303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:16:05.445530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_35_3286.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_38_2543.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_40_2610.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_44_3713.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_47_2649.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_49_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_35_3286.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_38_2543.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_40_2610.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_44_3713.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_47_2649.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_49_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712525","1395712519","1395712522","1395712521","1395712527","1395712520"],"photo_ids_order":["1395712519","1395712520","1395712521","1395712522","1395712525","1395712527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/014b9d725ff16532cbdccac34857b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody6391881700086030212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828226289,"filename":"image_22112025_17_13_47_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/429934e97f9e824ae2a221fb4499ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody8716324611779710999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828226289,"filename":"image_22112025_17_13_35_3286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3756176b2ad85486d6f30ab99d21f6d.jpg","text":"TemporaryFile(/tmp/multipartBody4551567087448570837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828226289,"filename":"image_22112025_17_13_44_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/293979a10ef7977f624f082acb3dc236.jpg","text":"TemporaryFile(/tmp/multipartBody5817202851495824841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828226289,"filename":"image_22112025_17_13_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/183d53a36c090748e0d41015875c98d7.jpg","text":"TemporaryFile(/tmp/multipartBody2732375470649045676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828226289,"filename":"image_22112025_17_13_49_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/442b6a901bd97b1817e5c8d44ae6fb1c.jpg","text":"TemporaryFile(/tmp/multipartBody2104351425277118211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828226289,"filename":"image_22112025_17_13_38_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712521","file1":"1395712520","file0":"1395712519","file4":"1395712525","file5":"1395712527","file3":"1395712522"},"map_files_photo_id_array":[{"photo_id":"1395712527","filename":"file5"},{"photo_id":"1395712521","filename":"file2"},{"photo_id":"1395712525","filename":"file4"},{"photo_id":"1395712520","filename":"file1"},{"photo_id":"1395712519","filename":"file0"},{"photo_id":"1395712522","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712525":["hashtag1","hashtag2"]},{"1395712519":["hashtag1","hashtag2"]},{"1395712522":["hashtag1","hashtag2"]},{"1395712521":["hashtag1","hashtag2"]},{"1395712527":["hashtag1","hashtag2"]},{"1395712520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712525, 1395712519, 1395712522, 1395712521, 1395712527, 1395712520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31927967071533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:16:43.342353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_53_3716.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_56_2483.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_59_2980.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_02_3545.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_05_2633.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_11_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_53_3716.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_56_2483.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_59_2980.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_02_3545.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_05_2633.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_11_2838.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.529421329498291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:17:03.170820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_53_3716.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_56_2483.jpg', '/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_59_2980.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_02_3545.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_05_2633.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_11_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_53_3716.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_56_2483.jpg
/home/pi/Desktop/images/22112025/17/13/image_22112025_17_13_59_2980.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_02_3545.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_05_2633.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_11_2838.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712543","1395712545","1395712550","1395712553","1395712547","1395712544"],"photo_ids_order":["1395712543","1395712544","1395712545","1395712547","1395712550","1395712553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af8327393d8af68067d85d06129076bc.jpg","text":"TemporaryFile(/tmp/multipartBody8369765072590923473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828286704,"filename":"image_22112025_17_13_53_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1dcf626c3769751ccf0d8d38598b3033.jpg","text":"TemporaryFile(/tmp/multipartBody4827015067011782195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828286704,"filename":"image_22112025_17_13_59_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ab5c10f04d05dbf77db71b253be7ab1.jpg","text":"TemporaryFile(/tmp/multipartBody255101584888347978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828286704,"filename":"image_22112025_17_14_05_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/120f818aa26a306b7d143496f49b2c0a.jpg","text":"TemporaryFile(/tmp/multipartBody391671074830223272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828286704,"filename":"image_22112025_17_14_11_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4ba63dabb1ab38378470f745950a30f.jpg","text":"TemporaryFile(/tmp/multipartBody7611801441718781513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828286704,"filename":"image_22112025_17_14_02_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce00e4e5f7037db1f78c2b342f50c898.jpg","text":"TemporaryFile(/tmp/multipartBody7551110514493961399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828286704,"filename":"image_22112025_17_13_56_2483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712545","file1":"1395712544","file0":"1395712543","file4":"1395712550","file5":"1395712553","file3":"1395712547"},"map_files_photo_id_array":[{"photo_id":"1395712553","filename":"file5"},{"photo_id":"1395712545","filename":"file2"},{"photo_id":"1395712550","filename":"file4"},{"photo_id":"1395712544","filename":"file1"},{"photo_id":"1395712543","filename":"file0"},{"photo_id":"1395712547","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712543":["hashtag1","hashtag2"]},{"1395712545":["hashtag1","hashtag2"]},{"1395712550":["hashtag1","hashtag2"]},{"1395712553":["hashtag1","hashtag2"]},{"1395712547":["hashtag1","hashtag2"]},{"1395712544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712543, 1395712545, 1395712550, 1395712553, 1395712547, 1395712544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.725687742233276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:17:42.569672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_14_2563.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_16_2623.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_20_3649.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_23_2804.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_25_2650.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_29_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_14_2563.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_16_2623.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_20_3649.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_23_2804.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_25_2650.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_29_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712561","1395712564","1395712567","1395712566","1395712563","1395712565"],"photo_ids_order":["1395712561","1395712563","1395712564","1395712565","1395712566","1395712567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2903bc99ae3cd8bf02116563187680a2.jpg","text":"TemporaryFile(/tmp/multipartBody5958770686222958367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828323234,"filename":"image_22112025_17_14_14_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b25f2b44a0528525c01227a3cb1ff773.jpg","text":"TemporaryFile(/tmp/multipartBody7124639016969397504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828323234,"filename":"image_22112025_17_14_20_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdb0f27a7c6fe838df6586f4b9ed0030.jpg","text":"TemporaryFile(/tmp/multipartBody5834734669684783765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828323234,"filename":"image_22112025_17_14_29_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9712110cbe483bbbaafb764ab5510d3.jpg","text":"TemporaryFile(/tmp/multipartBody3185318567045530716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828323234,"filename":"image_22112025_17_14_25_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac2c9c57a6493d2a3eafda0bb7f1ff58.jpg","text":"TemporaryFile(/tmp/multipartBody2302708245984619422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828323234,"filename":"image_22112025_17_14_16_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b6b10ddb406a412d297a6296139f78c.jpg","text":"TemporaryFile(/tmp/multipartBody2661486658325567592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828323234,"filename":"image_22112025_17_14_23_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712564","file1":"1395712563","file0":"1395712561","file4":"1395712566","file5":"1395712567","file3":"1395712565"},"map_files_photo_id_array":[{"photo_id":"1395712567","filename":"file5"},{"photo_id":"1395712564","filename":"file2"},{"photo_id":"1395712566","filename":"file4"},{"photo_id":"1395712563","filename":"file1"},{"photo_id":"1395712561","filename":"file0"},{"photo_id":"1395712565","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712561":["hashtag1","hashtag2"]},{"1395712564":["hashtag1","hashtag2"]},{"1395712567":["hashtag1","hashtag2"]},{"1395712566":["hashtag1","hashtag2"]},{"1395712563":["hashtag1","hashtag2"]},{"1395712565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712561, 1395712564, 1395712567, 1395712566, 1395712563, 1395712565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99560070037842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:18:22.613563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_32_2522.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_35_3592.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_38_2563.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_41_3568.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_44_2631.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_47_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_32_2522.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_35_3592.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_38_2563.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_41_3568.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_44_2631.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_47_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712576","1395712590","1395712584","1395712587","1395712581","1395712578"],"photo_ids_order":["1395712576","1395712578","1395712581","1395712584","1395712587","1395712590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/635b3d144e3190b508196abb67b2a9c9.jpg","text":"TemporaryFile(/tmp/multipartBody7846383712908964156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828363204,"filename":"image_22112025_17_14_32_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a54e0e171ef11b92e75d3a663008982b.jpg","text":"TemporaryFile(/tmp/multipartBody7546435849816850292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828363204,"filename":"image_22112025_17_14_47_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d2e77219eb0e6c1f108e513b0a48bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4246334332953995335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828363204,"filename":"image_22112025_17_14_41_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2967b262c1c241afe9b8920fab66883a.jpg","text":"TemporaryFile(/tmp/multipartBody4887601786912453623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828363204,"filename":"image_22112025_17_14_44_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4c462e54e6eafb51d71fad67542b506.jpg","text":"TemporaryFile(/tmp/multipartBody1358995908581785170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828363204,"filename":"image_22112025_17_14_38_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc0ebc043906c0084c92fb4470a91365.jpg","text":"TemporaryFile(/tmp/multipartBody1100346866952839147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828363204,"filename":"image_22112025_17_14_35_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712581","file1":"1395712578","file0":"1395712576","file4":"1395712587","file5":"1395712590","file3":"1395712584"},"map_files_photo_id_array":[{"photo_id":"1395712590","filename":"file5"},{"photo_id":"1395712581","filename":"file2"},{"photo_id":"1395712587","filename":"file4"},{"photo_id":"1395712578","filename":"file1"},{"photo_id":"1395712576","filename":"file0"},{"photo_id":"1395712584","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712576":["hashtag1","hashtag2"]},{"1395712590":["hashtag1","hashtag2"]},{"1395712584":["hashtag1","hashtag2"]},{"1395712587":["hashtag1","hashtag2"]},{"1395712581":["hashtag1","hashtag2"]},{"1395712578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712576, 1395712590, 1395712584, 1395712587, 1395712581, 1395712578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25743865966797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:19:02.959827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_50_3569.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_56_2774.jpg', '/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_59_3572.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_06_3012.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_10_3621.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_13_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_50_3569.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_56_2774.jpg
/home/pi/Desktop/images/22112025/17/14/image_22112025_17_14_59_3572.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_06_3012.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_10_3621.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_13_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712594","1395712597","1395712600","1395712593","1395712595","1395712592"],"photo_ids_order":["1395712592","1395712593","1395712594","1395712595","1395712597","1395712600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4183d3ba521aabf38adc6d3fe737e1fc.jpg","text":"TemporaryFile(/tmp/multipartBody3605536063968797235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828403780,"filename":"image_22112025_17_14_59_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d933598e8cd54df0acc85dd81f99d7a5.jpg","text":"TemporaryFile(/tmp/multipartBody7834648198436510809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828403780,"filename":"image_22112025_17_15_10_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eba36b43d17ec95f6fcdd853a0f426b5.jpg","text":"TemporaryFile(/tmp/multipartBody3228180078120620488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828403780,"filename":"image_22112025_17_15_13_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b64cbdfcbcf56cedfeccc45321819c39.jpg","text":"TemporaryFile(/tmp/multipartBody3971317155433974800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828403780,"filename":"image_22112025_17_14_56_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70da31fe21823e9ab43cfe19bc941333.jpg","text":"TemporaryFile(/tmp/multipartBody887973641478759525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828403780,"filename":"image_22112025_17_15_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1248b91e10573d7c88e8f01ae35e7efa.jpg","text":"TemporaryFile(/tmp/multipartBody1827421542157441935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828403780,"filename":"image_22112025_17_14_50_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712594","file1":"1395712593","file0":"1395712592","file4":"1395712597","file5":"1395712600","file3":"1395712595"},"map_files_photo_id_array":[{"photo_id":"1395712600","filename":"file5"},{"photo_id":"1395712594","filename":"file2"},{"photo_id":"1395712597","filename":"file4"},{"photo_id":"1395712593","filename":"file1"},{"photo_id":"1395712592","filename":"file0"},{"photo_id":"1395712595","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712594":["hashtag1","hashtag2"]},{"1395712597":["hashtag1","hashtag2"]},{"1395712600":["hashtag1","hashtag2"]},{"1395712593":["hashtag1","hashtag2"]},{"1395712595":["hashtag1","hashtag2"]},{"1395712592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712594, 1395712597, 1395712600, 1395712593, 1395712595, 1395712592)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.484904050827026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:20:02.369444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_16_3692.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_22_2640.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_25_3587.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_28_2602.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_31_2751.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_37_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_16_3692.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_22_2640.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_25_3587.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_28_2602.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_31_2751.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_37_3671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712610","1395712612","1395712615","1395712617","1395712611","1395712613"],"photo_ids_order":["1395712610","1395712611","1395712612","1395712613","1395712615","1395712617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57db92d4404136ec2b1001da90d09fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1019112598839721362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828463074,"filename":"image_22112025_17_15_16_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3fa9fbbfe1a699e865f609919fd83d8.jpg","text":"TemporaryFile(/tmp/multipartBody19611353179790517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828463074,"filename":"image_22112025_17_15_25_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d9411395b55db9ad31cd3b029d5c95e.jpg","text":"TemporaryFile(/tmp/multipartBody1357610035510631966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828463074,"filename":"image_22112025_17_15_31_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bfb933ce65f0b8c8a03a8053e53c103.jpg","text":"TemporaryFile(/tmp/multipartBody9060248632970459649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828463074,"filename":"image_22112025_17_15_37_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7579351babeea05161f2d7de1c0af7f3.jpg","text":"TemporaryFile(/tmp/multipartBody1999780058809604332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828463074,"filename":"image_22112025_17_15_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2db14a1f31dbc1d566982c08a427d3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4994226034638578425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828463074,"filename":"image_22112025_17_15_28_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712612","file1":"1395712611","file0":"1395712610","file4":"1395712615","file5":"1395712617","file3":"1395712613"},"map_files_photo_id_array":[{"photo_id":"1395712617","filename":"file5"},{"photo_id":"1395712612","filename":"file2"},{"photo_id":"1395712615","filename":"file4"},{"photo_id":"1395712611","filename":"file1"},{"photo_id":"1395712610","filename":"file0"},{"photo_id":"1395712613","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712610":["hashtag1","hashtag2"]},{"1395712612":["hashtag1","hashtag2"]},{"1395712615":["hashtag1","hashtag2"]},{"1395712617":["hashtag1","hashtag2"]},{"1395712611":["hashtag1","hashtag2"]},{"1395712613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712610, 1395712612, 1395712615, 1395712617, 1395712611, 1395712613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75312352180481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:20:41.955307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_40_2572.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_43_2855.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_46_3605.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_49_2580.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_51_2618.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_55_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_40_2572.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_43_2855.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_46_3605.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_49_2580.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_51_2618.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_55_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712639","1395712633","1395712641","1395712635","1395712629","1395712637"],"photo_ids_order":["1395712629","1395712633","1395712635","1395712637","1395712639","1395712641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f85eee0df2a354bedfa5f13fbb0c943.jpg","text":"TemporaryFile(/tmp/multipartBody1223152638559885431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828502606,"filename":"image_22112025_17_15_51_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e16b83e04a3b567d56d64d26fdb5f97.jpg","text":"TemporaryFile(/tmp/multipartBody5869518477514490089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828502606,"filename":"image_22112025_17_15_43_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d8bc11c68436508f763c5dd101040dd.jpg","text":"TemporaryFile(/tmp/multipartBody5495129095579762800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828502606,"filename":"image_22112025_17_15_55_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/555fd5ee8d3b3cfa08c03b91dc43ef1d.jpg","text":"TemporaryFile(/tmp/multipartBody7259700763817608800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828502606,"filename":"image_22112025_17_15_46_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb95fb3e6feec4256a7df745baba83d7.jpg","text":"TemporaryFile(/tmp/multipartBody8551693343248020283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828502606,"filename":"image_22112025_17_15_40_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9e2fba7022acdedc244df6ed1ca530f.jpg","text":"TemporaryFile(/tmp/multipartBody4107271569366403948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828502606,"filename":"image_22112025_17_15_49_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712635","file1":"1395712633","file0":"1395712629","file4":"1395712639","file5":"1395712641","file3":"1395712637"},"map_files_photo_id_array":[{"photo_id":"1395712641","filename":"file5"},{"photo_id":"1395712635","filename":"file2"},{"photo_id":"1395712639","filename":"file4"},{"photo_id":"1395712633","filename":"file1"},{"photo_id":"1395712629","filename":"file0"},{"photo_id":"1395712637","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712639":["hashtag1","hashtag2"]},{"1395712633":["hashtag1","hashtag2"]},{"1395712641":["hashtag1","hashtag2"]},{"1395712635":["hashtag1","hashtag2"]},{"1395712629":["hashtag1","hashtag2"]},{"1395712637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712639, 1395712633, 1395712641, 1395712635, 1395712629, 1395712637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7039909362793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:21:22.107310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_58_2607.jpg', '/home/pi/Desktop/images/22112025/17/15/image_22112025_17_16_01_3604.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_04_2602.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_06_2519.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_10_3644.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_13_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_15_58_2607.jpg
/home/pi/Desktop/images/22112025/17/15/image_22112025_17_16_01_3604.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_04_2602.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_06_2519.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_10_3644.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_13_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712660","1395712657","1395712645","1395712652","1395712655","1395712649"],"photo_ids_order":["1395712645","1395712649","1395712652","1395712655","1395712657","1395712660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/047c250fae1a23110339d0b1ce8cf2e3.jpg","text":"TemporaryFile(/tmp/multipartBody7226848759540606243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828542765,"filename":"image_22112025_17_16_13_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a7b4383216625de05db9493e6d39665.jpg","text":"TemporaryFile(/tmp/multipartBody8323786751627167983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828542765,"filename":"image_22112025_17_16_10_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e82da9bb280dad2e4e4e48a9700a7985.jpg","text":"TemporaryFile(/tmp/multipartBody5979342818883459902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828542765,"filename":"image_22112025_17_15_58_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1db99367e97ed1bc3c6ac2d0332b6d3c.jpg","text":"TemporaryFile(/tmp/multipartBody8255245717641666793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828542765,"filename":"image_22112025_17_16_04_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8fd7efac7c646b01f3c7b0d6b2884260.jpg","text":"TemporaryFile(/tmp/multipartBody5219959696458840988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828542765,"filename":"image_22112025_17_16_06_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ccfbcde47f876c5ada636c2c9587850.jpg","text":"TemporaryFile(/tmp/multipartBody4419392717295998187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828542765,"filename":"image_22112025_17_16_01_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712652","file1":"1395712649","file0":"1395712645","file4":"1395712657","file5":"1395712660","file3":"1395712655"},"map_files_photo_id_array":[{"photo_id":"1395712660","filename":"file5"},{"photo_id":"1395712652","filename":"file2"},{"photo_id":"1395712657","filename":"file4"},{"photo_id":"1395712649","filename":"file1"},{"photo_id":"1395712645","filename":"file0"},{"photo_id":"1395712655","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712660":["hashtag1","hashtag2"]},{"1395712657":["hashtag1","hashtag2"]},{"1395712645":["hashtag1","hashtag2"]},{"1395712652":["hashtag1","hashtag2"]},{"1395712655":["hashtag1","hashtag2"]},{"1395712649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712660, 1395712657, 1395712645, 1395712652, 1395712655, 1395712649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80596351623535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:22:02.744678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_15_2559.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_25_3519.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_30_2553.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_34_3766.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_37_2596.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_40_3500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_15_2559.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_25_3519.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_30_2553.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_34_3766.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_37_2596.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_40_3500.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712672","1395712669","1395712683","1395712686","1395712676","1395712679"],"photo_ids_order":["1395712669","1395712672","1395712676","1395712679","1395712683","1395712686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b1e606752683df30e5fe6ab5e2c8c30.jpg","text":"TemporaryFile(/tmp/multipartBody696918453256784603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828583448,"filename":"image_22112025_17_16_25_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d566d407f684dd8cff1e5a33f90c139a.jpg","text":"TemporaryFile(/tmp/multipartBody9211568407653566795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828583448,"filename":"image_22112025_17_16_15_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e17613e1cd28ab8344ff3c554554614.jpg","text":"TemporaryFile(/tmp/multipartBody1849523087155424629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828583448,"filename":"image_22112025_17_16_37_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb2f38ae7f0cd8f0d271c3af50e97b04.jpg","text":"TemporaryFile(/tmp/multipartBody5863183294314938474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828583448,"filename":"image_22112025_17_16_40_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8adf563b49e5400175abb694181214b1.jpg","text":"TemporaryFile(/tmp/multipartBody8719338684328076356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828583448,"filename":"image_22112025_17_16_30_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d96604c5da09156f23ba6edfdfb8993d.jpg","text":"TemporaryFile(/tmp/multipartBody3853397995293014660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828583448,"filename":"image_22112025_17_16_34_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712676","file1":"1395712672","file0":"1395712669","file4":"1395712683","file5":"1395712686","file3":"1395712679"},"map_files_photo_id_array":[{"photo_id":"1395712686","filename":"file5"},{"photo_id":"1395712676","filename":"file2"},{"photo_id":"1395712683","filename":"file4"},{"photo_id":"1395712672","filename":"file1"},{"photo_id":"1395712669","filename":"file0"},{"photo_id":"1395712679","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712672":["hashtag1","hashtag2"]},{"1395712669":["hashtag1","hashtag2"]},{"1395712683":["hashtag1","hashtag2"]},{"1395712686":["hashtag1","hashtag2"]},{"1395712676":["hashtag1","hashtag2"]},{"1395712679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712672, 1395712669, 1395712683, 1395712686, 1395712676, 1395712679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21431565284729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:22:42.335653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_43_2613.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_46_2762.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_52_2576.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_57_5352.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_03_5830.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_06_3065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_43_2613.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_46_2762.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_52_2576.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_57_5352.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_03_5830.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_06_3065.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.061312198638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:23:03.540449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_43_2613.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_46_2762.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_52_2576.jpg', '/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_57_5352.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_03_5830.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_06_3065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_43_2613.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_46_2762.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_52_2576.jpg
/home/pi/Desktop/images/22112025/17/16/image_22112025_17_16_57_5352.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_03_5830.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_06_3065.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712741","1395712740","1395712743","1395712742","1395712745","1395712748"],"photo_ids_order":["1395712740","1395712741","1395712742","1395712743","1395712745","1395712748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c11c1aca72d84d26f7be5978d19a607b.jpg","text":"TemporaryFile(/tmp/multipartBody224934582812624165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828644274,"filename":"image_22112025_17_16_46_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9aa588981f539e665b20077836c8b075.jpg","text":"TemporaryFile(/tmp/multipartBody5145488008169775364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828644274,"filename":"image_22112025_17_16_43_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec3b3688b94f2531b2a21c754f49e6c0.jpg","text":"TemporaryFile(/tmp/multipartBody7357031520433935002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828644274,"filename":"image_22112025_17_16_57_5352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85054aae602fe19d9bd1b4877a6e0234.jpg","text":"TemporaryFile(/tmp/multipartBody1906140146997602821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828644274,"filename":"image_22112025_17_16_52_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88155ef3a67205ede453808d86fc700b.jpg","text":"TemporaryFile(/tmp/multipartBody8289634554150419256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828644274,"filename":"image_22112025_17_17_03_5830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0a3bd4e405758b5af91a0300d3ebb0c.jpg","text":"TemporaryFile(/tmp/multipartBody3595022282827651961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828644274,"filename":"image_22112025_17_17_06_3065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712742","file1":"1395712741","file0":"1395712740","file4":"1395712745","file5":"1395712748","file3":"1395712743"},"map_files_photo_id_array":[{"photo_id":"1395712748","filename":"file5"},{"photo_id":"1395712742","filename":"file2"},{"photo_id":"1395712745","filename":"file4"},{"photo_id":"1395712741","filename":"file1"},{"photo_id":"1395712740","filename":"file0"},{"photo_id":"1395712743","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712741":["hashtag1","hashtag2"]},{"1395712740":["hashtag1","hashtag2"]},{"1395712743":["hashtag1","hashtag2"]},{"1395712742":["hashtag1","hashtag2"]},{"1395712745":["hashtag1","hashtag2"]},{"1395712748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712741, 1395712740, 1395712743, 1395712742, 1395712745, 1395712748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09623193740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:23:42.693340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_08_1527.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_09_1504.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_11_1505.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_18_2575.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_22_3706.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_25_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_08_1527.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_09_1504.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_11_1505.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_18_2575.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_22_3706.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_25_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712762","1395712764","1395712761","1395712760","1395712763","1395712757"],"photo_ids_order":["1395712757","1395712760","1395712761","1395712762","1395712763","1395712764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6724823b0285e8d0e0ad8826a51f1be2.jpg","text":"TemporaryFile(/tmp/multipartBody1352232272074969451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828683377,"filename":"image_22112025_17_17_18_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecf770a4259a57d0ac2d3047fdafb8bf.jpg","text":"TemporaryFile(/tmp/multipartBody683676017663661290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828683377,"filename":"image_22112025_17_17_25_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9489f2b206fd75e608abf2322218c738.jpg","text":"TemporaryFile(/tmp/multipartBody7592630927696217153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828683377,"filename":"image_22112025_17_17_11_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/258a7dcec70d2879c0def30232e9ac36.jpg","text":"TemporaryFile(/tmp/multipartBody3761404143525761160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828683377,"filename":"image_22112025_17_17_09_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bf1794e23c41e1462ea2d361e674358.jpg","text":"TemporaryFile(/tmp/multipartBody2795692099216459113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828683377,"filename":"image_22112025_17_17_22_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f33cae81a0f5c457bc0965a24ec64ee2.jpg","text":"TemporaryFile(/tmp/multipartBody8484156488077189741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828683377,"filename":"image_22112025_17_17_08_1527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712761","file1":"1395712760","file0":"1395712757","file4":"1395712763","file5":"1395712764","file3":"1395712762"},"map_files_photo_id_array":[{"photo_id":"1395712764","filename":"file5"},{"photo_id":"1395712761","filename":"file2"},{"photo_id":"1395712763","filename":"file4"},{"photo_id":"1395712760","filename":"file1"},{"photo_id":"1395712757","filename":"file0"},{"photo_id":"1395712762","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712762":["hashtag1","hashtag2"]},{"1395712764":["hashtag1","hashtag2"]},{"1395712761":["hashtag1","hashtag2"]},{"1395712760":["hashtag1","hashtag2"]},{"1395712763":["hashtag1","hashtag2"]},{"1395712757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712762, 1395712764, 1395712761, 1395712760, 1395712763, 1395712757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.812429428100586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:24:24.575357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_27_2678.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_42_2584.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_46_3632.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_51_2638.jpg', '/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_55_3662.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_13_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_27_2678.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_42_2584.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_46_3632.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_51_2638.jpg
/home/pi/Desktop/images/22112025/17/17/image_22112025_17_17_55_3662.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_13_3575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712771","1395712780","1395712774","1395712768","1395712783","1395712777"],"photo_ids_order":["1395712768","1395712771","1395712774","1395712777","1395712780","1395712783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6cf7f3cfe3beb766e206729e684f124d.jpg","text":"TemporaryFile(/tmp/multipartBody3543513424275175142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828725187,"filename":"image_22112025_17_17_42_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5fe6f96c14d47d1219f247db9fbaef5.jpg","text":"TemporaryFile(/tmp/multipartBody4073986417489005490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828725187,"filename":"image_22112025_17_17_55_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e31a90f901ae6bb3f93d9313f66bc5c.jpg","text":"TemporaryFile(/tmp/multipartBody6798214988973687051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828725187,"filename":"image_22112025_17_17_46_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d259e5890e3c2da905002a4078335853.jpg","text":"TemporaryFile(/tmp/multipartBody9049614255995177040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828725187,"filename":"image_22112025_17_17_27_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/520ac0b362c2ee36b6e730f181181e39.jpg","text":"TemporaryFile(/tmp/multipartBody740335350268089292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828725187,"filename":"image_22112025_17_18_13_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b04b87f9de57d810e80f7ebae71b8225.jpg","text":"TemporaryFile(/tmp/multipartBody5376916475916474719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828725187,"filename":"image_22112025_17_17_51_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712774","file1":"1395712771","file0":"1395712768","file4":"1395712780","file5":"1395712783","file3":"1395712777"},"map_files_photo_id_array":[{"photo_id":"1395712783","filename":"file5"},{"photo_id":"1395712774","filename":"file2"},{"photo_id":"1395712780","filename":"file4"},{"photo_id":"1395712771","filename":"file1"},{"photo_id":"1395712768","filename":"file0"},{"photo_id":"1395712777","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712771":["hashtag1","hashtag2"]},{"1395712780":["hashtag1","hashtag2"]},{"1395712774":["hashtag1","hashtag2"]},{"1395712768":["hashtag1","hashtag2"]},{"1395712783":["hashtag1","hashtag2"]},{"1395712777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712771, 1395712780, 1395712774, 1395712768, 1395712783, 1395712777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91258502006531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:25:03.087665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_20_7386.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_22_1602.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_25_1635.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_28_2544.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_30_2621.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_34_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_20_7386.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_22_1602.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_25_1635.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_28_2544.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_30_2621.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_34_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712792","1395712786","1395712789","1395712785","1395712787","1395712784"],"photo_ids_order":["1395712784","1395712785","1395712786","1395712787","1395712789","1395712792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07f2d0bb4f24fd504a1327444ea57d69.jpg","text":"TemporaryFile(/tmp/multipartBody1948112817796136535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828763768,"filename":"image_22112025_17_18_34_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0df9f7dbb29b6c5337f894ee5bbb8aea.jpg","text":"TemporaryFile(/tmp/multipartBody2345088680764229352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828763768,"filename":"image_22112025_17_18_25_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90f9eead2f8af9645702ede71db79453.jpg","text":"TemporaryFile(/tmp/multipartBody2484575708712433650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828763768,"filename":"image_22112025_17_18_30_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25bb576d064386389616c9ebb1293154.jpg","text":"TemporaryFile(/tmp/multipartBody5680845555693521440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828763768,"filename":"image_22112025_17_18_22_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b66884f1a04b4c4541a5c1b74b70a03c.jpg","text":"TemporaryFile(/tmp/multipartBody5731587186173074906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828763768,"filename":"image_22112025_17_18_28_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfa4ddbdffecbd721dde0bf90a20fa18.jpg","text":"TemporaryFile(/tmp/multipartBody7204036987379372026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828763768,"filename":"image_22112025_17_18_20_7386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712786","file1":"1395712785","file0":"1395712784","file4":"1395712789","file5":"1395712792","file3":"1395712787"},"map_files_photo_id_array":[{"photo_id":"1395712792","filename":"file5"},{"photo_id":"1395712786","filename":"file2"},{"photo_id":"1395712789","filename":"file4"},{"photo_id":"1395712785","filename":"file1"},{"photo_id":"1395712784","filename":"file0"},{"photo_id":"1395712787","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712792":["hashtag1","hashtag2"]},{"1395712786":["hashtag1","hashtag2"]},{"1395712789":["hashtag1","hashtag2"]},{"1395712785":["hashtag1","hashtag2"]},{"1395712787":["hashtag1","hashtag2"]},{"1395712784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712792, 1395712786, 1395712789, 1395712785, 1395712787, 1395712784)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.53547286987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:26:02.614011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_37_2781.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_39_2579.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_43_3569.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_45_2564.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_51_2488.jpg', '/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_54_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_37_2781.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_39_2579.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_43_3569.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_45_2564.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_51_2488.jpg
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_54_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712802","1395712815","1395712830","1395712803","1395712832","1395712808"],"photo_ids_order":["1395712802","1395712803","1395712808","1395712815","1395712830","1395712832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14ab8c4a10adc68406ff951266c463fc.jpg","text":"TemporaryFile(/tmp/multipartBody1058532255443118592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828823306,"filename":"image_22112025_17_18_37_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/633f9a01580e3df804999e86cc57ed6c.jpg","text":"TemporaryFile(/tmp/multipartBody9222847234110283093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828823306,"filename":"image_22112025_17_18_45_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c14340b371f3d2e46187c6000f80a79f.jpg","text":"TemporaryFile(/tmp/multipartBody6842689473348344106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828823306,"filename":"image_22112025_17_18_51_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f477bfe8fafdbb6a67b72b5a1d8234a.jpg","text":"TemporaryFile(/tmp/multipartBody2721861472984071296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828823306,"filename":"image_22112025_17_18_39_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cddbdab4f2eae463a4d07c5eea1f7db.jpg","text":"TemporaryFile(/tmp/multipartBody427151202618639113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828823306,"filename":"image_22112025_17_18_54_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d87e96bfe0cdb8c3ce4fbbca66a2c780.jpg","text":"TemporaryFile(/tmp/multipartBody3876047834586442635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828823306,"filename":"image_22112025_17_18_43_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712808","file1":"1395712803","file0":"1395712802","file4":"1395712830","file5":"1395712832","file3":"1395712815"},"map_files_photo_id_array":[{"photo_id":"1395712832","filename":"file5"},{"photo_id":"1395712808","filename":"file2"},{"photo_id":"1395712830","filename":"file4"},{"photo_id":"1395712803","filename":"file1"},{"photo_id":"1395712802","filename":"file0"},{"photo_id":"1395712815","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712802":["hashtag1","hashtag2"]},{"1395712815":["hashtag1","hashtag2"]},{"1395712830":["hashtag1","hashtag2"]},{"1395712803":["hashtag1","hashtag2"]},{"1395712832":["hashtag1","hashtag2"]},{"1395712808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712802, 1395712815, 1395712830, 1395712803, 1395712832, 1395712808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.298311948776245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:26:42.085820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_58_3779.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_01_3423.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_04_2705.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_12_7838.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_13_1752.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_17_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/18/image_22112025_17_18_58_3779.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_01_3423.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_04_2705.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_12_7838.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_13_1752.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_17_1550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712852","1395712855","1395712845","1395712842","1395712850","1395712847"],"photo_ids_order":["1395712842","1395712845","1395712847","1395712850","1395712852","1395712855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2201fb58499f64f0718c079fa8c65dd.jpg","text":"TemporaryFile(/tmp/multipartBody2661732209877439239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828862727,"filename":"image_22112025_17_19_13_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7291da37467cfd321e9e9db0f609181c.jpg","text":"TemporaryFile(/tmp/multipartBody7607364095845670123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828862727,"filename":"image_22112025_17_19_17_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/146d3316ec9209ad6cb7f2e404b63238.jpg","text":"TemporaryFile(/tmp/multipartBody3465495581476276142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828862727,"filename":"image_22112025_17_19_01_3423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a5d57c3f3166c74389de3d5f5650da4.jpg","text":"TemporaryFile(/tmp/multipartBody6895004164894354104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828862727,"filename":"image_22112025_17_18_58_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bba22aafc86c2cd99b3045833f8f2af.jpg","text":"TemporaryFile(/tmp/multipartBody4018429181704331887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828862727,"filename":"image_22112025_17_19_12_7838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7611f2e820c8470aa3a4155d67f51b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3107491970213514898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828862727,"filename":"image_22112025_17_19_04_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712847","file1":"1395712845","file0":"1395712842","file4":"1395712852","file5":"1395712855","file3":"1395712850"},"map_files_photo_id_array":[{"photo_id":"1395712855","filename":"file5"},{"photo_id":"1395712847","filename":"file2"},{"photo_id":"1395712852","filename":"file4"},{"photo_id":"1395712845","filename":"file1"},{"photo_id":"1395712842","filename":"file0"},{"photo_id":"1395712850","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712852":["hashtag1","hashtag2"]},{"1395712855":["hashtag1","hashtag2"]},{"1395712845":["hashtag1","hashtag2"]},{"1395712842":["hashtag1","hashtag2"]},{"1395712850":["hashtag1","hashtag2"]},{"1395712847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712852, 1395712855, 1395712845, 1395712842, 1395712850, 1395712847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0775191783905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:27:22.344218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_18_1689.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_22_3533.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_25_2589.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_27_2613.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_40_3578.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_46_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_18_1689.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_22_3533.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_25_2589.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_27_2613.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_40_3578.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_46_3569.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5379941463470459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:27:42.350917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_18_1689.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_22_3533.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_25_2589.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_27_2613.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_40_3578.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_46_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_18_1689.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_22_3533.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_25_2589.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_27_2613.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_40_3578.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_46_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712879","1395712882","1395712881","1395712875","1395712878","1395712880"],"photo_ids_order":["1395712875","1395712878","1395712879","1395712880","1395712881","1395712882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dfc2c32681e8e638f12eb99434626ab.jpg","text":"TemporaryFile(/tmp/multipartBody3159392799580365021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828923027,"filename":"image_22112025_17_19_25_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/301b93c065e315b769228bf387e50fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3800075283586984110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828923027,"filename":"image_22112025_17_19_46_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f113c59f8391c3b6b46995170937130.jpg","text":"TemporaryFile(/tmp/multipartBody7661007937388394458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828923027,"filename":"image_22112025_17_19_40_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08406952758dce04c6114752d9c0f10a.jpg","text":"TemporaryFile(/tmp/multipartBody479630010097980070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828923027,"filename":"image_22112025_17_19_18_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/855efd0ad099d468992644a77c03a521.jpg","text":"TemporaryFile(/tmp/multipartBody1270828543020883445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828923027,"filename":"image_22112025_17_19_22_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb64d03348be20c43816ccc7757b16e1.jpg","text":"TemporaryFile(/tmp/multipartBody4892101493048026116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828923027,"filename":"image_22112025_17_19_27_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712879","file1":"1395712878","file0":"1395712875","file4":"1395712881","file5":"1395712882","file3":"1395712880"},"map_files_photo_id_array":[{"photo_id":"1395712882","filename":"file5"},{"photo_id":"1395712879","filename":"file2"},{"photo_id":"1395712881","filename":"file4"},{"photo_id":"1395712878","filename":"file1"},{"photo_id":"1395712875","filename":"file0"},{"photo_id":"1395712880","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712879":["hashtag1","hashtag2"]},{"1395712882":["hashtag1","hashtag2"]},{"1395712881":["hashtag1","hashtag2"]},{"1395712875":["hashtag1","hashtag2"]},{"1395712878":["hashtag1","hashtag2"]},{"1395712880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712879, 1395712882, 1395712881, 1395712875, 1395712878, 1395712880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52876281738281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:28:22.436334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_49_2747.jpg', '/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_54_2723.jpg', '/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_07_3012.jpg', '/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_16_5074.jpg', '/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_17_1632.jpg', '/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_19_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_49_2747.jpg
/home/pi/Desktop/images/22112025/17/19/image_22112025_17_19_54_2723.jpg
/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_07_3012.jpg
/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_16_5074.jpg
/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_17_1632.jpg
/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_19_1670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712899","1395712892","1395712886","1395712895","1395712889","1395712897"],"photo_ids_order":["1395712886","1395712889","1395712892","1395712895","1395712897","1395712899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa077b1d9e936159ed67657c0e9d98b0.jpg","text":"TemporaryFile(/tmp/multipartBody5860972042780965530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828964781,"filename":"image_22112025_17_20_19_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/934518d03603c10ea9dca654112b0121.jpg","text":"TemporaryFile(/tmp/multipartBody2562332886059798637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828964781,"filename":"image_22112025_17_20_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ee2793323f55439c100f81eb96976bc.jpg","text":"TemporaryFile(/tmp/multipartBody8651588554788608546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828964781,"filename":"image_22112025_17_19_49_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6dffa4d8093bd9e6d94f115938132bad.jpg","text":"TemporaryFile(/tmp/multipartBody3017688339423767592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828964781,"filename":"image_22112025_17_20_16_5074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/232166fc08604578cba15013390a7ed8.jpg","text":"TemporaryFile(/tmp/multipartBody7961654007008176073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828964781,"filename":"image_22112025_17_19_54_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9722f134bc3fbb4c41711542640d002.jpg","text":"TemporaryFile(/tmp/multipartBody4283020791594752981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763828964781,"filename":"image_22112025_17_20_17_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712892","file1":"1395712889","file0":"1395712886","file4":"1395712897","file5":"1395712899","file3":"1395712895"},"map_files_photo_id_array":[{"photo_id":"1395712899","filename":"file5"},{"photo_id":"1395712892","filename":"file2"},{"photo_id":"1395712897","filename":"file4"},{"photo_id":"1395712889","filename":"file1"},{"photo_id":"1395712886","filename":"file0"},{"photo_id":"1395712895","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712899":["hashtag1","hashtag2"]},{"1395712892":["hashtag1","hashtag2"]},{"1395712886":["hashtag1","hashtag2"]},{"1395712895":["hashtag1","hashtag2"]},{"1395712889":["hashtag1","hashtag2"]},{"1395712897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712899, 1395712892, 1395712886, 1395712895, 1395712889, 1395712897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5956506729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:29:03.694713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_28_2857.jpg', '/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_32_3559.jpg', '/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_35_2696.jpg', '/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_41_3575.jpg', '/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_11_2677.jpg', '/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_23_12447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_28_2857.jpg
/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_32_3559.jpg
/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_35_2696.jpg
/home/pi/Desktop/images/22112025/17/20/image_22112025_17_20_41_3575.jpg
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_11_2677.jpg
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_23_12447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712903","1395712900","1395712911","1395712902","1395712904","1395712907"],"photo_ids_order":["1395712900","1395712902","1395712903","1395712904","1395712907","1395712911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/245d95ba0aee0ae1498aa67e20370c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8319983094098371264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829004516,"filename":"image_22112025_17_20_35_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18c4baa49f9c0835ea3d0a44883696ec.jpg","text":"TemporaryFile(/tmp/multipartBody8234406832530954892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829004516,"filename":"image_22112025_17_20_28_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f83dd7f8bc1403060802500343fef635.jpg","text":"TemporaryFile(/tmp/multipartBody7953280325629226102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829004516,"filename":"image_22112025_17_21_23_12447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6299936251f052fe07555a76406f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody6393945650378169273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829004516,"filename":"image_22112025_17_20_32_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b302f35d30099afcab402d28e2d847c5.jpg","text":"TemporaryFile(/tmp/multipartBody441810952497987144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829004516,"filename":"image_22112025_17_20_41_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89f030561a8c6d4ee8ba0eb6901d9738.jpg","text":"TemporaryFile(/tmp/multipartBody6586054833792767085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829004516,"filename":"image_22112025_17_21_11_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712903","file1":"1395712902","file0":"1395712900","file4":"1395712907","file5":"1395712911","file3":"1395712904"},"map_files_photo_id_array":[{"photo_id":"1395712911","filename":"file5"},{"photo_id":"1395712903","filename":"file2"},{"photo_id":"1395712907","filename":"file4"},{"photo_id":"1395712902","filename":"file1"},{"photo_id":"1395712900","filename":"file0"},{"photo_id":"1395712904","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712903":["hashtag1","hashtag2"]},{"1395712900":["hashtag1","hashtag2"]},{"1395712911":["hashtag1","hashtag2"]},{"1395712902":["hashtag1","hashtag2"]},{"1395712904":["hashtag1","hashtag2"]},{"1395712907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712903, 1395712900, 1395712911, 1395712902, 1395712904, 1395712907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29665994644165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:29:42.766336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_28_1557.jpg', '/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_37_2722.jpg', '/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_43_2583.jpg', '/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_46_2604.jpg', '/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_16_2608.jpg', '/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_19_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_28_1557.jpg
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_37_2722.jpg
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_43_2583.jpg
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_46_2604.jpg
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_16_2608.jpg
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_19_2665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5941798686981201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:30:02.456793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_28_1557.jpg', '/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_37_2722.jpg', '/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_43_2583.jpg', '/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_46_2604.jpg', '/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_16_2608.jpg', '/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_19_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_28_1557.jpg
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_37_2722.jpg
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_43_2583.jpg
/home/pi/Desktop/images/22112025/17/21/image_22112025_17_21_46_2604.jpg
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_16_2608.jpg
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_19_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395712972","1395712974","1395712977","1395712971","1395712968","1395712953"],"photo_ids_order":["1395712953","1395712968","1395712971","1395712972","1395712974","1395712977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e391491064d68e26b82e0babbfaca366.jpg","text":"TemporaryFile(/tmp/multipartBody6690391184482192137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829063141,"filename":"image_22112025_17_21_46_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0a818df8a1312e7939651a37b96019a.jpg","text":"TemporaryFile(/tmp/multipartBody3506845874112474012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829063141,"filename":"image_22112025_17_22_16_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f1de818a82baf3a5fee5eeb21f26785.jpg","text":"TemporaryFile(/tmp/multipartBody2297028969199768467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829063141,"filename":"image_22112025_17_22_19_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55cf4be9eb8f5d71a9b23812d902cf99.jpg","text":"TemporaryFile(/tmp/multipartBody9130910367546268835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829063141,"filename":"image_22112025_17_21_43_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d419afb8e5ad3f8ac0fc3016003317e9.jpg","text":"TemporaryFile(/tmp/multipartBody7639232851335482406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829063141,"filename":"image_22112025_17_21_37_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95d6f12a8603a06451313b110f6a0396.jpg","text":"TemporaryFile(/tmp/multipartBody2860699097453877572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829063141,"filename":"image_22112025_17_21_28_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712971","file1":"1395712968","file0":"1395712953","file4":"1395712974","file5":"1395712977","file3":"1395712972"},"map_files_photo_id_array":[{"photo_id":"1395712977","filename":"file5"},{"photo_id":"1395712971","filename":"file2"},{"photo_id":"1395712974","filename":"file4"},{"photo_id":"1395712968","filename":"file1"},{"photo_id":"1395712953","filename":"file0"},{"photo_id":"1395712972","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712972":["hashtag1","hashtag2"]},{"1395712974":["hashtag1","hashtag2"]},{"1395712977":["hashtag1","hashtag2"]},{"1395712971":["hashtag1","hashtag2"]},{"1395712968":["hashtag1","hashtag2"]},{"1395712953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712972, 1395712974, 1395712977, 1395712971, 1395712968, 1395712953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9721896648407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:30:41.977618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_26_3780.jpg', '/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_28_2630.jpg', '/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_41_3667.jpg', '/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_46_2676.jpg', '/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_53_3053.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_02_3783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_26_3780.jpg
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_28_2630.jpg
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_41_3667.jpg
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_46_2676.jpg
/home/pi/Desktop/images/22112025/17/22/image_22112025_17_22_53_3053.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_02_3783.jpg
 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":["1395712990","1395712993","1395712992","1395712989","1395712986","1395712991"],"photo_ids_order":["1395712986","1395712989","1395712990","1395712991","1395712992","1395712993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a089706a2f181971b376bf131a8dd9bb.jpg","text":"TemporaryFile(/tmp/multipartBody3408537277391028675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829102625,"filename":"image_22112025_17_22_41_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4995c6221a8527cb7be4133c6effadca.jpg","text":"TemporaryFile(/tmp/multipartBody1797719238022529457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829102625,"filename":"image_22112025_17_23_02_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9330b9c9588f0f2b6e4b8cbb6ea5887e.jpg","text":"TemporaryFile(/tmp/multipartBody2259164982688208170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829102625,"filename":"image_22112025_17_22_53_3053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39ce9324314ae886694af73c26378bce.jpg","text":"TemporaryFile(/tmp/multipartBody872645135804446232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829102625,"filename":"image_22112025_17_22_28_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03ece7dc151f3ffc2996339704ecbfff.jpg","text":"TemporaryFile(/tmp/multipartBody4584807199471938448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829102625,"filename":"image_22112025_17_22_26_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/259d17fe58ad8901858a87d884345b8b.jpg","text":"TemporaryFile(/tmp/multipartBody3740680574569424484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829102625,"filename":"image_22112025_17_22_46_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395712990","file1":"1395712989","file0":"1395712986","file4":"1395712992","file5":"1395712993","file3":"1395712991"},"map_files_photo_id_array":[{"photo_id":"1395712993","filename":"file5"},{"photo_id":"1395712990","filename":"file2"},{"photo_id":"1395712992","filename":"file4"},{"photo_id":"1395712989","filename":"file1"},{"photo_id":"1395712986","filename":"file0"},{"photo_id":"1395712991","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395712990":["hashtag1","hashtag2"]},{"1395712993":["hashtag1","hashtag2"]},{"1395712992":["hashtag1","hashtag2"]},{"1395712989":["hashtag1","hashtag2"]},{"1395712986":["hashtag1","hashtag2"]},{"1395712991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395712990, 1395712993, 1395712992, 1395712989, 1395712986, 1395712991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.46231818199158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:31:42.259608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_16_2712.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_19_2762.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_23_3579.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_30_7928.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_36_1471.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_38_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_16_2712.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_19_2762.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_23_3579.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_30_7928.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_36_1471.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_38_1701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713011","1395713016","1395713010","1395713006","1395713015","1395713009"],"photo_ids_order":["1395713006","1395713009","1395713010","1395713011","1395713015","1395713016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/350fc66018b68aec4dd154cf7c67c9e1.jpg","text":"TemporaryFile(/tmp/multipartBody7217770653262181658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829162914,"filename":"image_22112025_17_23_30_7928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ae9b588eac0c63480a37e86ffbad88a.jpg","text":"TemporaryFile(/tmp/multipartBody3352501442363609434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829162914,"filename":"image_22112025_17_23_38_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b431114f0aaaa46b3f84b4902fa8f22a.jpg","text":"TemporaryFile(/tmp/multipartBody265962132313552494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829162914,"filename":"image_22112025_17_23_23_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b538b3e640740885f1332986bdf8f26.jpg","text":"TemporaryFile(/tmp/multipartBody4954917428187360148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829162914,"filename":"image_22112025_17_23_16_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74ad8ba5b5ae8010146edfd14bfe0233.jpg","text":"TemporaryFile(/tmp/multipartBody3323783734696698680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829162914,"filename":"image_22112025_17_23_36_1471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d5716556cc269cbb0fca47ce3a407e0.jpg","text":"TemporaryFile(/tmp/multipartBody8016232262672055876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829162914,"filename":"image_22112025_17_23_19_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713010","file1":"1395713009","file0":"1395713006","file4":"1395713015","file5":"1395713016","file3":"1395713011"},"map_files_photo_id_array":[{"photo_id":"1395713016","filename":"file5"},{"photo_id":"1395713010","filename":"file2"},{"photo_id":"1395713015","filename":"file4"},{"photo_id":"1395713009","filename":"file1"},{"photo_id":"1395713006","filename":"file0"},{"photo_id":"1395713011","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713011":["hashtag1","hashtag2"]},{"1395713016":["hashtag1","hashtag2"]},{"1395713010":["hashtag1","hashtag2"]},{"1395713006":["hashtag1","hashtag2"]},{"1395713015":["hashtag1","hashtag2"]},{"1395713009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713011, 1395713016, 1395713010, 1395713006, 1395713015, 1395713009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10146379470825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:32:22.651470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_39_1592.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_45_1824.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_47_1523.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_50_2633.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_52_2599.jpg', '/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_59_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_39_1592.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_45_1824.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_47_1523.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_50_2633.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_52_2599.jpg
/home/pi/Desktop/images/22112025/17/23/image_22112025_17_23_59_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713032","1395713029","1395713026","1395713019","1395713034","1395713022"],"photo_ids_order":["1395713019","1395713022","1395713026","1395713029","1395713032","1395713034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54203aaadbe1d2977996f27d1b9a3393.jpg","text":"TemporaryFile(/tmp/multipartBody7962107242651074179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829203310,"filename":"image_22112025_17_23_52_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d822d5fd1c3e41b7127524741ea51007.jpg","text":"TemporaryFile(/tmp/multipartBody6955030591325785541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829203310,"filename":"image_22112025_17_23_50_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57590c2c35cd6c37c45781072382d4ca.jpg","text":"TemporaryFile(/tmp/multipartBody8498104241863029320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829203310,"filename":"image_22112025_17_23_47_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1458674ec31e56c8638bf7319eb327e7.jpg","text":"TemporaryFile(/tmp/multipartBody1300175540593933144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829203310,"filename":"image_22112025_17_23_39_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/833d529d9184c8fd2fbc12c1e6470662.jpg","text":"TemporaryFile(/tmp/multipartBody5461043198166503216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829203310,"filename":"image_22112025_17_23_59_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55a0f9afaa86d1b029e8b4cb8f979b34.jpg","text":"TemporaryFile(/tmp/multipartBody8229216351487475261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829203310,"filename":"image_22112025_17_23_45_1824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713026","file1":"1395713022","file0":"1395713019","file4":"1395713032","file5":"1395713034","file3":"1395713029"},"map_files_photo_id_array":[{"photo_id":"1395713034","filename":"file5"},{"photo_id":"1395713026","filename":"file2"},{"photo_id":"1395713032","filename":"file4"},{"photo_id":"1395713022","filename":"file1"},{"photo_id":"1395713019","filename":"file0"},{"photo_id":"1395713029","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713032":["hashtag1","hashtag2"]},{"1395713029":["hashtag1","hashtag2"]},{"1395713026":["hashtag1","hashtag2"]},{"1395713019":["hashtag1","hashtag2"]},{"1395713034":["hashtag1","hashtag2"]},{"1395713022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713032, 1395713029, 1395713026, 1395713019, 1395713034, 1395713022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.869651556015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:33:03.302992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_04_2736.jpg', '/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_16_2657.jpg', '/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_19_2738.jpg', '/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_28_3654.jpg', '/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_34_2681.jpg', '/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_37_3502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_04_2736.jpg
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_16_2657.jpg
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_19_2738.jpg
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_28_3654.jpg
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_34_2681.jpg
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_37_3502.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713041","1395713044","1395713038","1395713037","1395713036","1395713039"],"photo_ids_order":["1395713036","1395713037","1395713038","1395713039","1395713041","1395713044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b20e8c0681d5aa541b5c21b8fe08e493.jpg","text":"TemporaryFile(/tmp/multipartBody4171143604384593577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829244051,"filename":"image_22112025_17_24_34_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cc699938ef0a7182551c02e43b8d921.jpg","text":"TemporaryFile(/tmp/multipartBody1695025697676941758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829244051,"filename":"image_22112025_17_24_37_3502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92eb51e0a35f347233ceb38944ee97f2.jpg","text":"TemporaryFile(/tmp/multipartBody8219868387630475337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829244051,"filename":"image_22112025_17_24_19_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee1366ad2d09d6f7b8f12b915ca24dc9.jpg","text":"TemporaryFile(/tmp/multipartBody3909483767015683243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829244051,"filename":"image_22112025_17_24_16_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/314518c713605d7facc4b91760fe3fed.jpg","text":"TemporaryFile(/tmp/multipartBody2571263564574051580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829244051,"filename":"image_22112025_17_24_04_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe2244be52ab48c50715945baaf32fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5949459010718341099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829244051,"filename":"image_22112025_17_24_28_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713038","file1":"1395713037","file0":"1395713036","file4":"1395713041","file5":"1395713044","file3":"1395713039"},"map_files_photo_id_array":[{"photo_id":"1395713044","filename":"file5"},{"photo_id":"1395713038","filename":"file2"},{"photo_id":"1395713041","filename":"file4"},{"photo_id":"1395713037","filename":"file1"},{"photo_id":"1395713036","filename":"file0"},{"photo_id":"1395713039","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713041":["hashtag1","hashtag2"]},{"1395713044":["hashtag1","hashtag2"]},{"1395713038":["hashtag1","hashtag2"]},{"1395713037":["hashtag1","hashtag2"]},{"1395713036":["hashtag1","hashtag2"]},{"1395713039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713041, 1395713044, 1395713038, 1395713037, 1395713036, 1395713039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.321906089782715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:33:42.709366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_44_3544.jpg', '/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_49_2552.jpg', '/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_55_2825.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_07_3019.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_11_3733.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_13_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_44_3544.jpg
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_49_2552.jpg
/home/pi/Desktop/images/22112025/17/24/image_22112025_17_24_55_2825.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_07_3019.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_11_3733.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_13_2582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713061","1395713058","1395713060","1395713054","1395713057","1395713059"],"photo_ids_order":["1395713054","1395713057","1395713058","1395713059","1395713060","1395713061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0561884b1db6d5805137f8447f6a87e2.jpg","text":"TemporaryFile(/tmp/multipartBody3132044228206034746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829283386,"filename":"image_22112025_17_26_13_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68afe609fd865759329856eddf102deb.jpg","text":"TemporaryFile(/tmp/multipartBody1299891208517800355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829283386,"filename":"image_22112025_17_24_55_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7935e144ad4aeaa7956f2fca9d8baacb.jpg","text":"TemporaryFile(/tmp/multipartBody7128411625825560716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829283386,"filename":"image_22112025_17_26_11_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d94969f1888c9c7f817de4b5c8e24dd4.jpg","text":"TemporaryFile(/tmp/multipartBody1840750992534024181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829283386,"filename":"image_22112025_17_24_44_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2be35b371572dd8ee6aaca40574720e.jpg","text":"TemporaryFile(/tmp/multipartBody3157814440829623202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829283386,"filename":"image_22112025_17_24_49_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f6f1bc518e4183fc5ea99d57fd506ee.jpg","text":"TemporaryFile(/tmp/multipartBody2542738222862963778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829283386,"filename":"image_22112025_17_26_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713058","file1":"1395713057","file0":"1395713054","file4":"1395713060","file5":"1395713061","file3":"1395713059"},"map_files_photo_id_array":[{"photo_id":"1395713061","filename":"file5"},{"photo_id":"1395713058","filename":"file2"},{"photo_id":"1395713060","filename":"file4"},{"photo_id":"1395713057","filename":"file1"},{"photo_id":"1395713054","filename":"file0"},{"photo_id":"1395713059","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713061":["hashtag1","hashtag2"]},{"1395713058":["hashtag1","hashtag2"]},{"1395713060":["hashtag1","hashtag2"]},{"1395713054":["hashtag1","hashtag2"]},{"1395713057":["hashtag1","hashtag2"]},{"1395713059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713061, 1395713058, 1395713060, 1395713054, 1395713057, 1395713059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66011428833008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:34:21.873350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_17_3559.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_20_2640.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_22_2598.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_25_2863.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_29_3715.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_31_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_17_3559.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_20_2640.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_22_2598.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_25_2863.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_29_3715.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_31_2682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6073620319366455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:34:41.923796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_17_3559.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_20_2640.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_22_2598.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_25_2863.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_29_3715.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_31_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_17_3559.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_20_2640.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_22_2598.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_25_2863.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_29_3715.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_31_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713080","1395713082","1395713084","1395713081","1395713083","1395713077"],"photo_ids_order":["1395713077","1395713080","1395713081","1395713082","1395713083","1395713084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/048e04c4dbcc8fd7be64bf1a04e9f57d.jpg","text":"TemporaryFile(/tmp/multipartBody7395913947441643925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829342575,"filename":"image_22112025_17_26_20_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/465264f08d7a8d0a0a93164a63f134a8.jpg","text":"TemporaryFile(/tmp/multipartBody2522491431265285771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829342575,"filename":"image_22112025_17_26_25_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbc3751bed581b5854d94740893b9e2c.jpg","text":"TemporaryFile(/tmp/multipartBody5345866064430701132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829342575,"filename":"image_22112025_17_26_31_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b0af4de54b294c6f2b6d93961d46229.jpg","text":"TemporaryFile(/tmp/multipartBody5431617429100600565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829342575,"filename":"image_22112025_17_26_22_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2692ec1ef82cbbbcd764509c1330c06.jpg","text":"TemporaryFile(/tmp/multipartBody8231102068194897262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829342575,"filename":"image_22112025_17_26_29_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e68e2e77f9bb5210a2ced538a3721542.jpg","text":"TemporaryFile(/tmp/multipartBody2141325545236667929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829342575,"filename":"image_22112025_17_26_17_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713081","file1":"1395713080","file0":"1395713077","file4":"1395713083","file5":"1395713084","file3":"1395713082"},"map_files_photo_id_array":[{"photo_id":"1395713084","filename":"file5"},{"photo_id":"1395713081","filename":"file2"},{"photo_id":"1395713083","filename":"file4"},{"photo_id":"1395713080","filename":"file1"},{"photo_id":"1395713077","filename":"file0"},{"photo_id":"1395713082","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713080":["hashtag1","hashtag2"]},{"1395713082":["hashtag1","hashtag2"]},{"1395713084":["hashtag1","hashtag2"]},{"1395713081":["hashtag1","hashtag2"]},{"1395713083":["hashtag1","hashtag2"]},{"1395713077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713080, 1395713082, 1395713084, 1395713081, 1395713083, 1395713077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.133331537246704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:35:22.250259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_34_2617.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_38_3719.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_44_6337.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_46_1531.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_50_2512.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_52_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_34_2617.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_38_3719.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_44_6337.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_46_1531.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_50_2512.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_52_2588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5773608684539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:35:42.155010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_34_2617.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_38_3719.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_44_6337.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_46_1531.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_50_2512.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_52_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_34_2617.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_38_3719.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_44_6337.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_46_1531.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_50_2512.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_52_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713116","1395713119","1395713112","1395713115","1395713117","1395713102"],"photo_ids_order":["1395713102","1395713112","1395713115","1395713116","1395713117","1395713119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de6da7b0be893fa28fb3d94227fe901d.jpg","text":"TemporaryFile(/tmp/multipartBody1822761602725410306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829402836,"filename":"image_22112025_17_26_46_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/624431358e59ce1573a505d14f079b72.jpg","text":"TemporaryFile(/tmp/multipartBody6332542047546167112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829402836,"filename":"image_22112025_17_26_52_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/678f319f36e2d0a28795dd4a1b47ea4f.jpg","text":"TemporaryFile(/tmp/multipartBody7355646426969146567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829402836,"filename":"image_22112025_17_26_38_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89886e28cee87390b973b0e23f7f5513.jpg","text":"TemporaryFile(/tmp/multipartBody3772718104905868331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829402836,"filename":"image_22112025_17_26_44_6337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b11c39ccd1a2fa15defbde1831dc222b.jpg","text":"TemporaryFile(/tmp/multipartBody4303688398521038682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829402836,"filename":"image_22112025_17_26_50_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d0c55eda7265ebb96aa373db1bcf20e.jpg","text":"TemporaryFile(/tmp/multipartBody4262818096058201688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829402836,"filename":"image_22112025_17_26_34_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713115","file1":"1395713112","file0":"1395713102","file4":"1395713117","file5":"1395713119","file3":"1395713116"},"map_files_photo_id_array":[{"photo_id":"1395713119","filename":"file5"},{"photo_id":"1395713115","filename":"file2"},{"photo_id":"1395713117","filename":"file4"},{"photo_id":"1395713112","filename":"file1"},{"photo_id":"1395713102","filename":"file0"},{"photo_id":"1395713116","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713116":["hashtag1","hashtag2"]},{"1395713119":["hashtag1","hashtag2"]},{"1395713112":["hashtag1","hashtag2"]},{"1395713115":["hashtag1","hashtag2"]},{"1395713117":["hashtag1","hashtag2"]},{"1395713102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713116, 1395713119, 1395713112, 1395713115, 1395713117, 1395713102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.474114656448364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:36:22.442594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_56_3550.jpg', '/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_58_2582.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_01_2653.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_05_3579.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_11_3563.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_13_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_56_3550.jpg
/home/pi/Desktop/images/22112025/17/26/image_22112025_17_26_58_2582.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_01_2653.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_05_3579.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_11_3563.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_13_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713152","1395713141","1395713135","1395713150","1395713138","1395713132"],"photo_ids_order":["1395713132","1395713135","1395713138","1395713141","1395713150","1395713152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c4ce410ab459f45ce51d20e774d9dd3.jpg","text":"TemporaryFile(/tmp/multipartBody8228055087870809284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829443663,"filename":"image_22112025_17_27_13_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7b9e31af6fa0409bf0f5ad380794e70.jpg","text":"TemporaryFile(/tmp/multipartBody1248777318966472559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829443663,"filename":"image_22112025_17_27_05_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/680bd98e4272c1a90e34f308b70ddc2f.jpg","text":"TemporaryFile(/tmp/multipartBody604281335319617858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829443663,"filename":"image_22112025_17_26_58_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d843021e1727c9985a11e9ecefa2a8c4.jpg","text":"TemporaryFile(/tmp/multipartBody1472960054056300755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829443663,"filename":"image_22112025_17_27_11_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11eb79e0c538ce7385c9fb21af5efb54.jpg","text":"TemporaryFile(/tmp/multipartBody3966089242986279437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829443663,"filename":"image_22112025_17_27_01_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a3413ece711f2c010b65af96160a37f.jpg","text":"TemporaryFile(/tmp/multipartBody3789071615534306795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829443663,"filename":"image_22112025_17_26_56_3550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713138","file1":"1395713135","file0":"1395713132","file4":"1395713150","file5":"1395713152","file3":"1395713141"},"map_files_photo_id_array":[{"photo_id":"1395713152","filename":"file5"},{"photo_id":"1395713138","filename":"file2"},{"photo_id":"1395713150","filename":"file4"},{"photo_id":"1395713135","filename":"file1"},{"photo_id":"1395713132","filename":"file0"},{"photo_id":"1395713141","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713152":["hashtag1","hashtag2"]},{"1395713141":["hashtag1","hashtag2"]},{"1395713135":["hashtag1","hashtag2"]},{"1395713150":["hashtag1","hashtag2"]},{"1395713138":["hashtag1","hashtag2"]},{"1395713132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713152, 1395713141, 1395713135, 1395713150, 1395713138, 1395713132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.960336446762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:37:03.170719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_20_3604.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_22_2653.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_25_2619.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_31_2663.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_34_2681.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_38_3504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_20_3604.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_22_2653.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_25_2619.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_31_2663.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_34_2681.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_38_3504.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713155","1395713157","1395713153","1395713159","1395713161","1395713164"],"photo_ids_order":["1395713153","1395713155","1395713157","1395713159","1395713161","1395713164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57a7001a597a12c4c1100881ca30c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody7517682813002235287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829483886,"filename":"image_22112025_17_27_22_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/236e92da26b621a6d9675e76ee05e78b.jpg","text":"TemporaryFile(/tmp/multipartBody6761777751197884549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829483886,"filename":"image_22112025_17_27_25_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddf0f1ddfc1a7db883386e67c917eaae.jpg","text":"TemporaryFile(/tmp/multipartBody4712189735241651566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829483886,"filename":"image_22112025_17_27_20_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbc6bd03096bdc8a897b85fea5ce0a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2723153982310150546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829483886,"filename":"image_22112025_17_27_31_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1e567545295e9f7a1b00eb0014a831f.jpg","text":"TemporaryFile(/tmp/multipartBody6635656533595428810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829483886,"filename":"image_22112025_17_27_34_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd91b6df9fca7bd953df4cbda4aaa0d0.jpg","text":"TemporaryFile(/tmp/multipartBody5311501021444695364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829483886,"filename":"image_22112025_17_27_38_3504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713157","file1":"1395713155","file0":"1395713153","file4":"1395713161","file5":"1395713164","file3":"1395713159"},"map_files_photo_id_array":[{"photo_id":"1395713164","filename":"file5"},{"photo_id":"1395713157","filename":"file2"},{"photo_id":"1395713161","filename":"file4"},{"photo_id":"1395713155","filename":"file1"},{"photo_id":"1395713153","filename":"file0"},{"photo_id":"1395713159","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713155":["hashtag1","hashtag2"]},{"1395713157":["hashtag1","hashtag2"]},{"1395713153":["hashtag1","hashtag2"]},{"1395713159":["hashtag1","hashtag2"]},{"1395713161":["hashtag1","hashtag2"]},{"1395713164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713155, 1395713157, 1395713153, 1395713159, 1395713161, 1395713164)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395713157 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_25_2619.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.67130947113037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:38:02.887791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_40_2733.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_44_3546.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_47_2873.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_49_2666.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_52_2677.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_56_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_40_2733.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_44_3546.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_47_2873.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_49_2666.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_52_2677.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_56_3599.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6488037109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:38:22.357374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_40_2733.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_44_3546.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_47_2873.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_49_2666.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_52_2677.jpg', '/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_56_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_40_2733.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_44_3546.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_47_2873.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_49_2666.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_52_2677.jpg
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_56_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713192","1395713195","1395713189","1395713182","1395713185","1395713179"],"photo_ids_order":["1395713179","1395713182","1395713185","1395713189","1395713192","1395713195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/157fe742f9cf793dd990290890bec91a.jpg","text":"TemporaryFile(/tmp/multipartBody8731420767778111393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829563012,"filename":"image_22112025_17_27_52_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7ce8e1395f193ac751001b4de146196.jpg","text":"TemporaryFile(/tmp/multipartBody4438790384047148589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829563012,"filename":"image_22112025_17_27_56_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71524dd6c3d23dfa7c797a54fc1ff8fa.jpg","text":"TemporaryFile(/tmp/multipartBody4104995213128942925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829563012,"filename":"image_22112025_17_27_49_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dd4b191a3fb040e625f1c3b3d1091cd.jpg","text":"TemporaryFile(/tmp/multipartBody6112242556883412700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829563012,"filename":"image_22112025_17_27_44_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6bebded47551024472ed79c583212a2.jpg","text":"TemporaryFile(/tmp/multipartBody8364273286628125061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829563012,"filename":"image_22112025_17_27_47_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65c5a5b71bb3fc00eeabfa8fef682c22.jpg","text":"TemporaryFile(/tmp/multipartBody6537150469397789075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829563012,"filename":"image_22112025_17_27_40_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713185","file1":"1395713182","file0":"1395713179","file4":"1395713192","file5":"1395713195","file3":"1395713189"},"map_files_photo_id_array":[{"photo_id":"1395713195","filename":"file5"},{"photo_id":"1395713185","filename":"file2"},{"photo_id":"1395713192","filename":"file4"},{"photo_id":"1395713182","filename":"file1"},{"photo_id":"1395713179","filename":"file0"},{"photo_id":"1395713189","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713192":["hashtag1","hashtag2"]},{"1395713195":["hashtag1","hashtag2"]},{"1395713189":["hashtag1","hashtag2"]},{"1395713182":["hashtag1","hashtag2"]},{"1395713185":["hashtag1","hashtag2"]},{"1395713179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713192, 1395713195, 1395713189, 1395713182, 1395713185, 1395713179)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.832924604415894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:39:31.493770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_58_2674.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_05_3579.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_07_2566.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_11_3647.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_13_2590.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_16_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/27/image_22112025_17_27_58_2674.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_05_3579.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_07_2566.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_11_3647.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_13_2590.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_16_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713215","1395713211","1395713214","1395713208","1395713202","1395713204"],"photo_ids_order":["1395713202","1395713204","1395713208","1395713211","1395713214","1395713215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/475d65b7049ca22eeac049ae9c99c23f.jpg","text":"TemporaryFile(/tmp/multipartBody3331729185923025970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829632146,"filename":"image_22112025_17_28_16_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b78ecb85279fc10b097d685a7348d53.jpg","text":"TemporaryFile(/tmp/multipartBody5772344618568171485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829632146,"filename":"image_22112025_17_28_11_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a2ced0ad37ff4e21dcd39df1ce10cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4023899443697709923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829632146,"filename":"image_22112025_17_28_13_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b3ebafb5cea783f645159bac3d24b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7692588672657060667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829632146,"filename":"image_22112025_17_28_07_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a48ce18282ea4cd0b7e4282f45ef4c7.jpg","text":"TemporaryFile(/tmp/multipartBody3121832778882387625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829632146,"filename":"image_22112025_17_27_58_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a358237900e65bd9d262e153c5df1e0b.jpg","text":"TemporaryFile(/tmp/multipartBody2688914962153496171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829632146,"filename":"image_22112025_17_28_05_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713208","file1":"1395713204","file0":"1395713202","file4":"1395713214","file5":"1395713215","file3":"1395713211"},"map_files_photo_id_array":[{"photo_id":"1395713215","filename":"file5"},{"photo_id":"1395713208","filename":"file2"},{"photo_id":"1395713214","filename":"file4"},{"photo_id":"1395713204","filename":"file1"},{"photo_id":"1395713202","filename":"file0"},{"photo_id":"1395713211","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713215":["hashtag1","hashtag2"]},{"1395713211":["hashtag1","hashtag2"]},{"1395713214":["hashtag1","hashtag2"]},{"1395713208":["hashtag1","hashtag2"]},{"1395713202":["hashtag1","hashtag2"]},{"1395713204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713215, 1395713211, 1395713214, 1395713208, 1395713202, 1395713204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.450106382369995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:40:21.955684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_19_2891.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_23_3658.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_25_2589.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_29_3614.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_34_5374.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_36_1728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_19_2891.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_23_3658.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_25_2589.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_29_3614.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_34_5374.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_36_1728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713224","1395713221","1395713218","1395713238","1395713229","1395713234"],"photo_ids_order":["1395713218","1395713221","1395713224","1395713229","1395713234","1395713238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8aa7f608eabdee2b204f10a996faed5.jpg","text":"TemporaryFile(/tmp/multipartBody3512460387204698033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829682621,"filename":"image_22112025_17_28_25_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0aa9794d361a94c50ba48dc611296183.jpg","text":"TemporaryFile(/tmp/multipartBody6667960272062662071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829682621,"filename":"image_22112025_17_28_23_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4c534beeec389556ba72cffa87f7bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4373424410044405982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829682621,"filename":"image_22112025_17_28_19_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac3df5ebdb5e0ab75b62d2a0a44afa08.jpg","text":"TemporaryFile(/tmp/multipartBody1058957807379888376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829682621,"filename":"image_22112025_17_28_36_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/caf34cc86d4c845542788581e3f68bee.jpg","text":"TemporaryFile(/tmp/multipartBody7408871963675696527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829682621,"filename":"image_22112025_17_28_29_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e4a080ff844be62f54587c97c1869149.jpg","text":"TemporaryFile(/tmp/multipartBody453453032651302057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829682621,"filename":"image_22112025_17_28_34_5374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713224","file1":"1395713221","file0":"1395713218","file4":"1395713234","file5":"1395713238","file3":"1395713229"},"map_files_photo_id_array":[{"photo_id":"1395713238","filename":"file5"},{"photo_id":"1395713224","filename":"file2"},{"photo_id":"1395713234","filename":"file4"},{"photo_id":"1395713221","filename":"file1"},{"photo_id":"1395713218","filename":"file0"},{"photo_id":"1395713229","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713224":["hashtag1","hashtag2"]},{"1395713221":["hashtag1","hashtag2"]},{"1395713218":["hashtag1","hashtag2"]},{"1395713238":["hashtag1","hashtag2"]},{"1395713229":["hashtag1","hashtag2"]},{"1395713234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713224, 1395713221, 1395713218, 1395713238, 1395713229, 1395713234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57482624053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:41:02.630519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_37_1635.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_40_2545.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_44_3533.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_46_2682.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_49_2549.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_52_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_37_1635.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_40_2545.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_44_3533.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_46_2682.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_49_2549.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_52_3595.jpg
 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":["1395713245","1395713244","1395713246","1395713255","1395713243","1395713257"],"photo_ids_order":["1395713243","1395713244","1395713245","1395713246","1395713255","1395713257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75e021fbd25109f383570ff02ab8dfd0.jpg","text":"TemporaryFile(/tmp/multipartBody2648019468467965339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829723461,"filename":"image_22112025_17_28_44_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/590e81ea19060cc132822558c1263c22.jpg","text":"TemporaryFile(/tmp/multipartBody5419553113282795652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829723461,"filename":"image_22112025_17_28_40_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e58dbdac2aa9f93791d3a5dff0fce83.jpg","text":"TemporaryFile(/tmp/multipartBody3822588760440766631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829723461,"filename":"image_22112025_17_28_46_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/565c4b62923b1760d5dc10ea5d611e53.jpg","text":"TemporaryFile(/tmp/multipartBody3370409718353500440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829723461,"filename":"image_22112025_17_28_49_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47e2305bdb89ad7b6eda6934a2760c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5069476028365164802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829723461,"filename":"image_22112025_17_28_37_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f8f4178d5147dab4228231cccc4f368.jpg","text":"TemporaryFile(/tmp/multipartBody5169614130885579843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829723461,"filename":"image_22112025_17_28_52_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713245","file1":"1395713244","file0":"1395713243","file4":"1395713255","file5":"1395713257","file3":"1395713246"},"map_files_photo_id_array":[{"photo_id":"1395713257","filename":"file5"},{"photo_id":"1395713245","filename":"file2"},{"photo_id":"1395713255","filename":"file4"},{"photo_id":"1395713244","filename":"file1"},{"photo_id":"1395713243","filename":"file0"},{"photo_id":"1395713246","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713245":["hashtag1","hashtag2"]},{"1395713244":["hashtag1","hashtag2"]},{"1395713246":["hashtag1","hashtag2"]},{"1395713255":["hashtag1","hashtag2"]},{"1395713243":["hashtag1","hashtag2"]},{"1395713257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713245, 1395713244, 1395713246, 1395713255, 1395713243, 1395713257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.23250341415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:42:03.183186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_55_2613.jpg', '/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_59_3673.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_01_2701.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_04_2626.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_07_2719.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_13_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_55_2613.jpg
/home/pi/Desktop/images/22112025/17/28/image_22112025_17_28_59_3673.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_01_2701.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_04_2626.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_07_2719.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_13_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713322","1395713307","1395713327","1395713321","1395713315","1395713324"],"photo_ids_order":["1395713307","1395713315","1395713321","1395713322","1395713324","1395713327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2023cceff76cd0904d69920d0b07ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5429654314758766261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829783956,"filename":"image_22112025_17_29_04_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7e838f0db9ae5d5d2897aafcc5ea16e.jpg","text":"TemporaryFile(/tmp/multipartBody134875177355507128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829783956,"filename":"image_22112025_17_28_55_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d1e949a1dab7f6441a3fe9569d629cf.jpg","text":"TemporaryFile(/tmp/multipartBody2625214613160355518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829783956,"filename":"image_22112025_17_29_13_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78bc58072346bea067b464f06cb75962.jpg","text":"TemporaryFile(/tmp/multipartBody6461508206043802084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829783956,"filename":"image_22112025_17_29_01_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bec6c2578c8bce7272471a8a5f65e1da.jpg","text":"TemporaryFile(/tmp/multipartBody1569795907451883962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829783956,"filename":"image_22112025_17_28_59_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9784c20cbccb3129e5e650ea9749e2f.jpg","text":"TemporaryFile(/tmp/multipartBody3126828849964838024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829783956,"filename":"image_22112025_17_29_07_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713321","file1":"1395713315","file0":"1395713307","file4":"1395713324","file5":"1395713327","file3":"1395713322"},"map_files_photo_id_array":[{"photo_id":"1395713327","filename":"file5"},{"photo_id":"1395713321","filename":"file2"},{"photo_id":"1395713324","filename":"file4"},{"photo_id":"1395713315","filename":"file1"},{"photo_id":"1395713307","filename":"file0"},{"photo_id":"1395713322","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713322":["hashtag1","hashtag2"]},{"1395713307":["hashtag1","hashtag2"]},{"1395713327":["hashtag1","hashtag2"]},{"1395713321":["hashtag1","hashtag2"]},{"1395713315":["hashtag1","hashtag2"]},{"1395713324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713322, 1395713307, 1395713327, 1395713321, 1395713315, 1395713324)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.48857259750366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:43:02.732920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_17_3531.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_19_2656.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_22_2798.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_26_3464.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_28_2615.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_31_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_17_3531.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_19_2656.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_22_2798.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_26_3464.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_28_2615.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_31_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713347","1395713340","1395713343","1395713337","1395713339","1395713341"],"photo_ids_order":["1395713337","1395713339","1395713340","1395713341","1395713343","1395713347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc48166ec0e62860ea6005ffadb275a2.jpg","text":"TemporaryFile(/tmp/multipartBody7469038994349496525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829843460,"filename":"image_22112025_17_29_31_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b45c9ff82b73e8130c99751e0fc05db3.jpg","text":"TemporaryFile(/tmp/multipartBody7865570193721781254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829843460,"filename":"image_22112025_17_29_22_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b5112545321fcb19dee68b62b05647a.jpg","text":"TemporaryFile(/tmp/multipartBody87433254388693045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829843460,"filename":"image_22112025_17_29_28_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56817bafbb7869c7036bcd897f3530e7.jpg","text":"TemporaryFile(/tmp/multipartBody6017467662241235752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829843460,"filename":"image_22112025_17_29_17_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/103c2b46d2d16fc849300e9f4efbf03a.jpg","text":"TemporaryFile(/tmp/multipartBody6484308998033156664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829843460,"filename":"image_22112025_17_29_19_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24608f79aa14d8d258c223e94fe265ce.jpg","text":"TemporaryFile(/tmp/multipartBody7566261834314595580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829843460,"filename":"image_22112025_17_29_26_3464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713340","file1":"1395713339","file0":"1395713337","file4":"1395713343","file5":"1395713347","file3":"1395713341"},"map_files_photo_id_array":[{"photo_id":"1395713347","filename":"file5"},{"photo_id":"1395713340","filename":"file2"},{"photo_id":"1395713343","filename":"file4"},{"photo_id":"1395713339","filename":"file1"},{"photo_id":"1395713337","filename":"file0"},{"photo_id":"1395713341","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713347":["hashtag1","hashtag2"]},{"1395713340":["hashtag1","hashtag2"]},{"1395713343":["hashtag1","hashtag2"]},{"1395713337":["hashtag1","hashtag2"]},{"1395713339":["hashtag1","hashtag2"]},{"1395713341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713347, 1395713340, 1395713343, 1395713337, 1395713339, 1395713341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62591361999512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:43:41.919878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_34_3533.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_46_2570.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_49_2670.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_53_3826.jpg', '/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_55_2527.jpg', '/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_15_3938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_34_3533.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_46_2570.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_49_2670.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_53_3826.jpg
/home/pi/Desktop/images/22112025/17/29/image_22112025_17_29_55_2527.jpg
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_15_3938.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713359","1395713361","1395713355","1395713358","1395713360","1395713362"],"photo_ids_order":["1395713355","1395713358","1395713359","1395713360","1395713361","1395713362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15fba14de5d72b375f357a1151bb6284.jpg","text":"TemporaryFile(/tmp/multipartBody7668106080003417728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829882567,"filename":"image_22112025_17_29_49_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ebd6e284a039b5819b5134e76273973.jpg","text":"TemporaryFile(/tmp/multipartBody3057012401454291547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829882567,"filename":"image_22112025_17_29_55_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97aafbe09df6fc053cfd5ca0d0ae1991.jpg","text":"TemporaryFile(/tmp/multipartBody308787376089885172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829882567,"filename":"image_22112025_17_29_34_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4406ab9e4239158bc49cb98521e96dcf.jpg","text":"TemporaryFile(/tmp/multipartBody1519656216416851487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829882567,"filename":"image_22112025_17_29_46_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a3349de784695066c56ec3420eebf34.jpg","text":"TemporaryFile(/tmp/multipartBody667219194163107524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829882567,"filename":"image_22112025_17_29_53_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65e4ff48443836798a3ada9b08fe62c9.jpg","text":"TemporaryFile(/tmp/multipartBody1525219952793943807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829882567,"filename":"image_22112025_17_30_15_3938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713359","file1":"1395713358","file0":"1395713355","file4":"1395713361","file5":"1395713362","file3":"1395713360"},"map_files_photo_id_array":[{"photo_id":"1395713362","filename":"file5"},{"photo_id":"1395713359","filename":"file2"},{"photo_id":"1395713361","filename":"file4"},{"photo_id":"1395713358","filename":"file1"},{"photo_id":"1395713355","filename":"file0"},{"photo_id":"1395713360","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713359":["hashtag1","hashtag2"]},{"1395713361":["hashtag1","hashtag2"]},{"1395713355":["hashtag1","hashtag2"]},{"1395713358":["hashtag1","hashtag2"]},{"1395713360":["hashtag1","hashtag2"]},{"1395713362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713359, 1395713361, 1395713355, 1395713358, 1395713360, 1395713362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.818540811538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:44:22.098458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_21_3678.jpg', '/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_30_8804.jpg', '/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_31_1698.jpg', '/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_41_2619.jpg', '/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_44_2654.jpg', '/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_48_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_21_3678.jpg
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_30_8804.jpg
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_31_1698.jpg
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_41_2619.jpg
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_44_2654.jpg
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_48_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713379","1395713373","1395713376","1395713381","1395713366","1395713369"],"photo_ids_order":["1395713366","1395713369","1395713373","1395713376","1395713379","1395713381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c87ebe709ff60fe3510560ec0d1b741.jpg","text":"TemporaryFile(/tmp/multipartBody580987474830110204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829922741,"filename":"image_22112025_17_30_44_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d470f68ea08a9bc5d572a423e5613a7.jpg","text":"TemporaryFile(/tmp/multipartBody3625440748104579510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829922741,"filename":"image_22112025_17_30_31_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f4483deffb645aa6cf677c4418a2469.jpg","text":"TemporaryFile(/tmp/multipartBody8381079278375463007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829922741,"filename":"image_22112025_17_30_41_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90aedb0e49057a31fd15ff92b83ee18a.jpg","text":"TemporaryFile(/tmp/multipartBody6262792357012098750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829922741,"filename":"image_22112025_17_30_48_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0262b41a887cc423c1669620260ceb6c.jpg","text":"TemporaryFile(/tmp/multipartBody3670558981331160580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829922741,"filename":"image_22112025_17_30_21_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20ffb7602c23254e3114539ba438eccd.jpg","text":"TemporaryFile(/tmp/multipartBody6829782494914601702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829922741,"filename":"image_22112025_17_30_30_8804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713373","file1":"1395713369","file0":"1395713366","file4":"1395713379","file5":"1395713381","file3":"1395713376"},"map_files_photo_id_array":[{"photo_id":"1395713381","filename":"file5"},{"photo_id":"1395713373","filename":"file2"},{"photo_id":"1395713379","filename":"file4"},{"photo_id":"1395713369","filename":"file1"},{"photo_id":"1395713366","filename":"file0"},{"photo_id":"1395713376","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713379":["hashtag1","hashtag2"]},{"1395713373":["hashtag1","hashtag2"]},{"1395713376":["hashtag1","hashtag2"]},{"1395713381":["hashtag1","hashtag2"]},{"1395713366":["hashtag1","hashtag2"]},{"1395713369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713379, 1395713373, 1395713376, 1395713381, 1395713366, 1395713369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08482789993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:45:03.128652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_53_2766.jpg', '/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_56_2693.jpg', '/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_07_3012.jpg', '/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_33_19755.jpg', '/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_36_1720.jpg', '/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_40_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_53_2766.jpg
/home/pi/Desktop/images/22112025/17/30/image_22112025_17_30_56_2693.jpg
/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_07_3012.jpg
/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_33_19755.jpg
/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_36_1720.jpg
/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_40_1548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713382","1395713384","1395713387","1395713392","1395713386","1395713389"],"photo_ids_order":["1395713382","1395713384","1395713386","1395713387","1395713389","1395713392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25242ddd246a5ec8a1d9d886baf8f6bf.jpg","text":"TemporaryFile(/tmp/multipartBody16510181804261014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829963853,"filename":"image_22112025_17_30_53_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02f8acf6ffcc1693ae4ad477f36aea10.jpg","text":"TemporaryFile(/tmp/multipartBody8231345702864922442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829963853,"filename":"image_22112025_17_30_56_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/402cf694edc3af6a5991c917e7d958f6.jpg","text":"TemporaryFile(/tmp/multipartBody8578206307144716877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829963853,"filename":"image_22112025_17_32_33_19755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95e53fba255157c8609c26c265c3f7d6.jpg","text":"TemporaryFile(/tmp/multipartBody6506745091294638682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829963853,"filename":"image_22112025_17_32_40_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/748fad986d727eb6e9a8199474e2219c.jpg","text":"TemporaryFile(/tmp/multipartBody1973948189717970458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829963853,"filename":"image_22112025_17_32_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48c2be29d9d019316b8f477122713d80.jpg","text":"TemporaryFile(/tmp/multipartBody3616660119604431228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763829963853,"filename":"image_22112025_17_32_36_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713386","file1":"1395713384","file0":"1395713382","file4":"1395713389","file5":"1395713392","file3":"1395713387"},"map_files_photo_id_array":[{"photo_id":"1395713392","filename":"file5"},{"photo_id":"1395713386","filename":"file2"},{"photo_id":"1395713389","filename":"file4"},{"photo_id":"1395713384","filename":"file1"},{"photo_id":"1395713382","filename":"file0"},{"photo_id":"1395713387","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713382":["hashtag1","hashtag2"]},{"1395713384":["hashtag1","hashtag2"]},{"1395713387":["hashtag1","hashtag2"]},{"1395713392":["hashtag1","hashtag2"]},{"1395713386":["hashtag1","hashtag2"]},{"1395713389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713382, 1395713384, 1395713387, 1395713392, 1395713386, 1395713389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50368356704712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:45:42.296149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_41_1661.jpg', '/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_46_1653.jpg', '/home/pi/Desktop/images/22112025/17/33/image_22112025_17_33_13_1556.jpg', '/home/pi/Desktop/images/22112025/17/33/image_22112025_17_33_14_1699.jpg', '/home/pi/Desktop/images/22112025/17/33/image_22112025_17_33_19_1511.jpg', '/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_07_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_41_1661.jpg
/home/pi/Desktop/images/22112025/17/32/image_22112025_17_32_46_1653.jpg
/home/pi/Desktop/images/22112025/17/33/image_22112025_17_33_13_1556.jpg
/home/pi/Desktop/images/22112025/17/33/image_22112025_17_33_14_1699.jpg
/home/pi/Desktop/images/22112025/17/33/image_22112025_17_33_19_1511.jpg
/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_07_3015.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713404","1395713407","1395713403","1395713400","1395713402","1395713405"],"photo_ids_order":["1395713400","1395713402","1395713403","1395713404","1395713405","1395713407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f827f587d9ddaa644334d882b4b75de2.jpg","text":"TemporaryFile(/tmp/multipartBody205529848878079872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830002940,"filename":"image_22112025_17_33_14_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d5f72122242732a3d2ca5ae09e9778b.jpg","text":"TemporaryFile(/tmp/multipartBody3407026483402165059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830002940,"filename":"image_22112025_17_34_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99b657d91d33c5f07cd5eca56b842238.jpg","text":"TemporaryFile(/tmp/multipartBody1229851762285708760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830002940,"filename":"image_22112025_17_33_13_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a427298df73916d455e7d6b7d549f44b.jpg","text":"TemporaryFile(/tmp/multipartBody8955965601833902717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830002940,"filename":"image_22112025_17_32_41_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/811b08b02f43c0f40dceb5128bb6392a.jpg","text":"TemporaryFile(/tmp/multipartBody8407020076360364497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830002940,"filename":"image_22112025_17_32_46_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0d1a56b2d7aec0df7623da36b6dfa14.jpg","text":"TemporaryFile(/tmp/multipartBody7789474906738991620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830002940,"filename":"image_22112025_17_33_19_1511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713403","file1":"1395713402","file0":"1395713400","file4":"1395713405","file5":"1395713407","file3":"1395713404"},"map_files_photo_id_array":[{"photo_id":"1395713407","filename":"file5"},{"photo_id":"1395713403","filename":"file2"},{"photo_id":"1395713405","filename":"file4"},{"photo_id":"1395713402","filename":"file1"},{"photo_id":"1395713400","filename":"file0"},{"photo_id":"1395713404","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713404":["hashtag1","hashtag2"]},{"1395713407":["hashtag1","hashtag2"]},{"1395713403":["hashtag1","hashtag2"]},{"1395713400":["hashtag1","hashtag2"]},{"1395713402":["hashtag1","hashtag2"]},{"1395713405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713404, 1395713407, 1395713403, 1395713400, 1395713402, 1395713405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29248285293579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:46:22.558722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_30_10152.jpg', '/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_36_1714.jpg', '/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_38_1506.jpg', '/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_52_1487.jpg', '/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_56_1626.jpg', '/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_59_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_30_10152.jpg
/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_36_1714.jpg
/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_38_1506.jpg
/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_52_1487.jpg
/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_56_1626.jpg
/home/pi/Desktop/images/22112025/17/34/image_22112025_17_34_59_3627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713422","1395713425","1395713410","1395713420","1395713414","1395713417"],"photo_ids_order":["1395713410","1395713414","1395713417","1395713420","1395713422","1395713425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4769c7760351863c8db69c24b55d9d2a.jpg","text":"TemporaryFile(/tmp/multipartBody6682186189495221772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830043229,"filename":"image_22112025_17_34_56_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9245748361852da126c332cbb2a5878.jpg","text":"TemporaryFile(/tmp/multipartBody1379560618544011678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830043229,"filename":"image_22112025_17_34_59_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/552d23943efaf44f39374476bd560bcf.jpg","text":"TemporaryFile(/tmp/multipartBody1513016588501184243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830043229,"filename":"image_22112025_17_34_30_10152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfab48aa210857b31a196d5a96c31cdd.jpg","text":"TemporaryFile(/tmp/multipartBody7219106377799634668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830043229,"filename":"image_22112025_17_34_52_1487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b781c014a7e31dbef86082f5817d5c52.jpg","text":"TemporaryFile(/tmp/multipartBody5148255438972770019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830043229,"filename":"image_22112025_17_34_36_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ecc349f6845802331b0f721079b7ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8494444130161047407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830043229,"filename":"image_22112025_17_34_38_1506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713417","file1":"1395713414","file0":"1395713410","file4":"1395713422","file5":"1395713425","file3":"1395713420"},"map_files_photo_id_array":[{"photo_id":"1395713425","filename":"file5"},{"photo_id":"1395713417","filename":"file2"},{"photo_id":"1395713422","filename":"file4"},{"photo_id":"1395713414","filename":"file1"},{"photo_id":"1395713410","filename":"file0"},{"photo_id":"1395713420","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713422":["hashtag1","hashtag2"]},{"1395713425":["hashtag1","hashtag2"]},{"1395713410":["hashtag1","hashtag2"]},{"1395713420":["hashtag1","hashtag2"]},{"1395713414":["hashtag1","hashtag2"]},{"1395713417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713422, 1395713425, 1395713410, 1395713420, 1395713414, 1395713417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30236482620239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:47:03.285137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_06_3012.jpg', '/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_22_2623.jpg', '/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_24_2732.jpg', '/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_28_3742.jpg', '/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_33_2560.jpg', '/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_40_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_06_3012.jpg
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_22_2623.jpg
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_24_2732.jpg
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_28_3742.jpg
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_33_2560.jpg
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_40_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713457","1395713462","1395713456","1395713459","1395713453","1395713441"],"photo_ids_order":["1395713441","1395713453","1395713456","1395713457","1395713459","1395713462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff2559a3502dddb9ce2223de263d673e.jpg","text":"TemporaryFile(/tmp/multipartBody7071866266064260783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830084025,"filename":"image_22112025_17_35_28_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8496df36e3127e148019d88a9b107d2b.jpg","text":"TemporaryFile(/tmp/multipartBody324189377018876641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830084025,"filename":"image_22112025_17_35_40_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cd8cafd562f6d394b6981d9b2c73df9.jpg","text":"TemporaryFile(/tmp/multipartBody5166209778050556487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830084025,"filename":"image_22112025_17_35_24_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7f18dbfcbf2111f135eb77a13be6c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5763416146176856816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830084025,"filename":"image_22112025_17_35_33_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7165d580c868d7fcfd95f7f6ce035e73.jpg","text":"TemporaryFile(/tmp/multipartBody888441955825731981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830084025,"filename":"image_22112025_17_35_22_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b8275bd7fd42d04d9baca3ed8e5637e.jpg","text":"TemporaryFile(/tmp/multipartBody1185591375350007329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830084025,"filename":"image_22112025_17_35_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713456","file1":"1395713453","file0":"1395713441","file4":"1395713459","file5":"1395713462","file3":"1395713457"},"map_files_photo_id_array":[{"photo_id":"1395713462","filename":"file5"},{"photo_id":"1395713456","filename":"file2"},{"photo_id":"1395713459","filename":"file4"},{"photo_id":"1395713453","filename":"file1"},{"photo_id":"1395713441","filename":"file0"},{"photo_id":"1395713457","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713457":["hashtag1","hashtag2"]},{"1395713462":["hashtag1","hashtag2"]},{"1395713456":["hashtag1","hashtag2"]},{"1395713459":["hashtag1","hashtag2"]},{"1395713453":["hashtag1","hashtag2"]},{"1395713441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713457, 1395713462, 1395713456, 1395713459, 1395713453, 1395713441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.568538188934326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:47:42.699485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_42_2645.jpg', '/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_46_3696.jpg', '/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_51_2585.jpg', '/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_04_3656.jpg', '/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_07_2479.jpg', '/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_19_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_42_2645.jpg
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_46_3696.jpg
/home/pi/Desktop/images/22112025/17/35/image_22112025_17_35_51_2585.jpg
/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_04_3656.jpg
/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_07_2479.jpg
/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_19_3609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713479","1395713475","1395713480","1395713474","1395713471","1395713476"],"photo_ids_order":["1395713471","1395713474","1395713475","1395713476","1395713479","1395713480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc906e8d72f2a0e4e1bf59b35c03aaba.jpg","text":"TemporaryFile(/tmp/multipartBody6725391037202841593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830123335,"filename":"image_22112025_17_36_07_2479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76ab89a5d908bcffd739dff5832b18e5.jpg","text":"TemporaryFile(/tmp/multipartBody1230788037540489372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830123335,"filename":"image_22112025_17_35_51_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbd8bcaca428c2c2858fe2fd3d0c7a8d.jpg","text":"TemporaryFile(/tmp/multipartBody1365550875591961834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830123335,"filename":"image_22112025_17_36_19_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b12c9c6ebd0a5ab28125c95a6eb47c87.jpg","text":"TemporaryFile(/tmp/multipartBody6832803276492097443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830123335,"filename":"image_22112025_17_35_46_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/898e7bab0282c7afaeb7e49c110da81a.jpg","text":"TemporaryFile(/tmp/multipartBody4546308056515257946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830123335,"filename":"image_22112025_17_35_42_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04a7e76892f67d7c41dc433856be18cf.jpg","text":"TemporaryFile(/tmp/multipartBody9001703591630870508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830123335,"filename":"image_22112025_17_36_04_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713475","file1":"1395713474","file0":"1395713471","file4":"1395713479","file5":"1395713480","file3":"1395713476"},"map_files_photo_id_array":[{"photo_id":"1395713480","filename":"file5"},{"photo_id":"1395713475","filename":"file2"},{"photo_id":"1395713479","filename":"file4"},{"photo_id":"1395713474","filename":"file1"},{"photo_id":"1395713471","filename":"file0"},{"photo_id":"1395713476","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713479":["hashtag1","hashtag2"]},{"1395713475":["hashtag1","hashtag2"]},{"1395713480":["hashtag1","hashtag2"]},{"1395713474":["hashtag1","hashtag2"]},{"1395713471":["hashtag1","hashtag2"]},{"1395713476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713479, 1395713475, 1395713480, 1395713474, 1395713471, 1395713476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01181650161743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:48:21.992547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_28_3565.jpg', '/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_46_2655.jpg', '/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_48_2697.jpg', '/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_52_3708.jpg', '/home/pi/Desktop/images/22112025/17/36/image_22112025_17_37_01_3607.jpg', '/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_06_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_28_3565.jpg
/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_46_2655.jpg
/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_48_2697.jpg
/home/pi/Desktop/images/22112025/17/36/image_22112025_17_36_52_3708.jpg
/home/pi/Desktop/images/22112025/17/36/image_22112025_17_37_01_3607.jpg
/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_06_2540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713496","1395713500","1395713492","1395713485","1395713488","1395713482"],"photo_ids_order":["1395713482","1395713485","1395713488","1395713492","1395713496","1395713500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/014574a77dbe3e26b4778ad7af29588c.jpg","text":"TemporaryFile(/tmp/multipartBody496265811565707239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830162633,"filename":"image_22112025_17_37_01_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d53d9a143e34f5058785c5448d410511.jpg","text":"TemporaryFile(/tmp/multipartBody8278211335413394064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830162633,"filename":"image_22112025_17_37_06_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b49ce46e90f739a8de3fc6809763638.jpg","text":"TemporaryFile(/tmp/multipartBody8111278091092011585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830162633,"filename":"image_22112025_17_36_52_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1d99d75cdec4036e14c5c2fc701e4a0.jpg","text":"TemporaryFile(/tmp/multipartBody6134880843077683013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830162633,"filename":"image_22112025_17_36_46_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59d842744bd8bc7d0174baf647a090b6.jpg","text":"TemporaryFile(/tmp/multipartBody7704346192948257631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830162633,"filename":"image_22112025_17_36_48_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecce4e8ed503ae58fe90580f94c01004.jpg","text":"TemporaryFile(/tmp/multipartBody4918039649334212028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830162633,"filename":"image_22112025_17_36_28_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713488","file1":"1395713485","file0":"1395713482","file4":"1395713496","file5":"1395713500","file3":"1395713492"},"map_files_photo_id_array":[{"photo_id":"1395713500","filename":"file5"},{"photo_id":"1395713488","filename":"file2"},{"photo_id":"1395713496","filename":"file4"},{"photo_id":"1395713485","filename":"file1"},{"photo_id":"1395713482","filename":"file0"},{"photo_id":"1395713492","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713496":["hashtag1","hashtag2"]},{"1395713500":["hashtag1","hashtag2"]},{"1395713492":["hashtag1","hashtag2"]},{"1395713485":["hashtag1","hashtag2"]},{"1395713488":["hashtag1","hashtag2"]},{"1395713482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713496, 1395713500, 1395713492, 1395713485, 1395713488, 1395713482)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.810046911239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:49:27.185522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:49:44.067881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_09_2765.jpg', '/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_13_3700.jpg', '/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_54_2775.jpg', '/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_58_3658.jpg', '/home/pi/Desktop/images/22112025/17/37/image_22112025_17_38_01_2581.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_07_3778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_09_2765.jpg
/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_13_3700.jpg
/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_54_2775.jpg
/home/pi/Desktop/images/22112025/17/37/image_22112025_17_37_58_3658.jpg
/home/pi/Desktop/images/22112025/17/37/image_22112025_17_38_01_2581.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_07_3778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713521","1395713524","1395713518","1395713520","1395713523","1395713522"],"photo_ids_order":["1395713518","1395713520","1395713521","1395713522","1395713523","1395713524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18e708d0aa0fbf12cbdd4bd8ba3340d3.jpg","text":"TemporaryFile(/tmp/multipartBody1128815496481825338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830244706,"filename":"image_22112025_17_37_54_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a1d6d868fee81a9d397404d75fee7cf.jpg","text":"TemporaryFile(/tmp/multipartBody3002585443383818169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830244706,"filename":"image_22112025_17_38_07_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e8a30204091c7a00fdcc621c2256038.jpg","text":"TemporaryFile(/tmp/multipartBody223591757309497616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830244706,"filename":"image_22112025_17_37_09_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32c68d6fae7a29e400b69d50b314a2a5.jpg","text":"TemporaryFile(/tmp/multipartBody3407917669970550630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830244706,"filename":"image_22112025_17_37_13_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b77d8e9c0f4ff80b236a1ee9ecae857.jpg","text":"TemporaryFile(/tmp/multipartBody3732312085826397514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830244706,"filename":"image_22112025_17_38_01_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8c58b4b5b5e49e47e08f09e76971545.jpg","text":"TemporaryFile(/tmp/multipartBody4769271573565276135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830244706,"filename":"image_22112025_17_37_58_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713521","file1":"1395713520","file0":"1395713518","file4":"1395713523","file5":"1395713524","file3":"1395713522"},"map_files_photo_id_array":[{"photo_id":"1395713524","filename":"file5"},{"photo_id":"1395713521","filename":"file2"},{"photo_id":"1395713523","filename":"file4"},{"photo_id":"1395713520","filename":"file1"},{"photo_id":"1395713518","filename":"file0"},{"photo_id":"1395713522","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713521":["hashtag1","hashtag2"]},{"1395713524":["hashtag1","hashtag2"]},{"1395713518":["hashtag1","hashtag2"]},{"1395713520":["hashtag1","hashtag2"]},{"1395713523":["hashtag1","hashtag2"]},{"1395713522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713521, 1395713524, 1395713518, 1395713520, 1395713523, 1395713522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15333533287048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:50:22.298778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_09_2584.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_40_30864.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_51_1773.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_53_1553.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_56_1590.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_58_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_09_2584.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_40_30864.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_51_1773.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_53_1553.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_56_1590.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_58_1517.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5296003818511963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:50:42.376315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_09_2584.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_40_30864.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_51_1773.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_53_1553.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_56_1590.jpg', '/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_58_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_09_2584.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_40_30864.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_51_1773.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_53_1553.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_56_1590.jpg
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_58_1517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713545","1395713544","1395713547","1395713541","1395713546","1395713548"],"photo_ids_order":["1395713541","1395713544","1395713545","1395713546","1395713547","1395713548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21a39a6ea95442c2bcc503e0d460c75b.jpg","text":"TemporaryFile(/tmp/multipartBody8494405519913325600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830303052,"filename":"image_22112025_17_38_51_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2ed7abbfc40ae4709ace14154323311.jpg","text":"TemporaryFile(/tmp/multipartBody3564546933748050543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830303052,"filename":"image_22112025_17_38_40_30864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ddeaaf405c4e20804b169300be3a15e.jpg","text":"TemporaryFile(/tmp/multipartBody719244885144606869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830303052,"filename":"image_22112025_17_38_56_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/622192e4e5f5e9759c30f1a9d2731e0f.jpg","text":"TemporaryFile(/tmp/multipartBody6710779588722449394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830303052,"filename":"image_22112025_17_38_09_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbff16ffe06db23cfecb70f169559bfc.jpg","text":"TemporaryFile(/tmp/multipartBody2009368576509549055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830303052,"filename":"image_22112025_17_38_53_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c54291e9b5305e6361557f9a2dcc3cc4.jpg","text":"TemporaryFile(/tmp/multipartBody143768665017691411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830303052,"filename":"image_22112025_17_38_58_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713545","file1":"1395713544","file0":"1395713541","file4":"1395713547","file5":"1395713548","file3":"1395713546"},"map_files_photo_id_array":[{"photo_id":"1395713548","filename":"file5"},{"photo_id":"1395713545","filename":"file2"},{"photo_id":"1395713547","filename":"file4"},{"photo_id":"1395713544","filename":"file1"},{"photo_id":"1395713541","filename":"file0"},{"photo_id":"1395713546","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713545":["hashtag1","hashtag2"]},{"1395713544":["hashtag1","hashtag2"]},{"1395713547":["hashtag1","hashtag2"]},{"1395713541":["hashtag1","hashtag2"]},{"1395713546":["hashtag1","hashtag2"]},{"1395713548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713545, 1395713544, 1395713547, 1395713541, 1395713546, 1395713548)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.573137044906616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:51:43.334197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_59_1644.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_02_2755.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_06_1531.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_07_1741.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_09_1647.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_11_1861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/38/image_22112025_17_38_59_1644.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_02_2755.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_06_1531.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_07_1741.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_09_1647.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_11_1861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713563","1395713562","1395713565","1395713564","1395713567","1395713560"],"photo_ids_order":["1395713560","1395713562","1395713563","1395713564","1395713565","1395713567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c7c1aa76c6fdc6cf26637c45d6fa9e3.jpg","text":"TemporaryFile(/tmp/multipartBody2549278678918784363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830363979,"filename":"image_22112025_17_39_06_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cff614a58ed082a72e63c57902ef17b4.jpg","text":"TemporaryFile(/tmp/multipartBody4340624580576529987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830363979,"filename":"image_22112025_17_39_02_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0813e8a7a80ea7f3c4eac369f844c49a.jpg","text":"TemporaryFile(/tmp/multipartBody2827542751296418784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830363979,"filename":"image_22112025_17_39_09_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18d58153e275dafed55be16359368969.jpg","text":"TemporaryFile(/tmp/multipartBody3535008909275606445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830363979,"filename":"image_22112025_17_39_07_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30b1f44a1aa33c55cff1b89d1d897f67.jpg","text":"TemporaryFile(/tmp/multipartBody290268030582241312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830363979,"filename":"image_22112025_17_39_11_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/013e8be335ab86fe4e294298e5a97981.jpg","text":"TemporaryFile(/tmp/multipartBody804841187755336983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830363979,"filename":"image_22112025_17_38_59_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713563","file1":"1395713562","file0":"1395713560","file4":"1395713565","file5":"1395713567","file3":"1395713564"},"map_files_photo_id_array":[{"photo_id":"1395713567","filename":"file5"},{"photo_id":"1395713563","filename":"file2"},{"photo_id":"1395713565","filename":"file4"},{"photo_id":"1395713562","filename":"file1"},{"photo_id":"1395713560","filename":"file0"},{"photo_id":"1395713564","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713563":["hashtag1","hashtag2"]},{"1395713562":["hashtag1","hashtag2"]},{"1395713565":["hashtag1","hashtag2"]},{"1395713564":["hashtag1","hashtag2"]},{"1395713567":["hashtag1","hashtag2"]},{"1395713560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713563, 1395713562, 1395713565, 1395713564, 1395713567, 1395713560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.031219482421875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:52:22.516513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_12_1546.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_17_1628.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_21_1674.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_22_1619.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_27_1679.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_33_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_12_1546.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_17_1628.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_21_1674.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_22_1619.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_27_1679.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_33_2615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713580","1395713583","1395713577","1395713586","1395713570","1395713572"],"photo_ids_order":["1395713570","1395713572","1395713577","1395713580","1395713583","1395713586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/660e4768c4ee982be25a04e25ab18a3e.jpg","text":"TemporaryFile(/tmp/multipartBody9181049842950039444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830403162,"filename":"image_22112025_17_39_22_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e24a8b2ebbf7c806b1790909622c50f1.jpg","text":"TemporaryFile(/tmp/multipartBody7623132473603545686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830403162,"filename":"image_22112025_17_39_27_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75e4722652945e3e2fb453c24f612ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6701487689806819938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830403162,"filename":"image_22112025_17_39_21_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d20dc10683a1e556c618353aa5e54189.jpg","text":"TemporaryFile(/tmp/multipartBody4495004956255668227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830403162,"filename":"image_22112025_17_39_33_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c448c9170c7a8988a842b58f85ecfb8.jpg","text":"TemporaryFile(/tmp/multipartBody7036161796297861663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830403162,"filename":"image_22112025_17_39_12_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c368ad306fb3144d73e7fb92733fa775.jpg","text":"TemporaryFile(/tmp/multipartBody1178381640708375645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830403162,"filename":"image_22112025_17_39_17_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713577","file1":"1395713572","file0":"1395713570","file4":"1395713583","file5":"1395713586","file3":"1395713580"},"map_files_photo_id_array":[{"photo_id":"1395713586","filename":"file5"},{"photo_id":"1395713577","filename":"file2"},{"photo_id":"1395713583","filename":"file4"},{"photo_id":"1395713572","filename":"file1"},{"photo_id":"1395713570","filename":"file0"},{"photo_id":"1395713580","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713580":["hashtag1","hashtag2"]},{"1395713583":["hashtag1","hashtag2"]},{"1395713577":["hashtag1","hashtag2"]},{"1395713586":["hashtag1","hashtag2"]},{"1395713570":["hashtag1","hashtag2"]},{"1395713572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713580, 1395713583, 1395713577, 1395713586, 1395713570, 1395713572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.065438985824585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:53:03.402533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_36_2568.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_40_3632.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_42_2601.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_45_2620.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_49_3726.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_51_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_36_2568.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_40_3632.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_42_2601.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_45_2620.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_49_3726.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_51_2547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713589","1395713588","1395713597","1395713590","1395713593","1395713587"],"photo_ids_order":["1395713587","1395713588","1395713589","1395713590","1395713593","1395713597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac5d14f680ba6a17a10487fc8a7e99b2.jpg","text":"TemporaryFile(/tmp/multipartBody2209171811316450482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830446540,"filename":"image_22112025_17_39_42_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6c0dba2c9c546fec41deeec293b4402.jpg","text":"TemporaryFile(/tmp/multipartBody933564410392337659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830446540,"filename":"image_22112025_17_39_40_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d2bd611d859be5a74327a297d1d095b.jpg","text":"TemporaryFile(/tmp/multipartBody6440248656958517126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830446540,"filename":"image_22112025_17_39_51_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a979256c8dae800c9cacef68bbde1cf.jpg","text":"TemporaryFile(/tmp/multipartBody2487256744883035379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830446540,"filename":"image_22112025_17_39_45_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/613978329705993d2e880d3db8e18e84.jpg","text":"TemporaryFile(/tmp/multipartBody1253263130111365348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830446540,"filename":"image_22112025_17_39_49_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec43d2571b895c9fa054a02a580903e6.jpg","text":"TemporaryFile(/tmp/multipartBody8888869674750388178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830446540,"filename":"image_22112025_17_39_36_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713589","file1":"1395713588","file0":"1395713587","file4":"1395713593","file5":"1395713597","file3":"1395713590"},"map_files_photo_id_array":[{"photo_id":"1395713597","filename":"file5"},{"photo_id":"1395713589","filename":"file2"},{"photo_id":"1395713593","filename":"file4"},{"photo_id":"1395713588","filename":"file1"},{"photo_id":"1395713587","filename":"file0"},{"photo_id":"1395713590","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713589":["hashtag1","hashtag2"]},{"1395713588":["hashtag1","hashtag2"]},{"1395713597":["hashtag1","hashtag2"]},{"1395713590":["hashtag1","hashtag2"]},{"1395713593":["hashtag1","hashtag2"]},{"1395713587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713589, 1395713588, 1395713597, 1395713590, 1395713593, 1395713587)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.65691924095154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:54:03.288878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_54_2693.jpg', '/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_57_3589.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_10_3623.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_13_2831.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_15_2579.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_19_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_54_2693.jpg
/home/pi/Desktop/images/22112025/17/39/image_22112025_17_39_57_3589.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_10_3623.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_13_2831.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_15_2579.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_19_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713620","1395713617","1395713611","1395713614","1395713610","1395713612"],"photo_ids_order":["1395713610","1395713611","1395713612","1395713614","1395713617","1395713620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11bfad88d28f31b21c2e71916fbe3308.jpg","text":"TemporaryFile(/tmp/multipartBody3584861772289212646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830506611,"filename":"image_22112025_17_41_19_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8d0b1436b9009546bfdf30281045bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8820377103304336032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830506611,"filename":"image_22112025_17_41_15_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/828bc85a1985964f583b89c5aee42554.jpg","text":"TemporaryFile(/tmp/multipartBody2415921629229866328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830506611,"filename":"image_22112025_17_39_57_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eea6e2ab06875fc5d7110fb265dc9f76.jpg","text":"TemporaryFile(/tmp/multipartBody5275885947470228281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830506611,"filename":"image_22112025_17_41_13_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e93e93b0afacb046e4dedb49649f0db3.jpg","text":"TemporaryFile(/tmp/multipartBody4401420164629246129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830506611,"filename":"image_22112025_17_39_54_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09ee067f0c6b0588356bbd9999a420a5.jpg","text":"TemporaryFile(/tmp/multipartBody3944249479686082605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830506611,"filename":"image_22112025_17_41_10_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713612","file1":"1395713611","file0":"1395713610","file4":"1395713617","file5":"1395713620","file3":"1395713614"},"map_files_photo_id_array":[{"photo_id":"1395713620","filename":"file5"},{"photo_id":"1395713612","filename":"file2"},{"photo_id":"1395713617","filename":"file4"},{"photo_id":"1395713611","filename":"file1"},{"photo_id":"1395713610","filename":"file0"},{"photo_id":"1395713614","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713620":["hashtag1","hashtag2"]},{"1395713617":["hashtag1","hashtag2"]},{"1395713611":["hashtag1","hashtag2"]},{"1395713614":["hashtag1","hashtag2"]},{"1395713610":["hashtag1","hashtag2"]},{"1395713612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713620, 1395713617, 1395713611, 1395713614, 1395713610, 1395713612)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.5361430644989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:55:03.309232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_22_2757.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_24_2622.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_28_3682.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_30_2542.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_34_3620.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_37_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_22_2757.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_24_2622.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_28_3682.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_30_2542.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_34_3620.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_37_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713641","1395713644","1395713640","1395713642","1395713639","1395713647"],"photo_ids_order":["1395713639","1395713640","1395713641","1395713642","1395713644","1395713647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ca22477e78f8b16bb2a666d3758d7ec.jpg","text":"TemporaryFile(/tmp/multipartBody9118428016392011498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830564061,"filename":"image_22112025_17_41_28_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/072bdc2a950647abfe6e58d022ae3b7f.jpg","text":"TemporaryFile(/tmp/multipartBody342289586920426916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830564061,"filename":"image_22112025_17_41_34_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/462a1eb6ad4e3e6a9bdc8d84dd7ac5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8486752201139154329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830564061,"filename":"image_22112025_17_41_24_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bcaa5f6a1b5acb63f65b062b9a73330.jpg","text":"TemporaryFile(/tmp/multipartBody5277991719604869597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830564061,"filename":"image_22112025_17_41_30_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6790378bb6be514e539c792bcf9bc2ca.jpg","text":"TemporaryFile(/tmp/multipartBody129680804447211223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830564061,"filename":"image_22112025_17_41_22_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/745233eaf1e480e76451183682945021.jpg","text":"TemporaryFile(/tmp/multipartBody4636697112542099411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830564061,"filename":"image_22112025_17_41_37_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713641","file1":"1395713640","file0":"1395713639","file4":"1395713644","file5":"1395713647","file3":"1395713642"},"map_files_photo_id_array":[{"photo_id":"1395713647","filename":"file5"},{"photo_id":"1395713641","filename":"file2"},{"photo_id":"1395713644","filename":"file4"},{"photo_id":"1395713640","filename":"file1"},{"photo_id":"1395713639","filename":"file0"},{"photo_id":"1395713642","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713641":["hashtag1","hashtag2"]},{"1395713644":["hashtag1","hashtag2"]},{"1395713640":["hashtag1","hashtag2"]},{"1395713642":["hashtag1","hashtag2"]},{"1395713639":["hashtag1","hashtag2"]},{"1395713647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713641, 1395713644, 1395713640, 1395713642, 1395713639, 1395713647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67542290687561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:55:42.468580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_39_2687.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_42_2807.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_46_3678.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_48_2665.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_51_2694.jpg', '/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_55_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_39_2687.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_42_2807.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_46_3678.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_48_2665.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_51_2694.jpg
/home/pi/Desktop/images/22112025/17/41/image_22112025_17_41_55_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713662","1395713656","1395713661","1395713660","1395713663","1395713659"],"photo_ids_order":["1395713656","1395713659","1395713660","1395713661","1395713662","1395713663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b379506116c2c078cf64af19ec6cd7cd.jpg","text":"TemporaryFile(/tmp/multipartBody2253178885292746008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830603128,"filename":"image_22112025_17_41_51_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd97fb49c266f97f2a04efdc92f7392e.jpg","text":"TemporaryFile(/tmp/multipartBody4425656803221680717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830603128,"filename":"image_22112025_17_41_39_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2edf60801f399ea0158db05929440931.jpg","text":"TemporaryFile(/tmp/multipartBody8828310037884101099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830603128,"filename":"image_22112025_17_41_48_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b30fca51481c94ba4c537475a694d540.jpg","text":"TemporaryFile(/tmp/multipartBody1773590247327670924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830603128,"filename":"image_22112025_17_41_46_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a272ad47daf2a45f4fbb3225c998e90a.jpg","text":"TemporaryFile(/tmp/multipartBody6798692536629228226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830603128,"filename":"image_22112025_17_41_55_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18be11ff3158cf6a5446a44aae22251f.jpg","text":"TemporaryFile(/tmp/multipartBody1266302953748699809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830603128,"filename":"image_22112025_17_41_42_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713660","file1":"1395713659","file0":"1395713656","file4":"1395713662","file5":"1395713663","file3":"1395713661"},"map_files_photo_id_array":[{"photo_id":"1395713663","filename":"file5"},{"photo_id":"1395713660","filename":"file2"},{"photo_id":"1395713662","filename":"file4"},{"photo_id":"1395713659","filename":"file1"},{"photo_id":"1395713656","filename":"file0"},{"photo_id":"1395713661","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713662":["hashtag1","hashtag2"]},{"1395713656":["hashtag1","hashtag2"]},{"1395713661":["hashtag1","hashtag2"]},{"1395713660":["hashtag1","hashtag2"]},{"1395713663":["hashtag1","hashtag2"]},{"1395713659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713662, 1395713656, 1395713661, 1395713660, 1395713663, 1395713659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56031250953674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:56:42.736623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/43/image_22112025_17_43_07_3018.jpg', '/home/pi/Desktop/images/22112025/17/43/image_22112025_17_43_18_10737.jpg', '/home/pi/Desktop/images/22112025/17/45/image_22112025_17_45_19_3605.jpg', '/home/pi/Desktop/images/22112025/17/45/image_22112025_17_45_25_2709.jpg', '/home/pi/Desktop/images/22112025/17/45/image_22112025_17_45_28_3687.jpg', '/home/pi/Desktop/images/22112025/17/45/image_22112025_17_45_49_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/43/image_22112025_17_43_07_3018.jpg
/home/pi/Desktop/images/22112025/17/43/image_22112025_17_43_18_10737.jpg
/home/pi/Desktop/images/22112025/17/45/image_22112025_17_45_19_3605.jpg
/home/pi/Desktop/images/22112025/17/45/image_22112025_17_45_25_2709.jpg
/home/pi/Desktop/images/22112025/17/45/image_22112025_17_45_28_3687.jpg
/home/pi/Desktop/images/22112025/17/45/image_22112025_17_45_49_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713682","1395713685","1395713684","1395713683","1395713677","1395713680"],"photo_ids_order":["1395713677","1395713680","1395713682","1395713683","1395713684","1395713685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57a2c8775d8be1f700a76dcb2008f96a.jpg","text":"TemporaryFile(/tmp/multipartBody1123389863958719534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830663439,"filename":"image_22112025_17_45_19_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/871c40b06344c69b0c17643aeeff9a67.jpg","text":"TemporaryFile(/tmp/multipartBody1633971133371318904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830663439,"filename":"image_22112025_17_45_49_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aaf0766812a3428dc4ed535894cf6f96.jpg","text":"TemporaryFile(/tmp/multipartBody1357828692690327620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830663439,"filename":"image_22112025_17_45_28_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/325f165ed844ec47677487dbf9ba2e05.jpg","text":"TemporaryFile(/tmp/multipartBody2816304292236143133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830663439,"filename":"image_22112025_17_45_25_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9f40b72ad9b0d6868700b2c4f0db82b.jpg","text":"TemporaryFile(/tmp/multipartBody377755420576906841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830663439,"filename":"image_22112025_17_43_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/845632ae2f7e700febcdb6d901807f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4842247049002037176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830663439,"filename":"image_22112025_17_43_18_10737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713682","file1":"1395713680","file0":"1395713677","file4":"1395713684","file5":"1395713685","file3":"1395713683"},"map_files_photo_id_array":[{"photo_id":"1395713685","filename":"file5"},{"photo_id":"1395713682","filename":"file2"},{"photo_id":"1395713684","filename":"file4"},{"photo_id":"1395713680","filename":"file1"},{"photo_id":"1395713677","filename":"file0"},{"photo_id":"1395713683","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713682":["hashtag1","hashtag2"]},{"1395713685":["hashtag1","hashtag2"]},{"1395713684":["hashtag1","hashtag2"]},{"1395713683":["hashtag1","hashtag2"]},{"1395713677":["hashtag1","hashtag2"]},{"1395713680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713682, 1395713685, 1395713684, 1395713683, 1395713677, 1395713680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71030116081238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:57:22.032337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_07_3017.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_16_2751.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_22_2631.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_47_3685.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_52_2677.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_56_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_07_3017.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_16_2751.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_22_2631.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_47_3685.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_52_2677.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_56_3711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6486756801605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 17:57:41.918375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_07_3017.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_16_2751.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_22_2631.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_47_3685.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_52_2677.jpg', '/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_56_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_07_3017.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_16_2751.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_22_2631.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_47_3685.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_52_2677.jpg
/home/pi/Desktop/images/22112025/17/47/image_22112025_17_47_56_3711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395713704","1395713707","1395713706","1395713700","1395713705","1395713708"],"photo_ids_order":["1395713700","1395713704","1395713705","1395713706","1395713707","1395713708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d99657fa664a400c707511b346cf472a.jpg","text":"TemporaryFile(/tmp/multipartBody7340529117414372652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830722643,"filename":"image_22112025_17_47_16_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e98039ca8369fc11b376b58d1b24f43.jpg","text":"TemporaryFile(/tmp/multipartBody8121827046186848589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830722643,"filename":"image_22112025_17_47_52_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80b34614abad35b771efbe8920e9ff84.jpg","text":"TemporaryFile(/tmp/multipartBody6475522750175922091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830722643,"filename":"image_22112025_17_47_47_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/905506256bcde7b85a6e5f682267ca8f.jpg","text":"TemporaryFile(/tmp/multipartBody714620921675578616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830722643,"filename":"image_22112025_17_47_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a78f12a32247f38d9f0f10a11f2f2b7.jpg","text":"TemporaryFile(/tmp/multipartBody5711354717867297766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830722643,"filename":"image_22112025_17_47_22_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa230e5b9fc14dfe5c0f981fd8f459aa.jpg","text":"TemporaryFile(/tmp/multipartBody3628928690091319141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830722643,"filename":"image_22112025_17_47_56_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395713705","file1":"1395713704","file0":"1395713700","file4":"1395713707","file5":"1395713708","file3":"1395713706"},"map_files_photo_id_array":[{"photo_id":"1395713708","filename":"file5"},{"photo_id":"1395713705","filename":"file2"},{"photo_id":"1395713707","filename":"file4"},{"photo_id":"1395713704","filename":"file1"},{"photo_id":"1395713700","filename":"file0"},{"photo_id":"1395713706","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395713704":["hashtag1","hashtag2"]},{"1395713707":["hashtag1","hashtag2"]},{"1395713706":["hashtag1","hashtag2"]},{"1395713700":["hashtag1","hashtag2"]},{"1395713705":["hashtag1","hashtag2"]},{"1395713708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395713704, 1395713707, 1395713706, 1395713700, 1395713705, 1395713708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30278468132019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 17:59:03.259543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_01_2562.jpg', '/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_16_2715.jpg', '/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_23_3670.jpg', '/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_25_2682.jpg', '/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_37_2741.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_01_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_01_2562.jpg
/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_16_2715.jpg
/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_23_3670.jpg
/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_25_2682.jpg
/home/pi/Desktop/images/22112025/17/48/image_22112025_17_48_37_2741.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_01_2827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395714039","1395714027","1395714009","1395713992","1395714031","1395714034"],"photo_ids_order":["1395713992","1395714009","1395714027","1395714031","1395714034","1395714039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3a6b7e0c710b082cc76d7a399d5de99.jpg","text":"TemporaryFile(/tmp/multipartBody8630884408627507436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830804152,"filename":"image_22112025_17_49_01_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9be3e598b4d9b2f70feb58cbd0eecba1.jpg","text":"TemporaryFile(/tmp/multipartBody8860118279857782338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830804152,"filename":"image_22112025_17_48_23_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7695eb3f15df29611f963c6205cbd1c1.jpg","text":"TemporaryFile(/tmp/multipartBody3529560503009688263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830804152,"filename":"image_22112025_17_48_16_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8341a1dbfb4d7e905f8d86a0e65dced.jpg","text":"TemporaryFile(/tmp/multipartBody8735706563348336400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830804152,"filename":"image_22112025_17_48_01_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3fa6ff5e844c207c48c4af9e6b7f909.jpg","text":"TemporaryFile(/tmp/multipartBody5840758543794343439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830804152,"filename":"image_22112025_17_48_25_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b745271659f64312268a5a017576121.jpg","text":"TemporaryFile(/tmp/multipartBody987880745322986859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830804152,"filename":"image_22112025_17_48_37_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395714027","file1":"1395714009","file0":"1395713992","file4":"1395714034","file5":"1395714039","file3":"1395714031"},"map_files_photo_id_array":[{"photo_id":"1395714039","filename":"file5"},{"photo_id":"1395714027","filename":"file2"},{"photo_id":"1395714034","filename":"file4"},{"photo_id":"1395714009","filename":"file1"},{"photo_id":"1395713992","filename":"file0"},{"photo_id":"1395714031","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395714039":["hashtag1","hashtag2"]},{"1395714027":["hashtag1","hashtag2"]},{"1395714009":["hashtag1","hashtag2"]},{"1395713992":["hashtag1","hashtag2"]},{"1395714031":["hashtag1","hashtag2"]},{"1395714034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395714039, 1395714027, 1395714009, 1395713992, 1395714031, 1395714034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.601006507873535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:00:02.947339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_07_2841.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_10_2721.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_14_3870.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_16_2608.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_19_2922.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_22_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_07_2841.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_10_2721.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_14_3870.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_16_2608.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_19_2922.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_22_2829.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6850061416625977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:00:22.544722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_07_2841.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_10_2721.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_14_3870.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_16_2608.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_19_2922.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_22_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_07_2841.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_10_2721.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_14_3870.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_16_2608.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_19_2922.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_22_2829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395714075","1395714077","1395714062","1395714071","1395714065","1395714068"],"photo_ids_order":["1395714062","1395714065","1395714068","1395714071","1395714075","1395714077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce262a42c37319cc01636c8a692e9ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4005866138820116630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830883282,"filename":"image_22112025_17_49_19_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be0b74934c83629876b7c26ddcf83c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4400244916165166616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830883282,"filename":"image_22112025_17_49_22_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cae5a46698a7bc52b0777827a82d3f33.jpg","text":"TemporaryFile(/tmp/multipartBody2558935191832561225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830883282,"filename":"image_22112025_17_49_07_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bde797e48d478a9e0a1b35c52b15054d.jpg","text":"TemporaryFile(/tmp/multipartBody7883991461696283419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830883282,"filename":"image_22112025_17_49_16_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54fcbc44ad98610d4a05b9b2c2744928.jpg","text":"TemporaryFile(/tmp/multipartBody6261038750961416204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830883282,"filename":"image_22112025_17_49_10_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1e6ab54838c4b958ba7c39b2e561d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6348995333235395453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830883282,"filename":"image_22112025_17_49_14_3870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395714068","file1":"1395714065","file0":"1395714062","file4":"1395714075","file5":"1395714077","file3":"1395714071"},"map_files_photo_id_array":[{"photo_id":"1395714077","filename":"file5"},{"photo_id":"1395714068","filename":"file2"},{"photo_id":"1395714075","filename":"file4"},{"photo_id":"1395714065","filename":"file1"},{"photo_id":"1395714062","filename":"file0"},{"photo_id":"1395714071","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395714075":["hashtag1","hashtag2"]},{"1395714077":["hashtag1","hashtag2"]},{"1395714062":["hashtag1","hashtag2"]},{"1395714071":["hashtag1","hashtag2"]},{"1395714065":["hashtag1","hashtag2"]},{"1395714068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395714075, 1395714077, 1395714062, 1395714071, 1395714065, 1395714068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.446624994277954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:01:03.474922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_28_3853.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_40_3762.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_43_2781.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_46_2665.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_49_3685.jpg', '/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_54_4274.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_28_3853.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_40_3762.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_43_2781.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_46_2665.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_49_3685.jpg
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_54_4274.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395714081","1395714083","1395714088","1395714082","1395714085","1395714079"],"photo_ids_order":["1395714079","1395714081","1395714082","1395714083","1395714085","1395714088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59c80f2237731293b3554f839ca27197.jpg","text":"TemporaryFile(/tmp/multipartBody942754176265105732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830924332,"filename":"image_22112025_17_49_40_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe43cb76944586647f3eff01656e959a.jpg","text":"TemporaryFile(/tmp/multipartBody530071669082258881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830924332,"filename":"image_22112025_17_49_46_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd1fba33f201d34f29fa1b017e80a386.jpg","text":"TemporaryFile(/tmp/multipartBody3609615554307167322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830924332,"filename":"image_22112025_17_49_54_4274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3403efaac0e6386a275eaf8534dcdd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3564827211981884183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830924332,"filename":"image_22112025_17_49_43_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20be8a249c086f105def1aca69b2d058.jpg","text":"TemporaryFile(/tmp/multipartBody586377623749046686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830924332,"filename":"image_22112025_17_49_49_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c93021acde4cd730f1b4370874d60d03.jpg","text":"TemporaryFile(/tmp/multipartBody8279447591589805330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830924332,"filename":"image_22112025_17_49_28_3853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395714082","file1":"1395714081","file0":"1395714079","file4":"1395714085","file5":"1395714088","file3":"1395714083"},"map_files_photo_id_array":[{"photo_id":"1395714088","filename":"file5"},{"photo_id":"1395714082","filename":"file2"},{"photo_id":"1395714085","filename":"file4"},{"photo_id":"1395714081","filename":"file1"},{"photo_id":"1395714079","filename":"file0"},{"photo_id":"1395714083","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395714081":["hashtag1","hashtag2"]},{"1395714083":["hashtag1","hashtag2"]},{"1395714088":["hashtag1","hashtag2"]},{"1395714082":["hashtag1","hashtag2"]},{"1395714085":["hashtag1","hashtag2"]},{"1395714079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395714081, 1395714083, 1395714088, 1395714082, 1395714085, 1395714079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.082887172698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:01:42.744789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_55_1682.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_06_3015.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_10_3395.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_13_2791.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_16_3679.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_31_11612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/49/image_22112025_17_49_55_1682.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_06_3015.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_10_3395.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_13_2791.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_16_3679.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_31_11612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395714100","1395714099","1395714102","1395714098","1395714101","1395714097"],"photo_ids_order":["1395714097","1395714098","1395714099","1395714100","1395714101","1395714102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f9e0f12f70ba970a6b016446a36da6a.jpg","text":"TemporaryFile(/tmp/multipartBody5609780306408349219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830963467,"filename":"image_22112025_17_51_13_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a4ae7fba7ad6eb667f5cfad3db15f0f.jpg","text":"TemporaryFile(/tmp/multipartBody7231701875749231861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830963467,"filename":"image_22112025_17_51_10_3395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a2e5b6d1db7c00d4fd5b07d5df5f900.jpg","text":"TemporaryFile(/tmp/multipartBody5961639659875063927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830963467,"filename":"image_22112025_17_51_31_11612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b252644daff79e7973758307beda5dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4376285836990491663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830963467,"filename":"image_22112025_17_51_06_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba918f0466d49a0f222ecf9e0dd872e0.jpg","text":"TemporaryFile(/tmp/multipartBody4600786222442574488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830963467,"filename":"image_22112025_17_51_16_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97ef5e2ace354d3088bb7d51dd147499.jpg","text":"TemporaryFile(/tmp/multipartBody4958149996481830405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763830963467,"filename":"image_22112025_17_49_55_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395714099","file1":"1395714098","file0":"1395714097","file4":"1395714101","file5":"1395714102","file3":"1395714100"},"map_files_photo_id_array":[{"photo_id":"1395714102","filename":"file5"},{"photo_id":"1395714099","filename":"file2"},{"photo_id":"1395714101","filename":"file4"},{"photo_id":"1395714098","filename":"file1"},{"photo_id":"1395714097","filename":"file0"},{"photo_id":"1395714100","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395714100":["hashtag1","hashtag2"]},{"1395714099":["hashtag1","hashtag2"]},{"1395714102":["hashtag1","hashtag2"]},{"1395714098":["hashtag1","hashtag2"]},{"1395714101":["hashtag1","hashtag2"]},{"1395714097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395714100, 1395714099, 1395714102, 1395714098, 1395714101, 1395714097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90292954444885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:02:21.973730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_32_1767.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_34_1575.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_39_1712.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_49_2663.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_51_2580.jpg', '/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_59_7305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_32_1767.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_34_1575.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_39_1712.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_49_2663.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_51_2580.jpg
/home/pi/Desktop/images/22112025/17/51/image_22112025_17_51_59_7305.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395714105","1395714114","1395714107","1395714122","1395714110","1395714118"],"photo_ids_order":["1395714105","1395714107","1395714110","1395714114","1395714118","1395714122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d97a59a6bb04b3e257acaa8bb461419.jpg","text":"TemporaryFile(/tmp/multipartBody1856138532199581328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831002780,"filename":"image_22112025_17_51_32_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/568ca6bcdf35c1c8e369b953172d8a98.jpg","text":"TemporaryFile(/tmp/multipartBody3204159272564932070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831002780,"filename":"image_22112025_17_51_49_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b55fe7bc1e1ead5924a53b3f486037e1.jpg","text":"TemporaryFile(/tmp/multipartBody3446805669476397597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831002780,"filename":"image_22112025_17_51_34_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28ec4ef79d06914bbfb8ac3245cbc4dc.jpg","text":"TemporaryFile(/tmp/multipartBody8446587081266262640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831002780,"filename":"image_22112025_17_51_59_7305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5841f771e5eea7a8ced3e60c644d2861.jpg","text":"TemporaryFile(/tmp/multipartBody2900199304745628628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831002780,"filename":"image_22112025_17_51_39_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38b37fbf524cbe65ac90fb6b749a4b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1751086429549591506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831002780,"filename":"image_22112025_17_51_51_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395714110","file1":"1395714107","file0":"1395714105","file4":"1395714118","file5":"1395714122","file3":"1395714114"},"map_files_photo_id_array":[{"photo_id":"1395714122","filename":"file5"},{"photo_id":"1395714110","filename":"file2"},{"photo_id":"1395714118","filename":"file4"},{"photo_id":"1395714107","filename":"file1"},{"photo_id":"1395714105","filename":"file0"},{"photo_id":"1395714114","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395714105":["hashtag1","hashtag2"]},{"1395714114":["hashtag1","hashtag2"]},{"1395714107":["hashtag1","hashtag2"]},{"1395714122":["hashtag1","hashtag2"]},{"1395714110":["hashtag1","hashtag2"]},{"1395714118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395714105, 1395714114, 1395714107, 1395714122, 1395714110, 1395714118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94735288619995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:03:03.021240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_06_3982.jpg', '/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_10_2589.jpg', '/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_26_16193.jpg', '/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_28_1632.jpg', '/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_30_1523.jpg', '/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_31_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_06_3982.jpg
/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_10_2589.jpg
/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_26_16193.jpg
/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_28_1632.jpg
/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_30_1523.jpg
/home/pi/Desktop/images/22112025/17/52/image_22112025_17_52_31_1646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395714299","1395714263","1395714371","1395714410","1395714227","1395714335"],"photo_ids_order":["1395714227","1395714263","1395714299","1395714335","1395714371","1395714410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1e16d26a89a8cbe24fcea1ab4c90b26.jpg","text":"TemporaryFile(/tmp/multipartBody3903326694896370127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831043848,"filename":"image_22112025_17_52_26_16193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e51d0ff240f4a84c0d218f81ea220792.jpg","text":"TemporaryFile(/tmp/multipartBody5097152669340083024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831043848,"filename":"image_22112025_17_52_10_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/714700fe1fbb0924056cff554f1839dc.jpg","text":"TemporaryFile(/tmp/multipartBody1059605712888906587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831043848,"filename":"image_22112025_17_52_30_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc869e2ed031294b2a2b546051929a1f.jpg","text":"TemporaryFile(/tmp/multipartBody5914670249792882091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831043848,"filename":"image_22112025_17_52_31_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f661023cec7a4029d9756614e94ccb9c.jpg","text":"TemporaryFile(/tmp/multipartBody2129688997401963186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831043848,"filename":"image_22112025_17_52_06_3982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9968846f81a0a0076dd91619f8849d1.jpg","text":"TemporaryFile(/tmp/multipartBody3288600465647566430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831043848,"filename":"image_22112025_17_52_28_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395714299","file1":"1395714263","file0":"1395714227","file4":"1395714371","file5":"1395714410","file3":"1395714335"},"map_files_photo_id_array":[{"photo_id":"1395714410","filename":"file5"},{"photo_id":"1395714299","filename":"file2"},{"photo_id":"1395714371","filename":"file4"},{"photo_id":"1395714263","filename":"file1"},{"photo_id":"1395714227","filename":"file0"},{"photo_id":"1395714335","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395714299":["hashtag1","hashtag2"]},{"1395714263":["hashtag1","hashtag2"]},{"1395714371":["hashtag1","hashtag2"]},{"1395714410":["hashtag1","hashtag2"]},{"1395714227":["hashtag1","hashtag2"]},{"1395714335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395714299, 1395714263, 1395714371, 1395714410, 1395714227, 1395714335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98960494995117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:03:42.262635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_07_3020.jpg', '/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_11_3726.jpg', '/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_14_2708.jpg', '/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_16_2683.jpg', '/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_25_5378.jpg', '/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_34_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_07_3020.jpg
/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_11_3726.jpg
/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_14_2708.jpg
/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_16_2683.jpg
/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_25_5378.jpg
/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_34_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395714645","1395714711","1395714683","1395714605","1395714562","1395714709"],"photo_ids_order":["1395714562","1395714605","1395714645","1395714683","1395714709","1395714711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cb0fa7d08b2253d8396e69646050b73.jpg","text":"TemporaryFile(/tmp/multipartBody8771193176100838788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831082994,"filename":"image_22112025_17_54_14_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91c8140360da399bd90eaf13d57f5016.jpg","text":"TemporaryFile(/tmp/multipartBody8904362856053336282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831082994,"filename":"image_22112025_17_54_34_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a583cb1dee13442f11d9b48f2bfafb8f.jpg","text":"TemporaryFile(/tmp/multipartBody3960915775845682573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831082994,"filename":"image_22112025_17_54_16_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e91082a6a6407434ea080b30d96ef6c.jpg","text":"TemporaryFile(/tmp/multipartBody3591667268261916678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831082994,"filename":"image_22112025_17_54_11_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7f84961a796ea3c9ec851e2c5e6259f.jpg","text":"TemporaryFile(/tmp/multipartBody3374632702509832790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831082994,"filename":"image_22112025_17_54_07_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/259760669537b769034e025c4a9cfaa7.jpg","text":"TemporaryFile(/tmp/multipartBody8984846621051444756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831082994,"filename":"image_22112025_17_54_25_5378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395714645","file1":"1395714605","file0":"1395714562","file4":"1395714709","file5":"1395714711","file3":"1395714683"},"map_files_photo_id_array":[{"photo_id":"1395714711","filename":"file5"},{"photo_id":"1395714645","filename":"file2"},{"photo_id":"1395714709","filename":"file4"},{"photo_id":"1395714605","filename":"file1"},{"photo_id":"1395714562","filename":"file0"},{"photo_id":"1395714683","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395714645":["hashtag1","hashtag2"]},{"1395714711":["hashtag1","hashtag2"]},{"1395714683":["hashtag1","hashtag2"]},{"1395714605":["hashtag1","hashtag2"]},{"1395714562":["hashtag1","hashtag2"]},{"1395714709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395714645, 1395714711, 1395714683, 1395714605, 1395714562, 1395714709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05099129676819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:04:22.494957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_41_2687.jpg', '/home/pi/Desktop/images/22112025/17/55/image_22112025_17_55_17_2675.jpg', '/home/pi/Desktop/images/22112025/17/55/image_22112025_17_55_20_3121.jpg', '/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_11_3668.jpg', '/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_50_3712.jpg', '/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_53_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_41_2687.jpg
/home/pi/Desktop/images/22112025/17/55/image_22112025_17_55_17_2675.jpg
/home/pi/Desktop/images/22112025/17/55/image_22112025_17_55_20_3121.jpg
/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_11_3668.jpg
/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_50_3712.jpg
/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_53_2581.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6278715133666992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:04:42.527427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_41_2687.jpg', '/home/pi/Desktop/images/22112025/17/55/image_22112025_17_55_17_2675.jpg', '/home/pi/Desktop/images/22112025/17/55/image_22112025_17_55_20_3121.jpg', '/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_11_3668.jpg', '/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_50_3712.jpg', '/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_53_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/54/image_22112025_17_54_41_2687.jpg
/home/pi/Desktop/images/22112025/17/55/image_22112025_17_55_17_2675.jpg
/home/pi/Desktop/images/22112025/17/55/image_22112025_17_55_20_3121.jpg
/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_11_3668.jpg
/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_50_3712.jpg
/home/pi/Desktop/images/22112025/17/56/image_22112025_17_56_53_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395714945","1395714834","1395714917","1395714871","1395714925","1395714907"],"photo_ids_order":["1395714834","1395714871","1395714907","1395714917","1395714925","1395714945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cea979e72b2633938d7cc95876623b3f.jpg","text":"TemporaryFile(/tmp/multipartBody2175734691095543142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831143333,"filename":"image_22112025_17_56_53_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5101ef62a3c509d9634a079fb0af271.jpg","text":"TemporaryFile(/tmp/multipartBody943182317284757779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831143333,"filename":"image_22112025_17_54_41_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50decb4995e9c73d55ab0019d1670ca5.jpg","text":"TemporaryFile(/tmp/multipartBody5146076006473494091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831143333,"filename":"image_22112025_17_56_11_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1e7814565c63479f095a955c5d7f77d.jpg","text":"TemporaryFile(/tmp/multipartBody4354461567122097188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831143333,"filename":"image_22112025_17_55_17_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60530065ce6a68567cd9d3dbf16ce3a3.jpg","text":"TemporaryFile(/tmp/multipartBody2732122301807721408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831143333,"filename":"image_22112025_17_56_50_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0176458c0c7d16e2545740778d3a14e.jpg","text":"TemporaryFile(/tmp/multipartBody7236066647692982249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831143333,"filename":"image_22112025_17_55_20_3121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395714907","file1":"1395714871","file0":"1395714834","file4":"1395714925","file5":"1395714945","file3":"1395714917"},"map_files_photo_id_array":[{"photo_id":"1395714945","filename":"file5"},{"photo_id":"1395714907","filename":"file2"},{"photo_id":"1395714925","filename":"file4"},{"photo_id":"1395714871","filename":"file1"},{"photo_id":"1395714834","filename":"file0"},{"photo_id":"1395714917","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395714945":["hashtag1","hashtag2"]},{"1395714834":["hashtag1","hashtag2"]},{"1395714917":["hashtag1","hashtag2"]},{"1395714871":["hashtag1","hashtag2"]},{"1395714925":["hashtag1","hashtag2"]},{"1395714907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395714945, 1395714834, 1395714917, 1395714871, 1395714925, 1395714907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68282961845398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:05:22.650452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_07_3018.jpg', '/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_13_2647.jpg', '/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_16_2705.jpg', '/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_22_2603.jpg', '/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_25_3626.jpg', '/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_28_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_07_3018.jpg
/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_13_2647.jpg
/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_16_2705.jpg
/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_22_2603.jpg
/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_25_3626.jpg
/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_28_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395715235","1395715124","1395715198","1395715161","1395715086","1395715044"],"photo_ids_order":["1395715044","1395715086","1395715124","1395715161","1395715198","1395715235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65675071331b71b759829ca8a253f042.jpg","text":"TemporaryFile(/tmp/multipartBody3447702452934155913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831183388,"filename":"image_22112025_17_58_28_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93d89884e8da548da34a5218cca2a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5786531699314880375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831183388,"filename":"image_22112025_17_58_16_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd3a4212562e530d99fe066a0f62bc48.jpg","text":"TemporaryFile(/tmp/multipartBody5077576515920533772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831183388,"filename":"image_22112025_17_58_25_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b66f4f21b89ddac466c7d65551916a4.jpg","text":"TemporaryFile(/tmp/multipartBody4805522888586368161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831183388,"filename":"image_22112025_17_58_22_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12d1711559b9b5d3a3025f75f364c839.jpg","text":"TemporaryFile(/tmp/multipartBody3282747311452183624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831183388,"filename":"image_22112025_17_58_13_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36d3abef16609470a47aaf3ec633d0a9.jpg","text":"TemporaryFile(/tmp/multipartBody6402588268203670190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831183388,"filename":"image_22112025_17_58_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395715124","file1":"1395715086","file0":"1395715044","file4":"1395715198","file5":"1395715235","file3":"1395715161"},"map_files_photo_id_array":[{"photo_id":"1395715235","filename":"file5"},{"photo_id":"1395715124","filename":"file2"},{"photo_id":"1395715198","filename":"file4"},{"photo_id":"1395715086","filename":"file1"},{"photo_id":"1395715044","filename":"file0"},{"photo_id":"1395715161","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395715235":["hashtag1","hashtag2"]},{"1395715124":["hashtag1","hashtag2"]},{"1395715198":["hashtag1","hashtag2"]},{"1395715161":["hashtag1","hashtag2"]},{"1395715086":["hashtag1","hashtag2"]},{"1395715044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395715235, 1395715124, 1395715198, 1395715161, 1395715086, 1395715044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72640895843506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:06:02.279484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_37_2728.jpg', '/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_58_2663.jpg', '/home/pi/Desktop/images/22112025/17/59/image_22112025_17_59_04_2607.jpg', '/home/pi/Desktop/images/22112025/17/59/image_22112025_17_59_13_2603.jpg', '/home/pi/Desktop/images/22112025/17/59/image_22112025_17_59_16_2736.jpg', '/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_08_3316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_37_2728.jpg
/home/pi/Desktop/images/22112025/17/58/image_22112025_17_58_58_2663.jpg
/home/pi/Desktop/images/22112025/17/59/image_22112025_17_59_04_2607.jpg
/home/pi/Desktop/images/22112025/17/59/image_22112025_17_59_13_2603.jpg
/home/pi/Desktop/images/22112025/17/59/image_22112025_17_59_16_2736.jpg
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_08_3316.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395715416","1395715445","1395715378","1395715450","1395715444","1395715447"],"photo_ids_order":["1395715378","1395715416","1395715444","1395715445","1395715447","1395715450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc88f803dc18a0f84191ff9d92d1b5c3.jpg","text":"TemporaryFile(/tmp/multipartBody8173004633050159098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831223071,"filename":"image_22112025_17_58_58_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6428cef93b8717814dd73885ff9c4920.jpg","text":"TemporaryFile(/tmp/multipartBody9186619169276285563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831223071,"filename":"image_22112025_17_59_13_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/148e41ca7a245cbabf17354968da3ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5666107015133053287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831223071,"filename":"image_22112025_17_58_37_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/218cffd6edc1807a30152e8ed9a1ae89.jpg","text":"TemporaryFile(/tmp/multipartBody5900763246616847255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831223071,"filename":"image_22112025_18_00_08_3316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/209489006ee8b4907406909ec0325d11.jpg","text":"TemporaryFile(/tmp/multipartBody8111823633784343395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831223071,"filename":"image_22112025_17_59_04_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05d877e782b3b918f83d1cba171ede83.jpg","text":"TemporaryFile(/tmp/multipartBody1889122235139655297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831223071,"filename":"image_22112025_17_59_16_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395715444","file1":"1395715416","file0":"1395715378","file4":"1395715447","file5":"1395715450","file3":"1395715445"},"map_files_photo_id_array":[{"photo_id":"1395715450","filename":"file5"},{"photo_id":"1395715444","filename":"file2"},{"photo_id":"1395715447","filename":"file4"},{"photo_id":"1395715416","filename":"file1"},{"photo_id":"1395715378","filename":"file0"},{"photo_id":"1395715445","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395715416":["hashtag1","hashtag2"]},{"1395715445":["hashtag1","hashtag2"]},{"1395715378":["hashtag1","hashtag2"]},{"1395715450":["hashtag1","hashtag2"]},{"1395715444":["hashtag1","hashtag2"]},{"1395715447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395715416, 1395715445, 1395715378, 1395715450, 1395715444, 1395715447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.427228927612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:06:41.813900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_31_19601.jpg', '/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_34_3145.jpg', '/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_36_1628.jpg', '/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_39_1728.jpg', '/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_41_1684.jpg', '/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_42_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_31_19601.jpg
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_34_3145.jpg
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_36_1628.jpg
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_39_1728.jpg
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_41_1684.jpg
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_42_1684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395715623","1395715605","1395715562","1395715559","1395715582","1395715590"],"photo_ids_order":["1395715559","1395715562","1395715582","1395715590","1395715605","1395715623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88fcf45599af74545819860c22bd467f.jpg","text":"TemporaryFile(/tmp/multipartBody7620940319069237083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831262551,"filename":"image_22112025_18_00_42_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52356fb3e3f714d9cdfdd388ed0c80f7.jpg","text":"TemporaryFile(/tmp/multipartBody3973255538490992519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831262551,"filename":"image_22112025_18_00_41_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd02fdd3cb194b84fb62b102ecff62a2.jpg","text":"TemporaryFile(/tmp/multipartBody4354340416116598687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831262551,"filename":"image_22112025_18_00_34_3145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9cebfd5c86a16b354ef41d4794fef03.jpg","text":"TemporaryFile(/tmp/multipartBody712101988990388039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831262551,"filename":"image_22112025_18_00_31_19601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fac01758371d55d1d2acf5648524ddd.jpg","text":"TemporaryFile(/tmp/multipartBody1689124945753482146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831262551,"filename":"image_22112025_18_00_36_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad55202c0ed02650bc2db57309eb5df8.jpg","text":"TemporaryFile(/tmp/multipartBody996780159118102092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831262551,"filename":"image_22112025_18_00_39_1728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395715582","file1":"1395715562","file0":"1395715559","file4":"1395715605","file5":"1395715623","file3":"1395715590"},"map_files_photo_id_array":[{"photo_id":"1395715623","filename":"file5"},{"photo_id":"1395715582","filename":"file2"},{"photo_id":"1395715605","filename":"file4"},{"photo_id":"1395715562","filename":"file1"},{"photo_id":"1395715559","filename":"file0"},{"photo_id":"1395715590","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395715623":["hashtag1","hashtag2"]},{"1395715605":["hashtag1","hashtag2"]},{"1395715562":["hashtag1","hashtag2"]},{"1395715559":["hashtag1","hashtag2"]},{"1395715582":["hashtag1","hashtag2"]},{"1395715590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395715623, 1395715605, 1395715562, 1395715559, 1395715582, 1395715590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77846574783325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:07:21.981658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_47_1603.jpg', '/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_59_2797.jpg', '/home/pi/Desktop/images/22112025/18/01/image_22112025_18_01_02_2646.jpg', '/home/pi/Desktop/images/22112025/18/01/image_22112025_18_01_10_2554.jpg', '/home/pi/Desktop/images/22112025/18/01/image_22112025_18_01_13_2878.jpg', '/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_24_10877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_47_1603.jpg
/home/pi/Desktop/images/22112025/18/00/image_22112025_18_00_59_2797.jpg
/home/pi/Desktop/images/22112025/18/01/image_22112025_18_01_02_2646.jpg
/home/pi/Desktop/images/22112025/18/01/image_22112025_18_01_10_2554.jpg
/home/pi/Desktop/images/22112025/18/01/image_22112025_18_01_13_2878.jpg
/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_24_10877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395715641","1395715635","1395715638","1395715625","1395715628","1395715632"],"photo_ids_order":["1395715625","1395715628","1395715632","1395715635","1395715638","1395715641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb10a5fa2e8eabe14f982cfffac8540b.jpg","text":"TemporaryFile(/tmp/multipartBody2759724219302838244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831302750,"filename":"image_22112025_18_02_24_10877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70d19cae8007dda8684fbc11b558b4ca.jpg","text":"TemporaryFile(/tmp/multipartBody1370205839993661986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831302750,"filename":"image_22112025_18_01_10_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8760fb300e350a898b990a72b4af0e1.jpg","text":"TemporaryFile(/tmp/multipartBody7667566746993019236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831302750,"filename":"image_22112025_18_01_13_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3368023f0c2ceb45860eac5c5e51bf45.jpg","text":"TemporaryFile(/tmp/multipartBody175001058802247933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831302750,"filename":"image_22112025_18_00_47_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3988d767c5c8da2404b85a3c7136b414.jpg","text":"TemporaryFile(/tmp/multipartBody7050383139691507155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831302750,"filename":"image_22112025_18_00_59_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/436ac82890f6ea3222122eeffdc4ea3e.jpg","text":"TemporaryFile(/tmp/multipartBody6424610310281043049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831302750,"filename":"image_22112025_18_01_02_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395715632","file1":"1395715628","file0":"1395715625","file4":"1395715638","file5":"1395715641","file3":"1395715635"},"map_files_photo_id_array":[{"photo_id":"1395715641","filename":"file5"},{"photo_id":"1395715632","filename":"file2"},{"photo_id":"1395715638","filename":"file4"},{"photo_id":"1395715628","filename":"file1"},{"photo_id":"1395715625","filename":"file0"},{"photo_id":"1395715635","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395715641":["hashtag1","hashtag2"]},{"1395715635":["hashtag1","hashtag2"]},{"1395715638":["hashtag1","hashtag2"]},{"1395715625":["hashtag1","hashtag2"]},{"1395715628":["hashtag1","hashtag2"]},{"1395715632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395715641, 1395715635, 1395715638, 1395715625, 1395715628, 1395715632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.686344623565674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:08:02.762563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_44_3571.jpg', '/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_53_3755.jpg', '/home/pi/Desktop/images/22112025/18/03/image_22112025_18_03_14_3877.jpg', '/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_07_3018.jpg', '/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_23_3627.jpg', '/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_25_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_44_3571.jpg
/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_53_3755.jpg
/home/pi/Desktop/images/22112025/18/03/image_22112025_18_03_14_3877.jpg
/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_07_3018.jpg
/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_23_3627.jpg
/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_25_2578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7482519149780273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:08:22.234241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_44_3571.jpg', '/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_53_3755.jpg', '/home/pi/Desktop/images/22112025/18/03/image_22112025_18_03_14_3877.jpg', '/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_07_3018.jpg', '/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_23_3627.jpg', '/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_25_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_44_3571.jpg
/home/pi/Desktop/images/22112025/18/02/image_22112025_18_02_53_3755.jpg
/home/pi/Desktop/images/22112025/18/03/image_22112025_18_03_14_3877.jpg
/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_07_3018.jpg
/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_23_3627.jpg
/home/pi/Desktop/images/22112025/18/04/image_22112025_18_04_25_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395715754","1395715679","1395715715","1395715794","1395715650","1395715653"],"photo_ids_order":["1395715650","1395715653","1395715679","1395715715","1395715754","1395715794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9438f940951ea36f29b4f193f4bd2cc.jpg","text":"TemporaryFile(/tmp/multipartBody1991763717367012391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831362981,"filename":"image_22112025_18_04_23_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44eb1c7a22ef7059f8082761f8d6eaa0.jpg","text":"TemporaryFile(/tmp/multipartBody8402583893774899090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831362981,"filename":"image_22112025_18_03_14_3877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9910f8df8daf85f5dfc53ef2dfa6e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1666690420675153296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831362981,"filename":"image_22112025_18_04_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1478ba20883ef6712df85d208296664.jpg","text":"TemporaryFile(/tmp/multipartBody1905867947591139210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831362981,"filename":"image_22112025_18_04_25_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3f3a7f6c572263b8720401ef4545105.jpg","text":"TemporaryFile(/tmp/multipartBody4507689284486135297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831362981,"filename":"image_22112025_18_02_44_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9c24700567889c48ed7c2499fe8463c.jpg","text":"TemporaryFile(/tmp/multipartBody6318735112856376381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831362981,"filename":"image_22112025_18_02_53_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395715679","file1":"1395715653","file0":"1395715650","file4":"1395715754","file5":"1395715794","file3":"1395715715"},"map_files_photo_id_array":[{"photo_id":"1395715794","filename":"file5"},{"photo_id":"1395715679","filename":"file2"},{"photo_id":"1395715754","filename":"file4"},{"photo_id":"1395715653","filename":"file1"},{"photo_id":"1395715650","filename":"file0"},{"photo_id":"1395715715","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395715754":["hashtag1","hashtag2"]},{"1395715679":["hashtag1","hashtag2"]},{"1395715715":["hashtag1","hashtag2"]},{"1395715794":["hashtag1","hashtag2"]},{"1395715650":["hashtag1","hashtag2"]},{"1395715653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395715754, 1395715679, 1395715715, 1395715794, 1395715650, 1395715653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30982565879822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:09:03.556098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/05/image_22112025_18_05_43_2619.jpg', '/home/pi/Desktop/images/22112025/18/05/image_22112025_18_05_50_3615.jpg', '/home/pi/Desktop/images/22112025/18/05/image_22112025_18_05_52_2743.jpg', '/home/pi/Desktop/images/22112025/18/06/image_22112025_18_06_08_3635.jpg', '/home/pi/Desktop/images/22112025/18/06/image_22112025_18_06_16_2845.jpg', '/home/pi/Desktop/images/22112025/18/06/image_22112025_18_06_20_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/05/image_22112025_18_05_43_2619.jpg
/home/pi/Desktop/images/22112025/18/05/image_22112025_18_05_50_3615.jpg
/home/pi/Desktop/images/22112025/18/05/image_22112025_18_05_52_2743.jpg
/home/pi/Desktop/images/22112025/18/06/image_22112025_18_06_08_3635.jpg
/home/pi/Desktop/images/22112025/18/06/image_22112025_18_06_16_2845.jpg
/home/pi/Desktop/images/22112025/18/06/image_22112025_18_06_20_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395716081","1395716045","1395715975","1395716011","1395715939","1395716118"],"photo_ids_order":["1395715939","1395715975","1395716011","1395716045","1395716081","1395716118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41169087d9482256111cc826c0bb641a.jpg","text":"TemporaryFile(/tmp/multipartBody4955742543779638860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831404477,"filename":"image_22112025_18_06_16_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4edbb6a32306e87221c54ba2c6a8dab0.jpg","text":"TemporaryFile(/tmp/multipartBody4040987730239955470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831404477,"filename":"image_22112025_18_06_08_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7904b3812f176563e3e3a4be0a4635b5.jpg","text":"TemporaryFile(/tmp/multipartBody4747288794722124817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831404477,"filename":"image_22112025_18_05_50_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd336a2ddbd239891b86c17de87c1c4b.jpg","text":"TemporaryFile(/tmp/multipartBody1172083792058982635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831404477,"filename":"image_22112025_18_05_52_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f53e83f1f3543e5b620c8dcb7b0cdb1.jpg","text":"TemporaryFile(/tmp/multipartBody3526999997182641841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831404477,"filename":"image_22112025_18_05_43_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66994a31d2d92360a386afcfd8321261.jpg","text":"TemporaryFile(/tmp/multipartBody8334969005899203328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831404477,"filename":"image_22112025_18_06_20_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395716011","file1":"1395715975","file0":"1395715939","file4":"1395716081","file5":"1395716118","file3":"1395716045"},"map_files_photo_id_array":[{"photo_id":"1395716118","filename":"file5"},{"photo_id":"1395716011","filename":"file2"},{"photo_id":"1395716081","filename":"file4"},{"photo_id":"1395715975","filename":"file1"},{"photo_id":"1395715939","filename":"file0"},{"photo_id":"1395716045","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395716081":["hashtag1","hashtag2"]},{"1395716045":["hashtag1","hashtag2"]},{"1395715975":["hashtag1","hashtag2"]},{"1395716011":["hashtag1","hashtag2"]},{"1395715939":["hashtag1","hashtag2"]},{"1395716118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395716081, 1395716045, 1395715975, 1395716011, 1395715939, 1395716118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.901041746139526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:09:42.482743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_19_2951.jpg', '/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_31_2618.jpg', '/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_34_2557.jpg', '/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_46_2786.jpg', '/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_49_3676.jpg', '/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_52_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_19_2951.jpg
/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_31_2618.jpg
/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_34_2557.jpg
/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_46_2786.jpg
/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_49_3676.jpg
/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_52_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395716171","1395716168","1395716170","1395716172","1395716166","1395716169"],"photo_ids_order":["1395716166","1395716168","1395716169","1395716170","1395716171","1395716172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e157ed1cc1fecae39a09b7d30d222423.jpg","text":"TemporaryFile(/tmp/multipartBody306248237892081702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831443223,"filename":"image_22112025_18_07_49_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85b593b7ada322e71e69a25222354118.jpg","text":"TemporaryFile(/tmp/multipartBody8823429996944474617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831443223,"filename":"image_22112025_18_07_31_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d29c7b72d7740d16975c3ed0014fd22.jpg","text":"TemporaryFile(/tmp/multipartBody2974602889906959367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831443223,"filename":"image_22112025_18_07_46_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdcfd265fd7e9c2d0b34f3b63bcc1b76.jpg","text":"TemporaryFile(/tmp/multipartBody7921049610487821933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831443223,"filename":"image_22112025_18_07_52_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e4c7e697593a37422f89e415c3092e0.jpg","text":"TemporaryFile(/tmp/multipartBody2106892773704673895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831443223,"filename":"image_22112025_18_07_19_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd7d878e102cb228ef18cfdf3581fa44.jpg","text":"TemporaryFile(/tmp/multipartBody3310734088916950487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831443223,"filename":"image_22112025_18_07_34_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395716169","file1":"1395716168","file0":"1395716166","file4":"1395716171","file5":"1395716172","file3":"1395716170"},"map_files_photo_id_array":[{"photo_id":"1395716172","filename":"file5"},{"photo_id":"1395716169","filename":"file2"},{"photo_id":"1395716171","filename":"file4"},{"photo_id":"1395716168","filename":"file1"},{"photo_id":"1395716166","filename":"file0"},{"photo_id":"1395716170","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395716171":["hashtag1","hashtag2"]},{"1395716168":["hashtag1","hashtag2"]},{"1395716170":["hashtag1","hashtag2"]},{"1395716172":["hashtag1","hashtag2"]},{"1395716166":["hashtag1","hashtag2"]},{"1395716169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395716171, 1395716168, 1395716170, 1395716172, 1395716166, 1395716169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88568663597107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:10:24.414147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_55_2670.jpg', '/home/pi/Desktop/images/22112025/18/08/image_22112025_18_08_07_3644.jpg', '/home/pi/Desktop/images/22112025/18/08/image_22112025_18_08_46_2740.jpg', '/home/pi/Desktop/images/22112025/18/08/image_22112025_18_08_58_1627.jpg', '/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_01_2677.jpg', '/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_10_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/07/image_22112025_18_07_55_2670.jpg
/home/pi/Desktop/images/22112025/18/08/image_22112025_18_08_07_3644.jpg
/home/pi/Desktop/images/22112025/18/08/image_22112025_18_08_46_2740.jpg
/home/pi/Desktop/images/22112025/18/08/image_22112025_18_08_58_1627.jpg
/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_01_2677.jpg
/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_10_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395716383","1395716416","1395716344","1395716266","1395716410","1395716305"],"photo_ids_order":["1395716266","1395716305","1395716344","1395716383","1395716410","1395716416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab2d4de33b94cc73175e9ba9b68dfe6d.jpg","text":"TemporaryFile(/tmp/multipartBody850969799097724607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831485224,"filename":"image_22112025_18_08_58_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcea0c8eeb6d27b18934a4d93113c88c.jpg","text":"TemporaryFile(/tmp/multipartBody7317775298680315764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831485224,"filename":"image_22112025_18_09_10_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fae421235f7788773e752f82b3eccad7.jpg","text":"TemporaryFile(/tmp/multipartBody8336152147655247521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831485224,"filename":"image_22112025_18_08_46_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92fe0220d86dc575323dc5504f128895.jpg","text":"TemporaryFile(/tmp/multipartBody4369370413957046590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831485224,"filename":"image_22112025_18_07_55_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78dcb25663c997d6d4fc9090b7f3dc67.jpg","text":"TemporaryFile(/tmp/multipartBody6268465786706225626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831485224,"filename":"image_22112025_18_09_01_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7214388837f7022073de69b3c18269b5.jpg","text":"TemporaryFile(/tmp/multipartBody7331930140483694992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831485224,"filename":"image_22112025_18_08_07_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395716344","file1":"1395716305","file0":"1395716266","file4":"1395716410","file5":"1395716416","file3":"1395716383"},"map_files_photo_id_array":[{"photo_id":"1395716416","filename":"file5"},{"photo_id":"1395716344","filename":"file2"},{"photo_id":"1395716410","filename":"file4"},{"photo_id":"1395716305","filename":"file1"},{"photo_id":"1395716266","filename":"file0"},{"photo_id":"1395716383","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395716383":["hashtag1","hashtag2"]},{"1395716416":["hashtag1","hashtag2"]},{"1395716344":["hashtag1","hashtag2"]},{"1395716266":["hashtag1","hashtag2"]},{"1395716410":["hashtag1","hashtag2"]},{"1395716305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395716383, 1395716416, 1395716344, 1395716266, 1395716410, 1395716305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.336806774139404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:11:03.309344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_28_2646.jpg', '/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_52_2908.jpg', '/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_58_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_28_2646.jpg
/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_52_2908.jpg
/home/pi/Desktop/images/22112025/18/09/image_22112025_18_09_58_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395716471","1395716496","1395716517"],"photo_ids_order":["1395716471","1395716496","1395716517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/034c46377a54865da6646ca6d5cfd564.jpg","text":"TemporaryFile(/tmp/multipartBody7548848177371075278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831524027,"filename":"image_22112025_18_09_28_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05b49c491966234d82ba269ff92cc6b3.jpg","text":"TemporaryFile(/tmp/multipartBody5454071167884134705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831524027,"filename":"image_22112025_18_09_52_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00a1cb2664325bfa2803bb7f11b47400.jpg","text":"TemporaryFile(/tmp/multipartBody120159367655533276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831524027,"filename":"image_22112025_18_09_58_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395716517","file1":"1395716496","file0":"1395716471"},"map_files_photo_id_array":[{"photo_id":"1395716517","filename":"file2"},{"photo_id":"1395716496","filename":"file1"},{"photo_id":"1395716471","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395716471":["hashtag1","hashtag2"]},{"1395716496":["hashtag1","hashtag2"]},{"1395716517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395716471, 1395716496, 1395716517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.25552535057068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:11:42.618780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/10/image_22112025_18_10_01_2722.jpg', '/home/pi/Desktop/images/22112025/18/11/image_22112025_18_11_13_3644.jpg', '/home/pi/Desktop/images/22112025/18/11/image_22112025_18_11_22_3669.jpg', '/home/pi/Desktop/images/22112025/18/11/image_22112025_18_11_34_2614.jpg', '/home/pi/Desktop/images/22112025/18/11/image_22112025_18_11_40_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/10/image_22112025_18_10_01_2722.jpg
/home/pi/Desktop/images/22112025/18/11/image_22112025_18_11_13_3644.jpg
/home/pi/Desktop/images/22112025/18/11/image_22112025_18_11_22_3669.jpg
/home/pi/Desktop/images/22112025/18/11/image_22112025_18_11_34_2614.jpg
/home/pi/Desktop/images/22112025/18/11/image_22112025_18_11_40_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395716909","1395716872","1395716833","1395716763","1395716798"],"photo_ids_order":["1395716763","1395716798","1395716833","1395716872","1395716909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9fe4ddf0e7441c91c8016012fd45a20.jpg","text":"TemporaryFile(/tmp/multipartBody883664507765721249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831563310,"filename":"image_22112025_18_11_40_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c24309f017f914661b83ce9fa2961e81.jpg","text":"TemporaryFile(/tmp/multipartBody3461142422129575151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831563310,"filename":"image_22112025_18_11_34_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdd1b65e21417ad1c5f4f29a1cf9ce4c.jpg","text":"TemporaryFile(/tmp/multipartBody4920778050761537230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831563310,"filename":"image_22112025_18_11_22_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c81e13629441f48819073ff810236424.jpg","text":"TemporaryFile(/tmp/multipartBody5114414914095991010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831563310,"filename":"image_22112025_18_10_01_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7800f1c48c5aebae07946319c798d71.jpg","text":"TemporaryFile(/tmp/multipartBody4531151248879299383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831563310,"filename":"image_22112025_18_11_13_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395716833","file1":"1395716798","file0":"1395716763","file4":"1395716909","file3":"1395716872"},"map_files_photo_id_array":[{"photo_id":"1395716833","filename":"file2"},{"photo_id":"1395716909","filename":"file4"},{"photo_id":"1395716798","filename":"file1"},{"photo_id":"1395716763","filename":"file0"},{"photo_id":"1395716872","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395716909":["hashtag1","hashtag2"]},{"1395716872":["hashtag1","hashtag2"]},{"1395716833":["hashtag1","hashtag2"]},{"1395716763":["hashtag1","hashtag2"]},{"1395716798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395716909, 1395716872, 1395716833, 1395716763, 1395716798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.411055088043213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:12:21.909892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/11/image_22112025_18_12_00_2903.jpg', '/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_04_3801.jpg', '/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_07_2686.jpg', '/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_19_2890.jpg', '/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_25_3682.jpg', '/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_28_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/11/image_22112025_18_12_00_2903.jpg
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_04_3801.jpg
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_07_2686.jpg
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_19_2890.jpg
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_25_3682.jpg
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_28_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717011","1395717078","1395717051","1395717021","1395717006","1395716981"],"photo_ids_order":["1395716981","1395717006","1395717011","1395717021","1395717051","1395717078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5311f8f663df19fac2cd742469f8b08c.jpg","text":"TemporaryFile(/tmp/multipartBody4947543368738754864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831602689,"filename":"image_22112025_18_12_07_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91910fc02076bf1c9c632636de06008d.jpg","text":"TemporaryFile(/tmp/multipartBody6438929419452471340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831602689,"filename":"image_22112025_18_12_28_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f64d5b8e5b9e53aac2f5437fc8c95eca.jpg","text":"TemporaryFile(/tmp/multipartBody4844614429406837110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831602689,"filename":"image_22112025_18_12_25_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa62c0936a33f2e4913ce847f6c1c03f.jpg","text":"TemporaryFile(/tmp/multipartBody2231409870963014737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831602689,"filename":"image_22112025_18_12_19_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/790dfd70c9c4f2853ed155d2a15e5e45.jpg","text":"TemporaryFile(/tmp/multipartBody6437014509968215951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831602689,"filename":"image_22112025_18_12_04_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a719799c4ba841b44c23ec44beccd3cc.jpg","text":"TemporaryFile(/tmp/multipartBody316102376344781479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831602689,"filename":"image_22112025_18_12_00_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717011","file1":"1395717006","file0":"1395716981","file4":"1395717051","file5":"1395717078","file3":"1395717021"},"map_files_photo_id_array":[{"photo_id":"1395717078","filename":"file5"},{"photo_id":"1395717011","filename":"file2"},{"photo_id":"1395717051","filename":"file4"},{"photo_id":"1395717006","filename":"file1"},{"photo_id":"1395716981","filename":"file0"},{"photo_id":"1395717021","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717011":["hashtag1","hashtag2"]},{"1395717078":["hashtag1","hashtag2"]},{"1395717051":["hashtag1","hashtag2"]},{"1395717021":["hashtag1","hashtag2"]},{"1395717006":["hashtag1","hashtag2"]},{"1395716981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717011, 1395717078, 1395717051, 1395717021, 1395717006, 1395716981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88497805595398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:13:02.855576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_40_2751.jpg', '/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_42_2590.jpg', '/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_46_3564.jpg', '/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_51_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_40_2751.jpg
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_42_2590.jpg
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_46_3564.jpg
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_51_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717104","1395717103","1395717106","1395717105"],"photo_ids_order":["1395717103","1395717104","1395717105","1395717106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a80b5d20989c211579cad5991b617d5.jpg","text":"TemporaryFile(/tmp/multipartBody5784654710199458035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831643672,"filename":"image_22112025_18_12_42_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7da008d4b222c1c9599116f0b88e5ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3545002743950989448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831643672,"filename":"image_22112025_18_12_40_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/816e1ec2ac4fd92fd43c7f2c2b041278.jpg","text":"TemporaryFile(/tmp/multipartBody169289581185603902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831643672,"filename":"image_22112025_18_12_51_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11d166c68a4c5b9083984076c23cf9fc.jpg","text":"TemporaryFile(/tmp/multipartBody6007885738338575424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831643672,"filename":"image_22112025_18_12_46_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717105","file1":"1395717104","file0":"1395717103","file3":"1395717106"},"map_files_photo_id_array":[{"photo_id":"1395717105","filename":"file2"},{"photo_id":"1395717104","filename":"file1"},{"photo_id":"1395717103","filename":"file0"},{"photo_id":"1395717106","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717104":["hashtag1","hashtag2"]},{"1395717103":["hashtag1","hashtag2"]},{"1395717106":["hashtag1","hashtag2"]},{"1395717105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717104, 1395717103, 1395717106, 1395717105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.162464380264282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:13:42.062901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_58_2614.jpg', '/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_10_3676.jpg', '/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_16_2752.jpg', '/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_34_3766.jpg', '/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_37_2838.jpg', '/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_39_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/12/image_22112025_18_12_58_2614.jpg
/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_10_3676.jpg
/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_16_2752.jpg
/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_34_3766.jpg
/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_37_2838.jpg
/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_39_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717125","1395717122","1395717121","1395717124","1395717118","1395717123"],"photo_ids_order":["1395717118","1395717121","1395717122","1395717123","1395717124","1395717125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f416ad39d27280e11e88ec208ff60d2f.jpg","text":"TemporaryFile(/tmp/multipartBody8099344981766103322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831682851,"filename":"image_22112025_18_13_39_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60ff97cc3b8ecc9571c9fac8068907eb.jpg","text":"TemporaryFile(/tmp/multipartBody7535568692401495776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831682851,"filename":"image_22112025_18_13_16_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4ce89b48559c645f8eb0418266b2088.jpg","text":"TemporaryFile(/tmp/multipartBody2521116057187564141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831682851,"filename":"image_22112025_18_13_10_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dec8818bad7c84ea152f8f6117be635.jpg","text":"TemporaryFile(/tmp/multipartBody6698653369955842172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831682851,"filename":"image_22112025_18_13_37_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2847e0d66093b8df0a9ac2152dd712f2.jpg","text":"TemporaryFile(/tmp/multipartBody8885620567544018180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831682851,"filename":"image_22112025_18_12_58_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1ac2f6c940c4b3a98382a457ff955f9.jpg","text":"TemporaryFile(/tmp/multipartBody4320477913752481127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831682851,"filename":"image_22112025_18_13_34_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717122","file1":"1395717121","file0":"1395717118","file4":"1395717124","file5":"1395717125","file3":"1395717123"},"map_files_photo_id_array":[{"photo_id":"1395717125","filename":"file5"},{"photo_id":"1395717122","filename":"file2"},{"photo_id":"1395717124","filename":"file4"},{"photo_id":"1395717121","filename":"file1"},{"photo_id":"1395717118","filename":"file0"},{"photo_id":"1395717123","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717125":["hashtag1","hashtag2"]},{"1395717122":["hashtag1","hashtag2"]},{"1395717121":["hashtag1","hashtag2"]},{"1395717124":["hashtag1","hashtag2"]},{"1395717118":["hashtag1","hashtag2"]},{"1395717123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717125, 1395717122, 1395717121, 1395717124, 1395717118, 1395717123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.159730672836304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:14:22.320654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_42_2571.jpg', '/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_48_2617.jpg', '/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_15_2659.jpg', '/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_19_3574.jpg', '/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_31_2776.jpg', '/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_36_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_42_2571.jpg
/home/pi/Desktop/images/22112025/18/13/image_22112025_18_13_48_2617.jpg
/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_15_2659.jpg
/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_19_3574.jpg
/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_31_2776.jpg
/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_36_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717140","1395717130","1395717132","1395717141","1395717144","1395717137"],"photo_ids_order":["1395717130","1395717132","1395717137","1395717140","1395717141","1395717144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fa5d9f078bde17d1774006fe8b427ff.jpg","text":"TemporaryFile(/tmp/multipartBody4817692683025110367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831723062,"filename":"image_22112025_18_14_19_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48b0bc0573f35dfb2c0ce1e1cbd40ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6893596399908869159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831723062,"filename":"image_22112025_18_13_42_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef6f1e023bed26214eb8159348f0a407.jpg","text":"TemporaryFile(/tmp/multipartBody717801176378709292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831723062,"filename":"image_22112025_18_13_48_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8079087d4623593b30b541e0e8099aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2802729276404543746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831723062,"filename":"image_22112025_18_14_31_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c89847776f5b573faedb251923c146d.jpg","text":"TemporaryFile(/tmp/multipartBody599574715078864597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831723062,"filename":"image_22112025_18_14_36_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45d646409acff53d6277fd111a673efe.jpg","text":"TemporaryFile(/tmp/multipartBody5586878544720888865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831723062,"filename":"image_22112025_18_14_15_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717137","file1":"1395717132","file0":"1395717130","file4":"1395717141","file5":"1395717144","file3":"1395717140"},"map_files_photo_id_array":[{"photo_id":"1395717144","filename":"file5"},{"photo_id":"1395717137","filename":"file2"},{"photo_id":"1395717141","filename":"file4"},{"photo_id":"1395717132","filename":"file1"},{"photo_id":"1395717130","filename":"file0"},{"photo_id":"1395717140","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717140":["hashtag1","hashtag2"]},{"1395717130":["hashtag1","hashtag2"]},{"1395717132":["hashtag1","hashtag2"]},{"1395717141":["hashtag1","hashtag2"]},{"1395717144":["hashtag1","hashtag2"]},{"1395717137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717140, 1395717130, 1395717132, 1395717141, 1395717144, 1395717137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25991654396057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:15:03.188462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_42_2591.jpg', '/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_45_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_42_2591.jpg
/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_45_2760.jpg
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1395717146","1395717147"],"photo_ids_order":["1395717146","1395717147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3b134d7f1384f86e9dafe7571c6f664.jpg","text":"TemporaryFile(/tmp/multipartBody5800281403782869714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831763833,"filename":"image_22112025_18_14_42_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8048204e2be2ce14004dd37a3f93a097.jpg","text":"TemporaryFile(/tmp/multipartBody3106048949660115613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831763833,"filename":"image_22112025_18_14_45_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395717147","file0":"1395717146"},"map_files_photo_id_array":[{"photo_id":"1395717147","filename":"file1"},{"photo_id":"1395717146","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717146":["hashtag1","hashtag2"]},{"1395717147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717146, 1395717147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.944404125213623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:15:42.464127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_49_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/14/image_22112025_18_14_49_3543.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717158"],"photo_id":"1395717158","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/596ac13e0fff2a6a606ee90ce0fd0e1e.jpg","text":"TemporaryFile(/tmp/multipartBody6654366875522154247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831802985,"filename":"image_22112025_18_14_49_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395717158"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395717158"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.285726070404053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:16:03.248416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_06_2532.jpg', '/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_31_3548.jpg', '/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_34_2710.jpg', '/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_37_2721.jpg', '/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_43_3627.jpg', '/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_46_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_06_2532.jpg
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_31_3548.jpg
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_34_2710.jpg
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_37_2721.jpg
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_43_3627.jpg
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_46_2857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717199","1395717181","1395717169","1395717163","1395717202","1395717204"],"photo_ids_order":["1395717163","1395717169","1395717181","1395717199","1395717202","1395717204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2794648d040504c901f8462d326e463e.jpg","text":"TemporaryFile(/tmp/multipartBody5197433487873020404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831825395,"filename":"image_20112025_19_09_37_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22fe5e0c286701e366dbaa5e3fd5cf94.jpg","text":"TemporaryFile(/tmp/multipartBody2159761617638877395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831825395,"filename":"image_20112025_19_09_34_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cba92ff5abf851bc3c985c3c9afb94c3.jpg","text":"TemporaryFile(/tmp/multipartBody8317192449057236939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831825395,"filename":"image_20112025_19_09_31_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/766e82ea4046977daa908f3554593864.jpg","text":"TemporaryFile(/tmp/multipartBody1285595763011778069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831825395,"filename":"image_20112025_19_09_06_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c827ebc28cfc748947f2dad8e6fcfc5.jpg","text":"TemporaryFile(/tmp/multipartBody7330025547835950442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831825395,"filename":"image_20112025_19_09_43_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce5da60d558e061c3d052d261c218c41.jpg","text":"TemporaryFile(/tmp/multipartBody3181969828487560271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831825395,"filename":"image_20112025_19_09_46_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717181","file1":"1395717169","file0":"1395717163","file4":"1395717202","file5":"1395717204","file3":"1395717199"},"map_files_photo_id_array":[{"photo_id":"1395717204","filename":"file5"},{"photo_id":"1395717181","filename":"file2"},{"photo_id":"1395717202","filename":"file4"},{"photo_id":"1395717169","filename":"file1"},{"photo_id":"1395717163","filename":"file0"},{"photo_id":"1395717199","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395717199":["hashtag1","hashtag2"]},{"1395717181":["hashtag1","hashtag2"]},{"1395717169":["hashtag1","hashtag2"]},{"1395717163":["hashtag1","hashtag2"]},{"1395717202":["hashtag1","hashtag2"]},{"1395717204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395717199, 1395717181, 1395717169, 1395717163, 1395717202, 1395717204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.488327980041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:16:42.776765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/15/image_22112025_18_16_00_2683.jpg', '/home/pi/Desktop/images/22112025/18/16/image_22112025_18_16_27_2790.jpg', '/home/pi/Desktop/images/22112025/18/16/image_22112025_18_16_34_3770.jpg', '/home/pi/Desktop/images/22112025/18/16/image_22112025_18_16_55_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/15/image_22112025_18_16_00_2683.jpg
/home/pi/Desktop/images/22112025/18/16/image_22112025_18_16_27_2790.jpg
/home/pi/Desktop/images/22112025/18/16/image_22112025_18_16_34_3770.jpg
/home/pi/Desktop/images/22112025/18/16/image_22112025_18_16_55_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717212","1395717215","1395717217","1395717219"],"photo_ids_order":["1395717212","1395717215","1395717217","1395717219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c425cc698469b28dfddfd3db68b8e3fd.jpg","text":"TemporaryFile(/tmp/multipartBody1042257975115453686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831863522,"filename":"image_22112025_18_16_00_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e242e84a66332d8c3600d0cc3d7a20f.jpg","text":"TemporaryFile(/tmp/multipartBody2687962156829860363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831863522,"filename":"image_22112025_18_16_27_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95f1ac295ba361965090dc7f9ec3750e.jpg","text":"TemporaryFile(/tmp/multipartBody4662940740506637441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831863522,"filename":"image_22112025_18_16_34_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06414195766e5a3b1e433b3f866ab12c.jpg","text":"TemporaryFile(/tmp/multipartBody4943557148233584321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831863522,"filename":"image_22112025_18_16_55_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717217","file1":"1395717215","file0":"1395717212","file3":"1395717219"},"map_files_photo_id_array":[{"photo_id":"1395717217","filename":"file2"},{"photo_id":"1395717215","filename":"file1"},{"photo_id":"1395717212","filename":"file0"},{"photo_id":"1395717219","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717212":["hashtag1","hashtag2"]},{"1395717215":["hashtag1","hashtag2"]},{"1395717217":["hashtag1","hashtag2"]},{"1395717219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717212, 1395717215, 1395717217, 1395717219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.63589358329773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:17:22.026513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/16/image_22112025_18_16_57_2654.jpg', '/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_04_3796.jpg', '/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_15_3633.jpg', '/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_34_3754.jpg', '/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_39_2648.jpg', '/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_45_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/16/image_22112025_18_16_57_2654.jpg
/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_04_3796.jpg
/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_15_3633.jpg
/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_34_3754.jpg
/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_39_2648.jpg
/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_45_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717230","1395717233","1395717238","1395717223","1395717226","1395717236"],"photo_ids_order":["1395717223","1395717226","1395717230","1395717233","1395717236","1395717238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8adb8283ab7e9199f0151aa6ca6c0eb6.jpg","text":"TemporaryFile(/tmp/multipartBody6980581424410819703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831902885,"filename":"image_22112025_18_17_15_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9db4ba65dd9496a9e2f3ff936ae5eb35.jpg","text":"TemporaryFile(/tmp/multipartBody1762854304233441797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831902885,"filename":"image_22112025_18_17_34_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72cab6ed1d4ea5eebe90f72bf5f7d7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1190769480945143168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831902885,"filename":"image_22112025_18_17_45_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f23302d082d9ba0c4dedf602bae12880.jpg","text":"TemporaryFile(/tmp/multipartBody1416604677927368009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831902885,"filename":"image_22112025_18_16_57_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1abe3e6449c129487d1eab10aefbce06.jpg","text":"TemporaryFile(/tmp/multipartBody5650918644537669061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831902885,"filename":"image_22112025_18_17_04_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7559f333b3c47307440c9eab14f163ce.jpg","text":"TemporaryFile(/tmp/multipartBody6583643225498019419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831902885,"filename":"image_22112025_18_17_39_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717230","file1":"1395717226","file0":"1395717223","file4":"1395717236","file5":"1395717238","file3":"1395717233"},"map_files_photo_id_array":[{"photo_id":"1395717238","filename":"file5"},{"photo_id":"1395717230","filename":"file2"},{"photo_id":"1395717236","filename":"file4"},{"photo_id":"1395717226","filename":"file1"},{"photo_id":"1395717223","filename":"file0"},{"photo_id":"1395717233","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717230":["hashtag1","hashtag2"]},{"1395717233":["hashtag1","hashtag2"]},{"1395717238":["hashtag1","hashtag2"]},{"1395717223":["hashtag1","hashtag2"]},{"1395717226":["hashtag1","hashtag2"]},{"1395717236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717230, 1395717233, 1395717238, 1395717223, 1395717226, 1395717236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67345976829529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:18:02.804134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:18:22.792451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:18:42.277194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_54_3872.jpg', '/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_57_2809.jpg', '/home/pi/Desktop/images/22112025/18/18/image_22112025_18_18_27_2865.jpg', '/home/pi/Desktop/images/22112025/18/18/image_22112025_18_18_48_2739.jpg', '/home/pi/Desktop/images/22112025/18/18/image_22112025_18_18_57_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_54_3872.jpg
/home/pi/Desktop/images/22112025/18/17/image_22112025_18_17_57_2809.jpg
/home/pi/Desktop/images/22112025/18/18/image_22112025_18_18_27_2865.jpg
/home/pi/Desktop/images/22112025/18/18/image_22112025_18_18_48_2739.jpg
/home/pi/Desktop/images/22112025/18/18/image_22112025_18_18_57_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717262","1395717258","1395717261","1395717260","1395717263"],"photo_ids_order":["1395717258","1395717260","1395717261","1395717262","1395717263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b40613eb79db51d5005998cc24935bc.jpg","text":"TemporaryFile(/tmp/multipartBody4405311271646480989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831982947,"filename":"image_22112025_18_18_48_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d529a80f68c23e721e4f57eb49ab9b6.jpg","text":"TemporaryFile(/tmp/multipartBody8811347025514112232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831982947,"filename":"image_22112025_18_17_54_3872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de7db9e93fac0af69b8c4a087cdbb546.jpg","text":"TemporaryFile(/tmp/multipartBody3722174637527979909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831982947,"filename":"image_22112025_18_18_27_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4eca7e8cd44f1d71d90b11231f6aeb6.jpg","text":"TemporaryFile(/tmp/multipartBody4695494769947926586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831982947,"filename":"image_22112025_18_17_57_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a5e94be34e6d2f2360e7218bb1c8494.jpg","text":"TemporaryFile(/tmp/multipartBody1301116426795938180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763831982947,"filename":"image_22112025_18_18_57_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717261","file1":"1395717260","file0":"1395717258","file4":"1395717263","file3":"1395717262"},"map_files_photo_id_array":[{"photo_id":"1395717261","filename":"file2"},{"photo_id":"1395717263","filename":"file4"},{"photo_id":"1395717260","filename":"file1"},{"photo_id":"1395717258","filename":"file0"},{"photo_id":"1395717262","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717262":["hashtag1","hashtag2"]},{"1395717258":["hashtag1","hashtag2"]},{"1395717261":["hashtag1","hashtag2"]},{"1395717260":["hashtag1","hashtag2"]},{"1395717263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717262, 1395717258, 1395717261, 1395717260, 1395717263)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 5 photos
time to upload: 52.96555423736572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:19:42.456312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_04_2720.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_07_2934.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_11_3726.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_14_2607.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_16_2653.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_20_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_04_2720.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_07_2934.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_11_3726.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_14_2607.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_16_2653.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_20_3661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717283","1395717280","1395717282","1395717276","1395717279","1395717281"],"photo_ids_order":["1395717276","1395717279","1395717280","1395717281","1395717282","1395717283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98b311fe44f48f54d041cc7f00c1089f.jpg","text":"TemporaryFile(/tmp/multipartBody3249405682735703219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832044535,"filename":"image_30102025_18_03_20_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37cadb9c1ddce8feb8b0ceb1ef1fc1eb.jpg","text":"TemporaryFile(/tmp/multipartBody8486045406045642944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832044535,"filename":"image_30102025_18_03_11_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99e28ebfb0ccc87033da5c6c73539935.jpg","text":"TemporaryFile(/tmp/multipartBody6724561655552217542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832044535,"filename":"image_30102025_18_03_16_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/364700842e327232428a4fc37963ab61.jpg","text":"TemporaryFile(/tmp/multipartBody4263681953303009096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832044535,"filename":"image_30102025_18_03_04_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8da7be24cb1123fd401233f6be0f43ad.jpg","text":"TemporaryFile(/tmp/multipartBody7785484644746735578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832044535,"filename":"image_30102025_18_03_07_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e412cf8045f5ef1a6250e28a1d299241.jpg","text":"TemporaryFile(/tmp/multipartBody5706287288434913888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832044535,"filename":"image_30102025_18_03_14_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717280","file1":"1395717279","file0":"1395717276","file4":"1395717282","file5":"1395717283","file3":"1395717281"},"map_files_photo_id_array":[{"photo_id":"1395717283","filename":"file5"},{"photo_id":"1395717280","filename":"file2"},{"photo_id":"1395717282","filename":"file4"},{"photo_id":"1395717279","filename":"file1"},{"photo_id":"1395717276","filename":"file0"},{"photo_id":"1395717281","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395717283":["hashtag1","hashtag2"]},{"1395717280":["hashtag1","hashtag2"]},{"1395717282":["hashtag1","hashtag2"]},{"1395717276":["hashtag1","hashtag2"]},{"1395717279":["hashtag1","hashtag2"]},{"1395717281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395717283, 1395717280, 1395717282, 1395717276, 1395717279, 1395717281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79675316810608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:20:24.130824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/18/image_22112025_18_19_00_3542.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_03_2675.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_06_2659.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_09_3709.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_26_3136.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_31_1801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/18/image_22112025_18_19_00_3542.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_03_2675.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_06_2659.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_09_3709.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_26_3136.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_31_1801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717301","1395717299","1395717290","1395717293","1395717287","1395717296"],"photo_ids_order":["1395717287","1395717290","1395717293","1395717296","1395717299","1395717301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff0d826f9252f1b1276c93002fbeb1a4.jpg","text":"TemporaryFile(/tmp/multipartBody1371593566321438994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832084826,"filename":"image_22112025_18_19_31_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34a8c019ef4ef61dbdf22a3fc5d420f1.jpg","text":"TemporaryFile(/tmp/multipartBody4439292444497177635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832084826,"filename":"image_22112025_18_19_26_3136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21a9075ac8efe313e002e691ab5610d5.jpg","text":"TemporaryFile(/tmp/multipartBody4420913023052735872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832084826,"filename":"image_22112025_18_19_03_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/850a7533e5f10a7f4f24c953a5623602.jpg","text":"TemporaryFile(/tmp/multipartBody3880533975587061851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832084826,"filename":"image_22112025_18_19_06_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9d0ab41bc77df58af9b68f4c35a6338.jpg","text":"TemporaryFile(/tmp/multipartBody3911674209479307308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832084826,"filename":"image_22112025_18_19_00_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e80ee8bb0bda94a1e0d7daef84c6a997.jpg","text":"TemporaryFile(/tmp/multipartBody5975728128770007536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832084826,"filename":"image_22112025_18_19_09_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717293","file1":"1395717290","file0":"1395717287","file4":"1395717299","file5":"1395717301","file3":"1395717296"},"map_files_photo_id_array":[{"photo_id":"1395717301","filename":"file5"},{"photo_id":"1395717293","filename":"file2"},{"photo_id":"1395717299","filename":"file4"},{"photo_id":"1395717290","filename":"file1"},{"photo_id":"1395717287","filename":"file0"},{"photo_id":"1395717296","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717301":["hashtag1","hashtag2"]},{"1395717299":["hashtag1","hashtag2"]},{"1395717290":["hashtag1","hashtag2"]},{"1395717293":["hashtag1","hashtag2"]},{"1395717287":["hashtag1","hashtag2"]},{"1395717296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717301, 1395717299, 1395717290, 1395717293, 1395717287, 1395717296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57771420478821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:21:03.109311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_32_1578.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_36_3728.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_37_1575.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_40_2228.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_42_1783.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_47_1885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_32_1578.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_36_3728.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_37_1575.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_40_2228.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_42_1783.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_47_1885.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717305","1395717302","1395717310","1395717304","1395717307","1395717303"],"photo_ids_order":["1395717302","1395717303","1395717304","1395717305","1395717307","1395717310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8cff64b692df9db612284c5bce0cd29.jpg","text":"TemporaryFile(/tmp/multipartBody2585033504816112064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832124051,"filename":"image_22112025_18_19_40_2228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b89f2067bc9e199d25913beb58f5f169.jpg","text":"TemporaryFile(/tmp/multipartBody4994962890571670014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832124051,"filename":"image_22112025_18_19_32_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf879a85638d6be4520bad17807986c9.jpg","text":"TemporaryFile(/tmp/multipartBody7372709915086919196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832124051,"filename":"image_22112025_18_19_47_1885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd2bc9961f0748cfa16a6fb6e7f14dc8.jpg","text":"TemporaryFile(/tmp/multipartBody250190249075045972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832124051,"filename":"image_22112025_18_19_37_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c584eb2dd808a4672f875a532ea7da1c.jpg","text":"TemporaryFile(/tmp/multipartBody8821832713522613612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832124051,"filename":"image_22112025_18_19_42_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/091c6b8ec57bdffbe78996cfd0cc4275.jpg","text":"TemporaryFile(/tmp/multipartBody1365649068035466544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832124051,"filename":"image_22112025_18_19_36_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717304","file1":"1395717303","file0":"1395717302","file4":"1395717307","file5":"1395717310","file3":"1395717305"},"map_files_photo_id_array":[{"photo_id":"1395717310","filename":"file5"},{"photo_id":"1395717304","filename":"file2"},{"photo_id":"1395717307","filename":"file4"},{"photo_id":"1395717303","filename":"file1"},{"photo_id":"1395717302","filename":"file0"},{"photo_id":"1395717305","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717305":["hashtag1","hashtag2"]},{"1395717302":["hashtag1","hashtag2"]},{"1395717310":["hashtag1","hashtag2"]},{"1395717304":["hashtag1","hashtag2"]},{"1395717307":["hashtag1","hashtag2"]},{"1395717303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717305, 1395717302, 1395717310, 1395717304, 1395717307, 1395717303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68955063819885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:21:42.400691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_56_7952.jpg', '/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_59_2980.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_01_1758.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_03_1698.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_06_3447.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_18_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_56_7952.jpg
/home/pi/Desktop/images/22112025/18/19/image_22112025_18_19_59_2980.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_01_1758.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_03_1698.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_06_3447.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_18_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717323","1395717326","1395717322","1395717325","1395717319","1395717324"],"photo_ids_order":["1395717319","1395717322","1395717323","1395717324","1395717325","1395717326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed0dd45dd4614adf4dfd84a7ec2799d2.jpg","text":"TemporaryFile(/tmp/multipartBody7367041314775589284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832163135,"filename":"image_22112025_18_20_01_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19e97c9d5e1c8addf5c32073f5a8b597.jpg","text":"TemporaryFile(/tmp/multipartBody5843472463131265150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832163135,"filename":"image_22112025_18_20_18_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/478b17fa80c9b5f692cf2451657d9ace.jpg","text":"TemporaryFile(/tmp/multipartBody1685041425079078106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832163135,"filename":"image_22112025_18_19_59_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8908ea7090596b718af51f023235d368.jpg","text":"TemporaryFile(/tmp/multipartBody2202116587516267837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832163135,"filename":"image_22112025_18_20_06_3447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49bc3c2ff66343ff8c87eddc80a8eb0c.jpg","text":"TemporaryFile(/tmp/multipartBody1425217093095666296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832163135,"filename":"image_22112025_18_19_56_7952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aaf218cb31dfb1165d245ad4ad06e2bd.jpg","text":"TemporaryFile(/tmp/multipartBody4609724279097589267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832163135,"filename":"image_22112025_18_20_03_1698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717323","file1":"1395717322","file0":"1395717319","file4":"1395717325","file5":"1395717326","file3":"1395717324"},"map_files_photo_id_array":[{"photo_id":"1395717326","filename":"file5"},{"photo_id":"1395717323","filename":"file2"},{"photo_id":"1395717325","filename":"file4"},{"photo_id":"1395717322","filename":"file1"},{"photo_id":"1395717319","filename":"file0"},{"photo_id":"1395717324","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717323":["hashtag1","hashtag2"]},{"1395717326":["hashtag1","hashtag2"]},{"1395717322":["hashtag1","hashtag2"]},{"1395717325":["hashtag1","hashtag2"]},{"1395717319":["hashtag1","hashtag2"]},{"1395717324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717323, 1395717326, 1395717322, 1395717325, 1395717319, 1395717324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.664336919784546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:22:22.702948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_24_6265.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_33_8972.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_34_1593.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_36_1754.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_38_1841.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_42_1851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_24_6265.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_33_8972.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_34_1593.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_36_1754.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_38_1841.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_42_1851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717332","1395717329","1395717346","1395717342","1395717339","1395717335"],"photo_ids_order":["1395717329","1395717332","1395717335","1395717339","1395717342","1395717346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2261875ff012d0499b5bd30d2dcf9799.jpg","text":"TemporaryFile(/tmp/multipartBody8685920435729821992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832203463,"filename":"image_22112025_18_20_33_8972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b30e7e6d64346090322277ba9f4368e2.jpg","text":"TemporaryFile(/tmp/multipartBody1369659047705130799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832203463,"filename":"image_22112025_18_20_24_6265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53574bd5f331f1cb7f046f9e0388042d.jpg","text":"TemporaryFile(/tmp/multipartBody5267524172580524437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832203463,"filename":"image_22112025_18_20_42_1851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a87efd4ef595b217e4c85a0a7c791a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4114475212487796657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832203463,"filename":"image_22112025_18_20_38_1841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f72c74790a4c8d912c0bc272ab2c9ff7.jpg","text":"TemporaryFile(/tmp/multipartBody876195094604680411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832203463,"filename":"image_22112025_18_20_36_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fc3dec7f00bb0eb848ce1d49cec9057.jpg","text":"TemporaryFile(/tmp/multipartBody2098648799417353265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832203463,"filename":"image_22112025_18_20_34_1593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717335","file1":"1395717332","file0":"1395717329","file4":"1395717342","file5":"1395717346","file3":"1395717339"},"map_files_photo_id_array":[{"photo_id":"1395717346","filename":"file5"},{"photo_id":"1395717335","filename":"file2"},{"photo_id":"1395717342","filename":"file4"},{"photo_id":"1395717332","filename":"file1"},{"photo_id":"1395717329","filename":"file0"},{"photo_id":"1395717339","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717332":["hashtag1","hashtag2"]},{"1395717329":["hashtag1","hashtag2"]},{"1395717346":["hashtag1","hashtag2"]},{"1395717342":["hashtag1","hashtag2"]},{"1395717339":["hashtag1","hashtag2"]},{"1395717335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717332, 1395717329, 1395717346, 1395717342, 1395717339, 1395717335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.038373708724976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:23:03.485562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_44_1790.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_48_4509.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_50_1718.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_51_1689.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_54_2671.jpg', '/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_57_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_44_1790.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_48_4509.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_50_1718.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_51_1689.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_54_2671.jpg
/home/pi/Desktop/images/22112025/18/20/image_22112025_18_20_57_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717350","1395717352","1395717349","1395717351","1395717354","1395717356"],"photo_ids_order":["1395717349","1395717350","1395717351","1395717352","1395717354","1395717356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43e30a24b1d0991e37c6d84a59436f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2018571246047039635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832244311,"filename":"image_22112025_18_20_48_4509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3093e46bdded1035875a48da533d5b11.jpg","text":"TemporaryFile(/tmp/multipartBody5945240435583019315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832244311,"filename":"image_22112025_18_20_51_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f70b40c7d537643a57238d95757dd0e0.jpg","text":"TemporaryFile(/tmp/multipartBody4320656846326665759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832244311,"filename":"image_22112025_18_20_44_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/179caf58cd1f9aef0033f9be75f4306b.jpg","text":"TemporaryFile(/tmp/multipartBody4279939456223358714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832244311,"filename":"image_22112025_18_20_50_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01bc6926e1228e2826df9391b8a2d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4652391792435522088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832244311,"filename":"image_22112025_18_20_54_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3fb563fcea3c33a51d04a89bbbab49b.jpg","text":"TemporaryFile(/tmp/multipartBody1111476121223009674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832244311,"filename":"image_22112025_18_20_57_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717351","file1":"1395717350","file0":"1395717349","file4":"1395717354","file5":"1395717356","file3":"1395717352"},"map_files_photo_id_array":[{"photo_id":"1395717356","filename":"file5"},{"photo_id":"1395717351","filename":"file2"},{"photo_id":"1395717354","filename":"file4"},{"photo_id":"1395717350","filename":"file1"},{"photo_id":"1395717349","filename":"file0"},{"photo_id":"1395717352","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717350":["hashtag1","hashtag2"]},{"1395717352":["hashtag1","hashtag2"]},{"1395717349":["hashtag1","hashtag2"]},{"1395717351":["hashtag1","hashtag2"]},{"1395717354":["hashtag1","hashtag2"]},{"1395717356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717350, 1395717352, 1395717349, 1395717351, 1395717354, 1395717356)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.37213492393494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:24:04.287356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:24:25.152765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:24:43.650810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_07_10327.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_09_1652.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_13_4302.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_15_1688.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_16_1566.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_18_1757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_07_10327.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_09_1652.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_13_4302.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_15_1688.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_16_1566.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_18_1757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717397","1395717394","1395717393","1395717390","1395717392","1395717395"],"photo_ids_order":["1395717390","1395717392","1395717393","1395717394","1395717395","1395717397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6ce115e1868e397bc768437eaba80fe.jpg","text":"TemporaryFile(/tmp/multipartBody1059449804328860309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832344392,"filename":"image_22112025_18_21_18_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a646706569ef0b7e08f5bbc1a0877cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2247186648276207253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832344392,"filename":"image_22112025_18_21_15_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df2e55fa1334a77b3a9c06614247fb01.jpg","text":"TemporaryFile(/tmp/multipartBody4275610494424112723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832344392,"filename":"image_22112025_18_21_13_4302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f26fd3242abefccbf475e30d6176274e.jpg","text":"TemporaryFile(/tmp/multipartBody6089434186379840407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832344392,"filename":"image_22112025_18_21_07_10327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f42aee101824a797582003c0cfb4c4da.jpg","text":"TemporaryFile(/tmp/multipartBody3980862537883985712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832344392,"filename":"image_22112025_18_21_09_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19ff9114fb9dd0b68e936cf8eed6f52f.jpg","text":"TemporaryFile(/tmp/multipartBody3504858341993885736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832344392,"filename":"image_22112025_18_21_16_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717393","file1":"1395717392","file0":"1395717390","file4":"1395717395","file5":"1395717397","file3":"1395717394"},"map_files_photo_id_array":[{"photo_id":"1395717397","filename":"file5"},{"photo_id":"1395717393","filename":"file2"},{"photo_id":"1395717395","filename":"file4"},{"photo_id":"1395717392","filename":"file1"},{"photo_id":"1395717390","filename":"file0"},{"photo_id":"1395717394","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717397":["hashtag1","hashtag2"]},{"1395717394":["hashtag1","hashtag2"]},{"1395717393":["hashtag1","hashtag2"]},{"1395717390":["hashtag1","hashtag2"]},{"1395717392":["hashtag1","hashtag2"]},{"1395717395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717397, 1395717394, 1395717393, 1395717390, 1395717392, 1395717395)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.788512229919434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:25:41.993575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_20_1857.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_21_1618.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_24_2554.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_29_2554.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_33_3782.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_36_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_20_1857.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_21_1618.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_24_2554.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_29_2554.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_33_3782.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_36_2532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717416","1395717410","1395717413","1395717415","1395717412","1395717414"],"photo_ids_order":["1395717410","1395717412","1395717413","1395717414","1395717415","1395717416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f35ab3d8b53362a3ac233101b79e066.jpg","text":"TemporaryFile(/tmp/multipartBody2556017998131332211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832402727,"filename":"image_22112025_18_21_36_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b96bf74dc5d8a15b0c774189c2bd5a77.jpg","text":"TemporaryFile(/tmp/multipartBody6934203964355990170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832402727,"filename":"image_22112025_18_21_20_1857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/640759328a0f16d8124348f1cc8394f5.jpg","text":"TemporaryFile(/tmp/multipartBody8110008402161530419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832402727,"filename":"image_22112025_18_21_24_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3671fd10739ea046a43bb7044253920c.jpg","text":"TemporaryFile(/tmp/multipartBody8967097410436985613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832402727,"filename":"image_22112025_18_21_33_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30b2ecd79e91a76483a3982b9e57623f.jpg","text":"TemporaryFile(/tmp/multipartBody4099356520785520563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832402727,"filename":"image_22112025_18_21_21_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0fde9d065b923d64531ddd24b3f5fd3d.jpg","text":"TemporaryFile(/tmp/multipartBody7557575276398773203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832402727,"filename":"image_22112025_18_21_29_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717413","file1":"1395717412","file0":"1395717410","file4":"1395717415","file5":"1395717416","file3":"1395717414"},"map_files_photo_id_array":[{"photo_id":"1395717416","filename":"file5"},{"photo_id":"1395717413","filename":"file2"},{"photo_id":"1395717415","filename":"file4"},{"photo_id":"1395717412","filename":"file1"},{"photo_id":"1395717410","filename":"file0"},{"photo_id":"1395717414","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717416":["hashtag1","hashtag2"]},{"1395717410":["hashtag1","hashtag2"]},{"1395717413":["hashtag1","hashtag2"]},{"1395717415":["hashtag1","hashtag2"]},{"1395717412":["hashtag1","hashtag2"]},{"1395717414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717416, 1395717410, 1395717413, 1395717415, 1395717412, 1395717414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.179129123687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:26:22.212814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_38_2690.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_42_3676.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_45_2669.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_47_2681.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_51_3604.jpg', '/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_56_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_38_2690.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_42_3676.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_45_2669.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_47_2681.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_51_3604.jpg
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_21_56_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717427","1395717418","1395717438","1395717423","1395717432","1395717435"],"photo_ids_order":["1395717418","1395717423","1395717427","1395717432","1395717435","1395717438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7dae37375813b2b8bda39a4eef672c3.jpg","text":"TemporaryFile(/tmp/multipartBody696813163378192025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832442936,"filename":"image_22112025_18_21_45_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bafd0b5ef5d3b546eb3b3d05db3aaaa4.jpg","text":"TemporaryFile(/tmp/multipartBody3162678265320243049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832442936,"filename":"image_22112025_18_21_38_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6de7de251ee80e70c8e64419ae6c6ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2979065934337590343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832442936,"filename":"image_22112025_18_21_56_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56d20ed5f69d9c7672342a83a50afb0c.jpg","text":"TemporaryFile(/tmp/multipartBody1340224224695533360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832442936,"filename":"image_22112025_18_21_42_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ec32a81da545576e11c6bfdecf70a44.jpg","text":"TemporaryFile(/tmp/multipartBody4141318007519700274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832442936,"filename":"image_22112025_18_21_47_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1e38b798ffdd3a0af27f1c9ae393f66.jpg","text":"TemporaryFile(/tmp/multipartBody2392094961711069957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832442936,"filename":"image_22112025_18_21_51_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717427","file1":"1395717423","file0":"1395717418","file4":"1395717435","file5":"1395717438","file3":"1395717432"},"map_files_photo_id_array":[{"photo_id":"1395717438","filename":"file5"},{"photo_id":"1395717427","filename":"file2"},{"photo_id":"1395717435","filename":"file4"},{"photo_id":"1395717423","filename":"file1"},{"photo_id":"1395717418","filename":"file0"},{"photo_id":"1395717432","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717427":["hashtag1","hashtag2"]},{"1395717418":["hashtag1","hashtag2"]},{"1395717438":["hashtag1","hashtag2"]},{"1395717423":["hashtag1","hashtag2"]},{"1395717432":["hashtag1","hashtag2"]},{"1395717435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717427, 1395717418, 1395717438, 1395717423, 1395717432, 1395717435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63433003425598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:27:03.211140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/21/image_22112025_18_22_00_3641.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_05_2762.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_12_2703.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_14_2776.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_18_3725.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_26_7653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/21/image_22112025_18_22_00_3641.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_05_2762.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_12_2703.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_14_2776.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_18_3725.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_26_7653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717439","1395717442","1395717441","1395717444","1395717447","1395717440"],"photo_ids_order":["1395717439","1395717440","1395717441","1395717442","1395717444","1395717447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71fc535db5c8559de331c804c4ef0864.jpg","text":"TemporaryFile(/tmp/multipartBody5240379179798523229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832484047,"filename":"image_22112025_18_22_00_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7eda1b29141cc4d849eaeddbf3035ee8.jpg","text":"TemporaryFile(/tmp/multipartBody3679954417466496949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832484047,"filename":"image_22112025_18_22_14_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66a21896c87e7205a3f8a273dda6c44f.jpg","text":"TemporaryFile(/tmp/multipartBody7861011343854827813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832484047,"filename":"image_22112025_18_22_12_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9156917a5d20bc3c60a04616d1f57337.jpg","text":"TemporaryFile(/tmp/multipartBody2484444918085511396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832484047,"filename":"image_22112025_18_22_18_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4aa6df99ef93db1b4ce7a33c136638e3.jpg","text":"TemporaryFile(/tmp/multipartBody2057552603757367180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832484047,"filename":"image_22112025_18_22_26_7653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ba0b3ebae1696062aacbd9dace289d7.jpg","text":"TemporaryFile(/tmp/multipartBody8015511117931637578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832484047,"filename":"image_22112025_18_22_05_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717441","file1":"1395717440","file0":"1395717439","file4":"1395717444","file5":"1395717447","file3":"1395717442"},"map_files_photo_id_array":[{"photo_id":"1395717447","filename":"file5"},{"photo_id":"1395717441","filename":"file2"},{"photo_id":"1395717444","filename":"file4"},{"photo_id":"1395717440","filename":"file1"},{"photo_id":"1395717439","filename":"file0"},{"photo_id":"1395717442","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717439":["hashtag1","hashtag2"]},{"1395717442":["hashtag1","hashtag2"]},{"1395717441":["hashtag1","hashtag2"]},{"1395717444":["hashtag1","hashtag2"]},{"1395717447":["hashtag1","hashtag2"]},{"1395717440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717439, 1395717442, 1395717441, 1395717444, 1395717447, 1395717440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0481595993042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:27:42.491061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_29_1679.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_31_1692.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_32_1676.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_35_2787.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_48_3738.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_51_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_29_1679.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_31_1692.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_32_1676.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_35_2787.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_48_3738.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_51_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717463","1395717457","1395717460","1395717462","1395717459","1395717461"],"photo_ids_order":["1395717457","1395717459","1395717460","1395717461","1395717462","1395717463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad9524390b82421fc3c5c17fbd78a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody8823248655224036102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832523234,"filename":"image_22112025_18_22_51_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/116c203eed9e38f161eb20fdcdfd57cd.jpg","text":"TemporaryFile(/tmp/multipartBody3591923785694913602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832523234,"filename":"image_22112025_18_22_29_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6822d1e9e3409460ab354f14d41daa9.jpg","text":"TemporaryFile(/tmp/multipartBody4382487925304687730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832523234,"filename":"image_22112025_18_22_32_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7246f137f18c0aa5d4595abc5c98700d.jpg","text":"TemporaryFile(/tmp/multipartBody3879333861009325064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832523234,"filename":"image_22112025_18_22_48_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a23c65197df6f536ae4ee122e9863cc7.jpg","text":"TemporaryFile(/tmp/multipartBody1663471737743060906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832523234,"filename":"image_22112025_18_22_31_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90f2eeff889c4fe5376706a557207641.jpg","text":"TemporaryFile(/tmp/multipartBody5971707826619201005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832523234,"filename":"image_22112025_18_22_35_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717460","file1":"1395717459","file0":"1395717457","file4":"1395717462","file5":"1395717463","file3":"1395717461"},"map_files_photo_id_array":[{"photo_id":"1395717463","filename":"file5"},{"photo_id":"1395717460","filename":"file2"},{"photo_id":"1395717462","filename":"file4"},{"photo_id":"1395717459","filename":"file1"},{"photo_id":"1395717457","filename":"file0"},{"photo_id":"1395717461","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717463":["hashtag1","hashtag2"]},{"1395717457":["hashtag1","hashtag2"]},{"1395717460":["hashtag1","hashtag2"]},{"1395717462":["hashtag1","hashtag2"]},{"1395717459":["hashtag1","hashtag2"]},{"1395717461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717463, 1395717457, 1395717460, 1395717462, 1395717459, 1395717461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0443856716156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:28:22.796106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_53_2799.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_56_2733.jpg', '/home/pi/Desktop/images/22112025/18/22/image_22112025_18_23_00_3692.jpg', '/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_08_2856.jpg', '/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_21_3615.jpg', '/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_24_2993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_53_2799.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_22_56_2733.jpg
/home/pi/Desktop/images/22112025/18/22/image_22112025_18_23_00_3692.jpg
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_08_2856.jpg
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_21_3615.jpg
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_24_2993.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717481","1395717475","1395717478","1395717472","1395717469","1395717465"],"photo_ids_order":["1395717465","1395717469","1395717472","1395717475","1395717478","1395717481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73e48338b5d821bc9748ae9fc4acf2c2.jpg","text":"TemporaryFile(/tmp/multipartBody2641069273820017049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832563576,"filename":"image_22112025_18_23_24_2993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3c17c8ae3fa15651a9d32de26f7e92d.jpg","text":"TemporaryFile(/tmp/multipartBody2139825672945391997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832563576,"filename":"image_22112025_18_23_08_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be82835b0686c4a637c476222fca976d.jpg","text":"TemporaryFile(/tmp/multipartBody2104762697213879314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832563576,"filename":"image_22112025_18_23_21_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a46bf69ef3f178a816e128279848d86d.jpg","text":"TemporaryFile(/tmp/multipartBody8547898047891793245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832563576,"filename":"image_22112025_18_23_00_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b03ca4801b61325099113f08e46dc9f.jpg","text":"TemporaryFile(/tmp/multipartBody7499387013171673564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832563576,"filename":"image_22112025_18_22_56_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27fc659af7e45c74c8ad94e09b7d5322.jpg","text":"TemporaryFile(/tmp/multipartBody4822332506261395120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832563576,"filename":"image_22112025_18_22_53_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717472","file1":"1395717469","file0":"1395717465","file4":"1395717478","file5":"1395717481","file3":"1395717475"},"map_files_photo_id_array":[{"photo_id":"1395717481","filename":"file5"},{"photo_id":"1395717472","filename":"file2"},{"photo_id":"1395717478","filename":"file4"},{"photo_id":"1395717469","filename":"file1"},{"photo_id":"1395717465","filename":"file0"},{"photo_id":"1395717475","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717481":["hashtag1","hashtag2"]},{"1395717475":["hashtag1","hashtag2"]},{"1395717478":["hashtag1","hashtag2"]},{"1395717472":["hashtag1","hashtag2"]},{"1395717469":["hashtag1","hashtag2"]},{"1395717465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717481, 1395717475, 1395717478, 1395717472, 1395717469, 1395717465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23577094078064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:29:02.632397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_29_2713.jpg', '/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_33_3652.jpg', '/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_38_2584.jpg', '/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_42_3656.jpg', '/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_45_2785.jpg', '/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_51_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_29_2713.jpg
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_33_3652.jpg
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_38_2584.jpg
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_42_3656.jpg
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_45_2785.jpg
/home/pi/Desktop/images/22112025/18/23/image_22112025_18_23_51_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717493","1395717496","1395717486","1395717489","1395717491","1395717488"],"photo_ids_order":["1395717486","1395717488","1395717489","1395717491","1395717493","1395717496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b54861da6f57f320f2ee5047e7f9029.jpg","text":"TemporaryFile(/tmp/multipartBody1101978549724923583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832603541,"filename":"image_22112025_18_23_45_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab6fdc9426d06114f071fe6c4fae3785.jpg","text":"TemporaryFile(/tmp/multipartBody4350639250005996947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832603541,"filename":"image_22112025_18_23_51_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f44ccb4cb89e9ac58c07dd467bd31560.jpg","text":"TemporaryFile(/tmp/multipartBody7938370793306480081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832603541,"filename":"image_22112025_18_23_29_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc91c35c67fe2fe5570c50727f612f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4410365592962337807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832603541,"filename":"image_22112025_18_23_38_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf1f884c13576d39202132a5f4f107dd.jpg","text":"TemporaryFile(/tmp/multipartBody5452250200732431631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832603541,"filename":"image_22112025_18_23_42_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c12e5da5ba24dc37c0cb0c9326fb22f0.jpg","text":"TemporaryFile(/tmp/multipartBody1254070849759374511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832603541,"filename":"image_22112025_18_23_33_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717489","file1":"1395717488","file0":"1395717486","file4":"1395717493","file5":"1395717496","file3":"1395717491"},"map_files_photo_id_array":[{"photo_id":"1395717496","filename":"file5"},{"photo_id":"1395717489","filename":"file2"},{"photo_id":"1395717493","filename":"file4"},{"photo_id":"1395717488","filename":"file1"},{"photo_id":"1395717486","filename":"file0"},{"photo_id":"1395717491","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717493":["hashtag1","hashtag2"]},{"1395717496":["hashtag1","hashtag2"]},{"1395717486":["hashtag1","hashtag2"]},{"1395717489":["hashtag1","hashtag2"]},{"1395717491":["hashtag1","hashtag2"]},{"1395717488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717493, 1395717496, 1395717486, 1395717489, 1395717491, 1395717488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.604236364364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:29:41.882148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_03_3574.jpg', '/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_14_2765.jpg', '/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_40_6987.jpg', '/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_42_1627.jpg', '/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_52_10184.jpg', '/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_09_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_03_3574.jpg
/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_14_2765.jpg
/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_40_6987.jpg
/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_42_1627.jpg
/home/pi/Desktop/images/22112025/18/24/image_22112025_18_24_52_10184.jpg
/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_09_1633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717512","1395717506","1395717509","1395717511","1395717510","1395717516"],"photo_ids_order":["1395717506","1395717509","1395717510","1395717511","1395717512","1395717516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/408806e92732b86cdb712c2c5ff4c1e0.jpg","text":"TemporaryFile(/tmp/multipartBody2003634828354169070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832642651,"filename":"image_22112025_18_24_52_10184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/767d578f44152d13466282557e47861c.jpg","text":"TemporaryFile(/tmp/multipartBody1813494808008003074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832642651,"filename":"image_22112025_18_24_03_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2989e89fd1101889e4a0d1bf4cbc0bb.jpg","text":"TemporaryFile(/tmp/multipartBody4508685647935985613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832642651,"filename":"image_22112025_18_24_14_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2455815883c714c2b2c759566e518198.jpg","text":"TemporaryFile(/tmp/multipartBody3863275841900515508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832642651,"filename":"image_22112025_18_24_42_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0430dce32af6789b0494f8c14d91393.jpg","text":"TemporaryFile(/tmp/multipartBody7523718143014814403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832642651,"filename":"image_22112025_18_24_40_6987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a603a452a326a992388ec038e0aadc0.jpg","text":"TemporaryFile(/tmp/multipartBody1522090552998265974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832642651,"filename":"image_22112025_18_25_09_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717510","file1":"1395717509","file0":"1395717506","file4":"1395717512","file5":"1395717516","file3":"1395717511"},"map_files_photo_id_array":[{"photo_id":"1395717516","filename":"file5"},{"photo_id":"1395717510","filename":"file2"},{"photo_id":"1395717512","filename":"file4"},{"photo_id":"1395717509","filename":"file1"},{"photo_id":"1395717506","filename":"file0"},{"photo_id":"1395717511","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717512":["hashtag1","hashtag2"]},{"1395717506":["hashtag1","hashtag2"]},{"1395717509":["hashtag1","hashtag2"]},{"1395717511":["hashtag1","hashtag2"]},{"1395717510":["hashtag1","hashtag2"]},{"1395717516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717512, 1395717506, 1395717509, 1395717511, 1395717510, 1395717516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89365744590759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:30:22.074408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_19_8066.jpg', '/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_37_2529.jpg', '/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_55_3698.jpg', '/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_58_2811.jpg', '/home/pi/Desktop/images/22112025/18/25/image_22112025_18_26_00_1793.jpg', '/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_19_8066.jpg
/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_37_2529.jpg
/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_55_3698.jpg
/home/pi/Desktop/images/22112025/18/25/image_22112025_18_25_58_2811.jpg
/home/pi/Desktop/images/22112025/18/25/image_22112025_18_26_00_1793.jpg
/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_07_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717530","1395717532","1395717526","1395717529","1395717520","1395717522"],"photo_ids_order":["1395717520","1395717522","1395717526","1395717529","1395717530","1395717532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/169eb2d2d294924c86030c36cd733a6e.jpg","text":"TemporaryFile(/tmp/multipartBody3067474776187973124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832682847,"filename":"image_22112025_18_26_00_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c7e6726d456d84fb275a02e5e19e705f.jpg","text":"TemporaryFile(/tmp/multipartBody8816276724100522835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832682847,"filename":"image_22112025_18_28_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b582e6dc4f9a30354f322e4159f4b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody6550820258463348089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832682847,"filename":"image_22112025_18_25_55_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d974de146d5a8d6096c0634dbab2c3c5.jpg","text":"TemporaryFile(/tmp/multipartBody1261652401531533891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832682847,"filename":"image_22112025_18_25_58_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0547b98f4be8e6a1477e7341b5227ee.jpg","text":"TemporaryFile(/tmp/multipartBody4849754734239277665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832682847,"filename":"image_22112025_18_25_19_8066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a52105d791a9bb6beba381e4aed8dbb.jpg","text":"TemporaryFile(/tmp/multipartBody2711529151613812618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832682847,"filename":"image_22112025_18_25_37_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717526","file1":"1395717522","file0":"1395717520","file4":"1395717530","file5":"1395717532","file3":"1395717529"},"map_files_photo_id_array":[{"photo_id":"1395717532","filename":"file5"},{"photo_id":"1395717526","filename":"file2"},{"photo_id":"1395717530","filename":"file4"},{"photo_id":"1395717522","filename":"file1"},{"photo_id":"1395717520","filename":"file0"},{"photo_id":"1395717529","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717530":["hashtag1","hashtag2"]},{"1395717532":["hashtag1","hashtag2"]},{"1395717526":["hashtag1","hashtag2"]},{"1395717529":["hashtag1","hashtag2"]},{"1395717520":["hashtag1","hashtag2"]},{"1395717522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717530, 1395717532, 1395717526, 1395717529, 1395717520, 1395717522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.121034145355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:31:02.992927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_23_2652.jpg', '/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_29_3603.jpg', '/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_41_3678.jpg', '/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_55_2632.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_02_2692.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_05_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_23_2652.jpg
/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_29_3603.jpg
/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_41_3678.jpg
/home/pi/Desktop/images/22112025/18/28/image_22112025_18_28_55_2632.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_02_2692.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_05_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717563","1395717565","1395717567","1395717570","1395717564","1395717551"],"photo_ids_order":["1395717551","1395717563","1395717564","1395717565","1395717567","1395717570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b452325748520751acdec67cbab81c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3225671944868568604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832723889,"filename":"image_22112025_18_28_29_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fb2a17ab916c8485dd331de7da798ca.jpg","text":"TemporaryFile(/tmp/multipartBody7482732022913156159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832723889,"filename":"image_22112025_18_28_55_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50b0fc8e580a9b62619c429b1101eca0.jpg","text":"TemporaryFile(/tmp/multipartBody2114764044985098002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832723889,"filename":"image_22112025_18_29_02_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06ee1ebebd81ac02fd254d1e9914d10c.jpg","text":"TemporaryFile(/tmp/multipartBody7919708526380330697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832723889,"filename":"image_22112025_18_29_05_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/028f1a08402d386aa3a9e6281aa64557.jpg","text":"TemporaryFile(/tmp/multipartBody6861111766137465253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832723889,"filename":"image_22112025_18_28_41_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d463368395f04a48f791be03f7ccc57.jpg","text":"TemporaryFile(/tmp/multipartBody1555388824617589184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832723889,"filename":"image_22112025_18_28_23_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717564","file1":"1395717563","file0":"1395717551","file4":"1395717567","file5":"1395717570","file3":"1395717565"},"map_files_photo_id_array":[{"photo_id":"1395717570","filename":"file5"},{"photo_id":"1395717564","filename":"file2"},{"photo_id":"1395717567","filename":"file4"},{"photo_id":"1395717563","filename":"file1"},{"photo_id":"1395717551","filename":"file0"},{"photo_id":"1395717565","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717563":["hashtag1","hashtag2"]},{"1395717565":["hashtag1","hashtag2"]},{"1395717567":["hashtag1","hashtag2"]},{"1395717570":["hashtag1","hashtag2"]},{"1395717564":["hashtag1","hashtag2"]},{"1395717551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717563, 1395717565, 1395717567, 1395717570, 1395717564, 1395717551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3963840007782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:31:42.338066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_07_2647.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_14_2668.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_16_2653.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_23_2690.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_28_2854.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_32_3821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_07_2647.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_14_2668.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_16_2653.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_23_2690.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_28_2854.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_32_3821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717583","1395717585","1395717582","1395717579","1395717584","1395717581"],"photo_ids_order":["1395717579","1395717581","1395717582","1395717583","1395717584","1395717585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfe9f3a241b115671630a6e3890fac10.jpg","text":"TemporaryFile(/tmp/multipartBody1317075285309904035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832763090,"filename":"image_22112025_18_29_23_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/baa4f1c8753af4d54c8f5df0f514955a.jpg","text":"TemporaryFile(/tmp/multipartBody7872013514150922410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832763090,"filename":"image_22112025_18_29_32_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9bfe9f1a5502c7890ec29dcaf823af7c.jpg","text":"TemporaryFile(/tmp/multipartBody4813654268694942483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832763090,"filename":"image_22112025_18_29_16_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d234f2ebd0874f7bffc15eb21e6cf4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1623176334682956073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832763090,"filename":"image_22112025_18_29_07_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d53506816d533f015484e8349c24c655.jpg","text":"TemporaryFile(/tmp/multipartBody9112053929410475298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832763090,"filename":"image_22112025_18_29_28_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85f4904042acbb17fc2088f3c36a1528.jpg","text":"TemporaryFile(/tmp/multipartBody2164953827102787047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832763090,"filename":"image_22112025_18_29_14_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717582","file1":"1395717581","file0":"1395717579","file4":"1395717584","file5":"1395717585","file3":"1395717583"},"map_files_photo_id_array":[{"photo_id":"1395717585","filename":"file5"},{"photo_id":"1395717582","filename":"file2"},{"photo_id":"1395717584","filename":"file4"},{"photo_id":"1395717581","filename":"file1"},{"photo_id":"1395717579","filename":"file0"},{"photo_id":"1395717583","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717583":["hashtag1","hashtag2"]},{"1395717585":["hashtag1","hashtag2"]},{"1395717582":["hashtag1","hashtag2"]},{"1395717579":["hashtag1","hashtag2"]},{"1395717584":["hashtag1","hashtag2"]},{"1395717581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717583, 1395717585, 1395717582, 1395717579, 1395717584, 1395717581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.557528018951416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:32:22.609515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_35_2648.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_41_3668.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_43_2637.jpg', '/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_52_2658.jpg', '/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_15_8375.jpg', '/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_28_6170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_35_2648.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_41_3668.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_43_2637.jpg
/home/pi/Desktop/images/22112025/18/29/image_22112025_18_29_52_2658.jpg
/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_15_8375.jpg
/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_28_6170.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717602","1395717595","1395717591","1395717588","1395717597","1395717600"],"photo_ids_order":["1395717588","1395717591","1395717595","1395717597","1395717600","1395717602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/022b1a53f651f9310459278719989dfc.jpg","text":"TemporaryFile(/tmp/multipartBody7340925771043480196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832803492,"filename":"image_22112025_18_31_28_6170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d51fd33e8c593d0c8440a261a0bd37ba.jpg","text":"TemporaryFile(/tmp/multipartBody2019970149440683719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832803492,"filename":"image_22112025_18_29_43_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ada14d2bd58c077f208609d574570227.jpg","text":"TemporaryFile(/tmp/multipartBody4599741919889295575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832803492,"filename":"image_22112025_18_29_41_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba0b9085b9f28a0b1e0a1c6aebc3b071.jpg","text":"TemporaryFile(/tmp/multipartBody2498813203058355347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832803492,"filename":"image_22112025_18_29_35_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/293ffdf5c560a86208e938436126dc0b.jpg","text":"TemporaryFile(/tmp/multipartBody8998359398208817947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832803492,"filename":"image_22112025_18_29_52_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ceab2a1929697293ea00eb6b35f6eab.jpg","text":"TemporaryFile(/tmp/multipartBody2708821855800262976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832803492,"filename":"image_22112025_18_31_15_8375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717595","file1":"1395717591","file0":"1395717588","file4":"1395717600","file5":"1395717602","file3":"1395717597"},"map_files_photo_id_array":[{"photo_id":"1395717602","filename":"file5"},{"photo_id":"1395717595","filename":"file2"},{"photo_id":"1395717600","filename":"file4"},{"photo_id":"1395717591","filename":"file1"},{"photo_id":"1395717588","filename":"file0"},{"photo_id":"1395717597","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717602":["hashtag1","hashtag2"]},{"1395717595":["hashtag1","hashtag2"]},{"1395717591":["hashtag1","hashtag2"]},{"1395717588":["hashtag1","hashtag2"]},{"1395717597":["hashtag1","hashtag2"]},{"1395717600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717602, 1395717595, 1395717591, 1395717588, 1395717597, 1395717600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78220725059509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:33:02.460113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_35_1727.jpg', '/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_39_4229.jpg', '/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_44_1628.jpg', '/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_46_1707.jpg', '/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_48_2615.jpg', '/home/pi/Desktop/images/22112025/18/31/image_22112025_18_32_01_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_35_1727.jpg
/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_39_4229.jpg
/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_44_1628.jpg
/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_46_1707.jpg
/home/pi/Desktop/images/22112025/18/31/image_22112025_18_31_48_2615.jpg
/home/pi/Desktop/images/22112025/18/31/image_22112025_18_32_01_3659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717605","1395717613","1395717607","1395717604","1395717606","1395717609"],"photo_ids_order":["1395717604","1395717605","1395717606","1395717607","1395717609","1395717613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04e71a67f88080751c8726e0645b7788.jpg","text":"TemporaryFile(/tmp/multipartBody1230875497624522879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832843295,"filename":"image_22112025_18_31_39_4229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abc549828abcf7c33ad009b9ac503157.jpg","text":"TemporaryFile(/tmp/multipartBody1762438422245609365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832843295,"filename":"image_22112025_18_32_01_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9202888ca2bd40e6f14036fa71f511da.jpg","text":"TemporaryFile(/tmp/multipartBody7499991439600361460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832843295,"filename":"image_22112025_18_31_46_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/162ecb53fc2b233966352fee84dc3b1b.jpg","text":"TemporaryFile(/tmp/multipartBody558384012204069718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832843295,"filename":"image_22112025_18_31_35_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7942f625a00b4f61ff2f36f29f967e9.jpg","text":"TemporaryFile(/tmp/multipartBody3182796880228794143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832843295,"filename":"image_22112025_18_31_44_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a688f0a4fb3997babc9e0d521ac20412.jpg","text":"TemporaryFile(/tmp/multipartBody1598304118738138469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832843295,"filename":"image_22112025_18_31_48_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717606","file1":"1395717605","file0":"1395717604","file4":"1395717609","file5":"1395717613","file3":"1395717607"},"map_files_photo_id_array":[{"photo_id":"1395717613","filename":"file5"},{"photo_id":"1395717606","filename":"file2"},{"photo_id":"1395717609","filename":"file4"},{"photo_id":"1395717605","filename":"file1"},{"photo_id":"1395717604","filename":"file0"},{"photo_id":"1395717607","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717605":["hashtag1","hashtag2"]},{"1395717613":["hashtag1","hashtag2"]},{"1395717607":["hashtag1","hashtag2"]},{"1395717604":["hashtag1","hashtag2"]},{"1395717606":["hashtag1","hashtag2"]},{"1395717609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717605, 1395717613, 1395717607, 1395717604, 1395717606, 1395717609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.280816316604614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:33:41.944842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_04_2685.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_22_12010.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_24_1561.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_27_1653.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_28_1543.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_32_1821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_04_2685.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_22_12010.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_24_1561.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_27_1653.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_28_1543.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_32_1821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717626","1395717625","1395717628","1395717622","1395717624","1395717627"],"photo_ids_order":["1395717622","1395717624","1395717625","1395717626","1395717627","1395717628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/473278be0bb3629eb5561a1bbf52ab27.jpg","text":"TemporaryFile(/tmp/multipartBody8040608608942527261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832882677,"filename":"image_22112025_18_32_27_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d04765f95bc94d28077d21be460ac33.jpg","text":"TemporaryFile(/tmp/multipartBody1081800632272975797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832882677,"filename":"image_22112025_18_32_24_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7859dbfec9946eb9d95ae80259ad6acc.jpg","text":"TemporaryFile(/tmp/multipartBody8721372875982237626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832882677,"filename":"image_22112025_18_32_32_1821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/639ec087a08ef2644105599bada1eddf.jpg","text":"TemporaryFile(/tmp/multipartBody8364637795473246620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832882677,"filename":"image_22112025_18_32_04_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cb65f9c206f4dc52a0fa5afcf0db8e8.jpg","text":"TemporaryFile(/tmp/multipartBody220844975170942123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832882677,"filename":"image_22112025_18_32_22_12010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d88cd9f7de30d1e02ff4f064b2c686d.jpg","text":"TemporaryFile(/tmp/multipartBody5370079499681793228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832882677,"filename":"image_22112025_18_32_28_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717625","file1":"1395717624","file0":"1395717622","file4":"1395717627","file5":"1395717628","file3":"1395717626"},"map_files_photo_id_array":[{"photo_id":"1395717628","filename":"file5"},{"photo_id":"1395717625","filename":"file2"},{"photo_id":"1395717627","filename":"file4"},{"photo_id":"1395717624","filename":"file1"},{"photo_id":"1395717622","filename":"file0"},{"photo_id":"1395717626","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717626":["hashtag1","hashtag2"]},{"1395717625":["hashtag1","hashtag2"]},{"1395717628":["hashtag1","hashtag2"]},{"1395717622":["hashtag1","hashtag2"]},{"1395717624":["hashtag1","hashtag2"]},{"1395717627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717626, 1395717625, 1395717628, 1395717622, 1395717624, 1395717627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64093518257141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:34:22.240250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_40_3638.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_45_2663.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_54_8902.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_56_1687.jpg', '/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_59_1684.jpg', '/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_10_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_40_3638.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_45_2663.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_54_8902.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_56_1687.jpg
/home/pi/Desktop/images/22112025/18/32/image_22112025_18_32_59_1684.jpg
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_10_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717641","1395717638","1395717634","1395717645","1395717630","1395717647"],"photo_ids_order":["1395717630","1395717634","1395717638","1395717641","1395717645","1395717647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eeae9df0091a5d9ff9b8fddaf4bfc692.jpg","text":"TemporaryFile(/tmp/multipartBody2442641910797769279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832923005,"filename":"image_22112025_18_32_56_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbfb6cf569207516692b9e6147b3b40a.jpg","text":"TemporaryFile(/tmp/multipartBody6807773210569134289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832923005,"filename":"image_22112025_18_32_54_8902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/753095817539480524323124658a7f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3809750991285003374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832923005,"filename":"image_22112025_18_32_45_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f153a894e80cff1808e57fe17ff8307d.jpg","text":"TemporaryFile(/tmp/multipartBody1055590990680642102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832923005,"filename":"image_22112025_18_32_59_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1870a2a08c6ccd1fbcebac6e8460d19b.jpg","text":"TemporaryFile(/tmp/multipartBody1191732389268619270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832923005,"filename":"image_22112025_18_32_40_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2c75f7e3cea187ca5f6b08a5e85a584.jpg","text":"TemporaryFile(/tmp/multipartBody8013142360620655947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832923005,"filename":"image_22112025_18_33_10_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717638","file1":"1395717634","file0":"1395717630","file4":"1395717645","file5":"1395717647","file3":"1395717641"},"map_files_photo_id_array":[{"photo_id":"1395717647","filename":"file5"},{"photo_id":"1395717638","filename":"file2"},{"photo_id":"1395717645","filename":"file4"},{"photo_id":"1395717634","filename":"file1"},{"photo_id":"1395717630","filename":"file0"},{"photo_id":"1395717641","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717641":["hashtag1","hashtag2"]},{"1395717638":["hashtag1","hashtag2"]},{"1395717634":["hashtag1","hashtag2"]},{"1395717645":["hashtag1","hashtag2"]},{"1395717630":["hashtag1","hashtag2"]},{"1395717647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717641, 1395717638, 1395717634, 1395717645, 1395717630, 1395717647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6729576587677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:35:03.241035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_12_2670.jpg', '/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_15_2813.jpg', '/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_21_3320.jpg', '/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_36_2741.jpg', '/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_40_3548.jpg', '/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_52_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_12_2670.jpg
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_15_2813.jpg
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_21_3320.jpg
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_36_2741.jpg
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_40_3548.jpg
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_52_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717667","1395717669","1395717671","1395717665","1395717674","1395717668"],"photo_ids_order":["1395717665","1395717667","1395717668","1395717669","1395717671","1395717674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09082807838e0c5bf91d2d821ee011ad.jpg","text":"TemporaryFile(/tmp/multipartBody5474420069673524187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832964076,"filename":"image_22112025_18_33_15_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a03cae56d41564c9704131f245e5ce7f.jpg","text":"TemporaryFile(/tmp/multipartBody7774897917722716633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832964076,"filename":"image_22112025_18_33_36_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/664c1dfb81113bd6c14a98930df92e3c.jpg","text":"TemporaryFile(/tmp/multipartBody7211076241271057547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832964076,"filename":"image_22112025_18_33_40_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2fedd48e0b856579828ae10fe761e1a.jpg","text":"TemporaryFile(/tmp/multipartBody6695779463323658886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832964076,"filename":"image_22112025_18_33_12_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7a37d0458d1198047585b31e9a85ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5188247446708891064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832964076,"filename":"image_22112025_18_33_52_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/586a68655c20ad9e216fde0857284a9d.jpg","text":"TemporaryFile(/tmp/multipartBody3448744140838372881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763832964076,"filename":"image_22112025_18_33_21_3320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717668","file1":"1395717667","file0":"1395717665","file4":"1395717671","file5":"1395717674","file3":"1395717669"},"map_files_photo_id_array":[{"photo_id":"1395717674","filename":"file5"},{"photo_id":"1395717668","filename":"file2"},{"photo_id":"1395717671","filename":"file4"},{"photo_id":"1395717667","filename":"file1"},{"photo_id":"1395717665","filename":"file0"},{"photo_id":"1395717669","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717667":["hashtag1","hashtag2"]},{"1395717669":["hashtag1","hashtag2"]},{"1395717671":["hashtag1","hashtag2"]},{"1395717665":["hashtag1","hashtag2"]},{"1395717674":["hashtag1","hashtag2"]},{"1395717668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717667, 1395717669, 1395717671, 1395717665, 1395717674, 1395717668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78249001502991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:35:42.553613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_54_2648.jpg', '/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_59_4629.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_06_2752.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_12_2706.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_21_2593.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_30_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_54_2648.jpg
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_59_4629.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_06_2752.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_12_2706.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_21_2593.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_30_2595.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.657459020614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:36:03.146305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_54_2648.jpg', '/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_59_4629.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_06_2752.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_12_2706.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_21_2593.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_30_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_54_2648.jpg
/home/pi/Desktop/images/22112025/18/33/image_22112025_18_33_59_4629.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_06_2752.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_12_2706.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_21_2593.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_30_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717691","1395717690","1395717693","1395717695","1395717698","1395717692"],"photo_ids_order":["1395717690","1395717691","1395717692","1395717693","1395717695","1395717698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8feff2dc0c92e7c4d48b339b380a6f67.jpg","text":"TemporaryFile(/tmp/multipartBody8476472611280698709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833023990,"filename":"image_22112025_18_33_59_4629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b07b44dd1f507ddf7fa6516bf4d72406.jpg","text":"TemporaryFile(/tmp/multipartBody7430973163317376842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833023990,"filename":"image_22112025_18_33_54_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e895025b469d8eb8c9d2843f9403ac9.jpg","text":"TemporaryFile(/tmp/multipartBody4764782944220425842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833023990,"filename":"image_22112025_18_34_12_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a97ba434287b2a7489da062fa3739b59.jpg","text":"TemporaryFile(/tmp/multipartBody8258079426925499613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833023990,"filename":"image_22112025_18_34_21_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da00b74b78ddbc59b332b6c56bab2c19.jpg","text":"TemporaryFile(/tmp/multipartBody9047695727398546528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833023990,"filename":"image_22112025_18_34_30_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e163c1c5c3684d949e9965785a04bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4955512479461764090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833023990,"filename":"image_22112025_18_34_06_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717692","file1":"1395717691","file0":"1395717690","file4":"1395717695","file5":"1395717698","file3":"1395717693"},"map_files_photo_id_array":[{"photo_id":"1395717698","filename":"file5"},{"photo_id":"1395717692","filename":"file2"},{"photo_id":"1395717695","filename":"file4"},{"photo_id":"1395717691","filename":"file1"},{"photo_id":"1395717690","filename":"file0"},{"photo_id":"1395717693","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717691":["hashtag1","hashtag2"]},{"1395717690":["hashtag1","hashtag2"]},{"1395717693":["hashtag1","hashtag2"]},{"1395717695":["hashtag1","hashtag2"]},{"1395717698":["hashtag1","hashtag2"]},{"1395717692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717691, 1395717690, 1395717693, 1395717695, 1395717698, 1395717692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14013648033142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:36:42.688927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_33_2582.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_48_2765.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_04_3654.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_09_2682.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_13_3699.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_15_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_33_2582.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_48_2765.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_04_3654.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_09_2682.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_13_3699.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_15_2669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6591079235076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:37:02.574358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_33_2582.jpg', '/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_48_2765.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_04_3654.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_09_2682.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_13_3699.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_15_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_33_2582.jpg
/home/pi/Desktop/images/22112025/18/34/image_22112025_18_34_48_2765.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_04_3654.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_09_2682.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_13_3699.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_15_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717713","1395717716","1395717718","1395717721","1395717715","1395717714"],"photo_ids_order":["1395717713","1395717714","1395717715","1395717716","1395717718","1395717721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1940c75703c07520e0720a284ee00004.jpg","text":"TemporaryFile(/tmp/multipartBody7352003458350334244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833083480,"filename":"image_22112025_18_34_33_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/076dedd3621cc51768261e645f80b9bb.jpg","text":"TemporaryFile(/tmp/multipartBody3840973411881404930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833083480,"filename":"image_22112025_18_35_09_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7eb538555764ec808a390198eb5860c1.jpg","text":"TemporaryFile(/tmp/multipartBody6117056150007641364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833083480,"filename":"image_22112025_18_35_13_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60299c20fdb853402405fd1daa5ffd6a.jpg","text":"TemporaryFile(/tmp/multipartBody8445718326956259203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833083480,"filename":"image_22112025_18_35_15_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d5d3fe3f9652cd2a123e32c18439018.jpg","text":"TemporaryFile(/tmp/multipartBody8676213116553656631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833083480,"filename":"image_22112025_18_35_04_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3a8fa82268efd0ed8c6b3fe9b4c3907.jpg","text":"TemporaryFile(/tmp/multipartBody1071193481980842127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833083480,"filename":"image_22112025_18_34_48_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717715","file1":"1395717714","file0":"1395717713","file4":"1395717718","file5":"1395717721","file3":"1395717716"},"map_files_photo_id_array":[{"photo_id":"1395717721","filename":"file5"},{"photo_id":"1395717715","filename":"file2"},{"photo_id":"1395717718","filename":"file4"},{"photo_id":"1395717714","filename":"file1"},{"photo_id":"1395717713","filename":"file0"},{"photo_id":"1395717716","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717713":["hashtag1","hashtag2"]},{"1395717716":["hashtag1","hashtag2"]},{"1395717718":["hashtag1","hashtag2"]},{"1395717721":["hashtag1","hashtag2"]},{"1395717715":["hashtag1","hashtag2"]},{"1395717714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717713, 1395717716, 1395717718, 1395717721, 1395717715, 1395717714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23309087753296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:37:41.888008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_42_2574.jpg', '/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_52_3750.jpg', '/home/pi/Desktop/images/22112025/18/36/image_22112025_18_36_49_1570.jpg', '/home/pi/Desktop/images/22112025/18/36/image_22112025_18_37_00_2694.jpg', '/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_03_2741.jpg', '/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_21_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_42_2574.jpg
/home/pi/Desktop/images/22112025/18/35/image_22112025_18_35_52_3750.jpg
/home/pi/Desktop/images/22112025/18/36/image_22112025_18_36_49_1570.jpg
/home/pi/Desktop/images/22112025/18/36/image_22112025_18_37_00_2694.jpg
/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_03_2741.jpg
/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_21_2859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717734","1395717737","1395717736","1395717730","1395717735","1395717738"],"photo_ids_order":["1395717730","1395717734","1395717735","1395717736","1395717737","1395717738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ad31e3b4b3b6e69a0e8dd91797c0a23.jpg","text":"TemporaryFile(/tmp/multipartBody3671540934268568921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833122692,"filename":"image_22112025_18_35_52_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9db217d8c6d144865af26b05456a819d.jpg","text":"TemporaryFile(/tmp/multipartBody4944234420248436822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833122692,"filename":"image_22112025_18_37_03_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c0a34163ac3c37c8f46fe1c1b93eca0.jpg","text":"TemporaryFile(/tmp/multipartBody2882515780249174950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833122692,"filename":"image_22112025_18_37_00_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92be3c50da66aaf8fa9a9115bc5a4e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7688862579357294989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833122692,"filename":"image_22112025_18_35_42_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cec0c8e270f37021bcc7006a1d44184.jpg","text":"TemporaryFile(/tmp/multipartBody2568463057482955788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833122692,"filename":"image_22112025_18_36_49_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a1afbf2a120ee0b9f644f6b2e855bab.jpg","text":"TemporaryFile(/tmp/multipartBody2064946440488641087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833122692,"filename":"image_22112025_18_37_21_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717735","file1":"1395717734","file0":"1395717730","file4":"1395717737","file5":"1395717738","file3":"1395717736"},"map_files_photo_id_array":[{"photo_id":"1395717738","filename":"file5"},{"photo_id":"1395717735","filename":"file2"},{"photo_id":"1395717737","filename":"file4"},{"photo_id":"1395717734","filename":"file1"},{"photo_id":"1395717730","filename":"file0"},{"photo_id":"1395717736","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717734":["hashtag1","hashtag2"]},{"1395717737":["hashtag1","hashtag2"]},{"1395717736":["hashtag1","hashtag2"]},{"1395717730":["hashtag1","hashtag2"]},{"1395717735":["hashtag1","hashtag2"]},{"1395717738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717734, 1395717737, 1395717736, 1395717730, 1395717735, 1395717738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12113952636719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:38:22.068818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_24_2713.jpg', '/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_30_2752.jpg', '/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_37_3703.jpg', '/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_57_3620.jpg', '/home/pi/Desktop/images/22112025/18/38/image_22112025_18_38_06_3777.jpg', '/home/pi/Desktop/images/22112025/18/38/image_22112025_18_38_12_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_24_2713.jpg
/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_30_2752.jpg
/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_37_3703.jpg
/home/pi/Desktop/images/22112025/18/37/image_22112025_18_37_57_3620.jpg
/home/pi/Desktop/images/22112025/18/38/image_22112025_18_38_06_3777.jpg
/home/pi/Desktop/images/22112025/18/38/image_22112025_18_38_12_1699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717742","1395717751","1395717745","1395717748","1395717768","1395717761"],"photo_ids_order":["1395717742","1395717745","1395717748","1395717751","1395717761","1395717768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44a72ad134708dc6e090e1ce2f355770.jpg","text":"TemporaryFile(/tmp/multipartBody1535400113064635398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833162807,"filename":"image_22112025_18_37_24_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19b7e9245e8214fa2ab2b46ba8d0f770.jpg","text":"TemporaryFile(/tmp/multipartBody6616419791570330400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833162807,"filename":"image_22112025_18_37_57_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a50de35d09120b7cf0d977a4caf420fa.jpg","text":"TemporaryFile(/tmp/multipartBody2238165670446546631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833162807,"filename":"image_22112025_18_37_30_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d1a53742ba257a25258837063ab6a33.jpg","text":"TemporaryFile(/tmp/multipartBody6207742804715443069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833162807,"filename":"image_22112025_18_37_37_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e6935a9cdd37a56d7a756433c3875aa.jpg","text":"TemporaryFile(/tmp/multipartBody4648677611373869997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833162807,"filename":"image_22112025_18_38_12_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9859ac1c90008c3599b3b2196caf8634.jpg","text":"TemporaryFile(/tmp/multipartBody4541072011828111166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833162807,"filename":"image_22112025_18_38_06_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717748","file1":"1395717745","file0":"1395717742","file4":"1395717761","file5":"1395717768","file3":"1395717751"},"map_files_photo_id_array":[{"photo_id":"1395717768","filename":"file5"},{"photo_id":"1395717748","filename":"file2"},{"photo_id":"1395717761","filename":"file4"},{"photo_id":"1395717745","filename":"file1"},{"photo_id":"1395717742","filename":"file0"},{"photo_id":"1395717751","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717742":["hashtag1","hashtag2"]},{"1395717751":["hashtag1","hashtag2"]},{"1395717745":["hashtag1","hashtag2"]},{"1395717748":["hashtag1","hashtag2"]},{"1395717768":["hashtag1","hashtag2"]},{"1395717761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717742, 1395717751, 1395717745, 1395717748, 1395717768, 1395717761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.242918968200684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:39:03.306622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/38/image_22112025_18_38_48_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/38/image_22112025_18_38_48_2679.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717769"],"photo_id":"1395717769","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d82c352447ff35282e8f8eabea66c262.jpg","text":"TemporaryFile(/tmp/multipartBody8657621033445279763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833203980,"filename":"image_22112025_18_38_48_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395717769"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395717769"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.077452182769775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:39:22.296576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/38/image_22112025_18_38_57_2675.jpg', '/home/pi/Desktop/images/22112025/18/39/image_22112025_18_39_15_3747.jpg', '/home/pi/Desktop/images/22112025/18/39/image_22112025_18_39_18_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/38/image_22112025_18_38_57_2675.jpg
/home/pi/Desktop/images/22112025/18/39/image_22112025_18_39_15_3747.jpg
/home/pi/Desktop/images/22112025/18/39/image_22112025_18_39_18_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717775","1395717779","1395717773"],"photo_ids_order":["1395717773","1395717775","1395717779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba58f5427d069ed15b24ee35a8eff56e.jpg","text":"TemporaryFile(/tmp/multipartBody1435765851257900881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833222903,"filename":"image_22112025_18_39_15_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d8f20cb424f9bf8cf1518be007d32f5.jpg","text":"TemporaryFile(/tmp/multipartBody9056129596299294454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833222903,"filename":"image_22112025_18_39_18_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abefaeee0e97bc890e14e300bc1a94ce.jpg","text":"TemporaryFile(/tmp/multipartBody8580766974221445614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833222903,"filename":"image_22112025_18_38_57_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717779","file1":"1395717775","file0":"1395717773"},"map_files_photo_id_array":[{"photo_id":"1395717779","filename":"file2"},{"photo_id":"1395717775","filename":"file1"},{"photo_id":"1395717773","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717775":["hashtag1","hashtag2"]},{"1395717779":["hashtag1","hashtag2"]},{"1395717773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717775, 1395717779, 1395717773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.76248025894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:40:02.839488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_49_2629.jpg', '/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_51_2590.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_13_3800.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_18_2553.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_22_3544.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_25_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_49_2629.jpg
/home/pi/Desktop/images/20112025/19/09/image_20112025_19_09_51_2590.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_13_3800.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_18_2553.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_22_3544.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_25_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717787","1395717795","1395717786","1395717789","1395717788","1395717791"],"photo_ids_order":["1395717786","1395717787","1395717788","1395717789","1395717791","1395717795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04ec40284e03dee1ab84989384eca82d.jpg","text":"TemporaryFile(/tmp/multipartBody1897203690262000118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833265046,"filename":"image_20112025_19_09_51_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9feba45d0c5a3f83e9da94af7e1dc3f6.jpg","text":"TemporaryFile(/tmp/multipartBody2717223240127839021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833265046,"filename":"image_20112025_19_10_25_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90c1061b7bf0148424c1369582c31858.jpg","text":"TemporaryFile(/tmp/multipartBody1001353759592052961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833265046,"filename":"image_20112025_19_09_49_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e388c08a38e7020fa7c82308ec864aa.jpg","text":"TemporaryFile(/tmp/multipartBody4305623579498221775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833265046,"filename":"image_20112025_19_10_18_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/331bca42e1d9944ce0d1646c46647228.jpg","text":"TemporaryFile(/tmp/multipartBody7552844883700989752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833265046,"filename":"image_20112025_19_10_13_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/741b51ea0d9daced53419b1b111fd336.jpg","text":"TemporaryFile(/tmp/multipartBody5838777380907907722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833265046,"filename":"image_20112025_19_10_22_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717788","file1":"1395717787","file0":"1395717786","file4":"1395717791","file5":"1395717795","file3":"1395717789"},"map_files_photo_id_array":[{"photo_id":"1395717795","filename":"file5"},{"photo_id":"1395717788","filename":"file2"},{"photo_id":"1395717791","filename":"file4"},{"photo_id":"1395717787","filename":"file1"},{"photo_id":"1395717786","filename":"file0"},{"photo_id":"1395717789","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395717787":["hashtag1","hashtag2"]},{"1395717795":["hashtag1","hashtag2"]},{"1395717786":["hashtag1","hashtag2"]},{"1395717789":["hashtag1","hashtag2"]},{"1395717788":["hashtag1","hashtag2"]},{"1395717791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395717787, 1395717795, 1395717786, 1395717789, 1395717788, 1395717791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13155126571655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:40:42.563850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/39/image_22112025_18_39_48_2656.jpg', '/home/pi/Desktop/images/22112025/18/40/image_22112025_18_40_15_2823.jpg', '/home/pi/Desktop/images/22112025/18/40/image_22112025_18_40_18_2721.jpg', '/home/pi/Desktop/images/22112025/18/40/image_22112025_18_40_24_3726.jpg', '/home/pi/Desktop/images/22112025/18/40/image_22112025_18_40_57_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/39/image_22112025_18_39_48_2656.jpg
/home/pi/Desktop/images/22112025/18/40/image_22112025_18_40_15_2823.jpg
/home/pi/Desktop/images/22112025/18/40/image_22112025_18_40_18_2721.jpg
/home/pi/Desktop/images/22112025/18/40/image_22112025_18_40_24_3726.jpg
/home/pi/Desktop/images/22112025/18/40/image_22112025_18_40_57_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717806","1395717803","1395717805","1395717808","1395717807"],"photo_ids_order":["1395717803","1395717805","1395717806","1395717807","1395717808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/969744460093d0413602fa663b3bf492.jpg","text":"TemporaryFile(/tmp/multipartBody422666445731463221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833303262,"filename":"image_22112025_18_40_18_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f4d712a67af8bd90f7f181835c6c008.jpg","text":"TemporaryFile(/tmp/multipartBody96616215907726546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833303262,"filename":"image_22112025_18_39_48_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/160b8eeabc34a3d343b53f0eba87b281.jpg","text":"TemporaryFile(/tmp/multipartBody6960413685694389109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833303262,"filename":"image_22112025_18_40_15_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd761257f356331502ed6083a0a4b6f7.jpg","text":"TemporaryFile(/tmp/multipartBody933629782798096265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833303262,"filename":"image_22112025_18_40_57_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/540c4146851c738f2ceb8d43ea21f736.jpg","text":"TemporaryFile(/tmp/multipartBody7284631674028340650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833303262,"filename":"image_22112025_18_40_24_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717806","file1":"1395717805","file0":"1395717803","file4":"1395717808","file3":"1395717807"},"map_files_photo_id_array":[{"photo_id":"1395717806","filename":"file2"},{"photo_id":"1395717808","filename":"file4"},{"photo_id":"1395717805","filename":"file1"},{"photo_id":"1395717803","filename":"file0"},{"photo_id":"1395717807","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717806":["hashtag1","hashtag2"]},{"1395717803":["hashtag1","hashtag2"]},{"1395717805":["hashtag1","hashtag2"]},{"1395717808":["hashtag1","hashtag2"]},{"1395717807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717806, 1395717803, 1395717805, 1395717808, 1395717807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.426366806030273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:41:21.767379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/40/image_22112025_18_41_00_3659.jpg', '/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_08_2617.jpg', '/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_12_3795.jpg', '/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_17_2593.jpg', '/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_51_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/40/image_22112025_18_41_00_3659.jpg
/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_08_2617.jpg
/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_12_3795.jpg
/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_17_2593.jpg
/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_51_3619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717823","1395717814","1395717816","1395717819","1395717810"],"photo_ids_order":["1395717810","1395717814","1395717816","1395717819","1395717823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20ece2f018eaf548177ac631fb5a8237.jpg","text":"TemporaryFile(/tmp/multipartBody2563323322108335783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833342472,"filename":"image_22112025_18_41_51_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2beeb6a9d3699710e48f8d02e6128172.jpg","text":"TemporaryFile(/tmp/multipartBody9165226344253460390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833342472,"filename":"image_22112025_18_41_08_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edde4eeef11b7f9b265ba31c7175f3eb.jpg","text":"TemporaryFile(/tmp/multipartBody4974341189395748427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833342472,"filename":"image_22112025_18_41_12_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e69380ba28aef066d429330c138a092.jpg","text":"TemporaryFile(/tmp/multipartBody869780129043496705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833342472,"filename":"image_22112025_18_41_17_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0730315c967deedb9ec148502c641a2.jpg","text":"TemporaryFile(/tmp/multipartBody6537342294304167305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833342472,"filename":"image_22112025_18_41_00_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717816","file1":"1395717814","file0":"1395717810","file4":"1395717823","file3":"1395717819"},"map_files_photo_id_array":[{"photo_id":"1395717816","filename":"file2"},{"photo_id":"1395717823","filename":"file4"},{"photo_id":"1395717814","filename":"file1"},{"photo_id":"1395717810","filename":"file0"},{"photo_id":"1395717819","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717823":["hashtag1","hashtag2"]},{"1395717814":["hashtag1","hashtag2"]},{"1395717816":["hashtag1","hashtag2"]},{"1395717819":["hashtag1","hashtag2"]},{"1395717810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717823, 1395717814, 1395717816, 1395717819, 1395717810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.361618518829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:42:03.346842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:42:22.855471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_54_2742.jpg', '/home/pi/Desktop/images/22112025/18/42/image_22112025_18_42_24_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/41/image_22112025_18_41_54_2742.jpg
/home/pi/Desktop/images/22112025/18/42/image_22112025_18_42_24_3537.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717835","1395717839"],"photo_ids_order":["1395717835","1395717839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b68057d880e21c90f60afb229ec9d74b.jpg","text":"TemporaryFile(/tmp/multipartBody7871015109886318771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833403387,"filename":"image_22112025_18_41_54_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ece473067c10b26ec30800e86e537f31.jpg","text":"TemporaryFile(/tmp/multipartBody5856270273733078667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833403387,"filename":"image_22112025_18_42_24_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395717839","file0":"1395717835"},"map_files_photo_id_array":[{"photo_id":"1395717839","filename":"file1"},{"photo_id":"1395717835","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717835":["hashtag1","hashtag2"]},{"1395717839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717835, 1395717839)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 31.446468830108643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:43:04.791503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_31_2846.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_34_2546.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_36_2755.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_40_3716.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_43_2565.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_58_3766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_31_2846.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_34_2546.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_36_2755.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_40_3716.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_43_2565.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_58_3766.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 15.893558740615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:43:24.286312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_22_2612.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_25_2637.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_29_3646.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_31_2639.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_35_3617.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_38_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_22_2612.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_25_2637.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_29_3646.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_31_2639.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_35_3617.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_38_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717871","1395717874","1395717859","1395717876","1395717867","1395717863"],"photo_ids_order":["1395717859","1395717863","1395717867","1395717871","1395717874","1395717876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e837363e84291ed51aa8350d05dc327c.jpg","text":"TemporaryFile(/tmp/multipartBody3537644350830431552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833466506,"filename":"image_30102025_18_03_31_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bffda5768526ae8e1c4c5435c61a631.jpg","text":"TemporaryFile(/tmp/multipartBody4582571406384551634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833466506,"filename":"image_30102025_18_03_35_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acbb183a02b8106a557bc827873a9e59.jpg","text":"TemporaryFile(/tmp/multipartBody9114251645572153044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833466506,"filename":"image_30102025_18_03_22_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ceffc80f8b378c877822384f9d1b9d50.jpg","text":"TemporaryFile(/tmp/multipartBody6005313475612039970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833466506,"filename":"image_30102025_18_03_38_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cde074f4bffef4586935bf15e3b3411.jpg","text":"TemporaryFile(/tmp/multipartBody6088628892983218827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833466506,"filename":"image_30102025_18_03_29_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e826fbee56dbff28cf004082febcbb11.jpg","text":"TemporaryFile(/tmp/multipartBody1030983435117944574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833466506,"filename":"image_30102025_18_03_25_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717867","file1":"1395717863","file0":"1395717859","file4":"1395717874","file5":"1395717876","file3":"1395717871"},"map_files_photo_id_array":[{"photo_id":"1395717876","filename":"file5"},{"photo_id":"1395717867","filename":"file2"},{"photo_id":"1395717874","filename":"file4"},{"photo_id":"1395717863","filename":"file1"},{"photo_id":"1395717859","filename":"file0"},{"photo_id":"1395717871","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395717871":["hashtag1","hashtag2"]},{"1395717874":["hashtag1","hashtag2"]},{"1395717859":["hashtag1","hashtag2"]},{"1395717876":["hashtag1","hashtag2"]},{"1395717867":["hashtag1","hashtag2"]},{"1395717863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395717871, 1395717874, 1395717859, 1395717876, 1395717867, 1395717863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78509473800659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:44:22.366507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/42/image_22112025_18_42_51_2800.jpg', '/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_04_1739.jpg', '/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_06_2089.jpg', '/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_09_2847.jpg', '/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_12_2656.jpg', '/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_21_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/42/image_22112025_18_42_51_2800.jpg
/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_04_1739.jpg
/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_06_2089.jpg
/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_09_2847.jpg
/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_12_2656.jpg
/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_21_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717892","1395717886","1395717889","1395717880","1395717882","1395717896"],"photo_ids_order":["1395717880","1395717882","1395717886","1395717889","1395717892","1395717896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdb4bf47c3a5af136cd6727d669f9cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2339677166246473782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833523084,"filename":"image_22112025_18_43_12_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12b04b2380268c4b34b42bf5ac776b8d.jpg","text":"TemporaryFile(/tmp/multipartBody7544259287849204577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833523084,"filename":"image_22112025_18_43_06_2089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b895ae194f868683f2b48a2f0a1b07f3.jpg","text":"TemporaryFile(/tmp/multipartBody8524848406717041686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833523084,"filename":"image_22112025_18_43_09_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4f21c1c40d3dc881ca41abd5f79911f.jpg","text":"TemporaryFile(/tmp/multipartBody1981560952264245211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833523084,"filename":"image_22112025_18_42_51_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/155702edc24c2debdad796e087528e27.jpg","text":"TemporaryFile(/tmp/multipartBody880132393056938654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833523084,"filename":"image_22112025_18_43_04_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00f45b5786870b8bff9647cb55afb49d.jpg","text":"TemporaryFile(/tmp/multipartBody4109174312325145238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833523084,"filename":"image_22112025_18_43_21_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717886","file1":"1395717882","file0":"1395717880","file4":"1395717892","file5":"1395717896","file3":"1395717889"},"map_files_photo_id_array":[{"photo_id":"1395717896","filename":"file5"},{"photo_id":"1395717886","filename":"file2"},{"photo_id":"1395717892","filename":"file4"},{"photo_id":"1395717882","filename":"file1"},{"photo_id":"1395717880","filename":"file0"},{"photo_id":"1395717889","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717892":["hashtag1","hashtag2"]},{"1395717886":["hashtag1","hashtag2"]},{"1395717889":["hashtag1","hashtag2"]},{"1395717880":["hashtag1","hashtag2"]},{"1395717882":["hashtag1","hashtag2"]},{"1395717896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717892, 1395717886, 1395717889, 1395717880, 1395717882, 1395717896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.577672719955444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:45:03.245000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_24_2824.jpg', '/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_40_10227.jpg', '/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_48_1639.jpg', '/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_29_1642.jpg', '/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_33_4325.jpg', '/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_35_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_24_2824.jpg
/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_40_10227.jpg
/home/pi/Desktop/images/22112025/18/43/image_22112025_18_43_48_1639.jpg
/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_29_1642.jpg
/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_33_4325.jpg
/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_35_1621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717911","1395717905","1395717908","1395717902","1395717904","1395717906"],"photo_ids_order":["1395717902","1395717904","1395717905","1395717906","1395717908","1395717911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4dbdd0821e8308379502ed9fa6260fa.jpg","text":"TemporaryFile(/tmp/multipartBody7091048559322671923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833564099,"filename":"image_22112025_18_44_35_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0dc8bd190126d35192bf986419a0b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7862007148049612802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833564099,"filename":"image_22112025_18_43_48_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a11d6342aa4c2a052d73207c2a332988.jpg","text":"TemporaryFile(/tmp/multipartBody5340812192907323471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833564099,"filename":"image_22112025_18_44_33_4325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9199899132081014941cd558812f9eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2427821313608431858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833564099,"filename":"image_22112025_18_43_24_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/494d3e18ec1ec09acec9165772c89125.jpg","text":"TemporaryFile(/tmp/multipartBody8607578235648946114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833564099,"filename":"image_22112025_18_43_40_10227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/193a5e179b510139bf26b3fc650ba9f4.jpg","text":"TemporaryFile(/tmp/multipartBody237337765011880665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833564099,"filename":"image_22112025_18_44_29_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717905","file1":"1395717904","file0":"1395717902","file4":"1395717908","file5":"1395717911","file3":"1395717906"},"map_files_photo_id_array":[{"photo_id":"1395717911","filename":"file5"},{"photo_id":"1395717905","filename":"file2"},{"photo_id":"1395717908","filename":"file4"},{"photo_id":"1395717904","filename":"file1"},{"photo_id":"1395717902","filename":"file0"},{"photo_id":"1395717906","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717911":["hashtag1","hashtag2"]},{"1395717905":["hashtag1","hashtag2"]},{"1395717908":["hashtag1","hashtag2"]},{"1395717902":["hashtag1","hashtag2"]},{"1395717904":["hashtag1","hashtag2"]},{"1395717906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717911, 1395717905, 1395717908, 1395717902, 1395717904, 1395717906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39418268203735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:45:42.555480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_37_1642.jpg', '/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_47_6869.jpg', '/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_49_1714.jpg', '/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_03_2678.jpg', '/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_05_2683.jpg', '/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_23_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_37_1642.jpg
/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_47_6869.jpg
/home/pi/Desktop/images/22112025/18/44/image_22112025_18_44_49_1714.jpg
/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_03_2678.jpg
/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_05_2683.jpg
/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_23_2820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717926","1395717920","1395717925","1395717928","1395717924","1395717923"],"photo_ids_order":["1395717920","1395717923","1395717924","1395717925","1395717926","1395717928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb4bcce8acc72d73e6e8ac6f647bab5f.jpg","text":"TemporaryFile(/tmp/multipartBody1326994465889677406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833603347,"filename":"image_22112025_18_45_05_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14ee4268fc4fb8461b45e0b4e7e9f48f.jpg","text":"TemporaryFile(/tmp/multipartBody1763214360171777466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833603347,"filename":"image_22112025_18_44_37_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebe95585886645e7b9f2f5e2dd9e86c4.jpg","text":"TemporaryFile(/tmp/multipartBody2116519664103063146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833603347,"filename":"image_22112025_18_45_03_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a77610166c0087bccc0d649cbbcdcee8.jpg","text":"TemporaryFile(/tmp/multipartBody5507024198002670075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833603347,"filename":"image_22112025_18_45_23_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e461608cbf28bdc909a01a696bdf311.jpg","text":"TemporaryFile(/tmp/multipartBody4901284922441435160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833603347,"filename":"image_22112025_18_44_49_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bd755c5ca4bae05f618b1ca7fd83a2f.jpg","text":"TemporaryFile(/tmp/multipartBody2231314680774152604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833603347,"filename":"image_22112025_18_44_47_6869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717924","file1":"1395717923","file0":"1395717920","file4":"1395717926","file5":"1395717928","file3":"1395717925"},"map_files_photo_id_array":[{"photo_id":"1395717928","filename":"file5"},{"photo_id":"1395717924","filename":"file2"},{"photo_id":"1395717926","filename":"file4"},{"photo_id":"1395717923","filename":"file1"},{"photo_id":"1395717920","filename":"file0"},{"photo_id":"1395717925","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717926":["hashtag1","hashtag2"]},{"1395717920":["hashtag1","hashtag2"]},{"1395717925":["hashtag1","hashtag2"]},{"1395717928":["hashtag1","hashtag2"]},{"1395717924":["hashtag1","hashtag2"]},{"1395717923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717926, 1395717920, 1395717925, 1395717928, 1395717924, 1395717923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47609734535217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:46:22.796462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_27_3560.jpg', '/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_30_2733.jpg', '/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_35_2811.jpg', '/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_44_2624.jpg', '/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_50_2790.jpg', '/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_05_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_27_3560.jpg
/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_30_2733.jpg
/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_35_2811.jpg
/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_44_2624.jpg
/home/pi/Desktop/images/22112025/18/45/image_22112025_18_45_50_2790.jpg
/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_05_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717945","1395717939","1395717948","1395717933","1395717942","1395717936"],"photo_ids_order":["1395717933","1395717936","1395717939","1395717942","1395717945","1395717948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e48c72c0faeec07d20120c9c53217d49.jpg","text":"TemporaryFile(/tmp/multipartBody8177675504079686957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833643577,"filename":"image_22112025_18_45_50_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a52502cf362fbce5660f6cda9ba8d285.jpg","text":"TemporaryFile(/tmp/multipartBody7159698785554325730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833643577,"filename":"image_22112025_18_45_35_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00849ccab0addd2058d6481b751532e4.jpg","text":"TemporaryFile(/tmp/multipartBody7697989261252445383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833643577,"filename":"image_22112025_18_46_05_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7961ecb46280e5c09cfb8720b939ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody8287237362855142864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833643577,"filename":"image_22112025_18_45_27_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e61857aa8cdb7e97f11ee25e6da67bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6488478688162456256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833643577,"filename":"image_22112025_18_45_44_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d5d700775b35ac4bcccbb5d8dc35d90.jpg","text":"TemporaryFile(/tmp/multipartBody6475399844357133417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833643577,"filename":"image_22112025_18_45_30_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717939","file1":"1395717936","file0":"1395717933","file4":"1395717945","file5":"1395717948","file3":"1395717942"},"map_files_photo_id_array":[{"photo_id":"1395717948","filename":"file5"},{"photo_id":"1395717939","filename":"file2"},{"photo_id":"1395717945","filename":"file4"},{"photo_id":"1395717936","filename":"file1"},{"photo_id":"1395717933","filename":"file0"},{"photo_id":"1395717942","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717945":["hashtag1","hashtag2"]},{"1395717939":["hashtag1","hashtag2"]},{"1395717948":["hashtag1","hashtag2"]},{"1395717933":["hashtag1","hashtag2"]},{"1395717942":["hashtag1","hashtag2"]},{"1395717936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717945, 1395717939, 1395717948, 1395717933, 1395717942, 1395717936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56902003288269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:47:02.675953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_09_3579.jpg', '/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_17_2709.jpg', '/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_26_2688.jpg', '/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_32_2904.jpg', '/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_50_2786.jpg', '/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_53_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_09_3579.jpg
/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_17_2709.jpg
/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_26_2688.jpg
/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_32_2904.jpg
/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_50_2786.jpg
/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_53_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717952","1395717949","1395717957","1395717951","1395717954","1395717950"],"photo_ids_order":["1395717949","1395717950","1395717951","1395717952","1395717954","1395717957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58d65b42e938fd16757c2635ec6d6be6.jpg","text":"TemporaryFile(/tmp/multipartBody9023592667695525277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833683571,"filename":"image_22112025_18_46_32_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4517722a1f18a96040a8f36dc6e65345.jpg","text":"TemporaryFile(/tmp/multipartBody1523088749980357529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833683571,"filename":"image_22112025_18_46_09_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f4331afb38e29fd0121313839972f2f.jpg","text":"TemporaryFile(/tmp/multipartBody717447689128318134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833683571,"filename":"image_22112025_18_46_53_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c9cd9a845dd5beeb3a801236039245a.jpg","text":"TemporaryFile(/tmp/multipartBody3402174907059197371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833683571,"filename":"image_22112025_18_46_26_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b5181626690017fd0b33a23635dba3e.jpg","text":"TemporaryFile(/tmp/multipartBody1672886117331426408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833683571,"filename":"image_22112025_18_46_50_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6bdb065cd87afc0699f9ab937e91b94b.jpg","text":"TemporaryFile(/tmp/multipartBody8131173817494605575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833683571,"filename":"image_22112025_18_46_17_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717951","file1":"1395717950","file0":"1395717949","file4":"1395717954","file5":"1395717957","file3":"1395717952"},"map_files_photo_id_array":[{"photo_id":"1395717957","filename":"file5"},{"photo_id":"1395717951","filename":"file2"},{"photo_id":"1395717954","filename":"file4"},{"photo_id":"1395717950","filename":"file1"},{"photo_id":"1395717949","filename":"file0"},{"photo_id":"1395717952","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717952":["hashtag1","hashtag2"]},{"1395717949":["hashtag1","hashtag2"]},{"1395717957":["hashtag1","hashtag2"]},{"1395717951":["hashtag1","hashtag2"]},{"1395717954":["hashtag1","hashtag2"]},{"1395717950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717952, 1395717949, 1395717957, 1395717951, 1395717954, 1395717950)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395717951 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_26_2688.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 66.67980647087097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:48:26.977160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_59_2775.jpg', '/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_09_3558.jpg', '/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_32_2557.jpg', '/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_36_3587.jpg', '/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_38_2647.jpg', '/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_41_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/46/image_22112025_18_46_59_2775.jpg
/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_09_3558.jpg
/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_32_2557.jpg
/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_36_3587.jpg
/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_38_2647.jpg
/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_41_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395717991","1395717985","1395717982","1395717992","1395717989","1395717980"],"photo_ids_order":["1395717980","1395717982","1395717985","1395717989","1395717991","1395717992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/641b4c8dc32d903451207cdf5557ea25.jpg","text":"TemporaryFile(/tmp/multipartBody7923784777578983546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833767754,"filename":"image_22112025_18_47_38_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af77416f4722c6910b879eb4e93bb846.jpg","text":"TemporaryFile(/tmp/multipartBody2643793110331259509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833767754,"filename":"image_22112025_18_47_32_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fb71f3038531ebb1b8ce60b0b90f94b.jpg","text":"TemporaryFile(/tmp/multipartBody2698595588071479805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833767754,"filename":"image_22112025_18_47_09_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6f58f49d2157c6a605331a2ee9dc5e8.jpg","text":"TemporaryFile(/tmp/multipartBody4467832816642572139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833767754,"filename":"image_22112025_18_47_41_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54eafee097a2ca224f1dfb71374a4584.jpg","text":"TemporaryFile(/tmp/multipartBody8654630798094517173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833767754,"filename":"image_22112025_18_47_36_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/119eb9ba1e844cf8c47ccb6f909b593a.jpg","text":"TemporaryFile(/tmp/multipartBody1092792010977848789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833767754,"filename":"image_22112025_18_46_59_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395717985","file1":"1395717982","file0":"1395717980","file4":"1395717991","file5":"1395717992","file3":"1395717989"},"map_files_photo_id_array":[{"photo_id":"1395717992","filename":"file5"},{"photo_id":"1395717985","filename":"file2"},{"photo_id":"1395717991","filename":"file4"},{"photo_id":"1395717982","filename":"file1"},{"photo_id":"1395717980","filename":"file0"},{"photo_id":"1395717989","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395717991":["hashtag1","hashtag2"]},{"1395717985":["hashtag1","hashtag2"]},{"1395717982":["hashtag1","hashtag2"]},{"1395717992":["hashtag1","hashtag2"]},{"1395717989":["hashtag1","hashtag2"]},{"1395717980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395717991, 1395717985, 1395717982, 1395717992, 1395717989, 1395717980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16967225074768 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:49:23.740555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_47_2710.jpg', '/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_51_3536.jpg', '/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_56_2697.jpg', '/home/pi/Desktop/images/22112025/18/48/image_22112025_18_48_20_3590.jpg', '/home/pi/Desktop/images/22112025/18/48/image_22112025_18_48_35_11487.jpg', '/home/pi/Desktop/images/22112025/18/48/image_22112025_18_48_51_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_47_2710.jpg
/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_51_3536.jpg
/home/pi/Desktop/images/22112025/18/47/image_22112025_18_47_56_2697.jpg
/home/pi/Desktop/images/22112025/18/48/image_22112025_18_48_20_3590.jpg
/home/pi/Desktop/images/22112025/18/48/image_22112025_18_48_35_11487.jpg
/home/pi/Desktop/images/22112025/18/48/image_22112025_18_48_51_1657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718009","1395717996","1395717999","1395718002","1395718011","1395718005"],"photo_ids_order":["1395717996","1395717999","1395718002","1395718005","1395718009","1395718011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2dcbb3c118d16b4655390bb554dc5848.jpg","text":"TemporaryFile(/tmp/multipartBody8618154622645563027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833824430,"filename":"image_22112025_18_48_35_11487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/063b8a40a9400210e4932dbf2b294b34.jpg","text":"TemporaryFile(/tmp/multipartBody1971617852125566428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833824430,"filename":"image_22112025_18_47_47_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4120f85d759d1eee277f184b68855e76.jpg","text":"TemporaryFile(/tmp/multipartBody6582887690162241568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833824430,"filename":"image_22112025_18_47_51_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18b6ab7376f16b65d512737e552c356d.jpg","text":"TemporaryFile(/tmp/multipartBody7048791216514519162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833824430,"filename":"image_22112025_18_47_56_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06bf18554834db7258346b3c960e0971.jpg","text":"TemporaryFile(/tmp/multipartBody5283966701715929750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833824430,"filename":"image_22112025_18_48_51_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f9db11473bd4196c1f41a01c29f119e.jpg","text":"TemporaryFile(/tmp/multipartBody3926439993833975974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833824430,"filename":"image_22112025_18_48_20_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718002","file1":"1395717999","file0":"1395717996","file4":"1395718009","file5":"1395718011","file3":"1395718005"},"map_files_photo_id_array":[{"photo_id":"1395718011","filename":"file5"},{"photo_id":"1395718002","filename":"file2"},{"photo_id":"1395718009","filename":"file4"},{"photo_id":"1395717999","filename":"file1"},{"photo_id":"1395717996","filename":"file0"},{"photo_id":"1395718005","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718009":["hashtag1","hashtag2"]},{"1395717996":["hashtag1","hashtag2"]},{"1395717999":["hashtag1","hashtag2"]},{"1395718002":["hashtag1","hashtag2"]},{"1395718011":["hashtag1","hashtag2"]},{"1395718005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718009, 1395717996, 1395717999, 1395718002, 1395718011, 1395718005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17735719680786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:50:02.310710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/48/image_22112025_18_48_52_1686.jpg', '/home/pi/Desktop/images/22112025/18/48/image_22112025_18_49_00_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/48/image_22112025_18_48_52_1686.jpg
/home/pi/Desktop/images/22112025/18/48/image_22112025_18_49_00_1614.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718012","1395718013"],"photo_ids_order":["1395718012","1395718013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bd5340aae95a9f6555df19e8e708c5a.jpg","text":"TemporaryFile(/tmp/multipartBody5097976803058666304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833862920,"filename":"image_22112025_18_48_52_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7eb929a88ce3749245a5906b4f4cd44.jpg","text":"TemporaryFile(/tmp/multipartBody246145104134113394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833862920,"filename":"image_22112025_18_49_00_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395718013","file0":"1395718012"},"map_files_photo_id_array":[{"photo_id":"1395718013","filename":"file1"},{"photo_id":"1395718012","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718012":["hashtag1","hashtag2"]},{"1395718013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718012, 1395718013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.902581453323364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:50:21.889062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/49/image_22112025_18_49_09_1641.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_13_1680.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_17_1604.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_19_1967.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_27_1756.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_29_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/49/image_22112025_18_49_09_1641.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_13_1680.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_17_1604.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_19_1967.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_27_1756.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_29_1638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6152260303497314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:50:41.826309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/49/image_22112025_18_49_09_1641.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_13_1680.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_17_1604.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_19_1967.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_27_1756.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_29_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/49/image_22112025_18_49_09_1641.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_13_1680.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_17_1604.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_19_1967.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_27_1756.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_29_1638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718039","1395718038","1395718041","1395718040","1395718037","1395718034"],"photo_ids_order":["1395718034","1395718037","1395718038","1395718039","1395718040","1395718041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e9762377c92e03a475c2436cf5c0846.jpg","text":"TemporaryFile(/tmp/multipartBody4156477128478823405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833902555,"filename":"image_22112025_18_50_19_1967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a155778195b0ff13e7e38b76eac4e352.jpg","text":"TemporaryFile(/tmp/multipartBody173999370608081234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833902555,"filename":"image_22112025_18_50_17_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31f320a3a74a68b6620c2e87bb942d54.jpg","text":"TemporaryFile(/tmp/multipartBody8123669595095373125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833902555,"filename":"image_22112025_18_50_29_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f72ed14e3f21d8b316f4f4355cde3415.jpg","text":"TemporaryFile(/tmp/multipartBody3563097517258554394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833902555,"filename":"image_22112025_18_50_27_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c20ee94b44601e4fec85f216c36a72e6.jpg","text":"TemporaryFile(/tmp/multipartBody900646396963693992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833902555,"filename":"image_22112025_18_50_13_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cafb519375194d77576ec73e7d149866.jpg","text":"TemporaryFile(/tmp/multipartBody2305560512471408091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833902555,"filename":"image_22112025_18_49_09_1641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718038","file1":"1395718037","file0":"1395718034","file4":"1395718040","file5":"1395718041","file3":"1395718039"},"map_files_photo_id_array":[{"photo_id":"1395718041","filename":"file5"},{"photo_id":"1395718038","filename":"file2"},{"photo_id":"1395718040","filename":"file4"},{"photo_id":"1395718037","filename":"file1"},{"photo_id":"1395718034","filename":"file0"},{"photo_id":"1395718039","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718039":["hashtag1","hashtag2"]},{"1395718038":["hashtag1","hashtag2"]},{"1395718041":["hashtag1","hashtag2"]},{"1395718040":["hashtag1","hashtag2"]},{"1395718037":["hashtag1","hashtag2"]},{"1395718034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718039, 1395718038, 1395718041, 1395718040, 1395718037, 1395718034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59270429611206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:51:22.103922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_31_1639.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_32_1580.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_36_1733.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_41_1838.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_44_3677.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_47_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_31_1639.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_32_1580.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_36_1733.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_41_1838.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_44_3677.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_47_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718054","1395718044","1395718049","1395718058","1395718052","1395718046"],"photo_ids_order":["1395718044","1395718046","1395718049","1395718052","1395718054","1395718058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6220739a3509d6d831db8d3d36a69316.jpg","text":"TemporaryFile(/tmp/multipartBody2021820972649849117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833942890,"filename":"image_22112025_18_50_44_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61fdfd35358f968251421e0557279423.jpg","text":"TemporaryFile(/tmp/multipartBody5816005231169039204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833942890,"filename":"image_22112025_18_50_31_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78a52e0184c17c3dc3eed21810cf38a0.jpg","text":"TemporaryFile(/tmp/multipartBody429208400167322502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833942890,"filename":"image_22112025_18_50_36_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8a7c5414366141a23480e2b02ce3893.jpg","text":"TemporaryFile(/tmp/multipartBody2241011036921449651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833942890,"filename":"image_22112025_18_50_47_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5cd14318c61aead0e70ceb655fff0e1b.jpg","text":"TemporaryFile(/tmp/multipartBody3541492395957397588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833942890,"filename":"image_22112025_18_50_41_1838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e210d144820c8de80888d6549d554246.jpg","text":"TemporaryFile(/tmp/multipartBody3290028501867277647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833942890,"filename":"image_22112025_18_50_32_1580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718049","file1":"1395718046","file0":"1395718044","file4":"1395718054","file5":"1395718058","file3":"1395718052"},"map_files_photo_id_array":[{"photo_id":"1395718058","filename":"file5"},{"photo_id":"1395718049","filename":"file2"},{"photo_id":"1395718054","filename":"file4"},{"photo_id":"1395718046","filename":"file1"},{"photo_id":"1395718044","filename":"file0"},{"photo_id":"1395718052","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718054":["hashtag1","hashtag2"]},{"1395718044":["hashtag1","hashtag2"]},{"1395718049":["hashtag1","hashtag2"]},{"1395718058":["hashtag1","hashtag2"]},{"1395718052":["hashtag1","hashtag2"]},{"1395718046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718054, 1395718044, 1395718049, 1395718058, 1395718052, 1395718046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35678696632385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:52:02.845640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_49_2619.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_52_2885.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_56_3634.jpg', '/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_59_2636.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_05_3649.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_08_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_49_2619.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_52_2885.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_56_3634.jpg
/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_59_2636.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_05_3649.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_08_2520.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718069","1395718074","1395718071","1395718065","1395718068","1395718067"],"photo_ids_order":["1395718065","1395718067","1395718068","1395718069","1395718071","1395718074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a89966436e24b8d887762bf1f8cf9f13.jpg","text":"TemporaryFile(/tmp/multipartBody3754377618078182960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833983651,"filename":"image_22112025_18_50_59_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a45109f7b6c52033eddcfd5a0eeae497.jpg","text":"TemporaryFile(/tmp/multipartBody7487594514030926263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833983651,"filename":"image_22112025_18_51_08_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14c09bd7d2105c8a627567dae2a0c85b.jpg","text":"TemporaryFile(/tmp/multipartBody283514889798128427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833983651,"filename":"image_22112025_18_51_05_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30fcb985240635ede63cab010f67049f.jpg","text":"TemporaryFile(/tmp/multipartBody7762864575880432246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833983651,"filename":"image_22112025_18_50_49_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e52a53fa63fc42d7c765fb8e7b10086.jpg","text":"TemporaryFile(/tmp/multipartBody967893895665893184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833983651,"filename":"image_22112025_18_50_56_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96131d0fc2de742d4b3bb6b0cafa4fe2.jpg","text":"TemporaryFile(/tmp/multipartBody2803981027267219878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763833983651,"filename":"image_22112025_18_50_52_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718068","file1":"1395718067","file0":"1395718065","file4":"1395718071","file5":"1395718074","file3":"1395718069"},"map_files_photo_id_array":[{"photo_id":"1395718074","filename":"file5"},{"photo_id":"1395718068","filename":"file2"},{"photo_id":"1395718071","filename":"file4"},{"photo_id":"1395718067","filename":"file1"},{"photo_id":"1395718065","filename":"file0"},{"photo_id":"1395718069","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718069":["hashtag1","hashtag2"]},{"1395718074":["hashtag1","hashtag2"]},{"1395718071":["hashtag1","hashtag2"]},{"1395718065":["hashtag1","hashtag2"]},{"1395718068":["hashtag1","hashtag2"]},{"1395718067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718069, 1395718074, 1395718071, 1395718065, 1395718068, 1395718067)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395718068 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/18/50/image_22112025_18_50_56_3634.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.43995428085327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:53:04.687826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_10_2872.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_14_3697.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_23_3725.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_28_2687.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_31_2822.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_35_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_10_2872.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_14_3697.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_23_3725.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_28_2687.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_31_2822.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_35_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718084","1395718083","1395718086","1395718091","1395718094","1395718097"],"photo_ids_order":["1395718083","1395718084","1395718086","1395718091","1395718094","1395718097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a3b203856b8cceb13f3a813807b5eea.jpg","text":"TemporaryFile(/tmp/multipartBody3499556910426689432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834053817,"filename":"image_22112025_18_51_14_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/752e60e6ff0222eb1621eb8e74d33861.jpg","text":"TemporaryFile(/tmp/multipartBody5395987923305380245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834053817,"filename":"image_22112025_18_51_10_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e2271af1c3d42567e54ac7f60cd37c0.jpg","text":"TemporaryFile(/tmp/multipartBody4933815756304348245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834053817,"filename":"image_22112025_18_51_23_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7c56dcd2323d325f0108f47757bd8df.jpg","text":"TemporaryFile(/tmp/multipartBody1472532352239376870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834053817,"filename":"image_22112025_18_51_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aef0a861508143d59d3ffafde718c735.jpg","text":"TemporaryFile(/tmp/multipartBody1653131029693932437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834053817,"filename":"image_22112025_18_51_31_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa2a4eebef82c6319379a430f33b02b8.jpg","text":"TemporaryFile(/tmp/multipartBody3867445441609201053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834053817,"filename":"image_22112025_18_51_35_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718086","file1":"1395718084","file0":"1395718083","file4":"1395718094","file5":"1395718097","file3":"1395718091"},"map_files_photo_id_array":[{"photo_id":"1395718097","filename":"file5"},{"photo_id":"1395718086","filename":"file2"},{"photo_id":"1395718094","filename":"file4"},{"photo_id":"1395718084","filename":"file1"},{"photo_id":"1395718083","filename":"file0"},{"photo_id":"1395718091","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718084":["hashtag1","hashtag2"]},{"1395718083":["hashtag1","hashtag2"]},{"1395718086":["hashtag1","hashtag2"]},{"1395718091":["hashtag1","hashtag2"]},{"1395718094":["hashtag1","hashtag2"]},{"1395718097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718084, 1395718083, 1395718086, 1395718091, 1395718094, 1395718097)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.33615255355835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:54:22.585835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_38_2688.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_40_2767.jpg', '/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_44_3564.jpg', '/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_07_2601.jpg', '/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_14_2821.jpg', '/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_17_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_38_2688.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_40_2767.jpg
/home/pi/Desktop/images/22112025/18/51/image_22112025_18_51_44_3564.jpg
/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_07_2601.jpg
/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_14_2821.jpg
/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_17_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718131","1395718113","1395718116","1395718136","1395718121","1395718124"],"photo_ids_order":["1395718113","1395718116","1395718121","1395718124","1395718131","1395718136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3bffd26258568ed33d0d2b3b66d21906.jpg","text":"TemporaryFile(/tmp/multipartBody4623053507104665418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834123273,"filename":"image_22112025_18_52_14_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbce77eea9272812e9a8f2bd8364f077.jpg","text":"TemporaryFile(/tmp/multipartBody4725111811559022561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834123273,"filename":"image_22112025_18_51_38_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4d3b733fea170e9eda64047260e23c1.jpg","text":"TemporaryFile(/tmp/multipartBody8231222328026541451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834123273,"filename":"image_22112025_18_51_40_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faaf2729a2d2599a70466968dc98eb50.jpg","text":"TemporaryFile(/tmp/multipartBody8971973754572719853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834123273,"filename":"image_22112025_18_52_17_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9263adcfae742629db4af501be73cce6.jpg","text":"TemporaryFile(/tmp/multipartBody4723083393394021251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834123273,"filename":"image_22112025_18_51_44_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72fb2fc88643ff3b11e2c58f306e6e0b.jpg","text":"TemporaryFile(/tmp/multipartBody5124415569416667410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834123273,"filename":"image_22112025_18_52_07_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718121","file1":"1395718116","file0":"1395718113","file4":"1395718131","file5":"1395718136","file3":"1395718124"},"map_files_photo_id_array":[{"photo_id":"1395718136","filename":"file5"},{"photo_id":"1395718121","filename":"file2"},{"photo_id":"1395718131","filename":"file4"},{"photo_id":"1395718116","filename":"file1"},{"photo_id":"1395718113","filename":"file0"},{"photo_id":"1395718124","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718131":["hashtag1","hashtag2"]},{"1395718113":["hashtag1","hashtag2"]},{"1395718116":["hashtag1","hashtag2"]},{"1395718136":["hashtag1","hashtag2"]},{"1395718121":["hashtag1","hashtag2"]},{"1395718124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718131, 1395718113, 1395718116, 1395718136, 1395718121, 1395718124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77973246574402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:55:02.871767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_23_3603.jpg', '/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_26_2606.jpg', '/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_41_3553.jpg', '/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_44_2808.jpg', '/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_49_2731.jpg', '/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_19_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_23_3603.jpg
/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_26_2606.jpg
/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_41_3553.jpg
/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_44_2808.jpg
/home/pi/Desktop/images/22112025/18/52/image_22112025_18_52_49_2731.jpg
/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_19_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718147","1395718141","1395718144","1395718140","1395718142","1395718139"],"photo_ids_order":["1395718139","1395718140","1395718141","1395718142","1395718144","1395718147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/086dc83d3a788dbf505316627df5ff58.jpg","text":"TemporaryFile(/tmp/multipartBody2933663658505442470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834163702,"filename":"image_22112025_18_53_19_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2aa1df26901879215fa7025b7b195d38.jpg","text":"TemporaryFile(/tmp/multipartBody6032039077838133589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834163702,"filename":"image_22112025_18_52_41_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b470d328a8b52988cbf7f832c3ea28ec.jpg","text":"TemporaryFile(/tmp/multipartBody979814425756515187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834163702,"filename":"image_22112025_18_52_49_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df95987b528cbaf4e922e84441bc1659.jpg","text":"TemporaryFile(/tmp/multipartBody493418315490290390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834163702,"filename":"image_22112025_18_52_26_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e23dcebb6eb7cb67f50e7fe04dbf6916.jpg","text":"TemporaryFile(/tmp/multipartBody9124009672080625098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834163702,"filename":"image_22112025_18_52_44_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/256e14b894efa481102f3b44918df159.jpg","text":"TemporaryFile(/tmp/multipartBody5542816718662644374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834163702,"filename":"image_22112025_18_52_23_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718141","file1":"1395718140","file0":"1395718139","file4":"1395718144","file5":"1395718147","file3":"1395718142"},"map_files_photo_id_array":[{"photo_id":"1395718147","filename":"file5"},{"photo_id":"1395718141","filename":"file2"},{"photo_id":"1395718144","filename":"file4"},{"photo_id":"1395718140","filename":"file1"},{"photo_id":"1395718139","filename":"file0"},{"photo_id":"1395718142","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718147":["hashtag1","hashtag2"]},{"1395718141":["hashtag1","hashtag2"]},{"1395718144":["hashtag1","hashtag2"]},{"1395718140":["hashtag1","hashtag2"]},{"1395718142":["hashtag1","hashtag2"]},{"1395718139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718147, 1395718141, 1395718144, 1395718140, 1395718142, 1395718139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88842272758484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:55:42.334574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_23_3460.jpg', '/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_26_2831.jpg', '/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_34_8621.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_06_1695.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_07_1677.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_18_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_23_3460.jpg
/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_26_2831.jpg
/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_34_8621.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_06_1695.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_07_1677.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_18_1603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.655811071395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:56:02.997869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_23_3460.jpg', '/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_26_2831.jpg', '/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_34_8621.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_06_1695.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_07_1677.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_18_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_23_3460.jpg
/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_26_2831.jpg
/home/pi/Desktop/images/22112025/18/53/image_22112025_18_53_34_8621.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_06_1695.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_07_1677.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_18_1603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718165","1395718179","1395718170","1395718164","1395718167","1395718166"],"photo_ids_order":["1395718164","1395718165","1395718166","1395718167","1395718170","1395718179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d3161ff3a165c528df776b783b37ff4.jpg","text":"TemporaryFile(/tmp/multipartBody5848100766481696919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834223773,"filename":"image_22112025_18_53_26_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f27376ff3842968fcf7dec0c3fabae03.jpg","text":"TemporaryFile(/tmp/multipartBody1140451570286190553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834223773,"filename":"image_22112025_18_54_18_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e12ffb66a2b93128fa6e6464eaabf893.jpg","text":"TemporaryFile(/tmp/multipartBody3184342682713230775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834223773,"filename":"image_22112025_18_54_07_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3958c8560de655d86e8b538cd4e210ba.jpg","text":"TemporaryFile(/tmp/multipartBody2718554142243750719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834223773,"filename":"image_22112025_18_53_23_3460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8cd4b26655b7e75131cf5d7bb52d402.jpg","text":"TemporaryFile(/tmp/multipartBody1998678499291587488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834223773,"filename":"image_22112025_18_54_06_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5649e7e2805fe34895996684b9a15bc9.jpg","text":"TemporaryFile(/tmp/multipartBody506822128623000321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834223773,"filename":"image_22112025_18_53_34_8621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718166","file1":"1395718165","file0":"1395718164","file4":"1395718170","file5":"1395718179","file3":"1395718167"},"map_files_photo_id_array":[{"photo_id":"1395718179","filename":"file5"},{"photo_id":"1395718166","filename":"file2"},{"photo_id":"1395718170","filename":"file4"},{"photo_id":"1395718165","filename":"file1"},{"photo_id":"1395718164","filename":"file0"},{"photo_id":"1395718167","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718165":["hashtag1","hashtag2"]},{"1395718179":["hashtag1","hashtag2"]},{"1395718170":["hashtag1","hashtag2"]},{"1395718164":["hashtag1","hashtag2"]},{"1395718167":["hashtag1","hashtag2"]},{"1395718166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718165, 1395718179, 1395718170, 1395718164, 1395718167, 1395718166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40899205207825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:56:42.533117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_20_1560.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_21_1508.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_25_1819.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_27_1660.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_28_1662.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_34_1774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_20_1560.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_21_1508.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_25_1819.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_27_1660.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_28_1662.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_34_1774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718225","1395718222","1395718219","1395718224","1395718221","1395718223"],"photo_ids_order":["1395718219","1395718221","1395718222","1395718223","1395718224","1395718225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57852bd94b575d4faf1319e5da17f013.jpg","text":"TemporaryFile(/tmp/multipartBody5719292658832100430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834263282,"filename":"image_22112025_18_54_34_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6745590fc3a2a6cc012e7a54827e5098.jpg","text":"TemporaryFile(/tmp/multipartBody4135312115168136268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834263282,"filename":"image_22112025_18_54_25_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d6fcde3ac105f8fa400c36de0457751.jpg","text":"TemporaryFile(/tmp/multipartBody1322957093355087111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834263282,"filename":"image_22112025_18_54_20_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca55f76ace3bbd936864ffb1b14b02d4.jpg","text":"TemporaryFile(/tmp/multipartBody7251920200704659658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834263282,"filename":"image_22112025_18_54_28_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ffc415575f23d24e3ed7c94f73247eb.jpg","text":"TemporaryFile(/tmp/multipartBody2014181272979332738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834263282,"filename":"image_22112025_18_54_21_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fabdf38b373855e8ce9bbc43c017b34b.jpg","text":"TemporaryFile(/tmp/multipartBody1035185926574290000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834263282,"filename":"image_22112025_18_54_27_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718222","file1":"1395718221","file0":"1395718219","file4":"1395718224","file5":"1395718225","file3":"1395718223"},"map_files_photo_id_array":[{"photo_id":"1395718225","filename":"file5"},{"photo_id":"1395718222","filename":"file2"},{"photo_id":"1395718224","filename":"file4"},{"photo_id":"1395718221","filename":"file1"},{"photo_id":"1395718219","filename":"file0"},{"photo_id":"1395718223","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718225":["hashtag1","hashtag2"]},{"1395718222":["hashtag1","hashtag2"]},{"1395718219":["hashtag1","hashtag2"]},{"1395718224":["hashtag1","hashtag2"]},{"1395718221":["hashtag1","hashtag2"]},{"1395718223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718225, 1395718222, 1395718219, 1395718224, 1395718221, 1395718223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7006733417511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 18:57:22.718653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_37_3278.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_39_1847.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_43_4208.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_50_1718.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_57_6886.jpg', '/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_58_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_37_3278.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_39_1847.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_43_4208.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_50_1718.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_57_6886.jpg
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_54_58_1633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718243","1395718240","1395718235","1395718229","1395718238","1395718232"],"photo_ids_order":["1395718229","1395718232","1395718235","1395718238","1395718240","1395718243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/776c307dbb4c68383199aa6cafaa8f6c.jpg","text":"TemporaryFile(/tmp/multipartBody9051190885970322865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834303506,"filename":"image_22112025_18_54_58_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/769b0bbcb807e1e23d258cda2920bae0.jpg","text":"TemporaryFile(/tmp/multipartBody8732208799619141335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834303506,"filename":"image_22112025_18_54_57_6886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ecb091725d221df794b252c5d992852.jpg","text":"TemporaryFile(/tmp/multipartBody9016744581932041101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834303506,"filename":"image_22112025_18_54_43_4208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/660f1d2e0b962bc99c79eb305053e14e.jpg","text":"TemporaryFile(/tmp/multipartBody4496228625579951326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834303506,"filename":"image_22112025_18_54_37_3278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4deb1c0e44f9c918a932662d373f877.jpg","text":"TemporaryFile(/tmp/multipartBody9106459284714297161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834303506,"filename":"image_22112025_18_54_50_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77cf0bf3395196989042c13f739d3e3c.jpg","text":"TemporaryFile(/tmp/multipartBody8247208480906727797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834303506,"filename":"image_22112025_18_54_39_1847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718235","file1":"1395718232","file0":"1395718229","file4":"1395718240","file5":"1395718243","file3":"1395718238"},"map_files_photo_id_array":[{"photo_id":"1395718243","filename":"file5"},{"photo_id":"1395718235","filename":"file2"},{"photo_id":"1395718240","filename":"file4"},{"photo_id":"1395718232","filename":"file1"},{"photo_id":"1395718229","filename":"file0"},{"photo_id":"1395718238","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718243":["hashtag1","hashtag2"]},{"1395718240":["hashtag1","hashtag2"]},{"1395718235":["hashtag1","hashtag2"]},{"1395718229":["hashtag1","hashtag2"]},{"1395718238":["hashtag1","hashtag2"]},{"1395718232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718243, 1395718240, 1395718235, 1395718229, 1395718238, 1395718232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.16995358467102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 18:59:03.415553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
 val : 1 : upload photos already in processing! 
2025-11-22 18:59:39.254549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:00:02.549806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/54/image_22112025_18_55_00_1656.jpg', '/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_03_1794.jpg', '/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_05_1761.jpg', '/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_08_2830.jpg', '/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_15_2940.jpg', '/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_16_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/54/image_22112025_18_55_00_1656.jpg
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_03_1794.jpg
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_05_1761.jpg
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_08_2830.jpg
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_15_2940.jpg
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_16_1555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718505","1395718462","1395718651","1395718575","1395718614","1395718539"],"photo_ids_order":["1395718462","1395718505","1395718539","1395718575","1395718614","1395718651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69f6085860b3a11db3094ae50ddf27d0.jpg","text":"TemporaryFile(/tmp/multipartBody3434347981295614773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834465968,"filename":"image_22112025_18_55_03_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fa48a7fe2e80d015e91ebc81180d579.jpg","text":"TemporaryFile(/tmp/multipartBody5217979588183885892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834465968,"filename":"image_22112025_18_55_00_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aacc7755b2e68660a3c6a068b3141c79.jpg","text":"TemporaryFile(/tmp/multipartBody3070700673570823130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834465968,"filename":"image_22112025_18_55_16_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a8ce3c9619deab382b531d3fc6e86b9.jpg","text":"TemporaryFile(/tmp/multipartBody3257343497734454785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834465968,"filename":"image_22112025_18_55_08_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c40a45dadaca980958b1fb36d4c14496.jpg","text":"TemporaryFile(/tmp/multipartBody6950165966512619563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834465968,"filename":"image_22112025_18_55_15_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6c1669190fe315d21138ce4c0a02aa0.jpg","text":"TemporaryFile(/tmp/multipartBody280627324618507149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834465968,"filename":"image_22112025_18_55_05_1761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718539","file1":"1395718505","file0":"1395718462","file4":"1395718614","file5":"1395718651","file3":"1395718575"},"map_files_photo_id_array":[{"photo_id":"1395718651","filename":"file5"},{"photo_id":"1395718539","filename":"file2"},{"photo_id":"1395718614","filename":"file4"},{"photo_id":"1395718505","filename":"file1"},{"photo_id":"1395718462","filename":"file0"},{"photo_id":"1395718575","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718505":["hashtag1","hashtag2"]},{"1395718462":["hashtag1","hashtag2"]},{"1395718651":["hashtag1","hashtag2"]},{"1395718575":["hashtag1","hashtag2"]},{"1395718614":["hashtag1","hashtag2"]},{"1395718539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718505, 1395718462, 1395718651, 1395718575, 1395718614, 1395718539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63550519943237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:00:42.105256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_20_1694.jpg', '/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_32_3698.jpg', '/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_34_2423.jpg', '/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_43_8894.jpg', '/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_22_2656.jpg', '/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_28_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_20_1694.jpg
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_32_3698.jpg
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_34_2423.jpg
/home/pi/Desktop/images/22112025/18/55/image_22112025_18_55_43_8894.jpg
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_22_2656.jpg
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_28_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718801","1395718797","1395718790","1395718793","1395718766","1395718795"],"photo_ids_order":["1395718766","1395718790","1395718793","1395718795","1395718797","1395718801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c00cce479b960c1bc8f3a54fa654cca3.jpg","text":"TemporaryFile(/tmp/multipartBody1356299169133247545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834502935,"filename":"image_22112025_18_56_28_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8425e7b099d492f542cbdcbff1a48375.jpg","text":"TemporaryFile(/tmp/multipartBody5613266557378040770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834502935,"filename":"image_22112025_18_56_22_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0724273b90b76ee747e28891fcfd86e8.jpg","text":"TemporaryFile(/tmp/multipartBody2083838831405524607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834502935,"filename":"image_22112025_18_55_32_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac6d9b6a1c5a47f66a17ef8800c528be.jpg","text":"TemporaryFile(/tmp/multipartBody6390913934645157105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834502935,"filename":"image_22112025_18_55_34_2423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ef725208886996e44f0be14608dce37.jpg","text":"TemporaryFile(/tmp/multipartBody8515596703811194234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834502935,"filename":"image_22112025_18_55_20_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb8ee7e338a77a25fd542d74c63f876a.jpg","text":"TemporaryFile(/tmp/multipartBody7625797670191929804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834502935,"filename":"image_22112025_18_55_43_8894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718793","file1":"1395718790","file0":"1395718766","file4":"1395718797","file5":"1395718801","file3":"1395718795"},"map_files_photo_id_array":[{"photo_id":"1395718801","filename":"file5"},{"photo_id":"1395718793","filename":"file2"},{"photo_id":"1395718797","filename":"file4"},{"photo_id":"1395718790","filename":"file1"},{"photo_id":"1395718766","filename":"file0"},{"photo_id":"1395718795","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718801":["hashtag1","hashtag2"]},{"1395718797":["hashtag1","hashtag2"]},{"1395718790":["hashtag1","hashtag2"]},{"1395718793":["hashtag1","hashtag2"]},{"1395718766":["hashtag1","hashtag2"]},{"1395718795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718801, 1395718797, 1395718790, 1395718793, 1395718766, 1395718795)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.665154695510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:01:42.243364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_34_2811.jpg', '/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_37_3614.jpg', '/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_43_2638.jpg', '/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_47_3965.jpg', '/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_49_2649.jpg', '/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_52_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_34_2811.jpg
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_37_3614.jpg
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_43_2638.jpg
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_47_3965.jpg
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_49_2649.jpg
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_52_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395718999","1395719035","1395718930","1395719049","1395718965","1395719048"],"photo_ids_order":["1395718930","1395718965","1395718999","1395719035","1395719048","1395719049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43b153bf8a5f4c104c316c8f21b193fc.jpg","text":"TemporaryFile(/tmp/multipartBody8355329452364166979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834563001,"filename":"image_22112025_18_56_43_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46faa1bd570d5fbadb2731e9aedd25bc.jpg","text":"TemporaryFile(/tmp/multipartBody3933351677190059212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834563001,"filename":"image_22112025_18_56_47_3965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cde678d6b09e99afbb483cf05e53014.jpg","text":"TemporaryFile(/tmp/multipartBody2382778000716855633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834563001,"filename":"image_22112025_18_56_34_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3992f40de1e649c7eda69f4d36ada476.jpg","text":"TemporaryFile(/tmp/multipartBody8656101433157377451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834563001,"filename":"image_22112025_18_56_52_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69caefe78b2178757747069faa32d981.jpg","text":"TemporaryFile(/tmp/multipartBody6305659033132056908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834563001,"filename":"image_22112025_18_56_37_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8663a310eda5f48cc5ce128c086a1bc5.jpg","text":"TemporaryFile(/tmp/multipartBody7474416416412595443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834563001,"filename":"image_22112025_18_56_49_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395718999","file1":"1395718965","file0":"1395718930","file4":"1395719048","file5":"1395719049","file3":"1395719035"},"map_files_photo_id_array":[{"photo_id":"1395719049","filename":"file5"},{"photo_id":"1395718999","filename":"file2"},{"photo_id":"1395719048","filename":"file4"},{"photo_id":"1395718965","filename":"file1"},{"photo_id":"1395718930","filename":"file0"},{"photo_id":"1395719035","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395718999":["hashtag1","hashtag2"]},{"1395719035":["hashtag1","hashtag2"]},{"1395718930":["hashtag1","hashtag2"]},{"1395719049":["hashtag1","hashtag2"]},{"1395718965":["hashtag1","hashtag2"]},{"1395719048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395718999, 1395719035, 1395718930, 1395719049, 1395718965, 1395719048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59541344642639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:02:25.373462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_59_3598.jpg', '/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_01_2688.jpg', '/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_07_2675.jpg', '/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_10_3688.jpg', '/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_16_2645.jpg', '/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_19_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/56/image_22112025_18_56_59_3598.jpg
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_01_2688.jpg
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_07_2675.jpg
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_10_3688.jpg
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_16_2645.jpg
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_19_3724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395719131","1395719202","1395719325","1395719165","1395719252","1395719290"],"photo_ids_order":["1395719131","1395719165","1395719202","1395719252","1395719290","1395719325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3ffbd62355767b40ba19ecb4a6b6738.jpg","text":"TemporaryFile(/tmp/multipartBody7455705970450478332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834606155,"filename":"image_22112025_18_56_59_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33f137697e4bafe0e83df6430e04e563.jpg","text":"TemporaryFile(/tmp/multipartBody2182711029546421096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834606155,"filename":"image_22112025_18_57_07_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/786ae78d2f93298169ab3647f6e01e2f.jpg","text":"TemporaryFile(/tmp/multipartBody532649323265959817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834606155,"filename":"image_22112025_18_57_19_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4b6aa1ffd16f70e90826ef94a3d6298.jpg","text":"TemporaryFile(/tmp/multipartBody3178299161209234403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834606155,"filename":"image_22112025_18_57_01_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/063db189143e93c9cbc20251f5b91067.jpg","text":"TemporaryFile(/tmp/multipartBody3950240073995061458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834606155,"filename":"image_22112025_18_57_10_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c2f1f2e7dc500f57e5d7486e5fab1ea.jpg","text":"TemporaryFile(/tmp/multipartBody7056890779263922126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834606155,"filename":"image_22112025_18_57_16_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395719202","file1":"1395719165","file0":"1395719131","file4":"1395719290","file5":"1395719325","file3":"1395719252"},"map_files_photo_id_array":[{"photo_id":"1395719325","filename":"file5"},{"photo_id":"1395719202","filename":"file2"},{"photo_id":"1395719290","filename":"file4"},{"photo_id":"1395719165","filename":"file1"},{"photo_id":"1395719131","filename":"file0"},{"photo_id":"1395719252","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395719131":["hashtag1","hashtag2"]},{"1395719202":["hashtag1","hashtag2"]},{"1395719325":["hashtag1","hashtag2"]},{"1395719165":["hashtag1","hashtag2"]},{"1395719252":["hashtag1","hashtag2"]},{"1395719290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395719131, 1395719202, 1395719325, 1395719165, 1395719252, 1395719290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.999489068984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:03:22.493967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_22_2736.jpg', '/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_25_2559.jpg', '/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_28_3642.jpg', '/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_53_3625.jpg', '/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_01_2650.jpg', '/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_04_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_22_2736.jpg
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_25_2559.jpg
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_28_3642.jpg
/home/pi/Desktop/images/22112025/18/57/image_22112025_18_57_53_3625.jpg
/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_01_2650.jpg
/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_04_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395719655","1395719658","1395719631","1395719594","1395719662","1395719665"],"photo_ids_order":["1395719594","1395719631","1395719655","1395719658","1395719662","1395719665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60e8f932c2cc1e36bfe3d13892e9ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody470390543178376252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834663230,"filename":"image_22112025_18_57_28_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad109377370c6cfa47863b6c2fafa414.jpg","text":"TemporaryFile(/tmp/multipartBody3734643280291853506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834663230,"filename":"image_22112025_18_57_53_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/560ce62446da831361067afe56cd04d5.jpg","text":"TemporaryFile(/tmp/multipartBody4506010912068905661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834663230,"filename":"image_22112025_18_57_25_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a763f931f13b17c87dc2b0d6b50f6c81.jpg","text":"TemporaryFile(/tmp/multipartBody4343236472175014632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834663230,"filename":"image_22112025_18_57_22_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eda0111c64c57e19575a8d25618c7e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5702036024159222494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834663230,"filename":"image_22112025_18_58_01_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8b0714417672b5ed78282b16649cd20.jpg","text":"TemporaryFile(/tmp/multipartBody7798212133736046481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834663230,"filename":"image_22112025_18_58_04_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395719655","file1":"1395719631","file0":"1395719594","file4":"1395719662","file5":"1395719665","file3":"1395719658"},"map_files_photo_id_array":[{"photo_id":"1395719665","filename":"file5"},{"photo_id":"1395719655","filename":"file2"},{"photo_id":"1395719662","filename":"file4"},{"photo_id":"1395719631","filename":"file1"},{"photo_id":"1395719594","filename":"file0"},{"photo_id":"1395719658","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395719655":["hashtag1","hashtag2"]},{"1395719658":["hashtag1","hashtag2"]},{"1395719631":["hashtag1","hashtag2"]},{"1395719594":["hashtag1","hashtag2"]},{"1395719662":["hashtag1","hashtag2"]},{"1395719665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395719655, 1395719658, 1395719631, 1395719594, 1395719662, 1395719665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51712894439697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:04:03.434183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_07_2703.jpg', '/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_14_4038.jpg', '/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_25_3546.jpg', '/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_28_3035.jpg', '/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_38_1745.jpg', '/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_49_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_07_2703.jpg
/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_14_4038.jpg
/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_25_3546.jpg
/home/pi/Desktop/images/22112025/18/58/image_22112025_18_58_28_3035.jpg
/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_38_1745.jpg
/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_49_1719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395719854","1395719740","1395719778","1395719834","1395719813","1395719702"],"photo_ids_order":["1395719702","1395719740","1395719778","1395719813","1395719834","1395719854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f31449ea8358ec843871ca0a67db6a5c.jpg","text":"TemporaryFile(/tmp/multipartBody3084838659610698710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834704258,"filename":"image_22112025_18_59_49_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c819372961009ce5d5a9c3e49b0551c.jpg","text":"TemporaryFile(/tmp/multipartBody5246653474831199622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834704258,"filename":"image_22112025_18_58_14_4038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e7bfd5d3532f22a92c4f4a10b330b617.jpg","text":"TemporaryFile(/tmp/multipartBody5786919724399487555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834704258,"filename":"image_22112025_18_58_25_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b766b811a6609f9ad92e35a0a2143b7.jpg","text":"TemporaryFile(/tmp/multipartBody6017099422940161746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834704258,"filename":"image_22112025_18_59_38_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/387efff5a49fb16827fc6f372d6dd154.jpg","text":"TemporaryFile(/tmp/multipartBody2197720437825424203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834704258,"filename":"image_22112025_18_58_28_3035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e01e33a0cce80d93ec11b5d5c4fec48.jpg","text":"TemporaryFile(/tmp/multipartBody7557807767435564675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834704258,"filename":"image_22112025_18_58_07_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395719778","file1":"1395719740","file0":"1395719702","file4":"1395719834","file5":"1395719854","file3":"1395719813"},"map_files_photo_id_array":[{"photo_id":"1395719854","filename":"file5"},{"photo_id":"1395719778","filename":"file2"},{"photo_id":"1395719834","filename":"file4"},{"photo_id":"1395719740","filename":"file1"},{"photo_id":"1395719702","filename":"file0"},{"photo_id":"1395719813","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395719854":["hashtag1","hashtag2"]},{"1395719740":["hashtag1","hashtag2"]},{"1395719778":["hashtag1","hashtag2"]},{"1395719834":["hashtag1","hashtag2"]},{"1395719813":["hashtag1","hashtag2"]},{"1395719702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395719854, 1395719740, 1395719778, 1395719834, 1395719813, 1395719702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.437946796417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:04:42.744488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_54_1700.jpg', '/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_56_1713.jpg', '/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_57_1576.jpg', '/home/pi/Desktop/images/22112025/19/00/image_22112025_19_00_53_1620.jpg', '/home/pi/Desktop/images/22112025/19/01/image_22112025_19_01_02_1847.jpg', '/home/pi/Desktop/images/22112025/19/01/image_22112025_19_01_04_1844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_54_1700.jpg
/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_56_1713.jpg
/home/pi/Desktop/images/22112025/18/59/image_22112025_18_59_57_1576.jpg
/home/pi/Desktop/images/22112025/19/00/image_22112025_19_00_53_1620.jpg
/home/pi/Desktop/images/22112025/19/01/image_22112025_19_01_02_1847.jpg
/home/pi/Desktop/images/22112025/19/01/image_22112025_19_01_04_1844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395719898","1395719902","1395719897","1395719900","1395719899","1395719896"],"photo_ids_order":["1395719896","1395719897","1395719898","1395719899","1395719900","1395719902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd40eb755229fbbfde77e202b3435009.jpg","text":"TemporaryFile(/tmp/multipartBody7744864399047703516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834743487,"filename":"image_22112025_18_59_57_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adb35647a01c45bf3c892e4c8419afce.jpg","text":"TemporaryFile(/tmp/multipartBody4956054787192721059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834743487,"filename":"image_22112025_19_01_04_1844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70255de5a1824a13e400308686321b97.jpg","text":"TemporaryFile(/tmp/multipartBody3819234801239298441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834743487,"filename":"image_22112025_18_59_56_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f71aacaf4a58879abc552dbbbf73c3cc.jpg","text":"TemporaryFile(/tmp/multipartBody693740133583418625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834743487,"filename":"image_22112025_19_01_02_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/926b1ee36e5d75a311aa633c675f202c.jpg","text":"TemporaryFile(/tmp/multipartBody7576750085167054726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834743487,"filename":"image_22112025_19_00_53_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f330131948c9e34ee5571229169306d.jpg","text":"TemporaryFile(/tmp/multipartBody2499570594555188590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834743487,"filename":"image_22112025_18_59_54_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395719898","file1":"1395719897","file0":"1395719896","file4":"1395719900","file5":"1395719902","file3":"1395719899"},"map_files_photo_id_array":[{"photo_id":"1395719902","filename":"file5"},{"photo_id":"1395719898","filename":"file2"},{"photo_id":"1395719900","filename":"file4"},{"photo_id":"1395719897","filename":"file1"},{"photo_id":"1395719896","filename":"file0"},{"photo_id":"1395719899","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395719898":["hashtag1","hashtag2"]},{"1395719902":["hashtag1","hashtag2"]},{"1395719897":["hashtag1","hashtag2"]},{"1395719900":["hashtag1","hashtag2"]},{"1395719899":["hashtag1","hashtag2"]},{"1395719896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395719898, 1395719902, 1395719897, 1395719900, 1395719899, 1395719896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66204833984375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:05:22.014757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/01/image_22112025_19_01_06_1831.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_10_3165.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_23_9818.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_25_1726.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_27_1598.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_30_1595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/01/image_22112025_19_01_06_1831.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_10_3165.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_23_9818.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_25_1726.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_27_1598.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_30_1595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395719991","1395720180","1395720063","1395720027","1395720143","1395720101"],"photo_ids_order":["1395719991","1395720027","1395720063","1395720101","1395720143","1395720180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/795d677501b3a694b49da8b72dade17d.jpg","text":"TemporaryFile(/tmp/multipartBody1014592554689793113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834782788,"filename":"image_22112025_19_01_06_1831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a33026b79272366d92319d7acba4505f.jpg","text":"TemporaryFile(/tmp/multipartBody7048137609806655355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834782788,"filename":"image_22112025_19_02_30_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ec8b2fee2d06eabf88efaaeee533f31.jpg","text":"TemporaryFile(/tmp/multipartBody4185986173448087562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834782788,"filename":"image_22112025_19_02_23_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c0ef1b43bfb964cc1f37ad23f7a0b3e.jpg","text":"TemporaryFile(/tmp/multipartBody8880015741891114050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834782788,"filename":"image_22112025_19_02_10_3165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9d8348a9e960789d7f8901bb987d381.jpg","text":"TemporaryFile(/tmp/multipartBody1209129500677949924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834782788,"filename":"image_22112025_19_02_27_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bed94a3b2f2ccd687ebe3338976b9128.jpg","text":"TemporaryFile(/tmp/multipartBody2135313368336613143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834782788,"filename":"image_22112025_19_02_25_1726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720063","file1":"1395720027","file0":"1395719991","file4":"1395720143","file5":"1395720180","file3":"1395720101"},"map_files_photo_id_array":[{"photo_id":"1395720180","filename":"file5"},{"photo_id":"1395720063","filename":"file2"},{"photo_id":"1395720143","filename":"file4"},{"photo_id":"1395720027","filename":"file1"},{"photo_id":"1395719991","filename":"file0"},{"photo_id":"1395720101","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395719991":["hashtag1","hashtag2"]},{"1395720180":["hashtag1","hashtag2"]},{"1395720063":["hashtag1","hashtag2"]},{"1395720027":["hashtag1","hashtag2"]},{"1395720143":["hashtag1","hashtag2"]},{"1395720101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395719991, 1395720180, 1395720063, 1395720027, 1395720143, 1395720101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17781686782837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:06:02.646002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_32_1636.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_37_2652.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_43_2670.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_49_2710.jpg', '/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_52_3693.jpg', '/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_22_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_32_1636.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_37_2652.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_43_2670.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_49_2710.jpg
/home/pi/Desktop/images/22112025/19/02/image_22112025_19_02_52_3693.jpg
/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_22_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720361","1395720387","1395720317","1395720326","1395720314","1395720308"],"photo_ids_order":["1395720308","1395720314","1395720317","1395720326","1395720361","1395720387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd99cb1baa73beea9032fb27cb8a3b43.jpg","text":"TemporaryFile(/tmp/multipartBody7562944956377205146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834823443,"filename":"image_22112025_19_02_52_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aaf49314f5f26b21cbadec03284fc0b5.jpg","text":"TemporaryFile(/tmp/multipartBody4076953459293915721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834823443,"filename":"image_22112025_19_03_22_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/750f3d057585dc4ceefb322ef6aa83f5.jpg","text":"TemporaryFile(/tmp/multipartBody4909314068982367160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834823443,"filename":"image_22112025_19_02_43_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/317c8fae8cac2c46ba1cc00197bee476.jpg","text":"TemporaryFile(/tmp/multipartBody5096453404174509692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834823443,"filename":"image_22112025_19_02_49_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81b2d3772f8283e3c4bc6b9e6b0cca13.jpg","text":"TemporaryFile(/tmp/multipartBody3090748558463657339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834823443,"filename":"image_22112025_19_02_37_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a81ad0f4fff3a8674ace5652fb5a6e89.jpg","text":"TemporaryFile(/tmp/multipartBody3022774225338310341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834823443,"filename":"image_22112025_19_02_32_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720317","file1":"1395720314","file0":"1395720308","file4":"1395720361","file5":"1395720387","file3":"1395720326"},"map_files_photo_id_array":[{"photo_id":"1395720387","filename":"file5"},{"photo_id":"1395720317","filename":"file2"},{"photo_id":"1395720361","filename":"file4"},{"photo_id":"1395720314","filename":"file1"},{"photo_id":"1395720308","filename":"file0"},{"photo_id":"1395720326","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720361":["hashtag1","hashtag2"]},{"1395720387":["hashtag1","hashtag2"]},{"1395720317":["hashtag1","hashtag2"]},{"1395720326":["hashtag1","hashtag2"]},{"1395720314":["hashtag1","hashtag2"]},{"1395720308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720361, 1395720387, 1395720317, 1395720326, 1395720314, 1395720308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.324188470840454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:06:42.175543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_25_2624.jpg', '/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_34_2567.jpg', '/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_37_3695.jpg', '/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_49_3749.jpg', '/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_55_2705.jpg', '/home/pi/Desktop/images/22112025/19/03/image_22112025_19_04_01_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_25_2624.jpg
/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_34_2567.jpg
/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_37_3695.jpg
/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_49_3749.jpg
/home/pi/Desktop/images/22112025/19/03/image_22112025_19_03_55_2705.jpg
/home/pi/Desktop/images/22112025/19/03/image_22112025_19_04_01_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720469","1395720468","1395720471","1395720470","1395720467","1395720446"],"photo_ids_order":["1395720446","1395720467","1395720468","1395720469","1395720470","1395720471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3bd2357d6939604b6677fd217e4a68de.jpg","text":"TemporaryFile(/tmp/multipartBody6734428254068474692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834862930,"filename":"image_22112025_19_03_49_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eeeda2e3974e8e3ce4350d7775eed48e.jpg","text":"TemporaryFile(/tmp/multipartBody1658435287157375451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834862930,"filename":"image_22112025_19_03_37_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/697aed6df94b4fb9aa2471cc0d80396b.jpg","text":"TemporaryFile(/tmp/multipartBody1170077106422319079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834862930,"filename":"image_22112025_19_04_01_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad8acb7a1880f9619e9150f11164856e.jpg","text":"TemporaryFile(/tmp/multipartBody2261678548088722039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834862930,"filename":"image_22112025_19_03_55_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ca6b4c7abd6b7b3392226882d0c4853.jpg","text":"TemporaryFile(/tmp/multipartBody845998272392744336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834862930,"filename":"image_22112025_19_03_34_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f43ee29c5d4e220717dbba925aa230ca.jpg","text":"TemporaryFile(/tmp/multipartBody2146732008089678518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834862930,"filename":"image_22112025_19_03_25_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720468","file1":"1395720467","file0":"1395720446","file4":"1395720470","file5":"1395720471","file3":"1395720469"},"map_files_photo_id_array":[{"photo_id":"1395720471","filename":"file5"},{"photo_id":"1395720468","filename":"file2"},{"photo_id":"1395720470","filename":"file4"},{"photo_id":"1395720467","filename":"file1"},{"photo_id":"1395720446","filename":"file0"},{"photo_id":"1395720469","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720469":["hashtag1","hashtag2"]},{"1395720468":["hashtag1","hashtag2"]},{"1395720471":["hashtag1","hashtag2"]},{"1395720470":["hashtag1","hashtag2"]},{"1395720467":["hashtag1","hashtag2"]},{"1395720446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720469, 1395720468, 1395720471, 1395720470, 1395720467, 1395720446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.936360120773315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:07:22.593255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_07_3658.jpg', '/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_10_2703.jpg', '/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_18_7531.jpg', '/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_19_1679.jpg', '/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_28_2835.jpg', '/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_31_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_07_3658.jpg
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_10_2703.jpg
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_18_7531.jpg
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_19_1679.jpg
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_28_2835.jpg
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_31_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720484","1395720478","1395720475","1395720486","1395720489","1395720481"],"photo_ids_order":["1395720475","1395720478","1395720481","1395720484","1395720486","1395720489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91ee028938194dd1714c9b6052aeed18.jpg","text":"TemporaryFile(/tmp/multipartBody1041364522350220348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834903374,"filename":"image_22112025_19_04_19_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d41fbf904b9b6098838eeab49bc799fc.jpg","text":"TemporaryFile(/tmp/multipartBody2227356067557470257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834903374,"filename":"image_22112025_19_04_10_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bb9a6c2eecbf6e4b89bcc60abcf986c0.jpg","text":"TemporaryFile(/tmp/multipartBody9111146637699853491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834903374,"filename":"image_22112025_19_04_07_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee2b316f223fd24b3cdb0bff23ac1553.jpg","text":"TemporaryFile(/tmp/multipartBody3367870097460059357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834903374,"filename":"image_22112025_19_04_28_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c92d4edc8cdbc6b1166d05052b37975d.jpg","text":"TemporaryFile(/tmp/multipartBody5584469517350846214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834903374,"filename":"image_22112025_19_04_31_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0391255102297c00d68569af5da649b3.jpg","text":"TemporaryFile(/tmp/multipartBody4288449169343225805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834903374,"filename":"image_22112025_19_04_18_7531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720481","file1":"1395720478","file0":"1395720475","file4":"1395720486","file5":"1395720489","file3":"1395720484"},"map_files_photo_id_array":[{"photo_id":"1395720489","filename":"file5"},{"photo_id":"1395720481","filename":"file2"},{"photo_id":"1395720486","filename":"file4"},{"photo_id":"1395720478","filename":"file1"},{"photo_id":"1395720475","filename":"file0"},{"photo_id":"1395720484","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720484":["hashtag1","hashtag2"]},{"1395720478":["hashtag1","hashtag2"]},{"1395720475":["hashtag1","hashtag2"]},{"1395720486":["hashtag1","hashtag2"]},{"1395720489":["hashtag1","hashtag2"]},{"1395720481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720484, 1395720478, 1395720475, 1395720486, 1395720489, 1395720481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40721416473389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:08:03.198684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_34_3546.jpg', '/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_37_2814.jpg', '/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_40_2551.jpg', '/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_43_3675.jpg', '/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_04_3615.jpg', '/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_10_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_34_3546.jpg
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_37_2814.jpg
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_40_2551.jpg
/home/pi/Desktop/images/22112025/19/04/image_22112025_19_04_43_3675.jpg
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_04_3615.jpg
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_10_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720490","1395720493","1395720492","1395720495","1395720498","1395720491"],"photo_ids_order":["1395720490","1395720491","1395720492","1395720493","1395720495","1395720498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e13c80a446204aab3b328ea9ccffc59.jpg","text":"TemporaryFile(/tmp/multipartBody2170715288864925442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834944005,"filename":"image_22112025_19_04_34_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67a07f4ad11725a608c6d631463cb7f3.jpg","text":"TemporaryFile(/tmp/multipartBody1016830413429100861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834944005,"filename":"image_22112025_19_04_43_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/992171643d489e1186394e193c5cc1bf.jpg","text":"TemporaryFile(/tmp/multipartBody461795980392352492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834944005,"filename":"image_22112025_19_04_40_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3e9fa55d99b30133f5f3fd27f325c6a.jpg","text":"TemporaryFile(/tmp/multipartBody142983674823500163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834944005,"filename":"image_22112025_19_05_04_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5698268929fc84d97c48aa7d3bf4d4f1.jpg","text":"TemporaryFile(/tmp/multipartBody7142563852194981541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834944005,"filename":"image_22112025_19_05_10_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51031786374f03098104866d06f80a9a.jpg","text":"TemporaryFile(/tmp/multipartBody4083030047775603485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834944005,"filename":"image_22112025_19_04_37_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720492","file1":"1395720491","file0":"1395720490","file4":"1395720495","file5":"1395720498","file3":"1395720493"},"map_files_photo_id_array":[{"photo_id":"1395720498","filename":"file5"},{"photo_id":"1395720492","filename":"file2"},{"photo_id":"1395720495","filename":"file4"},{"photo_id":"1395720491","filename":"file1"},{"photo_id":"1395720490","filename":"file0"},{"photo_id":"1395720493","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720490":["hashtag1","hashtag2"]},{"1395720493":["hashtag1","hashtag2"]},{"1395720492":["hashtag1","hashtag2"]},{"1395720495":["hashtag1","hashtag2"]},{"1395720498":["hashtag1","hashtag2"]},{"1395720491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720490, 1395720493, 1395720492, 1395720495, 1395720498, 1395720491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61341428756714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:08:42.672883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_19_3881.jpg', '/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_34_2622.jpg', '/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_37_2692.jpg', '/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_40_3718.jpg', '/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_43_2733.jpg', '/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_55_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_19_3881.jpg
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_34_2622.jpg
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_37_2692.jpg
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_40_3718.jpg
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_43_2733.jpg
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_55_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720509","1395720511","1395720510","1395720513","1395720507","1395720512"],"photo_ids_order":["1395720507","1395720509","1395720510","1395720511","1395720512","1395720513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/826bf7b129c573501b245f320a780901.jpg","text":"TemporaryFile(/tmp/multipartBody6826298580473494249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834983423,"filename":"image_22112025_19_05_34_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fadb85aad6cab1dcae80acfd11718db0.jpg","text":"TemporaryFile(/tmp/multipartBody5518700503108461624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834983423,"filename":"image_22112025_19_05_40_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa14251cfac5ce4074806a501880008f.jpg","text":"TemporaryFile(/tmp/multipartBody3611997766150218045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834983423,"filename":"image_22112025_19_05_37_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47b9b20ce7650f1f15f6aad7895cda1a.jpg","text":"TemporaryFile(/tmp/multipartBody9156608573180478660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834983423,"filename":"image_22112025_19_05_55_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a49744c5468a62c1ab998993b9d8404.jpg","text":"TemporaryFile(/tmp/multipartBody4204419193063656548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834983423,"filename":"image_22112025_19_05_19_3881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f1c7ba3c8c3b041ef875ae72d8740f0.jpg","text":"TemporaryFile(/tmp/multipartBody5099750446056480295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763834983423,"filename":"image_22112025_19_05_43_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720510","file1":"1395720509","file0":"1395720507","file4":"1395720512","file5":"1395720513","file3":"1395720511"},"map_files_photo_id_array":[{"photo_id":"1395720513","filename":"file5"},{"photo_id":"1395720510","filename":"file2"},{"photo_id":"1395720512","filename":"file4"},{"photo_id":"1395720509","filename":"file1"},{"photo_id":"1395720507","filename":"file0"},{"photo_id":"1395720511","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720509":["hashtag1","hashtag2"]},{"1395720511":["hashtag1","hashtag2"]},{"1395720510":["hashtag1","hashtag2"]},{"1395720513":["hashtag1","hashtag2"]},{"1395720507":["hashtag1","hashtag2"]},{"1395720512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720509, 1395720511, 1395720510, 1395720513, 1395720507, 1395720512)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.7929413318634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:09:41.954309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_58_3635.jpg', '/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_04_2621.jpg', '/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_06_2640.jpg', '/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_16_3599.jpg', '/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_21_2692.jpg', '/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_25_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/05/image_22112025_19_05_58_3635.jpg
/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_04_2621.jpg
/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_06_2640.jpg
/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_16_3599.jpg
/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_21_2692.jpg
/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_25_3689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720532","1395720529","1395720531","1395720525","1395720533","1395720530"],"photo_ids_order":["1395720525","1395720529","1395720530","1395720531","1395720532","1395720533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba70c457c383016aaf13fef65924411d.jpg","text":"TemporaryFile(/tmp/multipartBody6678076963135745513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835042699,"filename":"image_22112025_19_06_21_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c157a6c2fc9a5dcc09b03a6d57ca37ae.jpg","text":"TemporaryFile(/tmp/multipartBody1384129873094059276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835042699,"filename":"image_22112025_19_06_04_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a942ddf9e3b5b5bf289d1202bac883be.jpg","text":"TemporaryFile(/tmp/multipartBody546466875010111782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835042699,"filename":"image_22112025_19_06_16_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e279632a900ff919001acae7860a54a2.jpg","text":"TemporaryFile(/tmp/multipartBody1702339975972083273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835042699,"filename":"image_22112025_19_05_58_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bef988d9166240f40cc1d3082543047e.jpg","text":"TemporaryFile(/tmp/multipartBody8941326628828482550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835042699,"filename":"image_22112025_19_06_25_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bfe257e4e12aa816aa47913ee47704e.jpg","text":"TemporaryFile(/tmp/multipartBody4176809621574619431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835042699,"filename":"image_22112025_19_06_06_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720530","file1":"1395720529","file0":"1395720525","file4":"1395720532","file5":"1395720533","file3":"1395720531"},"map_files_photo_id_array":[{"photo_id":"1395720533","filename":"file5"},{"photo_id":"1395720530","filename":"file2"},{"photo_id":"1395720532","filename":"file4"},{"photo_id":"1395720529","filename":"file1"},{"photo_id":"1395720525","filename":"file0"},{"photo_id":"1395720531","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720532":["hashtag1","hashtag2"]},{"1395720529":["hashtag1","hashtag2"]},{"1395720531":["hashtag1","hashtag2"]},{"1395720525":["hashtag1","hashtag2"]},{"1395720533":["hashtag1","hashtag2"]},{"1395720530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720532, 1395720529, 1395720531, 1395720525, 1395720533, 1395720530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8426239490509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:10:22.264125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_37_2569.jpg', '/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_48_2713.jpg', '/home/pi/Desktop/images/22112025/19/06/image_22112025_19_07_00_2807.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_04_3752.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_07_2664.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_21_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_37_2569.jpg
/home/pi/Desktop/images/22112025/19/06/image_22112025_19_06_48_2713.jpg
/home/pi/Desktop/images/22112025/19/06/image_22112025_19_07_00_2807.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_04_3752.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_07_2664.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_21_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720556","1395720550","1395720553","1395720540","1395720543","1395720536"],"photo_ids_order":["1395720536","1395720540","1395720543","1395720550","1395720553","1395720556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce96368786debc2bb204be9ccbd58d05.jpg","text":"TemporaryFile(/tmp/multipartBody4957683046380615277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835083053,"filename":"image_22112025_19_07_21_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f670220bba6e2e5086de8434d93da173.jpg","text":"TemporaryFile(/tmp/multipartBody1840045524817218638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835083053,"filename":"image_22112025_19_07_04_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a353bf1976493e3044a5e808c9ebb3d9.jpg","text":"TemporaryFile(/tmp/multipartBody403682373264225729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835083053,"filename":"image_22112025_19_07_07_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/502ebfa4ab1d79c2e8f919115523845a.jpg","text":"TemporaryFile(/tmp/multipartBody7604553022433005468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835083053,"filename":"image_22112025_19_06_48_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5b0e35f81c5366647de1450ca06008f.jpg","text":"TemporaryFile(/tmp/multipartBody6070017478854205388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835083053,"filename":"image_22112025_19_07_00_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92fda748723d87e5fba3f381c5ca140f.jpg","text":"TemporaryFile(/tmp/multipartBody979279022278431784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835083053,"filename":"image_22112025_19_06_37_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720543","file1":"1395720540","file0":"1395720536","file4":"1395720553","file5":"1395720556","file3":"1395720550"},"map_files_photo_id_array":[{"photo_id":"1395720556","filename":"file5"},{"photo_id":"1395720543","filename":"file2"},{"photo_id":"1395720553","filename":"file4"},{"photo_id":"1395720540","filename":"file1"},{"photo_id":"1395720536","filename":"file0"},{"photo_id":"1395720550","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720556":["hashtag1","hashtag2"]},{"1395720550":["hashtag1","hashtag2"]},{"1395720553":["hashtag1","hashtag2"]},{"1395720540":["hashtag1","hashtag2"]},{"1395720543":["hashtag1","hashtag2"]},{"1395720536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720556, 1395720550, 1395720553, 1395720540, 1395720543, 1395720536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46103811264038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:11:02.982228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_25_3556.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_34_3635.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_37_2793.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_42_2801.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_46_3734.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_49_2906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_25_3556.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_34_3635.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_37_2793.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_42_2801.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_46_3734.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_49_2906.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720562","1395720565","1395720567","1395720561","1395720560","1395720563"],"photo_ids_order":["1395720560","1395720561","1395720562","1395720563","1395720565","1395720567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50ddca70662b220209f52297c4cb6ed9.jpg","text":"TemporaryFile(/tmp/multipartBody276023604502557365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835123817,"filename":"image_22112025_19_07_37_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b417b36b78c5ccae5c8ee38013d08bf.jpg","text":"TemporaryFile(/tmp/multipartBody620970592983335603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835123817,"filename":"image_22112025_19_07_46_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0ca3f0358e9b52d0cfbf0b1027766fc.jpg","text":"TemporaryFile(/tmp/multipartBody3445363234691463458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835123817,"filename":"image_22112025_19_07_49_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/110a47cdcd528a80fffeb8ee83bb1703.jpg","text":"TemporaryFile(/tmp/multipartBody781219240842919447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835123817,"filename":"image_22112025_19_07_34_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d52e84a8c4d36e577247e39c9084e644.jpg","text":"TemporaryFile(/tmp/multipartBody5674584844614827112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835123817,"filename":"image_22112025_19_07_25_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa55e8aa0b660064a006db4872237ed2.jpg","text":"TemporaryFile(/tmp/multipartBody1539559494590795816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835123817,"filename":"image_22112025_19_07_42_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720562","file1":"1395720561","file0":"1395720560","file4":"1395720565","file5":"1395720567","file3":"1395720563"},"map_files_photo_id_array":[{"photo_id":"1395720567","filename":"file5"},{"photo_id":"1395720562","filename":"file2"},{"photo_id":"1395720565","filename":"file4"},{"photo_id":"1395720561","filename":"file1"},{"photo_id":"1395720560","filename":"file0"},{"photo_id":"1395720563","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720562":["hashtag1","hashtag2"]},{"1395720565":["hashtag1","hashtag2"]},{"1395720567":["hashtag1","hashtag2"]},{"1395720561":["hashtag1","hashtag2"]},{"1395720560":["hashtag1","hashtag2"]},{"1395720563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720562, 1395720565, 1395720567, 1395720561, 1395720560, 1395720563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7393057346344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:11:42.108254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_54_2755.jpg', '/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_58_3835.jpg', '/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_03_2678.jpg', '/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_24_2828.jpg', '/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_37_3267.jpg', '/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_39_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_54_2755.jpg
/home/pi/Desktop/images/22112025/19/07/image_22112025_19_07_58_3835.jpg
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_03_2678.jpg
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_24_2828.jpg
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_37_3267.jpg
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_39_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720583","1395720586","1395720582","1395720576","1395720579","1395720589"],"photo_ids_order":["1395720576","1395720579","1395720582","1395720583","1395720586","1395720589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03c083a28e86747251db9806dc764369.jpg","text":"TemporaryFile(/tmp/multipartBody8427629199730534410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835162850,"filename":"image_22112025_19_08_24_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee92617ec5c0c00a61653c57410a82b1.jpg","text":"TemporaryFile(/tmp/multipartBody5800797252476136014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835162850,"filename":"image_22112025_19_08_37_3267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5250549826b09b5aca3a28034a095a5.jpg","text":"TemporaryFile(/tmp/multipartBody1321490626987470927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835162850,"filename":"image_22112025_19_08_03_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bcb51a265090718e0044247c02b78ca.jpg","text":"TemporaryFile(/tmp/multipartBody8939654581317613556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835162850,"filename":"image_22112025_19_07_54_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f594c89519b09c3561872b2284611fc.jpg","text":"TemporaryFile(/tmp/multipartBody7480843558837057136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835162850,"filename":"image_22112025_19_07_58_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69bb3f77f74083f724b6faef2b56e1d5.jpg","text":"TemporaryFile(/tmp/multipartBody7222513320835009346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835162850,"filename":"image_22112025_19_08_39_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720582","file1":"1395720579","file0":"1395720576","file4":"1395720586","file5":"1395720589","file3":"1395720583"},"map_files_photo_id_array":[{"photo_id":"1395720589","filename":"file5"},{"photo_id":"1395720582","filename":"file2"},{"photo_id":"1395720586","filename":"file4"},{"photo_id":"1395720579","filename":"file1"},{"photo_id":"1395720576","filename":"file0"},{"photo_id":"1395720583","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720583":["hashtag1","hashtag2"]},{"1395720586":["hashtag1","hashtag2"]},{"1395720582":["hashtag1","hashtag2"]},{"1395720576":["hashtag1","hashtag2"]},{"1395720579":["hashtag1","hashtag2"]},{"1395720589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720583, 1395720586, 1395720582, 1395720576, 1395720579, 1395720589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.344778537750244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:12:22.343540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_43_3720.jpg', '/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_46_2814.jpg', '/home/pi/Desktop/images/22112025/19/08/image_22112025_19_09_00_2649.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_06_2601.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_10_3609.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_15_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_43_3720.jpg
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_46_2814.jpg
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_09_00_2649.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_06_2601.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_10_3609.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_15_2718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7147791385650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:12:42.455871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_43_3720.jpg', '/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_46_2814.jpg', '/home/pi/Desktop/images/22112025/19/08/image_22112025_19_09_00_2649.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_06_2601.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_10_3609.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_15_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_43_3720.jpg
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_08_46_2814.jpg
/home/pi/Desktop/images/22112025/19/08/image_22112025_19_09_00_2649.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_06_2601.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_10_3609.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_15_2718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720622","1395720621","1395720624","1395720618","1395720620","1395720623"],"photo_ids_order":["1395720618","1395720620","1395720621","1395720622","1395720623","1395720624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a64dc8ad797acee3cb20d1e5ccc4ace8.jpg","text":"TemporaryFile(/tmp/multipartBody6389508953277250325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835223194,"filename":"image_22112025_19_09_06_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19c38653f5be1297bee119deb668b44f.jpg","text":"TemporaryFile(/tmp/multipartBody7240415578868954768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835223194,"filename":"image_22112025_19_09_00_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12482db816ef9d6369981de8963f6c69.jpg","text":"TemporaryFile(/tmp/multipartBody1370714396034920145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835223194,"filename":"image_22112025_19_09_15_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea61a93295e78e6d7beb1e326d3c65af.jpg","text":"TemporaryFile(/tmp/multipartBody4031411656681748768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835223194,"filename":"image_22112025_19_08_43_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/743ef2d912e722b1173f042f72e606f9.jpg","text":"TemporaryFile(/tmp/multipartBody3731584338035324511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835223194,"filename":"image_22112025_19_08_46_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48c8d6ce394b92bdd2117c628e2db6c9.jpg","text":"TemporaryFile(/tmp/multipartBody8232376410267703290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835223194,"filename":"image_22112025_19_09_10_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720621","file1":"1395720620","file0":"1395720618","file4":"1395720623","file5":"1395720624","file3":"1395720622"},"map_files_photo_id_array":[{"photo_id":"1395720624","filename":"file5"},{"photo_id":"1395720621","filename":"file2"},{"photo_id":"1395720623","filename":"file4"},{"photo_id":"1395720620","filename":"file1"},{"photo_id":"1395720618","filename":"file0"},{"photo_id":"1395720622","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720622":["hashtag1","hashtag2"]},{"1395720621":["hashtag1","hashtag2"]},{"1395720624":["hashtag1","hashtag2"]},{"1395720618":["hashtag1","hashtag2"]},{"1395720620":["hashtag1","hashtag2"]},{"1395720623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720622, 1395720621, 1395720624, 1395720618, 1395720620, 1395720623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.304439067840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:13:22.725860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_19_3608.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_30_2694.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_33_2712.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_37_3613.jpg', '/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_55_3703.jpg', '/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_16_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_19_3608.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_30_2694.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_33_2712.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_37_3613.jpg
/home/pi/Desktop/images/22112025/19/09/image_22112025_19_09_55_3703.jpg
/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_16_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720631","1395720640","1395720634","1395720628","1395720642","1395720638"],"photo_ids_order":["1395720628","1395720631","1395720634","1395720638","1395720640","1395720642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a96748ba09ae6a0ee94ce6902f856217.jpg","text":"TemporaryFile(/tmp/multipartBody7071237266391044982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835263485,"filename":"image_22112025_19_09_30_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f45a3f8c0730fb3b55b371d80d818c1.jpg","text":"TemporaryFile(/tmp/multipartBody2063032673935485374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835263485,"filename":"image_22112025_19_09_55_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1c3fda9dea71ce65682e340c075581d.jpg","text":"TemporaryFile(/tmp/multipartBody5032392453965782787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835263485,"filename":"image_22112025_19_09_33_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db3e5a8c3e2c92a3da16687eaadf1598.jpg","text":"TemporaryFile(/tmp/multipartBody15390442272755281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835263485,"filename":"image_22112025_19_09_19_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2586f27531b13671feab144493035c12.jpg","text":"TemporaryFile(/tmp/multipartBody8959835239251733405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835263485,"filename":"image_22112025_19_10_16_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d42db328407818f2d6ea378e6eea256.jpg","text":"TemporaryFile(/tmp/multipartBody7272763626596102689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835263485,"filename":"image_22112025_19_09_37_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720634","file1":"1395720631","file0":"1395720628","file4":"1395720640","file5":"1395720642","file3":"1395720638"},"map_files_photo_id_array":[{"photo_id":"1395720642","filename":"file5"},{"photo_id":"1395720634","filename":"file2"},{"photo_id":"1395720640","filename":"file4"},{"photo_id":"1395720631","filename":"file1"},{"photo_id":"1395720628","filename":"file0"},{"photo_id":"1395720638","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720631":["hashtag1","hashtag2"]},{"1395720640":["hashtag1","hashtag2"]},{"1395720634":["hashtag1","hashtag2"]},{"1395720628":["hashtag1","hashtag2"]},{"1395720642":["hashtag1","hashtag2"]},{"1395720638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720631, 1395720640, 1395720634, 1395720628, 1395720642, 1395720638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10496997833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:14:02.589875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_18_2775.jpg', '/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_28_2874.jpg', '/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_33_2633.jpg', '/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_37_3673.jpg', '/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_54_2934.jpg', '/home/pi/Desktop/images/22112025/19/10/image_22112025_19_11_01_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_18_2775.jpg
/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_28_2874.jpg
/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_33_2633.jpg
/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_37_3673.jpg
/home/pi/Desktop/images/22112025/19/10/image_22112025_19_10_54_2934.jpg
/home/pi/Desktop/images/22112025/19/10/image_22112025_19_11_01_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720643","1395720646","1395720649","1395720654","1395720651","1395720647"],"photo_ids_order":["1395720643","1395720646","1395720647","1395720649","1395720651","1395720654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d50859910c7348ca66065b957f5fabd3.jpg","text":"TemporaryFile(/tmp/multipartBody8759105212263311389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835303492,"filename":"image_22112025_19_10_18_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/050ed3b722ed8f37746e1d491abf30e9.jpg","text":"TemporaryFile(/tmp/multipartBody2230182172689618009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835303492,"filename":"image_22112025_19_10_28_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c99e6bd2c5f5641c455c9303e36f7d9.jpg","text":"TemporaryFile(/tmp/multipartBody3173268775841423557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835303492,"filename":"image_22112025_19_10_37_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf6371628c015229a27821ac80f2fd63.jpg","text":"TemporaryFile(/tmp/multipartBody1473172861882206952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835303492,"filename":"image_22112025_19_11_01_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0820783262aa10a21b624895534d9907.jpg","text":"TemporaryFile(/tmp/multipartBody4289567811362499466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835303492,"filename":"image_22112025_19_10_54_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f62916d53bdcc95846253462a2fbd24d.jpg","text":"TemporaryFile(/tmp/multipartBody2166630415873708968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835303492,"filename":"image_22112025_19_10_33_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720647","file1":"1395720646","file0":"1395720643","file4":"1395720651","file5":"1395720654","file3":"1395720649"},"map_files_photo_id_array":[{"photo_id":"1395720654","filename":"file5"},{"photo_id":"1395720647","filename":"file2"},{"photo_id":"1395720651","filename":"file4"},{"photo_id":"1395720646","filename":"file1"},{"photo_id":"1395720643","filename":"file0"},{"photo_id":"1395720649","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720643":["hashtag1","hashtag2"]},{"1395720646":["hashtag1","hashtag2"]},{"1395720649":["hashtag1","hashtag2"]},{"1395720654":["hashtag1","hashtag2"]},{"1395720651":["hashtag1","hashtag2"]},{"1395720647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720643, 1395720646, 1395720649, 1395720654, 1395720651, 1395720647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.992188453674316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:14:41.952774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_12_2655.jpg', '/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_15_2548.jpg', '/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_24_2707.jpg', '/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_39_3564.jpg', '/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_43_3671.jpg', '/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_46_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_12_2655.jpg
/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_15_2548.jpg
/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_24_2707.jpg
/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_39_3564.jpg
/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_43_3671.jpg
/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_46_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720670","1395720664","1395720667","1395720669","1395720671","1395720668"],"photo_ids_order":["1395720664","1395720667","1395720668","1395720669","1395720670","1395720671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c17e2d964d337d8e3e2c23246ec8d0f.jpg","text":"TemporaryFile(/tmp/multipartBody1299517279312518791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835342687,"filename":"image_22112025_19_11_43_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0a4cbd0840993cba8aad2646cc6a4e4.jpg","text":"TemporaryFile(/tmp/multipartBody3774713495609363801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835342687,"filename":"image_22112025_19_11_12_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0874e0838896b0e0d8738b2aa5d49ef.jpg","text":"TemporaryFile(/tmp/multipartBody7324758997307116064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835342687,"filename":"image_22112025_19_11_15_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f75666836fe9568360ed935a0422266.jpg","text":"TemporaryFile(/tmp/multipartBody7246593667428201987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835342687,"filename":"image_22112025_19_11_39_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bafa412ded4c8a72ccdd74bccae7f26e.jpg","text":"TemporaryFile(/tmp/multipartBody2797482344623954209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835342687,"filename":"image_22112025_19_11_46_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9631bacb3694ca3617d09c06a5201da.jpg","text":"TemporaryFile(/tmp/multipartBody2250922758395416053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835342687,"filename":"image_22112025_19_11_24_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720668","file1":"1395720667","file0":"1395720664","file4":"1395720670","file5":"1395720671","file3":"1395720669"},"map_files_photo_id_array":[{"photo_id":"1395720671","filename":"file5"},{"photo_id":"1395720668","filename":"file2"},{"photo_id":"1395720670","filename":"file4"},{"photo_id":"1395720667","filename":"file1"},{"photo_id":"1395720664","filename":"file0"},{"photo_id":"1395720669","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720670":["hashtag1","hashtag2"]},{"1395720664":["hashtag1","hashtag2"]},{"1395720667":["hashtag1","hashtag2"]},{"1395720669":["hashtag1","hashtag2"]},{"1395720671":["hashtag1","hashtag2"]},{"1395720668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720670, 1395720664, 1395720667, 1395720669, 1395720671, 1395720668)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.758037090301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:15:42.182051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_51_2657.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_09_2655.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_15_3623.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_18_2821.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_21_2620.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_24_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/11/image_22112025_19_11_51_2657.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_09_2655.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_15_3623.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_18_2821.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_21_2620.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_24_3699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720690","1395720687","1395720689","1395720683","1395720691","1395720688"],"photo_ids_order":["1395720683","1395720687","1395720688","1395720689","1395720690","1395720691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d151ecbceee9c3517eff3cb4a535058.jpg","text":"TemporaryFile(/tmp/multipartBody2782153373025187569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835402970,"filename":"image_22112025_19_12_21_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/594f581f29b91429637156b76b1ed5cb.jpg","text":"TemporaryFile(/tmp/multipartBody3636424542427131693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835402970,"filename":"image_22112025_19_12_09_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c393bc1e8435426d5d33267fac38aab9.jpg","text":"TemporaryFile(/tmp/multipartBody1023483943098566752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835402970,"filename":"image_22112025_19_12_18_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d4a126becbc174f4c7c19314449cf05.jpg","text":"TemporaryFile(/tmp/multipartBody1773323945446137282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835402970,"filename":"image_22112025_19_11_51_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/673b1ccc75f42ed68d6571aed01b168b.jpg","text":"TemporaryFile(/tmp/multipartBody4740301956940582136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835402970,"filename":"image_22112025_19_12_24_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8a9a4d25f5e8947597fcfe395da17b9.jpg","text":"TemporaryFile(/tmp/multipartBody5035042130795815621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835402970,"filename":"image_22112025_19_12_15_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720688","file1":"1395720687","file0":"1395720683","file4":"1395720690","file5":"1395720691","file3":"1395720689"},"map_files_photo_id_array":[{"photo_id":"1395720691","filename":"file5"},{"photo_id":"1395720688","filename":"file2"},{"photo_id":"1395720690","filename":"file4"},{"photo_id":"1395720687","filename":"file1"},{"photo_id":"1395720683","filename":"file0"},{"photo_id":"1395720689","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720690":["hashtag1","hashtag2"]},{"1395720687":["hashtag1","hashtag2"]},{"1395720689":["hashtag1","hashtag2"]},{"1395720683":["hashtag1","hashtag2"]},{"1395720691":["hashtag1","hashtag2"]},{"1395720688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720690, 1395720687, 1395720689, 1395720683, 1395720691, 1395720688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85693955421448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:16:22.415146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_30_2537.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_42_2905.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_48_2615.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_52_3761.jpg', '/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_57_2657.jpg', '/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_06_2947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_30_2537.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_42_2905.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_48_2615.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_52_3761.jpg
/home/pi/Desktop/images/22112025/19/12/image_22112025_19_12_57_2657.jpg
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_06_2947.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720697","1395720706","1395720709","1395720700","1395720703","1395720694"],"photo_ids_order":["1395720694","1395720697","1395720700","1395720703","1395720706","1395720709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f15ca61fab093f20352a80b22f5ae98.jpg","text":"TemporaryFile(/tmp/multipartBody6764287526629300796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835443213,"filename":"image_22112025_19_12_42_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bf4655396bf1f3db87449eb46a5c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody2733188673539289340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835443213,"filename":"image_22112025_19_12_57_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a22260990976be5d8937e33d206b3cee.jpg","text":"TemporaryFile(/tmp/multipartBody6097425120780618419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835443213,"filename":"image_22112025_19_13_06_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91df777d78b4c0f3c789226632011cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1183726158192842440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835443213,"filename":"image_22112025_19_12_48_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a6a39147eef7d70f33d61fd64ac7aeb.jpg","text":"TemporaryFile(/tmp/multipartBody9106816005190213538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835443213,"filename":"image_22112025_19_12_52_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa8346fdd60931ce8c9b0780282d77f5.jpg","text":"TemporaryFile(/tmp/multipartBody7057973250736916393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835443213,"filename":"image_22112025_19_12_30_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720700","file1":"1395720697","file0":"1395720694","file4":"1395720706","file5":"1395720709","file3":"1395720703"},"map_files_photo_id_array":[{"photo_id":"1395720709","filename":"file5"},{"photo_id":"1395720700","filename":"file2"},{"photo_id":"1395720706","filename":"file4"},{"photo_id":"1395720697","filename":"file1"},{"photo_id":"1395720694","filename":"file0"},{"photo_id":"1395720703","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720697":["hashtag1","hashtag2"]},{"1395720706":["hashtag1","hashtag2"]},{"1395720709":["hashtag1","hashtag2"]},{"1395720700":["hashtag1","hashtag2"]},{"1395720703":["hashtag1","hashtag2"]},{"1395720694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720697, 1395720706, 1395720709, 1395720700, 1395720703, 1395720694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.241726875305176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:17:03.411485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_09_2616.jpg', '/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_18_2700.jpg', '/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_21_2753.jpg', '/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_27_2715.jpg', '/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_30_2792.jpg', '/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_39_2937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_09_2616.jpg
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_18_2700.jpg
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_21_2753.jpg
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_27_2715.jpg
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_30_2792.jpg
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_39_2937.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720742","1395720733","1395720747","1395720741","1395720744","1395720740"],"photo_ids_order":["1395720733","1395720740","1395720741","1395720742","1395720744","1395720747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02f6c4dfa09daf7b7fac910eb686b1b0.jpg","text":"TemporaryFile(/tmp/multipartBody7119818802930604361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835484258,"filename":"image_22112025_19_13_27_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6184d59d07a20bcca9879d37b768ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3344417287507099605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835484258,"filename":"image_22112025_19_13_09_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07355031094365c23e44d1211da97c13.jpg","text":"TemporaryFile(/tmp/multipartBody2497768614251035017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835484258,"filename":"image_22112025_19_13_39_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43a23e7c558fb138300c063d5f1de4cf.jpg","text":"TemporaryFile(/tmp/multipartBody8277530615806194247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835484258,"filename":"image_22112025_19_13_21_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4487120b9540e57cd231a2394f37d6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6021738900057847803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835484258,"filename":"image_22112025_19_13_30_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd76a2c934ebe89d74f95714a83cd06a.jpg","text":"TemporaryFile(/tmp/multipartBody1837681977542134223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835484258,"filename":"image_22112025_19_13_18_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720741","file1":"1395720740","file0":"1395720733","file4":"1395720744","file5":"1395720747","file3":"1395720742"},"map_files_photo_id_array":[{"photo_id":"1395720747","filename":"file5"},{"photo_id":"1395720741","filename":"file2"},{"photo_id":"1395720744","filename":"file4"},{"photo_id":"1395720740","filename":"file1"},{"photo_id":"1395720733","filename":"file0"},{"photo_id":"1395720742","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720742":["hashtag1","hashtag2"]},{"1395720733":["hashtag1","hashtag2"]},{"1395720747":["hashtag1","hashtag2"]},{"1395720741":["hashtag1","hashtag2"]},{"1395720744":["hashtag1","hashtag2"]},{"1395720740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720742, 1395720733, 1395720747, 1395720741, 1395720744, 1395720740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73381495475769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:17:42.624223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_54_2590.jpg', '/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_57_3710.jpg', '/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_12_2735.jpg', '/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_15_3616.jpg', '/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_18_2654.jpg', '/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_24_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_54_2590.jpg
/home/pi/Desktop/images/22112025/19/13/image_22112025_19_13_57_3710.jpg
/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_12_2735.jpg
/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_15_3616.jpg
/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_18_2654.jpg
/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_24_3775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720760","1395720757","1395720762","1395720759","1395720770","1395720761"],"photo_ids_order":["1395720757","1395720759","1395720760","1395720761","1395720762","1395720770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac216435e0f25b82d719a4b47b19f012.jpg","text":"TemporaryFile(/tmp/multipartBody8836858565327923607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835523378,"filename":"image_22112025_19_14_12_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39d3ca77198dc2f28c07af6e3cef0bd2.jpg","text":"TemporaryFile(/tmp/multipartBody1178450001143276652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835523378,"filename":"image_22112025_19_13_54_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe5fce65ee19cc23021dc1232ddbecf1.jpg","text":"TemporaryFile(/tmp/multipartBody7898450950530254101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835523378,"filename":"image_22112025_19_14_18_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/942fea9aa951b6d07d7f616e3d2f1533.jpg","text":"TemporaryFile(/tmp/multipartBody6926025370055274093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835523378,"filename":"image_22112025_19_13_57_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9975c35bc0b5aaa45b15a2c2e7009069.jpg","text":"TemporaryFile(/tmp/multipartBody4088262031745499507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835523378,"filename":"image_22112025_19_14_24_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8ee44116089c387a69f3fd618f65f05.jpg","text":"TemporaryFile(/tmp/multipartBody2729318549210414847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835523378,"filename":"image_22112025_19_14_15_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720760","file1":"1395720759","file0":"1395720757","file4":"1395720762","file5":"1395720770","file3":"1395720761"},"map_files_photo_id_array":[{"photo_id":"1395720770","filename":"file5"},{"photo_id":"1395720760","filename":"file2"},{"photo_id":"1395720762","filename":"file4"},{"photo_id":"1395720759","filename":"file1"},{"photo_id":"1395720757","filename":"file0"},{"photo_id":"1395720761","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720760":["hashtag1","hashtag2"]},{"1395720757":["hashtag1","hashtag2"]},{"1395720762":["hashtag1","hashtag2"]},{"1395720759":["hashtag1","hashtag2"]},{"1395720770":["hashtag1","hashtag2"]},{"1395720761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720760, 1395720757, 1395720762, 1395720759, 1395720770, 1395720761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34601640701294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:18:21.962899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_36_2821.jpg', '/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_45_2748.jpg', '/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_48_2621.jpg', '/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_09_2769.jpg', '/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_21_2693.jpg', '/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_23_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_36_2821.jpg
/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_45_2748.jpg
/home/pi/Desktop/images/22112025/19/14/image_22112025_19_14_48_2621.jpg
/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_09_2769.jpg
/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_21_2693.jpg
/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_23_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720784","1395720788","1395720776","1395720791","1395720779","1395720773"],"photo_ids_order":["1395720773","1395720776","1395720779","1395720784","1395720788","1395720791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c3402bfab3f05cd83559eb0c391b2ae.jpg","text":"TemporaryFile(/tmp/multipartBody6678458578840323073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835562757,"filename":"image_22112025_19_15_09_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9982d39a5dd328a305710e40c12b988c.jpg","text":"TemporaryFile(/tmp/multipartBody5718063069369594891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835562757,"filename":"image_22112025_19_15_21_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edd6be1ac539fdf430e290a51538d5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7901543880684824434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835562757,"filename":"image_22112025_19_14_45_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5a039e2b2ecce285764786f6dae7893.jpg","text":"TemporaryFile(/tmp/multipartBody3396154185084671240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835562757,"filename":"image_22112025_19_15_23_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f35c4b036b86b77883960a83761c99a.jpg","text":"TemporaryFile(/tmp/multipartBody1358092157792736152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835562757,"filename":"image_22112025_19_14_48_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d53dc26b72b296586e6611a011f5b854.jpg","text":"TemporaryFile(/tmp/multipartBody3844200929478696727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835562757,"filename":"image_22112025_19_14_36_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720779","file1":"1395720776","file0":"1395720773","file4":"1395720788","file5":"1395720791","file3":"1395720784"},"map_files_photo_id_array":[{"photo_id":"1395720791","filename":"file5"},{"photo_id":"1395720779","filename":"file2"},{"photo_id":"1395720788","filename":"file4"},{"photo_id":"1395720776","filename":"file1"},{"photo_id":"1395720773","filename":"file0"},{"photo_id":"1395720784","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720784":["hashtag1","hashtag2"]},{"1395720788":["hashtag1","hashtag2"]},{"1395720776":["hashtag1","hashtag2"]},{"1395720791":["hashtag1","hashtag2"]},{"1395720779":["hashtag1","hashtag2"]},{"1395720773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720784, 1395720788, 1395720776, 1395720791, 1395720779, 1395720773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16032600402832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:19:02.898049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_27_3701.jpg', '/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_39_3704.jpg', '/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_42_2638.jpg', '/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_44_2718.jpg', '/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_57_3627.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_06_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_27_3701.jpg
/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_39_3704.jpg
/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_42_2638.jpg
/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_44_2718.jpg
/home/pi/Desktop/images/22112025/19/15/image_22112025_19_15_57_3627.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_06_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720796","1395720802","1395720795","1395720794","1395720797","1395720800"],"photo_ids_order":["1395720794","1395720795","1395720796","1395720797","1395720800","1395720802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1b931e02572f24b8e76989b16683fcc.jpg","text":"TemporaryFile(/tmp/multipartBody6739594412637689968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835603971,"filename":"image_22112025_19_15_42_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c05dc786e605f86f1fcf814c56e9611c.jpg","text":"TemporaryFile(/tmp/multipartBody8761639002586993295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835603971,"filename":"image_22112025_19_16_06_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dddde6ed91bd65d5c682c0bb69b456f5.jpg","text":"TemporaryFile(/tmp/multipartBody8509329051066625096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835603971,"filename":"image_22112025_19_15_39_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e08759e69995d45b768307d989a720e6.jpg","text":"TemporaryFile(/tmp/multipartBody8753612025043088685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835603971,"filename":"image_22112025_19_15_27_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/505758be4e2f9ad846fed694011aebb5.jpg","text":"TemporaryFile(/tmp/multipartBody7632126137653591319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835603971,"filename":"image_22112025_19_15_44_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e01d53e625ddf7af2ec06b70d242ccbb.jpg","text":"TemporaryFile(/tmp/multipartBody2860927613115263524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835603971,"filename":"image_22112025_19_15_57_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720796","file1":"1395720795","file0":"1395720794","file4":"1395720800","file5":"1395720802","file3":"1395720797"},"map_files_photo_id_array":[{"photo_id":"1395720802","filename":"file5"},{"photo_id":"1395720796","filename":"file2"},{"photo_id":"1395720800","filename":"file4"},{"photo_id":"1395720795","filename":"file1"},{"photo_id":"1395720794","filename":"file0"},{"photo_id":"1395720797","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720796":["hashtag1","hashtag2"]},{"1395720802":["hashtag1","hashtag2"]},{"1395720795":["hashtag1","hashtag2"]},{"1395720794":["hashtag1","hashtag2"]},{"1395720797":["hashtag1","hashtag2"]},{"1395720800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720796, 1395720802, 1395720795, 1395720794, 1395720797, 1395720800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53060722351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:19:42.192882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_09_2646.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_11_2702.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_20_8646.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_23_3140.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_25_1609.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_29_4486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_09_2646.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_11_2702.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_20_8646.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_23_3140.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_25_1609.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_29_4486.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720820","1395720822","1395720816","1395720824","1395720812","1395720818"],"photo_ids_order":["1395720812","1395720816","1395720818","1395720820","1395720822","1395720824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/595dec13ba3a4d10cfba0ca85a951af8.jpg","text":"TemporaryFile(/tmp/multipartBody760305934000371626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835642929,"filename":"image_22112025_19_16_23_3140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/16237643d886ae844a820b6974c89b19.jpg","text":"TemporaryFile(/tmp/multipartBody4331410184252363298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835642929,"filename":"image_22112025_19_16_25_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc8490a69c0799062e082358d6399b54.jpg","text":"TemporaryFile(/tmp/multipartBody213506439058960314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835642929,"filename":"image_22112025_19_16_11_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d17aae80b13fce0fa6ba6f534052a4b0.jpg","text":"TemporaryFile(/tmp/multipartBody7802960429062863514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835642929,"filename":"image_22112025_19_16_29_4486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11d8e3510f88ee4c72831fd1ba17af44.jpg","text":"TemporaryFile(/tmp/multipartBody6422682920539071772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835642929,"filename":"image_22112025_19_16_09_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3204c855df5469a22561089fcc89386.jpg","text":"TemporaryFile(/tmp/multipartBody1678153372739299057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835642929,"filename":"image_22112025_19_16_20_8646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720818","file1":"1395720816","file0":"1395720812","file4":"1395720822","file5":"1395720824","file3":"1395720820"},"map_files_photo_id_array":[{"photo_id":"1395720824","filename":"file5"},{"photo_id":"1395720818","filename":"file2"},{"photo_id":"1395720822","filename":"file4"},{"photo_id":"1395720816","filename":"file1"},{"photo_id":"1395720812","filename":"file0"},{"photo_id":"1395720820","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720820":["hashtag1","hashtag2"]},{"1395720822":["hashtag1","hashtag2"]},{"1395720816":["hashtag1","hashtag2"]},{"1395720824":["hashtag1","hashtag2"]},{"1395720812":["hashtag1","hashtag2"]},{"1395720818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720820, 1395720822, 1395720816, 1395720824, 1395720812, 1395720818)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.019389629364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:20:43.603989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_31_1756.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_33_1577.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_41_2765.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_44_2790.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_48_3684.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_51_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_31_1756.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_33_1577.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_41_2765.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_44_2790.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_48_3684.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_51_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720856","1395720859","1395720838","1395720858","1395720837","1395720839"],"photo_ids_order":["1395720837","1395720838","1395720839","1395720856","1395720858","1395720859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fe01acefb0abe367960f953327c06c1.jpg","text":"TemporaryFile(/tmp/multipartBody6598187710990196081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835706850,"filename":"image_22112025_19_16_44_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e21b6ec14af41bb4e119bd44a909a006.jpg","text":"TemporaryFile(/tmp/multipartBody823301027238136499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835706850,"filename":"image_22112025_19_16_51_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/517f63b1aab8db7fba868a32a84d18f1.jpg","text":"TemporaryFile(/tmp/multipartBody5734125113828275768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835706850,"filename":"image_22112025_19_16_33_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba3efa118fe2de5a4df234eba146db76.jpg","text":"TemporaryFile(/tmp/multipartBody2982855174165029589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835706850,"filename":"image_22112025_19_16_48_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f94dce3ad77820f5a6a16264ff837e0.jpg","text":"TemporaryFile(/tmp/multipartBody2829529742407054812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835706850,"filename":"image_22112025_19_16_31_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/baf87bfafd66b836bd6f9b8d1eb23302.jpg","text":"TemporaryFile(/tmp/multipartBody2347635688568433560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835706850,"filename":"image_22112025_19_16_41_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720839","file1":"1395720838","file0":"1395720837","file4":"1395720858","file5":"1395720859","file3":"1395720856"},"map_files_photo_id_array":[{"photo_id":"1395720859","filename":"file5"},{"photo_id":"1395720839","filename":"file2"},{"photo_id":"1395720858","filename":"file4"},{"photo_id":"1395720838","filename":"file1"},{"photo_id":"1395720837","filename":"file0"},{"photo_id":"1395720856","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720856":["hashtag1","hashtag2"]},{"1395720859":["hashtag1","hashtag2"]},{"1395720838":["hashtag1","hashtag2"]},{"1395720858":["hashtag1","hashtag2"]},{"1395720837":["hashtag1","hashtag2"]},{"1395720839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720856, 1395720859, 1395720838, 1395720858, 1395720837, 1395720839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.944451570510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:21:42.894959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_54_3586.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_57_2788.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_17_00_2691.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_02_2712.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_08_2622.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_11_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_54_3586.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_57_2788.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_17_00_2691.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_02_2712.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_08_2622.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_11_2640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6417570114135742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:22:03.076009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_54_3586.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_57_2788.jpg', '/home/pi/Desktop/images/22112025/19/16/image_22112025_19_17_00_2691.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_02_2712.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_08_2622.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_11_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_54_3586.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_16_57_2788.jpg
/home/pi/Desktop/images/22112025/19/16/image_22112025_19_17_00_2691.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_02_2712.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_08_2622.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_11_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720877","1395720879","1395720881","1395720884","1395720878","1395720886"],"photo_ids_order":["1395720877","1395720878","1395720879","1395720881","1395720884","1395720886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faa9b51d98d1442f73908bdb95af9224.jpg","text":"TemporaryFile(/tmp/multipartBody5435480773974937720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835786501,"filename":"image_22112025_19_16_54_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15d3ac22b7039a767c0a7edbe20616ee.jpg","text":"TemporaryFile(/tmp/multipartBody3852148615464619078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835786501,"filename":"image_22112025_19_17_00_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c4698f73845eaeb64aedf94b5653cef.jpg","text":"TemporaryFile(/tmp/multipartBody7477575010366368779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835786501,"filename":"image_22112025_19_17_02_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24739a209bb4f2926c17179f721ef4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6577102423053594151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835786501,"filename":"image_22112025_19_17_08_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40e2be3527e5bbcb88b64a3007dc1314.jpg","text":"TemporaryFile(/tmp/multipartBody1714733176522666007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835786501,"filename":"image_22112025_19_16_57_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ee41be8a60f8050af16ac262f421b83.jpg","text":"TemporaryFile(/tmp/multipartBody1970342616212609680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835786501,"filename":"image_22112025_19_17_11_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720879","file1":"1395720878","file0":"1395720877","file4":"1395720884","file5":"1395720886","file3":"1395720881"},"map_files_photo_id_array":[{"photo_id":"1395720886","filename":"file5"},{"photo_id":"1395720879","filename":"file2"},{"photo_id":"1395720884","filename":"file4"},{"photo_id":"1395720878","filename":"file1"},{"photo_id":"1395720877","filename":"file0"},{"photo_id":"1395720881","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720877":["hashtag1","hashtag2"]},{"1395720879":["hashtag1","hashtag2"]},{"1395720881":["hashtag1","hashtag2"]},{"1395720884":["hashtag1","hashtag2"]},{"1395720878":["hashtag1","hashtag2"]},{"1395720886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720877, 1395720879, 1395720881, 1395720884, 1395720878, 1395720886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.827598571777344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:22:42.781357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_15_3623.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_36_2792.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_38_2715.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_42_3683.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_45_2631.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_47_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_15_3623.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_36_2792.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_38_2715.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_42_3683.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_45_2631.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_47_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720895","1395720894","1395720897","1395720896","1395720899","1395720898"],"photo_ids_order":["1395720894","1395720895","1395720896","1395720897","1395720898","1395720899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7eef9b5651c1acf7c43749137669d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4059349979039531710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835823563,"filename":"image_22112025_19_17_36_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3543670f810128f13e24c7d51ab3bb48.jpg","text":"TemporaryFile(/tmp/multipartBody3218288217391186148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835823563,"filename":"image_22112025_19_17_15_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90f0a26e0cce3ed636e15d0f9b3cdca9.jpg","text":"TemporaryFile(/tmp/multipartBody2340060557354589354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835823563,"filename":"image_22112025_19_17_42_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae20d0ceee7410b32a03894759f4379b.jpg","text":"TemporaryFile(/tmp/multipartBody2680878859229795624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835823563,"filename":"image_22112025_19_17_38_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a7fe57b096e197dda1442db50c420c8.jpg","text":"TemporaryFile(/tmp/multipartBody2946287279843434885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835823563,"filename":"image_22112025_19_17_47_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b0c4ad6e8810db637a54f7484c777b0.jpg","text":"TemporaryFile(/tmp/multipartBody782543446319892673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835823563,"filename":"image_22112025_19_17_45_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720896","file1":"1395720895","file0":"1395720894","file4":"1395720898","file5":"1395720899","file3":"1395720897"},"map_files_photo_id_array":[{"photo_id":"1395720899","filename":"file5"},{"photo_id":"1395720896","filename":"file2"},{"photo_id":"1395720898","filename":"file4"},{"photo_id":"1395720895","filename":"file1"},{"photo_id":"1395720894","filename":"file0"},{"photo_id":"1395720897","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720895":["hashtag1","hashtag2"]},{"1395720894":["hashtag1","hashtag2"]},{"1395720897":["hashtag1","hashtag2"]},{"1395720896":["hashtag1","hashtag2"]},{"1395720899":["hashtag1","hashtag2"]},{"1395720898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720895, 1395720894, 1395720897, 1395720896, 1395720899, 1395720898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98939275741577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:23:21.974705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_54_2590.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_56_2792.jpg', '/home/pi/Desktop/images/22112025/19/17/image_22112025_19_18_00_3690.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_05_2683.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_09_3543.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_27_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_54_2590.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_17_56_2792.jpg
/home/pi/Desktop/images/22112025/19/17/image_22112025_19_18_00_3690.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_05_2683.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_09_3543.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_27_3708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720901","1395720918","1395720912","1395720905","1395720914","1395720908"],"photo_ids_order":["1395720901","1395720905","1395720908","1395720912","1395720914","1395720918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f97eecbd3eb22b45b9d4f52ef5a4d42.jpg","text":"TemporaryFile(/tmp/multipartBody3851153434418756156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835862710,"filename":"image_22112025_19_17_54_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3af1ed9e1b539b603374851e2037c145.jpg","text":"TemporaryFile(/tmp/multipartBody133304539730729485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835862710,"filename":"image_22112025_19_18_27_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a72dfb6dee3a897f530c47cc42fa3b1.jpg","text":"TemporaryFile(/tmp/multipartBody6153021206847142459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835862710,"filename":"image_22112025_19_18_05_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78db5953ad15664249ac424e0c481e6a.jpg","text":"TemporaryFile(/tmp/multipartBody2840636023675469004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835862710,"filename":"image_22112025_19_17_56_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f88fa0dc155792e39f5b9c231c8106b.jpg","text":"TemporaryFile(/tmp/multipartBody4480380912694473864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835862710,"filename":"image_22112025_19_18_09_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02de612a48f6f0e6c8538888f631647b.jpg","text":"TemporaryFile(/tmp/multipartBody5438942064351624968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835862710,"filename":"image_22112025_19_18_00_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720908","file1":"1395720905","file0":"1395720901","file4":"1395720914","file5":"1395720918","file3":"1395720912"},"map_files_photo_id_array":[{"photo_id":"1395720918","filename":"file5"},{"photo_id":"1395720908","filename":"file2"},{"photo_id":"1395720914","filename":"file4"},{"photo_id":"1395720905","filename":"file1"},{"photo_id":"1395720901","filename":"file0"},{"photo_id":"1395720912","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720901":["hashtag1","hashtag2"]},{"1395720918":["hashtag1","hashtag2"]},{"1395720912":["hashtag1","hashtag2"]},{"1395720905":["hashtag1","hashtag2"]},{"1395720914":["hashtag1","hashtag2"]},{"1395720908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720901, 1395720918, 1395720912, 1395720905, 1395720914, 1395720908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88997268676758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:24:03.156467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_30_2777.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_32_2607.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_39_3693.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_44_2595.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_50_2648.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_53_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_30_2777.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_32_2607.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_39_3693.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_44_2595.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_50_2648.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_53_2878.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7479028701782227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:24:22.334228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_30_2777.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_32_2607.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_39_3693.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_44_2595.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_50_2648.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_53_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_30_2777.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_32_2607.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_39_3693.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_44_2595.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_50_2648.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_53_2878.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720955","1395720949","1395720936","1395720941","1395720932","1395720929"],"photo_ids_order":["1395720929","1395720932","1395720936","1395720941","1395720949","1395720955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e6b39728aeb4803eb447696802b5b19.jpg","text":"TemporaryFile(/tmp/multipartBody6050675464652333672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835923097,"filename":"image_22112025_19_18_53_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0314062bca9208446911dd07f095b09.jpg","text":"TemporaryFile(/tmp/multipartBody3293345263981509406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835923097,"filename":"image_22112025_19_18_50_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac1e78a0f43652d08864cb441c4014c4.jpg","text":"TemporaryFile(/tmp/multipartBody7410358240332116971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835923097,"filename":"image_22112025_19_18_39_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f948134515d5d5076a07915268af26c.jpg","text":"TemporaryFile(/tmp/multipartBody3001666546237549653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835923097,"filename":"image_22112025_19_18_44_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/717080a8a2a611ad398c8811ec71c179.jpg","text":"TemporaryFile(/tmp/multipartBody801498260386293463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835923097,"filename":"image_22112025_19_18_32_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7104fe1612f37ab63e3623a71450dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6844386937165792506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835923097,"filename":"image_22112025_19_18_30_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720936","file1":"1395720932","file0":"1395720929","file4":"1395720949","file5":"1395720955","file3":"1395720941"},"map_files_photo_id_array":[{"photo_id":"1395720955","filename":"file5"},{"photo_id":"1395720936","filename":"file2"},{"photo_id":"1395720949","filename":"file4"},{"photo_id":"1395720932","filename":"file1"},{"photo_id":"1395720929","filename":"file0"},{"photo_id":"1395720941","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720955":["hashtag1","hashtag2"]},{"1395720949":["hashtag1","hashtag2"]},{"1395720936":["hashtag1","hashtag2"]},{"1395720941":["hashtag1","hashtag2"]},{"1395720932":["hashtag1","hashtag2"]},{"1395720929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720955, 1395720949, 1395720936, 1395720941, 1395720932, 1395720929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13211178779602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:25:03.189488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_56_2762.jpg', '/home/pi/Desktop/images/22112025/19/18/image_22112025_19_19_00_3863.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_02_2553.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_05_2694.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_09_3688.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_11_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_18_56_2762.jpg
/home/pi/Desktop/images/22112025/19/18/image_22112025_19_19_00_3863.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_02_2553.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_05_2694.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_09_3688.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_11_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720961","1395720964","1395720958","1395720957","1395720956","1395720959"],"photo_ids_order":["1395720956","1395720957","1395720958","1395720959","1395720961","1395720964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14e85e8e34dd7a208d5c1e656c1a7821.jpg","text":"TemporaryFile(/tmp/multipartBody5681055938644631360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835964063,"filename":"image_22112025_19_19_09_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ae098732d73cd01eaaa6e30cb31031d.jpg","text":"TemporaryFile(/tmp/multipartBody2612405829855315308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835964063,"filename":"image_22112025_19_19_11_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30a60ccfa21086d37e126ca1cdf7744e.jpg","text":"TemporaryFile(/tmp/multipartBody7703791588158573572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835964063,"filename":"image_22112025_19_19_02_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4126c6b8c5dbc39304b7526688540f54.jpg","text":"TemporaryFile(/tmp/multipartBody809214690529067845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835964063,"filename":"image_22112025_19_19_00_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4abaca7533957f68e1cdcee053107375.jpg","text":"TemporaryFile(/tmp/multipartBody8811642945944922156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835964063,"filename":"image_22112025_19_18_56_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a342be63ecc3834db717a2338688bfb3.jpg","text":"TemporaryFile(/tmp/multipartBody1389729929916105472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763835964063,"filename":"image_22112025_19_19_05_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720958","file1":"1395720957","file0":"1395720956","file4":"1395720961","file5":"1395720964","file3":"1395720959"},"map_files_photo_id_array":[{"photo_id":"1395720964","filename":"file5"},{"photo_id":"1395720958","filename":"file2"},{"photo_id":"1395720961","filename":"file4"},{"photo_id":"1395720957","filename":"file1"},{"photo_id":"1395720956","filename":"file0"},{"photo_id":"1395720959","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720961":["hashtag1","hashtag2"]},{"1395720964":["hashtag1","hashtag2"]},{"1395720958":["hashtag1","hashtag2"]},{"1395720957":["hashtag1","hashtag2"]},{"1395720956":["hashtag1","hashtag2"]},{"1395720959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720961, 1395720964, 1395720958, 1395720957, 1395720956, 1395720959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43308091163635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:25:42.508827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_14_2713.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_18_3553.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_20_2687.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_30_3858.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_33_2873.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_41_3213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_14_2713.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_18_3553.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_20_2687.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_30_3858.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_33_2873.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_41_3213.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720981","1395720978","1395720980","1395720974","1395720977","1395720979"],"photo_ids_order":["1395720974","1395720977","1395720978","1395720979","1395720980","1395720981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f30e6971c421bef420c458a17b7ba94.jpg","text":"TemporaryFile(/tmp/multipartBody8191409987507767887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836003267,"filename":"image_22112025_19_19_41_3213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b00a40a4f661bcade1f519437a84c36c.jpg","text":"TemporaryFile(/tmp/multipartBody8262265419291542811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836003267,"filename":"image_22112025_19_19_20_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52190be3db09d0bd697a946ca7619c5d.jpg","text":"TemporaryFile(/tmp/multipartBody399923763658379303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836003267,"filename":"image_22112025_19_19_33_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/327911d499e5c772d9e417196f04c26a.jpg","text":"TemporaryFile(/tmp/multipartBody4107391077739364166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836003267,"filename":"image_22112025_19_19_14_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c4f9773fbeb2e56c452577fc9fe7d21.jpg","text":"TemporaryFile(/tmp/multipartBody3988171144505037927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836003267,"filename":"image_22112025_19_19_18_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/568c12db5032f35270601344b6170c50.jpg","text":"TemporaryFile(/tmp/multipartBody2730950506727972830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836003267,"filename":"image_22112025_19_19_30_3858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720978","file1":"1395720977","file0":"1395720974","file4":"1395720980","file5":"1395720981","file3":"1395720979"},"map_files_photo_id_array":[{"photo_id":"1395720981","filename":"file5"},{"photo_id":"1395720978","filename":"file2"},{"photo_id":"1395720980","filename":"file4"},{"photo_id":"1395720977","filename":"file1"},{"photo_id":"1395720974","filename":"file0"},{"photo_id":"1395720979","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720981":["hashtag1","hashtag2"]},{"1395720978":["hashtag1","hashtag2"]},{"1395720980":["hashtag1","hashtag2"]},{"1395720974":["hashtag1","hashtag2"]},{"1395720977":["hashtag1","hashtag2"]},{"1395720979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720981, 1395720978, 1395720980, 1395720974, 1395720977, 1395720979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.393447399139404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:26:22.778722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_44_2650.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_48_3753.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_53_2710.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_57_3660.jpg', '/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_59_2673.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_02_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_44_2650.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_48_3753.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_53_2710.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_57_3660.jpg
/home/pi/Desktop/images/22112025/19/19/image_22112025_19_19_59_2673.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_02_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395720988","1395721003","1395720996","1395720999","1395720991","1395720985"],"photo_ids_order":["1395720985","1395720988","1395720991","1395720996","1395720999","1395721003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afc3c6f393d7e4d693c3c7cfeba1c2ac.jpg","text":"TemporaryFile(/tmp/multipartBody8324454570515058453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836043554,"filename":"image_22112025_19_19_48_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/820bdd71f40bd243e0ca77bfe7389d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4839413849800088015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836043554,"filename":"image_22112025_19_20_02_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0af359097bab054b4b8e673114ebf489.jpg","text":"TemporaryFile(/tmp/multipartBody8523522596568344607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836043554,"filename":"image_22112025_19_19_57_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c11213c177335c4960cedb538443c25b.jpg","text":"TemporaryFile(/tmp/multipartBody6610271542763765482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836043554,"filename":"image_22112025_19_19_59_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d835328724acc91ccf5ba2d618539a0.jpg","text":"TemporaryFile(/tmp/multipartBody6968389817914145072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836043554,"filename":"image_22112025_19_19_53_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5e33bb15a683fc6d851d47936ccf8f5.jpg","text":"TemporaryFile(/tmp/multipartBody731194959281868619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836043554,"filename":"image_22112025_19_19_44_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395720991","file1":"1395720988","file0":"1395720985","file4":"1395720999","file5":"1395721003","file3":"1395720996"},"map_files_photo_id_array":[{"photo_id":"1395721003","filename":"file5"},{"photo_id":"1395720991","filename":"file2"},{"photo_id":"1395720999","filename":"file4"},{"photo_id":"1395720988","filename":"file1"},{"photo_id":"1395720985","filename":"file0"},{"photo_id":"1395720996","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395720988":["hashtag1","hashtag2"]},{"1395721003":["hashtag1","hashtag2"]},{"1395720996":["hashtag1","hashtag2"]},{"1395720999":["hashtag1","hashtag2"]},{"1395720991":["hashtag1","hashtag2"]},{"1395720985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395720988, 1395721003, 1395720996, 1395720999, 1395720991, 1395720985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85021638870239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:27:02.598417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_08_2668.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_11_3667.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_14_2667.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_18_3569.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_20_2750.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_23_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_08_2668.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_11_3667.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_14_2667.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_18_3569.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_20_2750.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_23_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721006","1395721008","1395721017","1395721011","1395721010","1395721013"],"photo_ids_order":["1395721006","1395721008","1395721010","1395721011","1395721013","1395721017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/072053fe91649758fa386c3332194540.jpg","text":"TemporaryFile(/tmp/multipartBody232341238861469144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836083542,"filename":"image_22112025_19_20_08_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5e4217b3cd42601c639c7c7323fe19b.jpg","text":"TemporaryFile(/tmp/multipartBody3265240332571628090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836083542,"filename":"image_22112025_19_20_11_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d133305e6c7fca0e07b11a610acdc1a6.jpg","text":"TemporaryFile(/tmp/multipartBody1354991205940090341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836083542,"filename":"image_22112025_19_20_23_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f2c5578bae2a4ff3a77e34e73cc0283.jpg","text":"TemporaryFile(/tmp/multipartBody5943421840828595806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836083542,"filename":"image_22112025_19_20_18_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53bfad55f29c0240a61f9e687636b215.jpg","text":"TemporaryFile(/tmp/multipartBody5445689712330208892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836083542,"filename":"image_22112025_19_20_14_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c6d37a36debfef37fc8710fdcd1c68a.jpg","text":"TemporaryFile(/tmp/multipartBody3115666215952454264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836083542,"filename":"image_22112025_19_20_20_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721010","file1":"1395721008","file0":"1395721006","file4":"1395721013","file5":"1395721017","file3":"1395721011"},"map_files_photo_id_array":[{"photo_id":"1395721017","filename":"file5"},{"photo_id":"1395721010","filename":"file2"},{"photo_id":"1395721013","filename":"file4"},{"photo_id":"1395721008","filename":"file1"},{"photo_id":"1395721006","filename":"file0"},{"photo_id":"1395721011","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721006":["hashtag1","hashtag2"]},{"1395721008":["hashtag1","hashtag2"]},{"1395721017":["hashtag1","hashtag2"]},{"1395721011":["hashtag1","hashtag2"]},{"1395721010":["hashtag1","hashtag2"]},{"1395721013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721006, 1395721008, 1395721017, 1395721011, 1395721010, 1395721013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21591091156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:27:41.975065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_26_2634.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_29_3620.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_41_2533.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_45_3599.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_47_2670.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_50_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_26_2634.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_29_3620.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_41_2533.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_45_3599.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_47_2670.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_50_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721030","1395721027","1395721029","1395721031","1395721025","1395721028"],"photo_ids_order":["1395721025","1395721027","1395721028","1395721029","1395721030","1395721031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/059ce9ae814bf5e9fb38f3486680f3ca.jpg","text":"TemporaryFile(/tmp/multipartBody5559866624918164683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836122719,"filename":"image_22112025_19_20_47_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/266019245ab8a49c6fc8c390f0de85ea.jpg","text":"TemporaryFile(/tmp/multipartBody7515748048651891100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836122719,"filename":"image_22112025_19_20_29_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a13123051223fe2198b71058ec80246.jpg","text":"TemporaryFile(/tmp/multipartBody214423110941731841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836122719,"filename":"image_22112025_19_20_45_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fa8c17ff71e61d4760f086030c23181.jpg","text":"TemporaryFile(/tmp/multipartBody1862878749700500756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836122719,"filename":"image_22112025_19_20_50_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6cf2384056dbc5e20a6d887f0f6fc949.jpg","text":"TemporaryFile(/tmp/multipartBody6904278511074424243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836122719,"filename":"image_22112025_19_20_26_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e02dd0ca273181f30a3372c585a943da.jpg","text":"TemporaryFile(/tmp/multipartBody7039187102232550713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836122719,"filename":"image_22112025_19_20_41_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721028","file1":"1395721027","file0":"1395721025","file4":"1395721030","file5":"1395721031","file3":"1395721029"},"map_files_photo_id_array":[{"photo_id":"1395721031","filename":"file5"},{"photo_id":"1395721028","filename":"file2"},{"photo_id":"1395721030","filename":"file4"},{"photo_id":"1395721027","filename":"file1"},{"photo_id":"1395721025","filename":"file0"},{"photo_id":"1395721029","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721030":["hashtag1","hashtag2"]},{"1395721027":["hashtag1","hashtag2"]},{"1395721029":["hashtag1","hashtag2"]},{"1395721031":["hashtag1","hashtag2"]},{"1395721025":["hashtag1","hashtag2"]},{"1395721028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721030, 1395721027, 1395721029, 1395721031, 1395721025, 1395721028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85521697998047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:28:22.293923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_56_2318.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_21_00_3829.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_02_2623.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_05_2713.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_08_3166.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_11_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_56_2318.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_21_00_3829.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_02_2623.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_05_2713.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_08_3166.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_11_2638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6794347763061523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:28:42.180269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_56_2318.jpg', '/home/pi/Desktop/images/22112025/19/20/image_22112025_19_21_00_3829.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_02_2623.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_05_2713.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_08_3166.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_11_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_20_56_2318.jpg
/home/pi/Desktop/images/22112025/19/20/image_22112025_19_21_00_3829.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_02_2623.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_05_2713.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_08_3166.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_11_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721053","1395721055","1395721052","1395721051","1395721054","1395721048"],"photo_ids_order":["1395721048","1395721051","1395721052","1395721053","1395721054","1395721055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3280eb155c8208b8625b503ae6897a39.jpg","text":"TemporaryFile(/tmp/multipartBody2321446103173906372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836182923,"filename":"image_22112025_19_21_05_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/118a7c15bb867d41eace730ba072eca1.jpg","text":"TemporaryFile(/tmp/multipartBody4452849897165225212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836182923,"filename":"image_22112025_19_21_11_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/678117a77653b3071f7c641e5dad0460.jpg","text":"TemporaryFile(/tmp/multipartBody5431268496876495160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836182923,"filename":"image_22112025_19_21_02_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25aa5be7b58c1dfe667d29f7e5740010.jpg","text":"TemporaryFile(/tmp/multipartBody2143596152510916482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836182923,"filename":"image_22112025_19_21_00_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f006b766bc89addb0af16f5537a32612.jpg","text":"TemporaryFile(/tmp/multipartBody5521561281522932583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836182923,"filename":"image_22112025_19_21_08_3166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8631f9d3a385b858d38fd949215b92db.jpg","text":"TemporaryFile(/tmp/multipartBody5897814748194053095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836182923,"filename":"image_22112025_19_20_56_2318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721052","file1":"1395721051","file0":"1395721048","file4":"1395721054","file5":"1395721055","file3":"1395721053"},"map_files_photo_id_array":[{"photo_id":"1395721055","filename":"file5"},{"photo_id":"1395721052","filename":"file2"},{"photo_id":"1395721054","filename":"file4"},{"photo_id":"1395721051","filename":"file1"},{"photo_id":"1395721048","filename":"file0"},{"photo_id":"1395721053","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721053":["hashtag1","hashtag2"]},{"1395721055":["hashtag1","hashtag2"]},{"1395721052":["hashtag1","hashtag2"]},{"1395721051":["hashtag1","hashtag2"]},{"1395721054":["hashtag1","hashtag2"]},{"1395721048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721053, 1395721055, 1395721052, 1395721051, 1395721054, 1395721048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86082720756531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:29:22.414383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_18_6705.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_25_7150.jpg', '/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_28_3070.jpg', '/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_17_3616.jpg', '/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_22_2722.jpg', '/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_32_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_18_6705.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_25_7150.jpg
/home/pi/Desktop/images/22112025/19/21/image_22112025_19_21_28_3070.jpg
/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_17_3616.jpg
/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_22_2722.jpg
/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_32_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721062","1395721076","1395721072","1395721066","1395721069","1395721060"],"photo_ids_order":["1395721060","1395721062","1395721066","1395721069","1395721072","1395721076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7eb76a7f8c98d519f3a6c77bdb32f613.jpg","text":"TemporaryFile(/tmp/multipartBody1092831837349607911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836223231,"filename":"image_22112025_19_21_25_7150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9710dab9c614329b829b2c0726b593fc.jpg","text":"TemporaryFile(/tmp/multipartBody8834552855499217753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836223231,"filename":"image_22112025_19_22_32_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b80c0788c233c94eb629f9ada8f8e4f7.jpg","text":"TemporaryFile(/tmp/multipartBody8513024301001472447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836223231,"filename":"image_22112025_19_22_22_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c437c5170b95cfe9f9128b361e1a196f.jpg","text":"TemporaryFile(/tmp/multipartBody4373899280429551015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836223231,"filename":"image_22112025_19_21_28_3070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cccfdc8c289398d25ec5ca4e25a933fd.jpg","text":"TemporaryFile(/tmp/multipartBody5054906867263258660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836223231,"filename":"image_22112025_19_22_17_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b68789b66ca9c2af76d9da9ac0aa77ab.jpg","text":"TemporaryFile(/tmp/multipartBody464210368265529005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836223231,"filename":"image_22112025_19_21_18_6705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721066","file1":"1395721062","file0":"1395721060","file4":"1395721072","file5":"1395721076","file3":"1395721069"},"map_files_photo_id_array":[{"photo_id":"1395721076","filename":"file5"},{"photo_id":"1395721066","filename":"file2"},{"photo_id":"1395721072","filename":"file4"},{"photo_id":"1395721062","filename":"file1"},{"photo_id":"1395721060","filename":"file0"},{"photo_id":"1395721069","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721062":["hashtag1","hashtag2"]},{"1395721076":["hashtag1","hashtag2"]},{"1395721072":["hashtag1","hashtag2"]},{"1395721066":["hashtag1","hashtag2"]},{"1395721069":["hashtag1","hashtag2"]},{"1395721060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721062, 1395721076, 1395721072, 1395721066, 1395721069, 1395721060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47902750968933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:30:03.093832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_53_2673.jpg', '/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_55_2933.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_06_3011.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_10_3721.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_13_2796.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_15_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_53_2673.jpg
/home/pi/Desktop/images/22112025/19/22/image_22112025_19_22_55_2933.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_06_3011.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_10_3721.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_13_2796.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_15_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721089","1395721083","1395721086","1395721082","1395721084","1395721081"],"photo_ids_order":["1395721081","1395721082","1395721083","1395721084","1395721086","1395721089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd3fa4f93f6965cc5bf6532dfa2fd5ee.jpg","text":"TemporaryFile(/tmp/multipartBody1914658399599791795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836263878,"filename":"image_22112025_19_24_15_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a824f206b4ac752063d43e29ac5831c9.jpg","text":"TemporaryFile(/tmp/multipartBody6593181843522555548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836263878,"filename":"image_22112025_19_24_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a0fdcdb90696b27dfb33aec712e4f2e.jpg","text":"TemporaryFile(/tmp/multipartBody863866893298974125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836263878,"filename":"image_22112025_19_24_13_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47a164c0f7028b775502b5d6a4b948e0.jpg","text":"TemporaryFile(/tmp/multipartBody7695232154329698796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836263878,"filename":"image_22112025_19_22_55_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ffd24cd52fe8aa7c9d8b43b206ed843.jpg","text":"TemporaryFile(/tmp/multipartBody1463999277718148041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836263878,"filename":"image_22112025_19_24_10_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd90adab57e5a1e27d09f97fe93c7c26.jpg","text":"TemporaryFile(/tmp/multipartBody3002808933996314472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836263878,"filename":"image_22112025_19_22_53_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721083","file1":"1395721082","file0":"1395721081","file4":"1395721086","file5":"1395721089","file3":"1395721084"},"map_files_photo_id_array":[{"photo_id":"1395721089","filename":"file5"},{"photo_id":"1395721083","filename":"file2"},{"photo_id":"1395721086","filename":"file4"},{"photo_id":"1395721082","filename":"file1"},{"photo_id":"1395721081","filename":"file0"},{"photo_id":"1395721084","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721089":["hashtag1","hashtag2"]},{"1395721083":["hashtag1","hashtag2"]},{"1395721086":["hashtag1","hashtag2"]},{"1395721082":["hashtag1","hashtag2"]},{"1395721084":["hashtag1","hashtag2"]},{"1395721081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721089, 1395721083, 1395721086, 1395721082, 1395721084, 1395721081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58472490310669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:30:42.573661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_19_3656.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_22_2727.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_28_3721.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_33_2558.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_40_2675.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_46_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_19_3656.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_22_2727.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_28_3721.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_33_2558.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_40_2675.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_46_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721102","1395721111","1395721098","1395721101","1395721103","1395721100"],"photo_ids_order":["1395721098","1395721100","1395721101","1395721102","1395721103","1395721111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/544ee3855ab36a251413a22f4bed44f8.jpg","text":"TemporaryFile(/tmp/multipartBody5302037302966505924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836303314,"filename":"image_22112025_19_24_33_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88e93791f0c363e0ed70c6e5c1b5092c.jpg","text":"TemporaryFile(/tmp/multipartBody2435975422075978428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836303314,"filename":"image_22112025_19_24_46_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91b74803409c66497d6b03fd7e9010d6.jpg","text":"TemporaryFile(/tmp/multipartBody7312850737175586708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836303314,"filename":"image_22112025_19_24_19_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e32238ba92999b4a9433a8a47dffeaf.jpg","text":"TemporaryFile(/tmp/multipartBody8425629690797380782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836303314,"filename":"image_22112025_19_24_28_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a81a4e567af238ff0d44156138e0c768.jpg","text":"TemporaryFile(/tmp/multipartBody7539949428168156823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836303314,"filename":"image_22112025_19_24_40_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e40bce3dd230a42d6d7c2b094dfa1d82.jpg","text":"TemporaryFile(/tmp/multipartBody7654732856045595036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836303314,"filename":"image_22112025_19_24_22_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721101","file1":"1395721100","file0":"1395721098","file4":"1395721103","file5":"1395721111","file3":"1395721102"},"map_files_photo_id_array":[{"photo_id":"1395721111","filename":"file5"},{"photo_id":"1395721101","filename":"file2"},{"photo_id":"1395721103","filename":"file4"},{"photo_id":"1395721100","filename":"file1"},{"photo_id":"1395721098","filename":"file0"},{"photo_id":"1395721102","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721102":["hashtag1","hashtag2"]},{"1395721111":["hashtag1","hashtag2"]},{"1395721098":["hashtag1","hashtag2"]},{"1395721101":["hashtag1","hashtag2"]},{"1395721103":["hashtag1","hashtag2"]},{"1395721100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721102, 1395721111, 1395721098, 1395721101, 1395721103, 1395721100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15482568740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:31:21.729884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_51_2717.jpg', '/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_55_3753.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_07_3876.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_10_2729.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_19_3762.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_22_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_51_2717.jpg
/home/pi/Desktop/images/22112025/19/24/image_22112025_19_24_55_3753.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_07_3876.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_10_2729.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_19_3762.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_22_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721156","1395721161","1395721149","1395721145","1395721159","1395721153"],"photo_ids_order":["1395721145","1395721149","1395721153","1395721156","1395721159","1395721161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22ae6d9fd99c2b7cde6f461db8ad2a97.jpg","text":"TemporaryFile(/tmp/multipartBody3055657690272255110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836342494,"filename":"image_22112025_19_25_10_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f2d97a17b20b59a039b04def067460e.jpg","text":"TemporaryFile(/tmp/multipartBody4477459145091040116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836342494,"filename":"image_22112025_19_25_22_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b0606667dbc6be154db4021a1aae4c1.jpg","text":"TemporaryFile(/tmp/multipartBody3930850351688781046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836342494,"filename":"image_22112025_19_24_55_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0366f5bdd02fec1e77df5d4e41098a3.jpg","text":"TemporaryFile(/tmp/multipartBody465199269975286521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836342494,"filename":"image_22112025_19_24_51_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9af640cadbf62c72c71812d43d04b90d.jpg","text":"TemporaryFile(/tmp/multipartBody9046717239662458647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836342494,"filename":"image_22112025_19_25_19_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b53fb3e32940f0f7b6ecd58780f24cea.jpg","text":"TemporaryFile(/tmp/multipartBody1863341644211790119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836342494,"filename":"image_22112025_19_25_07_3876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721153","file1":"1395721149","file0":"1395721145","file4":"1395721159","file5":"1395721161","file3":"1395721156"},"map_files_photo_id_array":[{"photo_id":"1395721161","filename":"file5"},{"photo_id":"1395721153","filename":"file2"},{"photo_id":"1395721159","filename":"file4"},{"photo_id":"1395721149","filename":"file1"},{"photo_id":"1395721145","filename":"file0"},{"photo_id":"1395721156","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721156":["hashtag1","hashtag2"]},{"1395721161":["hashtag1","hashtag2"]},{"1395721149":["hashtag1","hashtag2"]},{"1395721145":["hashtag1","hashtag2"]},{"1395721159":["hashtag1","hashtag2"]},{"1395721153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721156, 1395721161, 1395721149, 1395721145, 1395721159, 1395721153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32107925415039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:32:02.533955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_24_2580.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_31_2599.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_33_2680.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_37_3566.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_40_2808.jpg', '/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_42_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_24_2580.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_31_2599.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_33_2680.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_37_3566.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_40_2808.jpg
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_25_42_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721162","1395721170","1395721164","1395721167","1395721163","1395721165"],"photo_ids_order":["1395721162","1395721163","1395721164","1395721165","1395721167","1395721170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a27f5742033467a2d6c3debacda465f.jpg","text":"TemporaryFile(/tmp/multipartBody727452764368479151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836383311,"filename":"image_22112025_19_25_24_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b746a5a4fdc3282cae30e75ba09893ec.jpg","text":"TemporaryFile(/tmp/multipartBody9128135995348201643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836383311,"filename":"image_22112025_19_25_42_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/100b597679383b056673a0b9413be456.jpg","text":"TemporaryFile(/tmp/multipartBody4127184849940506492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836383311,"filename":"image_22112025_19_25_33_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e1843e5f6db608ebba8cd3ef17a4747.jpg","text":"TemporaryFile(/tmp/multipartBody351122677617349207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836383311,"filename":"image_22112025_19_25_40_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b1012d9141eb2d2ab32aaafc2ed1582.jpg","text":"TemporaryFile(/tmp/multipartBody5881633912411319100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836383311,"filename":"image_22112025_19_25_31_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11871c2e762c1d0544297e3f8375560e.jpg","text":"TemporaryFile(/tmp/multipartBody269670503181730506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836383311,"filename":"image_22112025_19_25_37_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721164","file1":"1395721163","file0":"1395721162","file4":"1395721167","file5":"1395721170","file3":"1395721165"},"map_files_photo_id_array":[{"photo_id":"1395721170","filename":"file5"},{"photo_id":"1395721164","filename":"file2"},{"photo_id":"1395721167","filename":"file4"},{"photo_id":"1395721163","filename":"file1"},{"photo_id":"1395721162","filename":"file0"},{"photo_id":"1395721165","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721162":["hashtag1","hashtag2"]},{"1395721170":["hashtag1","hashtag2"]},{"1395721164":["hashtag1","hashtag2"]},{"1395721167":["hashtag1","hashtag2"]},{"1395721163":["hashtag1","hashtag2"]},{"1395721165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721162, 1395721170, 1395721164, 1395721167, 1395721163, 1395721165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.159939765930176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:32:41.978928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/25/image_22112025_19_26_00_2606.jpg', '/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_04_3647.jpg', '/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_07_2654.jpg', '/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_09_2686.jpg', '/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_13_3643.jpg', '/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_16_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/25/image_22112025_19_26_00_2606.jpg
/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_04_3647.jpg
/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_07_2654.jpg
/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_09_2686.jpg
/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_13_3643.jpg
/home/pi/Desktop/images/22112025/19/26/image_22112025_19_26_16_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721182","1395721185","1395721179","1395721184","1395721183","1395721186"],"photo_ids_order":["1395721179","1395721182","1395721183","1395721184","1395721185","1395721186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/602c9ea2052e00a1fe638d79dd3782a0.jpg","text":"TemporaryFile(/tmp/multipartBody1528271388838785390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836422718,"filename":"image_22112025_19_26_04_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80b44aefe0d94d63f5d034edf319981a.jpg","text":"TemporaryFile(/tmp/multipartBody5545838311533548480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836422718,"filename":"image_22112025_19_26_13_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/159c911d3ce6a3d5a42a371090e67710.jpg","text":"TemporaryFile(/tmp/multipartBody6604298882869465961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836422718,"filename":"image_22112025_19_26_00_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/995f3069019131cba62cbd8a6f874cee.jpg","text":"TemporaryFile(/tmp/multipartBody3462349844673765459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836422718,"filename":"image_22112025_19_26_09_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9c1b5780bda822775ef37c394034f73.jpg","text":"TemporaryFile(/tmp/multipartBody8834255357941672647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836422718,"filename":"image_22112025_19_26_07_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7533704cbb907b90ca7b3819b69c926.jpg","text":"TemporaryFile(/tmp/multipartBody1815751134300377634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836422718,"filename":"image_22112025_19_26_16_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721183","file1":"1395721182","file0":"1395721179","file4":"1395721185","file5":"1395721186","file3":"1395721184"},"map_files_photo_id_array":[{"photo_id":"1395721186","filename":"file5"},{"photo_id":"1395721183","filename":"file2"},{"photo_id":"1395721185","filename":"file4"},{"photo_id":"1395721182","filename":"file1"},{"photo_id":"1395721179","filename":"file0"},{"photo_id":"1395721184","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721182":["hashtag1","hashtag2"]},{"1395721185":["hashtag1","hashtag2"]},{"1395721179":["hashtag1","hashtag2"]},{"1395721184":["hashtag1","hashtag2"]},{"1395721183":["hashtag1","hashtag2"]},{"1395721186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721182, 1395721185, 1395721179, 1395721184, 1395721183, 1395721186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56440091133118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:33:22.173694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_07_3017.jpg', '/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_14_2857.jpg', '/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_16_2709.jpg', '/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_23_3641.jpg', '/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_25_2666.jpg', '/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_28_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_07_3017.jpg
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_14_2857.jpg
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_16_2709.jpg
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_23_3641.jpg
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_25_2666.jpg
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_28_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721201","1395721204","1395721195","1395721189","1395721198","1395721192"],"photo_ids_order":["1395721189","1395721192","1395721195","1395721198","1395721201","1395721204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29fafd43a1ae45ec083c0e5ebd19f554.jpg","text":"TemporaryFile(/tmp/multipartBody5666582276580725238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836462924,"filename":"image_22112025_19_27_25_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da669fc3eb6f5627bde83396357be094.jpg","text":"TemporaryFile(/tmp/multipartBody6670863339283663303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836462924,"filename":"image_22112025_19_27_28_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b443d2388da3232f4a232405b19d72f8.jpg","text":"TemporaryFile(/tmp/multipartBody7928533018896656972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836462924,"filename":"image_22112025_19_27_16_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b9d44ca43224918a401dad6be0ec245.jpg","text":"TemporaryFile(/tmp/multipartBody6505636729035959353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836462924,"filename":"image_22112025_19_27_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78c58d3b2eef407853356b41ead993cf.jpg","text":"TemporaryFile(/tmp/multipartBody7848689464944824143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836462924,"filename":"image_22112025_19_27_23_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6f3960533a1d4c94542151f6520d7c1.jpg","text":"TemporaryFile(/tmp/multipartBody3660381926903810327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836462924,"filename":"image_22112025_19_27_14_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721195","file1":"1395721192","file0":"1395721189","file4":"1395721201","file5":"1395721204","file3":"1395721198"},"map_files_photo_id_array":[{"photo_id":"1395721204","filename":"file5"},{"photo_id":"1395721195","filename":"file2"},{"photo_id":"1395721201","filename":"file4"},{"photo_id":"1395721192","filename":"file1"},{"photo_id":"1395721189","filename":"file0"},{"photo_id":"1395721198","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721201":["hashtag1","hashtag2"]},{"1395721204":["hashtag1","hashtag2"]},{"1395721195":["hashtag1","hashtag2"]},{"1395721189":["hashtag1","hashtag2"]},{"1395721198":["hashtag1","hashtag2"]},{"1395721192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721201, 1395721204, 1395721195, 1395721189, 1395721198, 1395721192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.839213609695435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:34:03.106209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_35_2721.jpg', '/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_43_2709.jpg', '/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_53_2677.jpg', '/home/pi/Desktop/images/22112025/19/28/image_22112025_19_28_02_2823.jpg', '/home/pi/Desktop/images/22112025/19/28/image_22112025_19_28_13_2585.jpg', '/home/pi/Desktop/images/22112025/19/28/image_22112025_19_28_20_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_35_2721.jpg
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_43_2709.jpg
/home/pi/Desktop/images/22112025/19/27/image_22112025_19_27_53_2677.jpg
/home/pi/Desktop/images/22112025/19/28/image_22112025_19_28_02_2823.jpg
/home/pi/Desktop/images/22112025/19/28/image_22112025_19_28_13_2585.jpg
/home/pi/Desktop/images/22112025/19/28/image_22112025_19_28_20_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721210","1395721207","1395721236","1395721233","1395721209","1395721208"],"photo_ids_order":["1395721207","1395721208","1395721209","1395721210","1395721233","1395721236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68d2f393ccb673f36f0a678c75b22b14.jpg","text":"TemporaryFile(/tmp/multipartBody7483969743417519951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836503912,"filename":"image_22112025_19_28_02_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63d56cae344454a521a8b97318080c56.jpg","text":"TemporaryFile(/tmp/multipartBody3179135484041025728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836503912,"filename":"image_22112025_19_27_35_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01a700c03fbc87584316de26fdcc2b69.jpg","text":"TemporaryFile(/tmp/multipartBody2709922173919415046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836503912,"filename":"image_22112025_19_28_20_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/029dc32d74672a7184b4e74f1ead0759.jpg","text":"TemporaryFile(/tmp/multipartBody858800620988663637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836503912,"filename":"image_22112025_19_28_13_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dc2b3c9aec8c5b412985c7e6e9e421e.jpg","text":"TemporaryFile(/tmp/multipartBody6330592875471692573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836503912,"filename":"image_22112025_19_27_53_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc7527ca57c9e639e0d8e189a8797d63.jpg","text":"TemporaryFile(/tmp/multipartBody312038743837497299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836503912,"filename":"image_22112025_19_27_43_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721209","file1":"1395721208","file0":"1395721207","file4":"1395721233","file5":"1395721236","file3":"1395721210"},"map_files_photo_id_array":[{"photo_id":"1395721236","filename":"file5"},{"photo_id":"1395721209","filename":"file2"},{"photo_id":"1395721233","filename":"file4"},{"photo_id":"1395721208","filename":"file1"},{"photo_id":"1395721207","filename":"file0"},{"photo_id":"1395721210","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721210":["hashtag1","hashtag2"]},{"1395721207":["hashtag1","hashtag2"]},{"1395721236":["hashtag1","hashtag2"]},{"1395721233":["hashtag1","hashtag2"]},{"1395721209":["hashtag1","hashtag2"]},{"1395721208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721210, 1395721207, 1395721236, 1395721233, 1395721209, 1395721208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87292695045471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:34:42.460050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/28/image_22112025_19_28_55_2730.jpg', '/home/pi/Desktop/images/22112025/19/29/image_22112025_19_29_01_2538.jpg', '/home/pi/Desktop/images/22112025/19/29/image_22112025_19_29_08_3670.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_11_3730.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_16_2963.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_20_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/28/image_22112025_19_28_55_2730.jpg
/home/pi/Desktop/images/22112025/19/29/image_22112025_19_29_01_2538.jpg
/home/pi/Desktop/images/22112025/19/29/image_22112025_19_29_08_3670.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_11_3730.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_16_2963.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_20_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721254","1395721248","1395721253","1395721250","1395721252","1395721246"],"photo_ids_order":["1395721246","1395721248","1395721250","1395721252","1395721253","1395721254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d64e48013a1db851b20091831dfed396.jpg","text":"TemporaryFile(/tmp/multipartBody6308041546453699591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836543289,"filename":"image_22112025_19_31_20_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83d69e6597264af21af3f2b529f87b10.jpg","text":"TemporaryFile(/tmp/multipartBody7702125360363161069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836543289,"filename":"image_22112025_19_29_01_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ea839d8bf738471ff37b45da57b4e67.jpg","text":"TemporaryFile(/tmp/multipartBody4977912229446500239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836543289,"filename":"image_22112025_19_31_16_2963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/595a43b3667289e0ce97a81a21112124.jpg","text":"TemporaryFile(/tmp/multipartBody7625054756521871052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836543289,"filename":"image_22112025_19_29_08_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d105c54afe605173e58eb3e92bc95448.jpg","text":"TemporaryFile(/tmp/multipartBody5793904335205404516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836543289,"filename":"image_22112025_19_31_11_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0479edcca4ba63eda170838b6ff5720.jpg","text":"TemporaryFile(/tmp/multipartBody7199045819543031738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836543289,"filename":"image_22112025_19_28_55_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721250","file1":"1395721248","file0":"1395721246","file4":"1395721253","file5":"1395721254","file3":"1395721252"},"map_files_photo_id_array":[{"photo_id":"1395721254","filename":"file5"},{"photo_id":"1395721250","filename":"file2"},{"photo_id":"1395721253","filename":"file4"},{"photo_id":"1395721248","filename":"file1"},{"photo_id":"1395721246","filename":"file0"},{"photo_id":"1395721252","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721254":["hashtag1","hashtag2"]},{"1395721248":["hashtag1","hashtag2"]},{"1395721253":["hashtag1","hashtag2"]},{"1395721250":["hashtag1","hashtag2"]},{"1395721252":["hashtag1","hashtag2"]},{"1395721246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721254, 1395721248, 1395721253, 1395721250, 1395721252, 1395721246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57066535949707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:35:22.696173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_28_2694.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_41_3661.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_44_2687.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_53_3718.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_58_2673.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_07_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_28_2694.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_41_3661.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_44_2687.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_53_3718.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_58_2673.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_07_2585.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6638479232788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:35:42.763115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_28_2694.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_41_3661.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_44_2687.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_53_3718.jpg', '/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_58_2673.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_07_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_28_2694.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_41_3661.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_44_2687.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_53_3718.jpg
/home/pi/Desktop/images/22112025/19/31/image_22112025_19_31_58_2673.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_07_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721272","1395721275","1395721278","1395721280","1395721277","1395721276"],"photo_ids_order":["1395721272","1395721275","1395721276","1395721277","1395721278","1395721280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6a148d9c04d92f4674c1e2044526510.jpg","text":"TemporaryFile(/tmp/multipartBody9103590394792020968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836603515,"filename":"image_22112025_19_31_28_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd088ba5707fd946d0433d11b863725a.jpg","text":"TemporaryFile(/tmp/multipartBody5290927073601470093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836603515,"filename":"image_22112025_19_31_41_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46f0dbea8aae901b94dfd1e9f98bf278.jpg","text":"TemporaryFile(/tmp/multipartBody299110032037521277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836603515,"filename":"image_22112025_19_31_58_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/774742c33ded3115890459bec1967223.jpg","text":"TemporaryFile(/tmp/multipartBody905158431284840189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836603515,"filename":"image_22112025_19_32_07_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20615149d70af83ee3aff4519430b851.jpg","text":"TemporaryFile(/tmp/multipartBody7259425305249371954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836603515,"filename":"image_22112025_19_31_53_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9e3c493c201006906da96ce9160f18e.jpg","text":"TemporaryFile(/tmp/multipartBody1813269570457957102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836603515,"filename":"image_22112025_19_31_44_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721276","file1":"1395721275","file0":"1395721272","file4":"1395721278","file5":"1395721280","file3":"1395721277"},"map_files_photo_id_array":[{"photo_id":"1395721280","filename":"file5"},{"photo_id":"1395721276","filename":"file2"},{"photo_id":"1395721278","filename":"file4"},{"photo_id":"1395721275","filename":"file1"},{"photo_id":"1395721272","filename":"file0"},{"photo_id":"1395721277","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721272":["hashtag1","hashtag2"]},{"1395721275":["hashtag1","hashtag2"]},{"1395721278":["hashtag1","hashtag2"]},{"1395721280":["hashtag1","hashtag2"]},{"1395721277":["hashtag1","hashtag2"]},{"1395721276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721272, 1395721275, 1395721278, 1395721280, 1395721277, 1395721276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.922993421554565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:36:22.042620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_11_3563.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_16_2684.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_20_3671.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_22_2718.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_31_2667.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_43_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_11_3563.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_16_2684.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_20_3671.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_22_2718.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_31_2667.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_43_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721290","1395721287","1395721296","1395721305","1395721302","1395721292"],"photo_ids_order":["1395721287","1395721290","1395721292","1395721296","1395721302","1395721305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0efd5c79842fa906e285b8fe8148105b.jpg","text":"TemporaryFile(/tmp/multipartBody3411669860548390512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836642808,"filename":"image_22112025_19_32_16_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/901a827281d92cd364c0248796f770cf.jpg","text":"TemporaryFile(/tmp/multipartBody9072498742821916014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836642808,"filename":"image_22112025_19_32_11_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12031c0f2b39ce061fb9ab542efeb92c.jpg","text":"TemporaryFile(/tmp/multipartBody1539835436228990047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836642808,"filename":"image_22112025_19_32_22_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea06ef2f6e5e79fb8c6a54814ee9c56a.jpg","text":"TemporaryFile(/tmp/multipartBody1879287348218068097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836642808,"filename":"image_22112025_19_32_43_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d66ad716de8835cf71b9b297f5abb80.jpg","text":"TemporaryFile(/tmp/multipartBody8047216560718517001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836642808,"filename":"image_22112025_19_32_31_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd8b1ffb456de4ca28518b83a2354186.jpg","text":"TemporaryFile(/tmp/multipartBody100888040908371936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836642808,"filename":"image_22112025_19_32_20_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721292","file1":"1395721290","file0":"1395721287","file4":"1395721302","file5":"1395721305","file3":"1395721296"},"map_files_photo_id_array":[{"photo_id":"1395721305","filename":"file5"},{"photo_id":"1395721292","filename":"file2"},{"photo_id":"1395721302","filename":"file4"},{"photo_id":"1395721290","filename":"file1"},{"photo_id":"1395721287","filename":"file0"},{"photo_id":"1395721296","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721290":["hashtag1","hashtag2"]},{"1395721287":["hashtag1","hashtag2"]},{"1395721296":["hashtag1","hashtag2"]},{"1395721305":["hashtag1","hashtag2"]},{"1395721302":["hashtag1","hashtag2"]},{"1395721292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721290, 1395721287, 1395721296, 1395721305, 1395721302, 1395721292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.593043088912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:37:03.014640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_46_2629.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_50_3753.jpg', '/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_52_2571.jpg', '/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_01_2691.jpg', '/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_04_2610.jpg', '/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_07_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_46_2629.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_50_3753.jpg
/home/pi/Desktop/images/22112025/19/32/image_22112025_19_32_52_2571.jpg
/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_01_2691.jpg
/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_04_2610.jpg
/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_07_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721312","1395721306","1395721309","1395721308","1395721316","1395721307"],"photo_ids_order":["1395721306","1395721307","1395721308","1395721309","1395721312","1395721316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ce12766c37d71431180e67eb2b3dda6.jpg","text":"TemporaryFile(/tmp/multipartBody5463192609783347980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836683877,"filename":"image_22112025_19_33_04_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7cc219eef069efc0d661ab4a0d24f7c0.jpg","text":"TemporaryFile(/tmp/multipartBody5666725723687080993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836683877,"filename":"image_22112025_19_32_46_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69c04e4aae08c58ed0bc60b585a8d9c7.jpg","text":"TemporaryFile(/tmp/multipartBody1782740630022308829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836683877,"filename":"image_22112025_19_33_01_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/481026008e0302b967e6d2970a6a7c28.jpg","text":"TemporaryFile(/tmp/multipartBody1662735760167089905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836683877,"filename":"image_22112025_19_32_52_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b4b6f59cb1815aea03c237548aad1f7.jpg","text":"TemporaryFile(/tmp/multipartBody2825689710426751871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836683877,"filename":"image_22112025_19_33_07_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e24961bb719ec0983963f607aadb8bc.jpg","text":"TemporaryFile(/tmp/multipartBody8755646831317534163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836683877,"filename":"image_22112025_19_32_50_3753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721308","file1":"1395721307","file0":"1395721306","file4":"1395721312","file5":"1395721316","file3":"1395721309"},"map_files_photo_id_array":[{"photo_id":"1395721316","filename":"file5"},{"photo_id":"1395721308","filename":"file2"},{"photo_id":"1395721312","filename":"file4"},{"photo_id":"1395721307","filename":"file1"},{"photo_id":"1395721306","filename":"file0"},{"photo_id":"1395721309","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721312":["hashtag1","hashtag2"]},{"1395721306":["hashtag1","hashtag2"]},{"1395721309":["hashtag1","hashtag2"]},{"1395721308":["hashtag1","hashtag2"]},{"1395721316":["hashtag1","hashtag2"]},{"1395721307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721312, 1395721306, 1395721309, 1395721308, 1395721316, 1395721307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42092514038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:37:42.210820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_11_3823.jpg', '/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_23_3771.jpg', '/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_49_2799.jpg', '/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_52_3689.jpg', '/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_55_2712.jpg', '/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_01_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_11_3823.jpg
/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_23_3771.jpg
/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_49_2799.jpg
/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_52_3689.jpg
/home/pi/Desktop/images/22112025/19/33/image_22112025_19_33_55_2712.jpg
/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_01_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721327","1395721323","1395721329","1395721328","1395721331","1395721330"],"photo_ids_order":["1395721323","1395721327","1395721328","1395721329","1395721330","1395721331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4339eb7a326e958ba0765ec27cb06f11.jpg","text":"TemporaryFile(/tmp/multipartBody3779502113883043518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836722994,"filename":"image_22112025_19_33_23_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a87baeb6fb3e4e7e032ab6233e317af0.jpg","text":"TemporaryFile(/tmp/multipartBody6676872571152362680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836722994,"filename":"image_22112025_19_33_11_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a75ac385b641d2eac586b7f1eaea01f0.jpg","text":"TemporaryFile(/tmp/multipartBody4030421483176703403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836722994,"filename":"image_22112025_19_33_52_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0f52356d898bc06a7979a547d050926.jpg","text":"TemporaryFile(/tmp/multipartBody7683036708256035883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836722994,"filename":"image_22112025_19_33_49_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a7fcce3028132406f44d4dafca3c33ac.jpg","text":"TemporaryFile(/tmp/multipartBody2811291434619646545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836722994,"filename":"image_22112025_19_34_01_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9acca1ef1fc8d7610a6bf079d60ff12.jpg","text":"TemporaryFile(/tmp/multipartBody5738457764705953451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836722994,"filename":"image_22112025_19_33_55_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721328","file1":"1395721327","file0":"1395721323","file4":"1395721330","file5":"1395721331","file3":"1395721329"},"map_files_photo_id_array":[{"photo_id":"1395721331","filename":"file5"},{"photo_id":"1395721328","filename":"file2"},{"photo_id":"1395721330","filename":"file4"},{"photo_id":"1395721327","filename":"file1"},{"photo_id":"1395721323","filename":"file0"},{"photo_id":"1395721329","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721327":["hashtag1","hashtag2"]},{"1395721323":["hashtag1","hashtag2"]},{"1395721329":["hashtag1","hashtag2"]},{"1395721328":["hashtag1","hashtag2"]},{"1395721331":["hashtag1","hashtag2"]},{"1395721330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721327, 1395721323, 1395721329, 1395721328, 1395721331, 1395721330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.115363359451294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:38:22.535677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_04_3650.jpg', '/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_19_2675.jpg', '/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_25_2768.jpg', '/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_49_2631.jpg', '/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_58_2556.jpg', '/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_07_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_04_3650.jpg
/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_19_2675.jpg
/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_25_2768.jpg
/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_49_2631.jpg
/home/pi/Desktop/images/22112025/19/34/image_22112025_19_34_58_2556.jpg
/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_07_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721348","1395721353","1395721341","1395721338","1395721358","1395721334"],"photo_ids_order":["1395721334","1395721338","1395721341","1395721348","1395721353","1395721358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/96fb3ebab004cb72d70d6cf8e227ed9c.jpg","text":"TemporaryFile(/tmp/multipartBody8834078400107608061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836763305,"filename":"image_22112025_19_34_49_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ede07f81cb86a3b08f36ef3a2387870.jpg","text":"TemporaryFile(/tmp/multipartBody5036615041452231546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836763305,"filename":"image_22112025_19_34_58_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dc433c7e6a1ddc6907f26a779a97a4f.jpg","text":"TemporaryFile(/tmp/multipartBody8210331605496344969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836763305,"filename":"image_22112025_19_34_25_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e050c482ebee6bc6445eb1d43daf086.jpg","text":"TemporaryFile(/tmp/multipartBody7211949350461223256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836763305,"filename":"image_22112025_19_34_19_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3bc83fedf34edd81ab8dd5a3f6eb4f1d.jpg","text":"TemporaryFile(/tmp/multipartBody310842257086227831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836763305,"filename":"image_22112025_19_35_07_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7ec826622a7e84d8cd44861de6894f1.jpg","text":"TemporaryFile(/tmp/multipartBody7221407139494239455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836763305,"filename":"image_22112025_19_34_04_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721341","file1":"1395721338","file0":"1395721334","file4":"1395721353","file5":"1395721358","file3":"1395721348"},"map_files_photo_id_array":[{"photo_id":"1395721358","filename":"file5"},{"photo_id":"1395721341","filename":"file2"},{"photo_id":"1395721353","filename":"file4"},{"photo_id":"1395721338","filename":"file1"},{"photo_id":"1395721334","filename":"file0"},{"photo_id":"1395721348","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721348":["hashtag1","hashtag2"]},{"1395721353":["hashtag1","hashtag2"]},{"1395721341":["hashtag1","hashtag2"]},{"1395721338":["hashtag1","hashtag2"]},{"1395721358":["hashtag1","hashtag2"]},{"1395721334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721348, 1395721353, 1395721341, 1395721338, 1395721358, 1395721334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79816794395447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:39:03.676539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_13_2614.jpg', '/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_16_2697.jpg', '/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_31_2734.jpg', '/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_52_2628.jpg', '/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_55_2695.jpg', '/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_58_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_13_2614.jpg
/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_16_2697.jpg
/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_31_2734.jpg
/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_52_2628.jpg
/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_55_2695.jpg
/home/pi/Desktop/images/22112025/19/35/image_22112025_19_35_58_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721362","1395721370","1395721364","1395721361","1395721363","1395721366"],"photo_ids_order":["1395721361","1395721362","1395721363","1395721364","1395721366","1395721370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97915ec6fe1e035b9cabf75160adb3aa.jpg","text":"TemporaryFile(/tmp/multipartBody8506536401184133349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836804615,"filename":"image_22112025_19_35_16_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6a6f5539dadaad24673b99c3130664d.jpg","text":"TemporaryFile(/tmp/multipartBody8127045134028441329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836804615,"filename":"image_22112025_19_35_58_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d51ddb361775664ce5dec3d7296b6ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3377456672160718655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836804615,"filename":"image_22112025_19_35_52_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b96fe0f5f59dfeeaa46b82791b08910.jpg","text":"TemporaryFile(/tmp/multipartBody8921114483490919616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836804615,"filename":"image_22112025_19_35_13_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e52fd08dc5ff1ff4653faee0ebdfcf48.jpg","text":"TemporaryFile(/tmp/multipartBody3273251961734713942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836804615,"filename":"image_22112025_19_35_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7c172c679d37dffff390ec9374de925.jpg","text":"TemporaryFile(/tmp/multipartBody915377641606386045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836804615,"filename":"image_22112025_19_35_55_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721363","file1":"1395721362","file0":"1395721361","file4":"1395721366","file5":"1395721370","file3":"1395721364"},"map_files_photo_id_array":[{"photo_id":"1395721370","filename":"file5"},{"photo_id":"1395721363","filename":"file2"},{"photo_id":"1395721366","filename":"file4"},{"photo_id":"1395721362","filename":"file1"},{"photo_id":"1395721361","filename":"file0"},{"photo_id":"1395721364","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721362":["hashtag1","hashtag2"]},{"1395721370":["hashtag1","hashtag2"]},{"1395721364":["hashtag1","hashtag2"]},{"1395721361":["hashtag1","hashtag2"]},{"1395721363":["hashtag1","hashtag2"]},{"1395721366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721362, 1395721370, 1395721364, 1395721361, 1395721363, 1395721366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43896222114563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:39:42.663136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_01_2673.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_04_2665.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_07_3632.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_22_2615.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_40_2737.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_43_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_01_2673.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_04_2665.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_07_3632.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_22_2615.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_40_2737.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_43_2600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6306092739105225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:40:02.416883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_01_2673.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_04_2665.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_07_3632.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_22_2615.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_40_2737.jpg', '/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_43_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_01_2673.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_04_2665.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_07_3632.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_22_2615.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_40_2737.jpg
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_43_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721386","1395721389","1395721394","1395721391","1395721388","1395721387"],"photo_ids_order":["1395721386","1395721387","1395721388","1395721389","1395721391","1395721394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/495247e074dfede4bf67f7f5aa710d8d.jpg","text":"TemporaryFile(/tmp/multipartBody2788606880895222910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836863217,"filename":"image_22112025_19_36_01_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f679b3c08be925248a7bc68a90e8f6b6.jpg","text":"TemporaryFile(/tmp/multipartBody4521366605859219924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836863217,"filename":"image_22112025_19_36_22_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1dbde9b026a3c82ea0d1d8db7ddffc59.jpg","text":"TemporaryFile(/tmp/multipartBody6353229062646870756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836863217,"filename":"image_22112025_19_36_43_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd59a0f46977abec85fa598de4b2bbb0.jpg","text":"TemporaryFile(/tmp/multipartBody7614970157751113378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836863217,"filename":"image_22112025_19_36_40_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c9c2d996eddb31a3e960881ee77ebbf.jpg","text":"TemporaryFile(/tmp/multipartBody7391275378543169244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836863217,"filename":"image_22112025_19_36_07_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5812f1ab9aebd293d271b9b4e2cc4a90.jpg","text":"TemporaryFile(/tmp/multipartBody8057398049190727631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836863217,"filename":"image_22112025_19_36_04_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721388","file1":"1395721387","file0":"1395721386","file4":"1395721391","file5":"1395721394","file3":"1395721389"},"map_files_photo_id_array":[{"photo_id":"1395721394","filename":"file5"},{"photo_id":"1395721388","filename":"file2"},{"photo_id":"1395721391","filename":"file4"},{"photo_id":"1395721387","filename":"file1"},{"photo_id":"1395721386","filename":"file0"},{"photo_id":"1395721389","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721386":["hashtag1","hashtag2"]},{"1395721389":["hashtag1","hashtag2"]},{"1395721394":["hashtag1","hashtag2"]},{"1395721391":["hashtag1","hashtag2"]},{"1395721388":["hashtag1","hashtag2"]},{"1395721387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721386, 1395721389, 1395721394, 1395721391, 1395721388, 1395721387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.745829820632935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:40:41.921840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_58_3579.jpg', '/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_01_2668.jpg', '/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_24_2654.jpg', '/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_31_2587.jpg', '/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_34_3715.jpg', '/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_42_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/36/image_22112025_19_36_58_3579.jpg
/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_01_2668.jpg
/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_24_2654.jpg
/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_31_2587.jpg
/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_34_3715.jpg
/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_42_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721596","1395721528","1395721493","1395721562","1395721637","1395721456"],"photo_ids_order":["1395721456","1395721493","1395721528","1395721562","1395721596","1395721637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd339d2f0f32afb129fdda8b9b1f6051.jpg","text":"TemporaryFile(/tmp/multipartBody846637282230380257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836902666,"filename":"image_22112025_19_37_34_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8dfb9c88d55409825b8370b30bb3c734.jpg","text":"TemporaryFile(/tmp/multipartBody2446788012735626975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836902666,"filename":"image_22112025_19_37_24_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31cc392c861c151ef4e4683324a7cb90.jpg","text":"TemporaryFile(/tmp/multipartBody1921924977641146791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836902666,"filename":"image_22112025_19_37_01_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22a9fe7003d87390990219a8c39b2776.jpg","text":"TemporaryFile(/tmp/multipartBody9113913987874250416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836902666,"filename":"image_22112025_19_37_31_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5514d52c03da546581be2fbdbb586fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6597630631944861097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836902666,"filename":"image_22112025_19_37_42_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f57f774fb91979eb6bb62ebfc26f691d.jpg","text":"TemporaryFile(/tmp/multipartBody2284765751246052475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836902666,"filename":"image_22112025_19_36_58_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721528","file1":"1395721493","file0":"1395721456","file4":"1395721596","file5":"1395721637","file3":"1395721562"},"map_files_photo_id_array":[{"photo_id":"1395721637","filename":"file5"},{"photo_id":"1395721528","filename":"file2"},{"photo_id":"1395721596","filename":"file4"},{"photo_id":"1395721493","filename":"file1"},{"photo_id":"1395721456","filename":"file0"},{"photo_id":"1395721562","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721596":["hashtag1","hashtag2"]},{"1395721528":["hashtag1","hashtag2"]},{"1395721493":["hashtag1","hashtag2"]},{"1395721562":["hashtag1","hashtag2"]},{"1395721637":["hashtag1","hashtag2"]},{"1395721456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721596, 1395721528, 1395721493, 1395721562, 1395721637, 1395721456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67262268066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:41:22.185757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_46_3606.jpg', '/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_51_2737.jpg', '/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_55_3841.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_24_2532.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_28_3603.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_31_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_46_3606.jpg
/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_51_2737.jpg
/home/pi/Desktop/images/22112025/19/37/image_22112025_19_37_55_3841.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_24_2532.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_28_3603.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_31_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721695","1395721689","1395721692","1395721697","1395721685","1395721681"],"photo_ids_order":["1395721681","1395721685","1395721689","1395721692","1395721695","1395721697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7eb869c0616c0fd5d2f8c7cd06a43b33.jpg","text":"TemporaryFile(/tmp/multipartBody880382312291838356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836942954,"filename":"image_22112025_19_38_28_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3a7f82e7c0e8f446558c37e2ee0b59d5.jpg","text":"TemporaryFile(/tmp/multipartBody4021156297887730049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836942954,"filename":"image_22112025_19_37_55_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9da84daae3946463e78392cef88e15b.jpg","text":"TemporaryFile(/tmp/multipartBody582344058631413492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836942954,"filename":"image_22112025_19_38_24_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bbf8b84a251bbc355e18c8a2709b08b6.jpg","text":"TemporaryFile(/tmp/multipartBody1074829762209220345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836942954,"filename":"image_22112025_19_38_31_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f2a1f476f563746580455e5af090c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3968775359852621026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836942954,"filename":"image_22112025_19_37_51_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0977106d324dec158e8aa6edb0a1cfa4.jpg","text":"TemporaryFile(/tmp/multipartBody496223583192568006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763836942954,"filename":"image_22112025_19_37_46_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721689","file1":"1395721685","file0":"1395721681","file4":"1395721695","file5":"1395721697","file3":"1395721692"},"map_files_photo_id_array":[{"photo_id":"1395721697","filename":"file5"},{"photo_id":"1395721689","filename":"file2"},{"photo_id":"1395721695","filename":"file4"},{"photo_id":"1395721685","filename":"file1"},{"photo_id":"1395721681","filename":"file0"},{"photo_id":"1395721692","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721695":["hashtag1","hashtag2"]},{"1395721689":["hashtag1","hashtag2"]},{"1395721692":["hashtag1","hashtag2"]},{"1395721697":["hashtag1","hashtag2"]},{"1395721685":["hashtag1","hashtag2"]},{"1395721681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721695, 1395721689, 1395721692, 1395721697, 1395721685, 1395721681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.211758613586426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:42:02.916734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_43_2712.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_46_3546.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_49_2667.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_58_3834.jpg', '/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_01_2773.jpg', '/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_06_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_43_2712.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_46_3546.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_49_2667.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_58_3834.jpg
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_01_2773.jpg
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_06_2698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6717686653137207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:42:22.325669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_43_2712.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_46_3546.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_49_2667.jpg', '/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_58_3834.jpg', '/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_01_2773.jpg', '/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_06_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_43_2712.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_46_3546.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_49_2667.jpg
/home/pi/Desktop/images/22112025/19/38/image_22112025_19_38_58_3834.jpg
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_01_2773.jpg
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_06_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721723","1395721717","1395721711","1395721714","1395721708","1395721720"],"photo_ids_order":["1395721708","1395721711","1395721714","1395721717","1395721720","1395721723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3f074a9a95f69952dcf2093ad785292.jpg","text":"TemporaryFile(/tmp/multipartBody1705170890907403002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837003051,"filename":"image_22112025_19_39_06_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/061fb228eb98309abe5e1b9a122aa62a.jpg","text":"TemporaryFile(/tmp/multipartBody3726050539934959323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837003051,"filename":"image_22112025_19_38_58_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7f236e2e03a8d10cb5dc49f170efd4a.jpg","text":"TemporaryFile(/tmp/multipartBody1531144346825175748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837003051,"filename":"image_22112025_19_38_46_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fd8baaefd7760ae7af85f6c6619f8b3.jpg","text":"TemporaryFile(/tmp/multipartBody8969501579350221497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837003051,"filename":"image_22112025_19_38_49_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d208f8fbbf2042ab60311691d6df047.jpg","text":"TemporaryFile(/tmp/multipartBody6471403923999359436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837003051,"filename":"image_22112025_19_38_43_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f32826a9be3ab53be0dee1a850930b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1683446008751958365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837003051,"filename":"image_22112025_19_39_01_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721714","file1":"1395721711","file0":"1395721708","file4":"1395721720","file5":"1395721723","file3":"1395721717"},"map_files_photo_id_array":[{"photo_id":"1395721723","filename":"file5"},{"photo_id":"1395721714","filename":"file2"},{"photo_id":"1395721720","filename":"file4"},{"photo_id":"1395721711","filename":"file1"},{"photo_id":"1395721708","filename":"file0"},{"photo_id":"1395721717","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721723":["hashtag1","hashtag2"]},{"1395721717":["hashtag1","hashtag2"]},{"1395721711":["hashtag1","hashtag2"]},{"1395721714":["hashtag1","hashtag2"]},{"1395721708":["hashtag1","hashtag2"]},{"1395721720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721723, 1395721717, 1395721711, 1395721714, 1395721708, 1395721720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06899166107178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:43:03.247319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_10_3640.jpg', '/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_13_2714.jpg', '/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_15_2705.jpg', '/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_19_3744.jpg', '/home/pi/Desktop/images/22112025/19/39/image_22112025_19_40_01_3754.jpg', '/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_04_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_10_3640.jpg
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_13_2714.jpg
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_15_2705.jpg
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_39_19_3744.jpg
/home/pi/Desktop/images/22112025/19/39/image_22112025_19_40_01_3754.jpg
/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_04_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721726","1395721731","1395721734","1395721728","1395721727","1395721729"],"photo_ids_order":["1395721726","1395721727","1395721728","1395721729","1395721731","1395721734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bff86fe6a5a5a696b2635cb6ae30010b.jpg","text":"TemporaryFile(/tmp/multipartBody8173919562373524118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837044155,"filename":"image_22112025_19_39_10_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/098e8c9a8985a3d34c56482ebcea1b93.jpg","text":"TemporaryFile(/tmp/multipartBody6538306431959038414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837044155,"filename":"image_22112025_19_40_01_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ada6cd75be97f7f1b3db13a3eac26bf6.jpg","text":"TemporaryFile(/tmp/multipartBody8781780029071898490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837044155,"filename":"image_22112025_19_40_04_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/242f814f4b618d67ae2f117356e5f35c.jpg","text":"TemporaryFile(/tmp/multipartBody8294927105885979785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837044155,"filename":"image_22112025_19_39_15_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9cb5c841a6c86e8288c09471fcab64bf.jpg","text":"TemporaryFile(/tmp/multipartBody6658488956130998478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837044155,"filename":"image_22112025_19_39_13_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4214f784e19d059302c75b96f9b6ce3a.jpg","text":"TemporaryFile(/tmp/multipartBody8190767508267000604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837044155,"filename":"image_22112025_19_39_19_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721728","file1":"1395721727","file0":"1395721726","file4":"1395721731","file5":"1395721734","file3":"1395721729"},"map_files_photo_id_array":[{"photo_id":"1395721734","filename":"file5"},{"photo_id":"1395721728","filename":"file2"},{"photo_id":"1395721731","filename":"file4"},{"photo_id":"1395721727","filename":"file1"},{"photo_id":"1395721726","filename":"file0"},{"photo_id":"1395721729","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721726":["hashtag1","hashtag2"]},{"1395721731":["hashtag1","hashtag2"]},{"1395721734":["hashtag1","hashtag2"]},{"1395721728":["hashtag1","hashtag2"]},{"1395721727":["hashtag1","hashtag2"]},{"1395721729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721726, 1395721731, 1395721734, 1395721728, 1395721727, 1395721729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90725493431091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:43:42.540741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_16_3560.jpg', '/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_36_2680.jpg', '/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_45_2629.jpg', '/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_51_2617.jpg', '/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_57_2665.jpg', '/home/pi/Desktop/images/22112025/19/41/image_22112025_19_41_03_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_16_3560.jpg
/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_36_2680.jpg
/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_45_2629.jpg
/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_51_2617.jpg
/home/pi/Desktop/images/22112025/19/40/image_22112025_19_40_57_2665.jpg
/home/pi/Desktop/images/22112025/19/41/image_22112025_19_41_03_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721744","1395721743","1395721746","1395721745","1395721748","1395721747"],"photo_ids_order":["1395721743","1395721744","1395721745","1395721746","1395721747","1395721748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a5a365799f3993c4570d41d8516f2d1.jpg","text":"TemporaryFile(/tmp/multipartBody1595319524484701872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837083282,"filename":"image_22112025_19_40_36_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2462b961dbf9ea680fd75c814105d23.jpg","text":"TemporaryFile(/tmp/multipartBody3418686253035646645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837083282,"filename":"image_22112025_19_40_16_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e99a3893043bb2cfb0e79b800032dd67.jpg","text":"TemporaryFile(/tmp/multipartBody7677414542353343038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837083282,"filename":"image_22112025_19_40_51_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6ceb421cd6690c96725c24649fc4b2f.jpg","text":"TemporaryFile(/tmp/multipartBody4285645243970558615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837083282,"filename":"image_22112025_19_40_45_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c08e8725b38b204c7e50c88edd61a0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4849745002513447076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837083282,"filename":"image_22112025_19_41_03_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b209f7564fe205767644103c64a48884.jpg","text":"TemporaryFile(/tmp/multipartBody5539330041107311331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837083282,"filename":"image_22112025_19_40_57_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721745","file1":"1395721744","file0":"1395721743","file4":"1395721747","file5":"1395721748","file3":"1395721746"},"map_files_photo_id_array":[{"photo_id":"1395721748","filename":"file5"},{"photo_id":"1395721745","filename":"file2"},{"photo_id":"1395721747","filename":"file4"},{"photo_id":"1395721744","filename":"file1"},{"photo_id":"1395721743","filename":"file0"},{"photo_id":"1395721746","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721744":["hashtag1","hashtag2"]},{"1395721743":["hashtag1","hashtag2"]},{"1395721746":["hashtag1","hashtag2"]},{"1395721745":["hashtag1","hashtag2"]},{"1395721748":["hashtag1","hashtag2"]},{"1395721747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721744, 1395721743, 1395721746, 1395721745, 1395721748, 1395721747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75411415100098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:44:22.734936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/41/image_22112025_19_41_18_2637.jpg', '/home/pi/Desktop/images/22112025/19/41/image_22112025_19_41_36_2779.jpg', '/home/pi/Desktop/images/22112025/19/41/image_22112025_19_41_52_3729.jpg', '/home/pi/Desktop/images/22112025/19/42/image_22112025_19_42_39_2685.jpg', '/home/pi/Desktop/images/22112025/19/42/image_22112025_19_43_00_2740.jpg', '/home/pi/Desktop/images/22112025/19/43/image_22112025_19_43_09_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/41/image_22112025_19_41_18_2637.jpg
/home/pi/Desktop/images/22112025/19/41/image_22112025_19_41_36_2779.jpg
/home/pi/Desktop/images/22112025/19/41/image_22112025_19_41_52_3729.jpg
/home/pi/Desktop/images/22112025/19/42/image_22112025_19_42_39_2685.jpg
/home/pi/Desktop/images/22112025/19/42/image_22112025_19_43_00_2740.jpg
/home/pi/Desktop/images/22112025/19/43/image_22112025_19_43_09_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721764","1395721772","1395721760","1395721768","1395721753","1395721756"],"photo_ids_order":["1395721753","1395721756","1395721760","1395721764","1395721768","1395721772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/21d8c81da11ffbf6be9cff1a62fbe500.jpg","text":"TemporaryFile(/tmp/multipartBody9209696885877664446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837123494,"filename":"image_22112025_19_42_39_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/146c4289638d18ed0dc462b206ebfa0f.jpg","text":"TemporaryFile(/tmp/multipartBody6688092944129806118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837123494,"filename":"image_22112025_19_43_09_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecbe0bedb47b816084f1b01316e754c5.jpg","text":"TemporaryFile(/tmp/multipartBody2710211708493803408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837123494,"filename":"image_22112025_19_41_52_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb22b4772043f7c5904f920ae9023dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4460127543841934763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837123494,"filename":"image_22112025_19_43_00_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f41bcf475a49c9b5e4158b6677dad40.jpg","text":"TemporaryFile(/tmp/multipartBody5609695918953826813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837123494,"filename":"image_22112025_19_41_18_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b50510b45f9a8a325b4159d0c9dbc218.jpg","text":"TemporaryFile(/tmp/multipartBody2295366686082118858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837123494,"filename":"image_22112025_19_41_36_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721760","file1":"1395721756","file0":"1395721753","file4":"1395721768","file5":"1395721772","file3":"1395721764"},"map_files_photo_id_array":[{"photo_id":"1395721772","filename":"file5"},{"photo_id":"1395721760","filename":"file2"},{"photo_id":"1395721768","filename":"file4"},{"photo_id":"1395721756","filename":"file1"},{"photo_id":"1395721753","filename":"file0"},{"photo_id":"1395721764","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721764":["hashtag1","hashtag2"]},{"1395721772":["hashtag1","hashtag2"]},{"1395721760":["hashtag1","hashtag2"]},{"1395721768":["hashtag1","hashtag2"]},{"1395721753":["hashtag1","hashtag2"]},{"1395721756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721764, 1395721772, 1395721760, 1395721768, 1395721753, 1395721756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9924042224884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:45:02.578538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/43/image_22112025_19_43_16_3981.jpg', '/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_12_2718.jpg', '/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_15_3561.jpg', '/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_33_3558.jpg', '/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_45_2867.jpg', '/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_51_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/43/image_22112025_19_43_16_3981.jpg
/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_12_2718.jpg
/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_15_3561.jpg
/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_33_3558.jpg
/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_45_2867.jpg
/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_51_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721782","1395721776","1395721775","1395721778","1395721777","1395721780"],"photo_ids_order":["1395721775","1395721776","1395721777","1395721778","1395721780","1395721782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/792fc4c70929a1d0d6a1884987c771b9.jpg","text":"TemporaryFile(/tmp/multipartBody7821029022643608787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837163500,"filename":"image_22112025_19_44_51_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e2a6905266d74b3965d2b5d9b08a843.jpg","text":"TemporaryFile(/tmp/multipartBody1609775960631767343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837163500,"filename":"image_22112025_19_44_12_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2ab08cc1772838d42616f668d27b3a3.jpg","text":"TemporaryFile(/tmp/multipartBody3671444679589063510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837163500,"filename":"image_22112025_19_43_16_3981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c23b93f8fb6e043629db2ecb978249fd.jpg","text":"TemporaryFile(/tmp/multipartBody138979864546514503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837163500,"filename":"image_22112025_19_44_33_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddeac67324f015f9f88769fef1e195ef.jpg","text":"TemporaryFile(/tmp/multipartBody8963908378437220495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837163500,"filename":"image_22112025_19_44_15_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed181b21fdcf936792f2665f84801497.jpg","text":"TemporaryFile(/tmp/multipartBody4884032566291753671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837163500,"filename":"image_22112025_19_44_45_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721777","file1":"1395721776","file0":"1395721775","file4":"1395721780","file5":"1395721782","file3":"1395721778"},"map_files_photo_id_array":[{"photo_id":"1395721782","filename":"file5"},{"photo_id":"1395721777","filename":"file2"},{"photo_id":"1395721780","filename":"file4"},{"photo_id":"1395721776","filename":"file1"},{"photo_id":"1395721775","filename":"file0"},{"photo_id":"1395721778","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721782":["hashtag1","hashtag2"]},{"1395721776":["hashtag1","hashtag2"]},{"1395721775":["hashtag1","hashtag2"]},{"1395721778":["hashtag1","hashtag2"]},{"1395721777":["hashtag1","hashtag2"]},{"1395721780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721782, 1395721776, 1395721775, 1395721778, 1395721777, 1395721780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16765069961548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:45:42.107479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_54_3667.jpg', '/home/pi/Desktop/images/22112025/19/44/image_22112025_19_45_00_2546.jpg', '/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_15_3876.jpg', '/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_21_2575.jpg', '/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_27_3722.jpg', '/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_39_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/44/image_22112025_19_44_54_3667.jpg
/home/pi/Desktop/images/22112025/19/44/image_22112025_19_45_00_2546.jpg
/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_15_3876.jpg
/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_21_2575.jpg
/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_27_3722.jpg
/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_39_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721801","1395721797","1395721799","1395721803","1395721805","1395721792"],"photo_ids_order":["1395721792","1395721797","1395721799","1395721801","1395721803","1395721805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4444f13fc935e44acf9d046649bf4979.jpg","text":"TemporaryFile(/tmp/multipartBody6403779645928369296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837202847,"filename":"image_22112025_19_45_21_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2d050429918bfad320dae67bf9a35c5.jpg","text":"TemporaryFile(/tmp/multipartBody3531658962527111277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837202847,"filename":"image_22112025_19_45_00_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35f596ebe458f90a99e29c3f764bd62b.jpg","text":"TemporaryFile(/tmp/multipartBody7495772792054841647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837202847,"filename":"image_22112025_19_45_15_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c82e7509b8379516091594fa4c30ed81.jpg","text":"TemporaryFile(/tmp/multipartBody8465836580075724660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837202847,"filename":"image_22112025_19_45_27_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/321cdf4d85cb9565d48147b8cfdb6045.jpg","text":"TemporaryFile(/tmp/multipartBody3632838461879736038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837202847,"filename":"image_22112025_19_45_39_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/980adbbf644e6074df809c0b3f557c68.jpg","text":"TemporaryFile(/tmp/multipartBody7517874879528295117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837202847,"filename":"image_22112025_19_44_54_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721799","file1":"1395721797","file0":"1395721792","file4":"1395721803","file5":"1395721805","file3":"1395721801"},"map_files_photo_id_array":[{"photo_id":"1395721805","filename":"file5"},{"photo_id":"1395721799","filename":"file2"},{"photo_id":"1395721803","filename":"file4"},{"photo_id":"1395721797","filename":"file1"},{"photo_id":"1395721792","filename":"file0"},{"photo_id":"1395721801","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721801":["hashtag1","hashtag2"]},{"1395721797":["hashtag1","hashtag2"]},{"1395721799":["hashtag1","hashtag2"]},{"1395721803":["hashtag1","hashtag2"]},{"1395721805":["hashtag1","hashtag2"]},{"1395721792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721801, 1395721797, 1395721799, 1395721803, 1395721805, 1395721792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.466901540756226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:46:22.498705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_48_3727.jpg', '/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_54_3597.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_03_3568.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_26_2749.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_29_2949.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_36_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_48_3727.jpg
/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_54_3597.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_03_3568.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_26_2749.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_29_2949.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_36_2700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6546387672424316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:46:42.385047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_48_3727.jpg', '/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_54_3597.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_03_3568.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_26_2749.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_29_2949.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_36_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_48_3727.jpg
/home/pi/Desktop/images/22112025/19/45/image_22112025_19_45_54_3597.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_03_3568.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_26_2749.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_29_2949.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_36_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721822","1395721825","1395721827","1395721826","1395721829","1395721828"],"photo_ids_order":["1395721822","1395721825","1395721826","1395721827","1395721828","1395721829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9f9bc2042298add289f80ae9d954bda.jpg","text":"TemporaryFile(/tmp/multipartBody6885657630783422328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837263182,"filename":"image_22112025_19_45_48_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77f35763b36400dfeaffd1568c906890.jpg","text":"TemporaryFile(/tmp/multipartBody8454422387601839699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837263182,"filename":"image_22112025_19_45_54_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd7e304986ae36679bf4e0ce6249dceb.jpg","text":"TemporaryFile(/tmp/multipartBody5768402307851386721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837263182,"filename":"image_22112025_19_46_26_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9edc29b9a037bce1aad6459728117e01.jpg","text":"TemporaryFile(/tmp/multipartBody533159985640340575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837263182,"filename":"image_22112025_19_46_03_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8aa3bf80cef466f094bdc662c1c31fa.jpg","text":"TemporaryFile(/tmp/multipartBody2524557286025030271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837263182,"filename":"image_22112025_19_46_36_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06a0a81b5e144c9c0df98e314744e584.jpg","text":"TemporaryFile(/tmp/multipartBody4394353947549277017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837263182,"filename":"image_22112025_19_46_29_2949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721826","file1":"1395721825","file0":"1395721822","file4":"1395721828","file5":"1395721829","file3":"1395721827"},"map_files_photo_id_array":[{"photo_id":"1395721829","filename":"file5"},{"photo_id":"1395721826","filename":"file2"},{"photo_id":"1395721828","filename":"file4"},{"photo_id":"1395721825","filename":"file1"},{"photo_id":"1395721822","filename":"file0"},{"photo_id":"1395721827","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721822":["hashtag1","hashtag2"]},{"1395721825":["hashtag1","hashtag2"]},{"1395721827":["hashtag1","hashtag2"]},{"1395721826":["hashtag1","hashtag2"]},{"1395721829":["hashtag1","hashtag2"]},{"1395721828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721822, 1395721825, 1395721827, 1395721826, 1395721829, 1395721828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.487826347351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:47:22.553738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_45_3620.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_48_2720.jpg', '/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_54_3716.jpg', '/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_24_2735.jpg', '/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_27_2738.jpg', '/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_30_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_45_3620.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_48_2720.jpg
/home/pi/Desktop/images/22112025/19/46/image_22112025_19_46_54_3716.jpg
/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_24_2735.jpg
/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_27_2738.jpg
/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_30_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721842","1395721839","1395721833","1395721836","1395721844","1395721846"],"photo_ids_order":["1395721833","1395721836","1395721839","1395721842","1395721844","1395721846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e1921c0f12cf1351cdbae85170fb084.jpg","text":"TemporaryFile(/tmp/multipartBody3068303016204362180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837303303,"filename":"image_22112025_19_47_24_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56a132a7d678ec9faae53358314bbdb6.jpg","text":"TemporaryFile(/tmp/multipartBody2942105016389014808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837303303,"filename":"image_22112025_19_46_54_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2a8f329043777fa100ae1cfb5772c2d.jpg","text":"TemporaryFile(/tmp/multipartBody2251223929330123205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837303303,"filename":"image_22112025_19_46_45_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f479eb8f419060aeed0e46d75f7e14f.jpg","text":"TemporaryFile(/tmp/multipartBody1554398074769656811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837303303,"filename":"image_22112025_19_46_48_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28ccc5a8fc99b3fd20999f9b8054c57e.jpg","text":"TemporaryFile(/tmp/multipartBody4784499081998439579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837303303,"filename":"image_22112025_19_47_27_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b8c2e50af0eca6173f83df192448c86.jpg","text":"TemporaryFile(/tmp/multipartBody2483692085542842080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837303303,"filename":"image_22112025_19_47_30_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721839","file1":"1395721836","file0":"1395721833","file4":"1395721844","file5":"1395721846","file3":"1395721842"},"map_files_photo_id_array":[{"photo_id":"1395721846","filename":"file5"},{"photo_id":"1395721839","filename":"file2"},{"photo_id":"1395721844","filename":"file4"},{"photo_id":"1395721836","filename":"file1"},{"photo_id":"1395721833","filename":"file0"},{"photo_id":"1395721842","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721842":["hashtag1","hashtag2"]},{"1395721839":["hashtag1","hashtag2"]},{"1395721833":["hashtag1","hashtag2"]},{"1395721836":["hashtag1","hashtag2"]},{"1395721844":["hashtag1","hashtag2"]},{"1395721846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721842, 1395721839, 1395721833, 1395721836, 1395721844, 1395721846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.326517820358276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:48:02.278633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_39_3525.jpg', '/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_48_3656.jpg', '/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_53_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_39_3525.jpg
/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_48_3656.jpg
/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_53_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721857","1395721848","1395721855"],"photo_ids_order":["1395721848","1395721855","1395721857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d24f87b8db3cfcf6df9e29fb42dfec4.jpg","text":"TemporaryFile(/tmp/multipartBody1230635280159819746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837342975,"filename":"image_22112025_19_47_53_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80f0a126f1f59b764620680d889a668b.jpg","text":"TemporaryFile(/tmp/multipartBody8611010370202664226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837342975,"filename":"image_22112025_19_47_39_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c63bb60f9900021ae00476bd7bb6a91.jpg","text":"TemporaryFile(/tmp/multipartBody7272976850614365556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837342975,"filename":"image_22112025_19_47_48_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721857","file1":"1395721855","file0":"1395721848"},"map_files_photo_id_array":[{"photo_id":"1395721857","filename":"file2"},{"photo_id":"1395721855","filename":"file1"},{"photo_id":"1395721848","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721857":["hashtag1","hashtag2"]},{"1395721848":["hashtag1","hashtag2"]},{"1395721855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721857, 1395721848, 1395721855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.17238688468933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:48:41.832479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_57_3867.jpg', '/home/pi/Desktop/images/22112025/19/48/image_22112025_19_48_12_2785.jpg', '/home/pi/Desktop/images/22112025/19/48/image_22112025_19_48_18_3816.jpg', '/home/pi/Desktop/images/22112025/19/48/image_22112025_19_48_35_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/47/image_22112025_19_47_57_3867.jpg
/home/pi/Desktop/images/22112025/19/48/image_22112025_19_48_12_2785.jpg
/home/pi/Desktop/images/22112025/19/48/image_22112025_19_48_18_3816.jpg
/home/pi/Desktop/images/22112025/19/48/image_22112025_19_48_35_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721869","1395721872","1395721874","1395721873"],"photo_ids_order":["1395721869","1395721872","1395721873","1395721874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/875f702d50dfdb7913d00d65c293a390.jpg","text":"TemporaryFile(/tmp/multipartBody5312837550897288293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837382536,"filename":"image_22112025_19_47_57_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0abf67252581cbdbb77e28abf322d8d7.jpg","text":"TemporaryFile(/tmp/multipartBody238284506666039305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837382536,"filename":"image_22112025_19_48_12_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f79ddf90bc9cf874fa6046627ed53694.jpg","text":"TemporaryFile(/tmp/multipartBody4966118606675861808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837382536,"filename":"image_22112025_19_48_35_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b99d21cc99646d2fd0a35fc29c61639.jpg","text":"TemporaryFile(/tmp/multipartBody1444852558603136993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837382536,"filename":"image_22112025_19_48_18_3816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721873","file1":"1395721872","file0":"1395721869","file3":"1395721874"},"map_files_photo_id_array":[{"photo_id":"1395721873","filename":"file2"},{"photo_id":"1395721872","filename":"file1"},{"photo_id":"1395721869","filename":"file0"},{"photo_id":"1395721874","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721869":["hashtag1","hashtag2"]},{"1395721872":["hashtag1","hashtag2"]},{"1395721874":["hashtag1","hashtag2"]},{"1395721873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721869, 1395721872, 1395721874, 1395721873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.911009550094604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:49:22.108571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/48/image_22112025_19_48_42_2709.jpg', '/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_03_2975.jpg', '/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_11_2883.jpg', '/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_32_2721.jpg', '/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_39_3834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/48/image_22112025_19_48_42_2709.jpg
/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_03_2975.jpg
/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_11_2883.jpg
/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_32_2721.jpg
/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_39_3834.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721886","1395721889","1395721880","1395721883","1395721876"],"photo_ids_order":["1395721876","1395721880","1395721883","1395721886","1395721889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71825cf08234601b638d4ae634547a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4332644077847288493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837422825,"filename":"image_22112025_19_49_32_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dea9e7105ba6563325ca9faf82f6d129.jpg","text":"TemporaryFile(/tmp/multipartBody4559192403239977849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837422825,"filename":"image_22112025_19_49_39_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fcf8eae7efe30f62d07177448e80da72.jpg","text":"TemporaryFile(/tmp/multipartBody4381137323196903553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837422825,"filename":"image_22112025_19_49_03_2975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5326da581a09ca8cbf9281874d159bd.jpg","text":"TemporaryFile(/tmp/multipartBody6041317804228141157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837422825,"filename":"image_22112025_19_49_11_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d70c53d5aacc2ae9ba1db18bdb20262.jpg","text":"TemporaryFile(/tmp/multipartBody4268245676788682936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837422825,"filename":"image_22112025_19_48_42_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721883","file1":"1395721880","file0":"1395721876","file4":"1395721889","file3":"1395721886"},"map_files_photo_id_array":[{"photo_id":"1395721883","filename":"file2"},{"photo_id":"1395721889","filename":"file4"},{"photo_id":"1395721880","filename":"file1"},{"photo_id":"1395721876","filename":"file0"},{"photo_id":"1395721886","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721886":["hashtag1","hashtag2"]},{"1395721889":["hashtag1","hashtag2"]},{"1395721880":["hashtag1","hashtag2"]},{"1395721883":["hashtag1","hashtag2"]},{"1395721876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721886, 1395721889, 1395721880, 1395721883, 1395721876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.242485523223877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:50:02.766982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_31_2846.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_34_2546.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_36_2755.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_40_3716.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_43_2565.jpg', '/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_58_3766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_31_2846.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_34_2546.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_36_2755.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_40_3716.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_43_2565.jpg
/home/pi/Desktop/images/20112025/19/10/image_20112025_19_10_58_3766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721893","1395721896","1395721898","1395721895","1395721894","1395721901"],"photo_ids_order":["1395721893","1395721894","1395721895","1395721896","1395721898","1395721901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49ddbd8db08c555a4248b2053517a705.jpg","text":"TemporaryFile(/tmp/multipartBody4539172633937272230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837464784,"filename":"image_20112025_19_10_31_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c58bc1ccc841ffbe28a445786465572.jpg","text":"TemporaryFile(/tmp/multipartBody7824169859907348255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837464784,"filename":"image_20112025_19_10_40_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83e70c862948de9d745986c87b6c6001.jpg","text":"TemporaryFile(/tmp/multipartBody6759973741061358321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837464784,"filename":"image_20112025_19_10_43_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6d2dafacc806a76a6ef074294035924.jpg","text":"TemporaryFile(/tmp/multipartBody8458936723741952485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837464784,"filename":"image_20112025_19_10_36_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e375bb478a33402214f18bf3fe0e6e93.jpg","text":"TemporaryFile(/tmp/multipartBody4096501477096507382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837464784,"filename":"image_20112025_19_10_34_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d32b8998496530b0711c7b482aabca58.jpg","text":"TemporaryFile(/tmp/multipartBody4593603008063458993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837464784,"filename":"image_20112025_19_10_58_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721895","file1":"1395721894","file0":"1395721893","file4":"1395721898","file5":"1395721901","file3":"1395721896"},"map_files_photo_id_array":[{"photo_id":"1395721901","filename":"file5"},{"photo_id":"1395721895","filename":"file2"},{"photo_id":"1395721898","filename":"file4"},{"photo_id":"1395721894","filename":"file1"},{"photo_id":"1395721893","filename":"file0"},{"photo_id":"1395721896","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395721893":["hashtag1","hashtag2"]},{"1395721896":["hashtag1","hashtag2"]},{"1395721898":["hashtag1","hashtag2"]},{"1395721895":["hashtag1","hashtag2"]},{"1395721894":["hashtag1","hashtag2"]},{"1395721901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395721893, 1395721896, 1395721898, 1395721895, 1395721894, 1395721901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.712475538253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:50:42.279349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_44_2690.jpg', '/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_12_3795.jpg', '/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_17_2789.jpg', '/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_26_2660.jpg', '/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_44_2692.jpg', '/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_51_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/49/image_22112025_19_49_44_2690.jpg
/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_12_3795.jpg
/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_17_2789.jpg
/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_26_2660.jpg
/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_44_2692.jpg
/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_51_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721915","1395721918","1395721914","1395721916","1395721910","1395721913"],"photo_ids_order":["1395721910","1395721913","1395721914","1395721915","1395721916","1395721918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eef3a7cb565ca04fab7de15eecc49404.jpg","text":"TemporaryFile(/tmp/multipartBody4036896136357632980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837503039,"filename":"image_22112025_19_50_26_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71436f7883634906b4a861205728e2c6.jpg","text":"TemporaryFile(/tmp/multipartBody7575625485401641751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837503039,"filename":"image_22112025_19_50_51_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/794547ce6e60f27ffa04bd989ecc8fc5.jpg","text":"TemporaryFile(/tmp/multipartBody6956977721657261617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837503039,"filename":"image_22112025_19_50_17_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd0e027f683906aa98a890aa1e6e0761.jpg","text":"TemporaryFile(/tmp/multipartBody4741971223432491952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837503039,"filename":"image_22112025_19_50_44_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c39fccafb873debefeccbcdb7bc0f8b2.jpg","text":"TemporaryFile(/tmp/multipartBody6505905772870798253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837503039,"filename":"image_22112025_19_49_44_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/875ce517387d28c0f8be407494f1cd73.jpg","text":"TemporaryFile(/tmp/multipartBody6622482035738135999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837503039,"filename":"image_22112025_19_50_12_3795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721914","file1":"1395721913","file0":"1395721910","file4":"1395721916","file5":"1395721918","file3":"1395721915"},"map_files_photo_id_array":[{"photo_id":"1395721918","filename":"file5"},{"photo_id":"1395721914","filename":"file2"},{"photo_id":"1395721916","filename":"file4"},{"photo_id":"1395721913","filename":"file1"},{"photo_id":"1395721910","filename":"file0"},{"photo_id":"1395721915","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721915":["hashtag1","hashtag2"]},{"1395721918":["hashtag1","hashtag2"]},{"1395721914":["hashtag1","hashtag2"]},{"1395721916":["hashtag1","hashtag2"]},{"1395721910":["hashtag1","hashtag2"]},{"1395721913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721915, 1395721918, 1395721914, 1395721916, 1395721910, 1395721913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25127959251404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:51:22.510199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_53_2549.jpg', '/home/pi/Desktop/images/22112025/19/50/image_22112025_19_51_00_3779.jpg', '/home/pi/Desktop/images/22112025/19/51/image_22112025_19_51_03_2745.jpg', '/home/pi/Desktop/images/22112025/19/51/image_22112025_19_51_08_2677.jpg', '/home/pi/Desktop/images/22112025/19/51/image_22112025_19_51_17_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/50/image_22112025_19_50_53_2549.jpg
/home/pi/Desktop/images/22112025/19/50/image_22112025_19_51_00_3779.jpg
/home/pi/Desktop/images/22112025/19/51/image_22112025_19_51_03_2745.jpg
/home/pi/Desktop/images/22112025/19/51/image_22112025_19_51_08_2677.jpg
/home/pi/Desktop/images/22112025/19/51/image_22112025_19_51_17_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721923","1395721920","1395721934","1395721930","1395721927"],"photo_ids_order":["1395721920","1395721923","1395721927","1395721930","1395721934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/599fdaeb3f2ec9deb1ef66f7fc614752.jpg","text":"TemporaryFile(/tmp/multipartBody7522059572414281706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837543238,"filename":"image_22112025_19_51_00_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37c1100ead72623fb875da58877c1583.jpg","text":"TemporaryFile(/tmp/multipartBody3801819625494652619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837543238,"filename":"image_22112025_19_50_53_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d4c7c643ddbee8b4e756c13027c87cd.jpg","text":"TemporaryFile(/tmp/multipartBody256320053850085034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837543238,"filename":"image_22112025_19_51_17_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b254a1746a8d69458dee2f3f4d5b0d02.jpg","text":"TemporaryFile(/tmp/multipartBody2867483976641710104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837543238,"filename":"image_22112025_19_51_08_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c8bc49af3c1cc44ed7d5addf69d5778.jpg","text":"TemporaryFile(/tmp/multipartBody3862038991685349306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837543238,"filename":"image_22112025_19_51_03_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721927","file1":"1395721923","file0":"1395721920","file4":"1395721934","file3":"1395721930"},"map_files_photo_id_array":[{"photo_id":"1395721927","filename":"file2"},{"photo_id":"1395721934","filename":"file4"},{"photo_id":"1395721923","filename":"file1"},{"photo_id":"1395721920","filename":"file0"},{"photo_id":"1395721930","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721923":["hashtag1","hashtag2"]},{"1395721920":["hashtag1","hashtag2"]},{"1395721934":["hashtag1","hashtag2"]},{"1395721930":["hashtag1","hashtag2"]},{"1395721927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721923, 1395721920, 1395721934, 1395721930, 1395721927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.13601326942444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:52:02.265350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_01_2840.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_10_3737.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_16_2643.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_19_3186.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_22_2889.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_28_3527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_01_2840.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_10_3737.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_16_2643.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_19_3186.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_22_2889.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_28_3527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721942","1395721938","1395721940","1395721937","1395721945","1395721939"],"photo_ids_order":["1395721937","1395721938","1395721939","1395721940","1395721942","1395721945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89976a3c6fee58eb720f3fed4843c8c2.jpg","text":"TemporaryFile(/tmp/multipartBody9096066139130984610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837584400,"filename":"image_20112025_19_11_22_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2f032febc529fb096ad449cd8e21129.jpg","text":"TemporaryFile(/tmp/multipartBody9030580025849852085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837584400,"filename":"image_20112025_19_11_10_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65c62286e5594bbf10c7a952403f7452.jpg","text":"TemporaryFile(/tmp/multipartBody3039771528560392029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837584400,"filename":"image_20112025_19_11_19_3186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5733f49684a88c6b92ee8ea93dac63ba.jpg","text":"TemporaryFile(/tmp/multipartBody2909898723610010846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837584400,"filename":"image_20112025_19_11_01_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2145e51487cfe797afc25ecf2a3df2ce.jpg","text":"TemporaryFile(/tmp/multipartBody7492803222535416616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837584400,"filename":"image_20112025_19_11_28_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4fed77fb25ebbfb56fb21b816d7f8bec.jpg","text":"TemporaryFile(/tmp/multipartBody4858526265381517797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837584400,"filename":"image_20112025_19_11_16_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721939","file1":"1395721938","file0":"1395721937","file4":"1395721942","file5":"1395721945","file3":"1395721940"},"map_files_photo_id_array":[{"photo_id":"1395721945","filename":"file5"},{"photo_id":"1395721939","filename":"file2"},{"photo_id":"1395721942","filename":"file4"},{"photo_id":"1395721938","filename":"file1"},{"photo_id":"1395721937","filename":"file0"},{"photo_id":"1395721940","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395721942":["hashtag1","hashtag2"]},{"1395721938":["hashtag1","hashtag2"]},{"1395721940":["hashtag1","hashtag2"]},{"1395721937":["hashtag1","hashtag2"]},{"1395721945":["hashtag1","hashtag2"]},{"1395721939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395721942, 1395721938, 1395721940, 1395721937, 1395721945, 1395721939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10040211677551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:52:41.932192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/51/image_22112025_19_51_23_2589.jpg', '/home/pi/Desktop/images/22112025/19/52/image_22112025_19_52_14_2710.jpg', '/home/pi/Desktop/images/22112025/19/52/image_22112025_19_52_20_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/51/image_22112025_19_51_23_2589.jpg
/home/pi/Desktop/images/22112025/19/52/image_22112025_19_52_14_2710.jpg
/home/pi/Desktop/images/22112025/19/52/image_22112025_19_52_20_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721962","1395721956","1395721960"],"photo_ids_order":["1395721956","1395721960","1395721962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/987532b0d9fe960f41a0e15b2953c1e6.jpg","text":"TemporaryFile(/tmp/multipartBody7711536124366397124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837622607,"filename":"image_22112025_19_52_20_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb3bc9d2bbadf3d4b7b034197f14cf41.jpg","text":"TemporaryFile(/tmp/multipartBody3449951268000089303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837622607,"filename":"image_22112025_19_51_23_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d487644f33d78e199ca12af01515589c.jpg","text":"TemporaryFile(/tmp/multipartBody7969308691792843508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837622607,"filename":"image_22112025_19_52_14_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721962","file1":"1395721960","file0":"1395721956"},"map_files_photo_id_array":[{"photo_id":"1395721962","filename":"file2"},{"photo_id":"1395721960","filename":"file1"},{"photo_id":"1395721956","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395721962":["hashtag1","hashtag2"]},{"1395721956":["hashtag1","hashtag2"]},{"1395721960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395721962, 1395721956, 1395721960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.19384479522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:53:22.197582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_40_2616.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_44_3568.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_46_2650.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_50_3617.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_53_2684.jpg', '/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_55_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_40_2616.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_44_3568.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_46_2650.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_50_3617.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_53_2684.jpg
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_55_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395721982","1395721975","1395721978","1395721972","1395721966","1395721969"],"photo_ids_order":["1395721966","1395721969","1395721972","1395721975","1395721978","1395721982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f045b05cee0c1a80bebd5814e7008b88.jpg","text":"TemporaryFile(/tmp/multipartBody3123508062493408797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837664394,"filename":"image_30102025_18_03_55_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30024cd61c0bc482afbaaddc0118d722.jpg","text":"TemporaryFile(/tmp/multipartBody4031024052673629720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837664394,"filename":"image_30102025_18_03_50_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88c4419baf0280f159d34bed9aff9d9b.jpg","text":"TemporaryFile(/tmp/multipartBody7048480689084527014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837664394,"filename":"image_30102025_18_03_53_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2247f7c3deae82c20dddfcd443874cfe.jpg","text":"TemporaryFile(/tmp/multipartBody3154958333677673669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837664394,"filename":"image_30102025_18_03_46_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06fb902d683a64b192ff68e6ad5059b2.jpg","text":"TemporaryFile(/tmp/multipartBody706511432398409757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837664394,"filename":"image_30102025_18_03_40_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb89e7695293d333947444bb2af3123a.jpg","text":"TemporaryFile(/tmp/multipartBody7841872910677611444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837664394,"filename":"image_30102025_18_03_44_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721972","file1":"1395721969","file0":"1395721966","file4":"1395721978","file5":"1395721982","file3":"1395721975"},"map_files_photo_id_array":[{"photo_id":"1395721982","filename":"file5"},{"photo_id":"1395721972","filename":"file2"},{"photo_id":"1395721978","filename":"file4"},{"photo_id":"1395721969","filename":"file1"},{"photo_id":"1395721966","filename":"file0"},{"photo_id":"1395721975","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395721982":["hashtag1","hashtag2"]},{"1395721975":["hashtag1","hashtag2"]},{"1395721978":["hashtag1","hashtag2"]},{"1395721972":["hashtag1","hashtag2"]},{"1395721966":["hashtag1","hashtag2"]},{"1395721969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395721982, 1395721975, 1395721978, 1395721972, 1395721966, 1395721969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04941654205322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:54:03.217140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_31_2719.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_36_2573.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_43_2835.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_46_3138.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_49_3098.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_52_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_31_2719.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_36_2573.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_43_2835.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_46_3138.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_49_3098.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_52_2810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722005","1395721995","1395721997","1395722003","1395722000","1395721993"],"photo_ids_order":["1395721993","1395721995","1395721997","1395722000","1395722003","1395722005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1197568b2dbe0373b4745638fffabc54.jpg","text":"TemporaryFile(/tmp/multipartBody70822435437653675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837705509,"filename":"image_20112025_19_11_52_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6488ba0c7d7d0b32808b0d5b2b13c01.jpg","text":"TemporaryFile(/tmp/multipartBody4537369896153623771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837705509,"filename":"image_20112025_19_11_36_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/adba769e5449448520a16f62971a5779.jpg","text":"TemporaryFile(/tmp/multipartBody8940354520420508671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837705509,"filename":"image_20112025_19_11_43_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58ca238a9366ea7cca6f85e05174a689.jpg","text":"TemporaryFile(/tmp/multipartBody9023433581418506861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837705509,"filename":"image_20112025_19_11_49_3098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc398d16daeca5e75a46e54a6a7b843d.jpg","text":"TemporaryFile(/tmp/multipartBody273446330308666456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837705509,"filename":"image_20112025_19_11_46_3138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faae1d17eb1dad85e00b1679c8be3d7e.jpg","text":"TemporaryFile(/tmp/multipartBody1792005879673027328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837705509,"filename":"image_20112025_19_11_31_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395721997","file1":"1395721995","file0":"1395721993","file4":"1395722003","file5":"1395722005","file3":"1395722000"},"map_files_photo_id_array":[{"photo_id":"1395722005","filename":"file5"},{"photo_id":"1395721997","filename":"file2"},{"photo_id":"1395722003","filename":"file4"},{"photo_id":"1395721995","filename":"file1"},{"photo_id":"1395721993","filename":"file0"},{"photo_id":"1395722000","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722005":["hashtag1","hashtag2"]},{"1395721995":["hashtag1","hashtag2"]},{"1395721997":["hashtag1","hashtag2"]},{"1395722003":["hashtag1","hashtag2"]},{"1395722000":["hashtag1","hashtag2"]},{"1395721993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722005, 1395721995, 1395721997, 1395722003, 1395722000, 1395721993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01557970046997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:54:42.450970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/52/image_22112025_19_52_47_2669.jpg', '/home/pi/Desktop/images/22112025/19/54/image_22112025_19_54_26_2873.jpg', '/home/pi/Desktop/images/22112025/19/54/image_22112025_19_54_41_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/52/image_22112025_19_52_47_2669.jpg
/home/pi/Desktop/images/22112025/19/54/image_22112025_19_54_26_2873.jpg
/home/pi/Desktop/images/22112025/19/54/image_22112025_19_54_41_2804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722010","1395722012","1395722014"],"photo_ids_order":["1395722010","1395722012","1395722014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65c7273b616aa1caadd403aa7ceee1f9.jpg","text":"TemporaryFile(/tmp/multipartBody6334595770450980776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837743060,"filename":"image_22112025_19_52_47_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/760a94d17013fa22e20bc8a2149d1241.jpg","text":"TemporaryFile(/tmp/multipartBody2815936486302157368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837743060,"filename":"image_22112025_19_54_26_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9f3f971a6071d143efa573deb2e4f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3978847185053105782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837743060,"filename":"image_22112025_19_54_41_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722014","file1":"1395722012","file0":"1395722010"},"map_files_photo_id_array":[{"photo_id":"1395722014","filename":"file2"},{"photo_id":"1395722012","filename":"file1"},{"photo_id":"1395722010","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722010":["hashtag1","hashtag2"]},{"1395722012":["hashtag1","hashtag2"]},{"1395722014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722010, 1395722012, 1395722014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.22066831588745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:55:22.598216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/54/image_22112025_19_54_44_3693.jpg', '/home/pi/Desktop/images/22112025/19/55/image_22112025_19_55_44_3678.jpg', '/home/pi/Desktop/images/22112025/19/55/image_22112025_19_55_47_2853.jpg', '/home/pi/Desktop/images/22112025/19/55/image_22112025_19_55_53_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/54/image_22112025_19_54_44_3693.jpg
/home/pi/Desktop/images/22112025/19/55/image_22112025_19_55_44_3678.jpg
/home/pi/Desktop/images/22112025/19/55/image_22112025_19_55_47_2853.jpg
/home/pi/Desktop/images/22112025/19/55/image_22112025_19_55_53_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722022","1395722031","1395722025","1395722028"],"photo_ids_order":["1395722022","1395722025","1395722028","1395722031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c4db5faff84bee6d5f2aa77320cccc0.jpg","text":"TemporaryFile(/tmp/multipartBody6379218722244435402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837783253,"filename":"image_22112025_19_54_44_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0d0251179080fb35feca3716de74948.jpg","text":"TemporaryFile(/tmp/multipartBody8675332023862807885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837783253,"filename":"image_22112025_19_55_53_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26bbd7cfd677b51fd7dfd0ea24fee630.jpg","text":"TemporaryFile(/tmp/multipartBody6946190475281822111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837783253,"filename":"image_22112025_19_55_44_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eebfaa8a0f11837cd64b6c888c4dc9e2.jpg","text":"TemporaryFile(/tmp/multipartBody421304096963779934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837783253,"filename":"image_22112025_19_55_47_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722028","file1":"1395722025","file0":"1395722022","file3":"1395722031"},"map_files_photo_id_array":[{"photo_id":"1395722028","filename":"file2"},{"photo_id":"1395722025","filename":"file1"},{"photo_id":"1395722022","filename":"file0"},{"photo_id":"1395722031","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722022":["hashtag1","hashtag2"]},{"1395722031":["hashtag1","hashtag2"]},{"1395722025":["hashtag1","hashtag2"]},{"1395722028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722022, 1395722031, 1395722025, 1395722028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.255667448043823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:56:02.288950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_54_2703.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_57_2775.jpg', '/home/pi/Desktop/images/20112025/19/11/image_20112025_19_12_01_3640.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_04_2674.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_06_2707.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_13_3890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_54_2703.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_11_57_2775.jpg
/home/pi/Desktop/images/20112025/19/11/image_20112025_19_12_01_3640.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_04_2674.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_06_2707.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_13_3890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722040","1395722043","1395722037","1395722039","1395722038","1395722047"],"photo_ids_order":["1395722037","1395722038","1395722039","1395722040","1395722043","1395722047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/868f3a6b9cc3394c436024d2ecd64421.jpg","text":"TemporaryFile(/tmp/multipartBody3552862874972130357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837824413,"filename":"image_20112025_19_12_04_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e615ed66f32c325cfa0dc77c449b002.jpg","text":"TemporaryFile(/tmp/multipartBody1674440093468619506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837824413,"filename":"image_20112025_19_12_06_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b0ffca00c9a0f46800c224e8b10c47b9.jpg","text":"TemporaryFile(/tmp/multipartBody6777804197547941217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837824413,"filename":"image_20112025_19_11_54_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/470bd70acd5cf29d2465cfb1b7394877.jpg","text":"TemporaryFile(/tmp/multipartBody8636184587150064457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837824413,"filename":"image_20112025_19_12_01_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/387fe7255378ef4ade1fa6bd327f4a55.jpg","text":"TemporaryFile(/tmp/multipartBody4336371345037712377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837824413,"filename":"image_20112025_19_11_57_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cae3e067a9012566ef00a3f5f17d62e8.jpg","text":"TemporaryFile(/tmp/multipartBody7225604387597199730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837824413,"filename":"image_20112025_19_12_13_3890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722039","file1":"1395722038","file0":"1395722037","file4":"1395722043","file5":"1395722047","file3":"1395722040"},"map_files_photo_id_array":[{"photo_id":"1395722047","filename":"file5"},{"photo_id":"1395722039","filename":"file2"},{"photo_id":"1395722043","filename":"file4"},{"photo_id":"1395722038","filename":"file1"},{"photo_id":"1395722037","filename":"file0"},{"photo_id":"1395722040","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722040":["hashtag1","hashtag2"]},{"1395722043":["hashtag1","hashtag2"]},{"1395722037":["hashtag1","hashtag2"]},{"1395722039":["hashtag1","hashtag2"]},{"1395722038":["hashtag1","hashtag2"]},{"1395722047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722040, 1395722043, 1395722037, 1395722039, 1395722038, 1395722047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89971566200256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:56:41.839812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/55/image_22112025_19_55_59_2590.jpg', '/home/pi/Desktop/images/22112025/19/56/image_22112025_19_56_05_3583.jpg', '/home/pi/Desktop/images/22112025/19/56/image_22112025_19_56_14_3694.jpg', '/home/pi/Desktop/images/22112025/19/56/image_22112025_19_56_29_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/55/image_22112025_19_55_59_2590.jpg
/home/pi/Desktop/images/22112025/19/56/image_22112025_19_56_05_3583.jpg
/home/pi/Desktop/images/22112025/19/56/image_22112025_19_56_14_3694.jpg
/home/pi/Desktop/images/22112025/19/56/image_22112025_19_56_29_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722055","1395722058","1395722057","1395722059"],"photo_ids_order":["1395722055","1395722057","1395722058","1395722059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97c9906a7b67bbfc95d541425eb6e03c.jpg","text":"TemporaryFile(/tmp/multipartBody6313844170737480678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837862566,"filename":"image_22112025_19_55_59_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a37258d87142401a6164975bc7e7c4b8.jpg","text":"TemporaryFile(/tmp/multipartBody4318774170498839053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837862566,"filename":"image_22112025_19_56_14_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b58ddda5e5c0a26d051d0368fdc9be0a.jpg","text":"TemporaryFile(/tmp/multipartBody7504304261111378256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837862566,"filename":"image_22112025_19_56_05_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49b5186df0a9bbb5410fb4b6b09cc336.jpg","text":"TemporaryFile(/tmp/multipartBody3920804018910564734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837862566,"filename":"image_22112025_19_56_29_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722058","file1":"1395722057","file0":"1395722055","file3":"1395722059"},"map_files_photo_id_array":[{"photo_id":"1395722058","filename":"file2"},{"photo_id":"1395722057","filename":"file1"},{"photo_id":"1395722055","filename":"file0"},{"photo_id":"1395722059","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722055":["hashtag1","hashtag2"]},{"1395722058":["hashtag1","hashtag2"]},{"1395722057":["hashtag1","hashtag2"]},{"1395722059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722055, 1395722058, 1395722057, 1395722059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.526917695999146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 19:57:22.055871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/56/image_22112025_19_56_55_2662.jpg', '/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_02_2579.jpg', '/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_11_2749.jpg', '/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_14_2693.jpg', '/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_26_3602.jpg', '/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_34_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/56/image_22112025_19_56_55_2662.jpg
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_02_2579.jpg
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_11_2749.jpg
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_14_2693.jpg
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_26_3602.jpg
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_34_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722078","1395722072","1395722075","1395722069","1395722062","1395722065"],"photo_ids_order":["1395722062","1395722065","1395722069","1395722072","1395722075","1395722078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b29f46aec91276a339f9494413fbd64.jpg","text":"TemporaryFile(/tmp/multipartBody1528869329117171347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837902821,"filename":"image_22112025_19_57_34_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67d4457dd44c15d55e29f373111e948b.jpg","text":"TemporaryFile(/tmp/multipartBody8391701877928557072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837902821,"filename":"image_22112025_19_57_14_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b6082a6ca977d6ceb1195bd2291a7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8409998463150390896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837902821,"filename":"image_22112025_19_57_26_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fe12ae1c61b61ad88aa95d92f192d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2574844417232357377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837902821,"filename":"image_22112025_19_57_11_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/297939d962ab8f048d9345287be59cef.jpg","text":"TemporaryFile(/tmp/multipartBody3312532722846246991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837902821,"filename":"image_22112025_19_56_55_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ca04a834910c19247ffbcf259c0c2ac.jpg","text":"TemporaryFile(/tmp/multipartBody8394837564838739598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763837902821,"filename":"image_22112025_19_57_02_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722069","file1":"1395722065","file0":"1395722062","file4":"1395722075","file5":"1395722078","file3":"1395722072"},"map_files_photo_id_array":[{"photo_id":"1395722078","filename":"file5"},{"photo_id":"1395722069","filename":"file2"},{"photo_id":"1395722075","filename":"file4"},{"photo_id":"1395722065","filename":"file1"},{"photo_id":"1395722062","filename":"file0"},{"photo_id":"1395722072","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722078":["hashtag1","hashtag2"]},{"1395722072":["hashtag1","hashtag2"]},{"1395722075":["hashtag1","hashtag2"]},{"1395722069":["hashtag1","hashtag2"]},{"1395722062":["hashtag1","hashtag2"]},{"1395722065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722078, 1395722072, 1395722075, 1395722069, 1395722062, 1395722065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6154420375824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 19:59:03.604899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_38_3736.jpg', '/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_41_2666.jpg', '/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_49_2862.jpg', '/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_58_2654.jpg', '/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_14_2576.jpg', '/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_26_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_38_3736.jpg
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_41_2666.jpg
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_49_2862.jpg
/home/pi/Desktop/images/22112025/19/57/image_22112025_19_57_58_2654.jpg
/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_14_2576.jpg
/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_26_3786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722340","1395722366","1395722402","1395722368","1395722362","1395722446"],"photo_ids_order":["1395722340","1395722362","1395722366","1395722368","1395722402","1395722446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02dcf159e048ff4bc963e9f0be7f6a98.jpg","text":"TemporaryFile(/tmp/multipartBody668652474366605632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838004596,"filename":"image_22112025_19_57_38_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4d2f4d0ed340a1c57cece2100ae8825.jpg","text":"TemporaryFile(/tmp/multipartBody1049235215894651892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838004596,"filename":"image_22112025_19_57_49_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d91efed621031739ffe5037364c98c4.jpg","text":"TemporaryFile(/tmp/multipartBody5246400384947233087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838004596,"filename":"image_22112025_19_58_14_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f56abc8ecc91d544f982e306364ddd5.jpg","text":"TemporaryFile(/tmp/multipartBody1185229011844167980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838004596,"filename":"image_22112025_19_57_58_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e74685234f48b5cee6ddb7e07f23ddd.jpg","text":"TemporaryFile(/tmp/multipartBody745106552589073651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838004596,"filename":"image_22112025_19_57_41_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c1ff9e13eadd793599b268766246255.jpg","text":"TemporaryFile(/tmp/multipartBody3099174177659652396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838004596,"filename":"image_22112025_19_58_26_3786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722366","file1":"1395722362","file0":"1395722340","file4":"1395722402","file5":"1395722446","file3":"1395722368"},"map_files_photo_id_array":[{"photo_id":"1395722446","filename":"file5"},{"photo_id":"1395722366","filename":"file2"},{"photo_id":"1395722402","filename":"file4"},{"photo_id":"1395722362","filename":"file1"},{"photo_id":"1395722340","filename":"file0"},{"photo_id":"1395722368","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722340":["hashtag1","hashtag2"]},{"1395722366":["hashtag1","hashtag2"]},{"1395722402":["hashtag1","hashtag2"]},{"1395722368":["hashtag1","hashtag2"]},{"1395722362":["hashtag1","hashtag2"]},{"1395722446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722340, 1395722366, 1395722402, 1395722368, 1395722362, 1395722446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61908268928528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:00:03.248943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_32_2668.jpg', '/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_49_2688.jpg', '/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_58_2676.jpg', '/home/pi/Desktop/images/22112025/19/59/image_22112025_19_59_11_3640.jpg', '/home/pi/Desktop/images/22112025/19/59/image_22112025_19_59_28_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_32_2668.jpg
/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_49_2688.jpg
/home/pi/Desktop/images/22112025/19/58/image_22112025_19_58_58_2676.jpg
/home/pi/Desktop/images/22112025/19/59/image_22112025_19_59_11_3640.jpg
/home/pi/Desktop/images/22112025/19/59/image_22112025_19_59_28_2802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722499","1395722502","1395722505","1395722501","1395722503"],"photo_ids_order":["1395722499","1395722501","1395722502","1395722503","1395722505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ec525fc5e808c2da1fb8294ec706e94.jpg","text":"TemporaryFile(/tmp/multipartBody5181132192182807911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838064029,"filename":"image_22112025_19_58_32_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a5917d56ceb01c82be8beaa340655c4.jpg","text":"TemporaryFile(/tmp/multipartBody8668346242504691823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838064029,"filename":"image_22112025_19_58_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/890c7aa771071c720bded4993ef5fc77.jpg","text":"TemporaryFile(/tmp/multipartBody5539423190093663982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838064029,"filename":"image_22112025_19_59_28_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb0a755fad1a358adb98df9a2a41748e.jpg","text":"TemporaryFile(/tmp/multipartBody4766642802907190404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838064029,"filename":"image_22112025_19_58_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83a1adc4a09b2a342582e73d5c49abaf.jpg","text":"TemporaryFile(/tmp/multipartBody4729700232813080619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838064029,"filename":"image_22112025_19_59_11_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722502","file1":"1395722501","file0":"1395722499","file4":"1395722505","file3":"1395722503"},"map_files_photo_id_array":[{"photo_id":"1395722502","filename":"file2"},{"photo_id":"1395722505","filename":"file4"},{"photo_id":"1395722501","filename":"file1"},{"photo_id":"1395722499","filename":"file0"},{"photo_id":"1395722503","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722499":["hashtag1","hashtag2"]},{"1395722502":["hashtag1","hashtag2"]},{"1395722505":["hashtag1","hashtag2"]},{"1395722501":["hashtag1","hashtag2"]},{"1395722503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722499, 1395722502, 1395722505, 1395722501, 1395722503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.19468379020691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:00:42.704951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/19/59/image_22112025_19_59_32_3700.jpg', '/home/pi/Desktop/images/22112025/20/00/image_22112025_20_00_07_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/19/59/image_22112025_19_59_32_3700.jpg
/home/pi/Desktop/images/22112025/20/00/image_22112025_20_00_07_2623.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722521","1395722518"],"photo_ids_order":["1395722518","1395722521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f70bb8e1be8a8024fe08f25b75ee82c.jpg","text":"TemporaryFile(/tmp/multipartBody3098344197277547227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838103262,"filename":"image_22112025_20_00_07_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03c54db3164ba9ee96789401e9adf47e.jpg","text":"TemporaryFile(/tmp/multipartBody6818383332452174228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838103262,"filename":"image_22112025_19_59_32_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395722521","file0":"1395722518"},"map_files_photo_id_array":[{"photo_id":"1395722521","filename":"file1"},{"photo_id":"1395722518","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722521":["hashtag1","hashtag2"]},{"1395722518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722521, 1395722518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.38566279411316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:01:02.569606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_16_2588.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_24_2829.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_28_3675.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_31_2781.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_33_2543.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_36_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_16_2588.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_24_2829.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_28_3675.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_31_2781.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_33_2543.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_36_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722568","1395722553","1395722555","1395722554","1395722557","1395722542"],"photo_ids_order":["1395722542","1395722553","1395722554","1395722555","1395722557","1395722568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23dc652da878aa4fa6c5db19e966b7ae.jpg","text":"TemporaryFile(/tmp/multipartBody1206151429231264333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838124868,"filename":"image_20112025_19_12_36_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/faf68b34477f54de55cac88049d6452e.jpg","text":"TemporaryFile(/tmp/multipartBody7985322759687987370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838124868,"filename":"image_20112025_19_12_24_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/759b873edc8d9ee3d0d6303c5ba84566.jpg","text":"TemporaryFile(/tmp/multipartBody8433345842443723668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838124868,"filename":"image_20112025_19_12_31_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f12106f91d323059d6252a1a709f2d9c.jpg","text":"TemporaryFile(/tmp/multipartBody1274240889432325375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838124868,"filename":"image_20112025_19_12_28_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24c2e93279c33cf293cc2617e32a6fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4249143273158424432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838124868,"filename":"image_20112025_19_12_33_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1374561c19f6f393e47ab4139e50b81.jpg","text":"TemporaryFile(/tmp/multipartBody1690518560618481025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838124868,"filename":"image_20112025_19_12_16_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722554","file1":"1395722553","file0":"1395722542","file4":"1395722557","file5":"1395722568","file3":"1395722555"},"map_files_photo_id_array":[{"photo_id":"1395722568","filename":"file5"},{"photo_id":"1395722554","filename":"file2"},{"photo_id":"1395722557","filename":"file4"},{"photo_id":"1395722553","filename":"file1"},{"photo_id":"1395722542","filename":"file0"},{"photo_id":"1395722555","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722568":["hashtag1","hashtag2"]},{"1395722553":["hashtag1","hashtag2"]},{"1395722555":["hashtag1","hashtag2"]},{"1395722554":["hashtag1","hashtag2"]},{"1395722557":["hashtag1","hashtag2"]},{"1395722542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722568, 1395722553, 1395722555, 1395722554, 1395722557, 1395722542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22697567939758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:02:02.552382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/00/image_22112025_20_00_34_2627.jpg', '/home/pi/Desktop/images/22112025/20/01/image_22112025_20_01_47_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/00/image_22112025_20_00_34_2627.jpg
/home/pi/Desktop/images/22112025/20/01/image_22112025_20_01_47_3708.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722619","1395722621"],"photo_ids_order":["1395722619","1395722621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a1eac63b9bbfb7b2ed3034950d8e282.jpg","text":"TemporaryFile(/tmp/multipartBody5593069329837178698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838183248,"filename":"image_22112025_20_00_34_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9b03a92c9e248f9044d4f3abaf0911c.jpg","text":"TemporaryFile(/tmp/multipartBody3505595863335246985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838183248,"filename":"image_22112025_20_01_47_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395722621","file0":"1395722619"},"map_files_photo_id_array":[{"photo_id":"1395722621","filename":"file1"},{"photo_id":"1395722619","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722619":["hashtag1","hashtag2"]},{"1395722621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722619, 1395722621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.32782793045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:02:22.107623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/01/image_22112025_20_01_55_2709.jpg', '/home/pi/Desktop/images/22112025/20/02/image_22112025_20_02_37_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/01/image_22112025_20_01_55_2709.jpg
/home/pi/Desktop/images/22112025/20/02/image_22112025_20_02_37_2748.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722624","1395722627"],"photo_ids_order":["1395722624","1395722627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/660d0e00378f5b432689a6e908198915.jpg","text":"TemporaryFile(/tmp/multipartBody5602401894676904394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838202703,"filename":"image_22112025_20_01_55_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e53ebed5058be817c4bb9a967e07e8cf.jpg","text":"TemporaryFile(/tmp/multipartBody7976072333484884922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838202703,"filename":"image_22112025_20_02_37_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395722627","file0":"1395722624"},"map_files_photo_id_array":[{"photo_id":"1395722627","filename":"file1"},{"photo_id":"1395722624","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722624":["hashtag1","hashtag2"]},{"1395722627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722624, 1395722627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.015583038330078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:02:42.127887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_58_2711.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_02_3662.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_04_2587.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_08_3603.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_11_2631.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_13_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/03/image_30102025_18_03_58_2711.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_02_3662.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_04_2587.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_08_3603.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_11_2631.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_13_2555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722637","1395722640","1395722642","1395722639","1395722644","1395722641"],"photo_ids_order":["1395722637","1395722639","1395722640","1395722641","1395722642","1395722644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/555ef7e58540c4b487da01ccc0883084.jpg","text":"TemporaryFile(/tmp/multipartBody8611979059528783235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838224330,"filename":"image_30102025_18_03_58_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4c396004673bfedab82fc456b093f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4224404790043209426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838224330,"filename":"image_30102025_18_04_04_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/194cd9a3d714b0dd2c9a618386883af9.jpg","text":"TemporaryFile(/tmp/multipartBody992205271731497722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838224330,"filename":"image_30102025_18_04_11_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd288062a45ffb3a798e55fb2a9ccf00.jpg","text":"TemporaryFile(/tmp/multipartBody3781938853944319794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838224330,"filename":"image_30102025_18_04_02_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe9ed4d7e84e1b0ac905f8b01bb3a168.jpg","text":"TemporaryFile(/tmp/multipartBody2417008517355005786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838224330,"filename":"image_30102025_18_04_13_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/173c66241b3dafa3504244d69ab9767d.jpg","text":"TemporaryFile(/tmp/multipartBody54123930996244782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838224330,"filename":"image_30102025_18_04_08_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722640","file1":"1395722639","file0":"1395722637","file4":"1395722642","file5":"1395722644","file3":"1395722641"},"map_files_photo_id_array":[{"photo_id":"1395722644","filename":"file5"},{"photo_id":"1395722640","filename":"file2"},{"photo_id":"1395722642","filename":"file4"},{"photo_id":"1395722639","filename":"file1"},{"photo_id":"1395722637","filename":"file0"},{"photo_id":"1395722641","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395722637":["hashtag1","hashtag2"]},{"1395722640":["hashtag1","hashtag2"]},{"1395722642":["hashtag1","hashtag2"]},{"1395722639":["hashtag1","hashtag2"]},{"1395722644":["hashtag1","hashtag2"]},{"1395722641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395722637, 1395722640, 1395722642, 1395722639, 1395722644, 1395722641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05585527420044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:03:22.382057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/02/image_22112025_20_02_43_2708.jpg', '/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_19_2858.jpg', '/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_28_2612.jpg', '/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_34_2659.jpg', '/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_41_3633.jpg', '/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_43_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/02/image_22112025_20_02_43_2708.jpg
/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_19_2858.jpg
/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_28_2612.jpg
/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_34_2659.jpg
/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_41_3633.jpg
/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_43_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722662","1395722659","1395722650","1395722653","1395722647","1395722656"],"photo_ids_order":["1395722647","1395722650","1395722653","1395722656","1395722659","1395722662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3992501a25fcbde99ae2b03dfa60d875.jpg","text":"TemporaryFile(/tmp/multipartBody2678680570741328961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838263157,"filename":"image_22112025_20_03_43_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/636219398dde9923ddaf62cd31b99e0d.jpg","text":"TemporaryFile(/tmp/multipartBody9048434846088347269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838263157,"filename":"image_22112025_20_03_41_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9903e4d4c3a8e4cfa1b5c632482a05cc.jpg","text":"TemporaryFile(/tmp/multipartBody262975064522913931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838263157,"filename":"image_22112025_20_03_19_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a9ed69780a5228a5b09058e31d41e54.jpg","text":"TemporaryFile(/tmp/multipartBody9032681048993939084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838263157,"filename":"image_22112025_20_03_28_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c40494a3132782c3a0825f4f90595a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6522647332450363414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838263157,"filename":"image_22112025_20_02_43_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27a098fa8927609f23c7aba694b5dfb0.jpg","text":"TemporaryFile(/tmp/multipartBody8094599018242759151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838263157,"filename":"image_22112025_20_03_34_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722653","file1":"1395722650","file0":"1395722647","file4":"1395722659","file5":"1395722662","file3":"1395722656"},"map_files_photo_id_array":[{"photo_id":"1395722662","filename":"file5"},{"photo_id":"1395722653","filename":"file2"},{"photo_id":"1395722659","filename":"file4"},{"photo_id":"1395722650","filename":"file1"},{"photo_id":"1395722647","filename":"file0"},{"photo_id":"1395722656","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722662":["hashtag1","hashtag2"]},{"1395722659":["hashtag1","hashtag2"]},{"1395722650":["hashtag1","hashtag2"]},{"1395722653":["hashtag1","hashtag2"]},{"1395722647":["hashtag1","hashtag2"]},{"1395722656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722662, 1395722659, 1395722650, 1395722653, 1395722647, 1395722656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45415234565735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:04:03.306636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_49_3879.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_51_2560.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_55_3211.jpg', '/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_58_2933.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_06_2608.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_09_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_49_3879.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_51_2560.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_55_3211.jpg
/home/pi/Desktop/images/20112025/19/12/image_20112025_19_12_58_2933.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_06_2608.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_09_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722664","1395722667","1395722672","1395722666","1395722669","1395722665"],"photo_ids_order":["1395722664","1395722665","1395722666","1395722667","1395722669","1395722672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/023daa665f90eb7b725b14f73a199e56.jpg","text":"TemporaryFile(/tmp/multipartBody8841654355691094467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838305292,"filename":"image_20112025_19_12_49_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7945234cfdc6d7e3b2d3d7c11c946419.jpg","text":"TemporaryFile(/tmp/multipartBody6783103252194114023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838305292,"filename":"image_20112025_19_12_58_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31902fd15600ee8e68495e6ba5cf4e80.jpg","text":"TemporaryFile(/tmp/multipartBody2822406863845371797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838305292,"filename":"image_20112025_19_13_09_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/868ade9fcafa433c15a3ad187c9bc75f.jpg","text":"TemporaryFile(/tmp/multipartBody5224896144927237992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838305292,"filename":"image_20112025_19_12_55_3211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9be10ab4410e6bb0c27b4cd7c080ff26.jpg","text":"TemporaryFile(/tmp/multipartBody486467536926717796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838305292,"filename":"image_20112025_19_13_06_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6f66d2c806917406e3c3c3b3c9ce186.jpg","text":"TemporaryFile(/tmp/multipartBody346880181887531293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838305292,"filename":"image_20112025_19_12_51_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722666","file1":"1395722665","file0":"1395722664","file4":"1395722669","file5":"1395722672","file3":"1395722667"},"map_files_photo_id_array":[{"photo_id":"1395722672","filename":"file5"},{"photo_id":"1395722666","filename":"file2"},{"photo_id":"1395722669","filename":"file4"},{"photo_id":"1395722665","filename":"file1"},{"photo_id":"1395722664","filename":"file0"},{"photo_id":"1395722667","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722664":["hashtag1","hashtag2"]},{"1395722667":["hashtag1","hashtag2"]},{"1395722672":["hashtag1","hashtag2"]},{"1395722666":["hashtag1","hashtag2"]},{"1395722669":["hashtag1","hashtag2"]},{"1395722665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722664, 1395722667, 1395722672, 1395722666, 1395722669, 1395722665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30933117866516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:04:42.535856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_55_2744.jpg', '/home/pi/Desktop/images/22112025/20/04/image_22112025_20_04_07_3583.jpg', '/home/pi/Desktop/images/22112025/20/04/image_22112025_20_04_35_3759.jpg', '/home/pi/Desktop/images/22112025/20/04/image_22112025_20_04_43_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/03/image_22112025_20_03_55_2744.jpg
/home/pi/Desktop/images/22112025/20/04/image_22112025_20_04_07_3583.jpg
/home/pi/Desktop/images/22112025/20/04/image_22112025_20_04_35_3759.jpg
/home/pi/Desktop/images/22112025/20/04/image_22112025_20_04_43_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722682","1395722685","1395722687","1395722686"],"photo_ids_order":["1395722682","1395722685","1395722686","1395722687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12cfdf1b674d6f07bbb46f73feddb81d.jpg","text":"TemporaryFile(/tmp/multipartBody6852724782738196328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838343339,"filename":"image_22112025_20_03_55_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff0b5c7183f7e941d3142bf7a4f94f06.jpg","text":"TemporaryFile(/tmp/multipartBody4808778909663872398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838343339,"filename":"image_22112025_20_04_07_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ecc424ab3a7b2f32a8705414cbdfe81.jpg","text":"TemporaryFile(/tmp/multipartBody3610429939231112298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838343339,"filename":"image_22112025_20_04_43_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad6838e6b592ca3ef42696842809f93b.jpg","text":"TemporaryFile(/tmp/multipartBody3832563460762274228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838343339,"filename":"image_22112025_20_04_35_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722686","file1":"1395722685","file0":"1395722682","file3":"1395722687"},"map_files_photo_id_array":[{"photo_id":"1395722686","filename":"file2"},{"photo_id":"1395722685","filename":"file1"},{"photo_id":"1395722682","filename":"file0"},{"photo_id":"1395722687","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722682":["hashtag1","hashtag2"]},{"1395722685":["hashtag1","hashtag2"]},{"1395722687":["hashtag1","hashtag2"]},{"1395722686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722682, 1395722685, 1395722687, 1395722686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.332534313201904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:05:22.770740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/04/image_22112025_20_04_55_3683.jpg', '/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_01_2565.jpg', '/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_16_3676.jpg', '/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_25_3625.jpg', '/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_31_2683.jpg', '/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_43_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/04/image_22112025_20_04_55_3683.jpg
/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_01_2565.jpg
/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_16_3676.jpg
/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_25_3625.jpg
/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_31_2683.jpg
/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_43_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722713","1395722707","1395722722","1395722716","1395722719","1395722710"],"photo_ids_order":["1395722707","1395722710","1395722713","1395722716","1395722719","1395722722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc7ddeed8667283028816852e315d54c.jpg","text":"TemporaryFile(/tmp/multipartBody4576423635169898491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838383534,"filename":"image_22112025_20_05_16_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db95cb4ecf43879964492a6dfe914b37.jpg","text":"TemporaryFile(/tmp/multipartBody4570960054985920925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838383534,"filename":"image_22112025_20_04_55_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bba5efc1a8d502df2c70756408fcc5b2.jpg","text":"TemporaryFile(/tmp/multipartBody5236863198902413369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838383534,"filename":"image_22112025_20_05_43_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b2c3ad14c1bc0ec561691bfb203b9f5.jpg","text":"TemporaryFile(/tmp/multipartBody2322808279407973240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838383534,"filename":"image_22112025_20_05_25_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3709033a290897ad6903c88388c18ece.jpg","text":"TemporaryFile(/tmp/multipartBody6050410120045955760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838383534,"filename":"image_22112025_20_05_31_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44acd8bb3ed492976b2c57079e2f0f68.jpg","text":"TemporaryFile(/tmp/multipartBody6356162971556280075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838383534,"filename":"image_22112025_20_05_01_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722713","file1":"1395722710","file0":"1395722707","file4":"1395722719","file5":"1395722722","file3":"1395722716"},"map_files_photo_id_array":[{"photo_id":"1395722722","filename":"file5"},{"photo_id":"1395722713","filename":"file2"},{"photo_id":"1395722719","filename":"file4"},{"photo_id":"1395722710","filename":"file1"},{"photo_id":"1395722707","filename":"file0"},{"photo_id":"1395722716","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722713":["hashtag1","hashtag2"]},{"1395722707":["hashtag1","hashtag2"]},{"1395722722":["hashtag1","hashtag2"]},{"1395722716":["hashtag1","hashtag2"]},{"1395722719":["hashtag1","hashtag2"]},{"1395722710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722713, 1395722707, 1395722722, 1395722716, 1395722719, 1395722710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41419315338135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:06:02.459307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_46_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_46_2648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.44965267181396484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:06:21.943062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_46_2648.jpg', '/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_55_2683.jpg', '/home/pi/Desktop/images/22112025/20/06/image_22112025_20_06_13_3583.jpg', '/home/pi/Desktop/images/22112025/20/06/image_22112025_20_06_28_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_46_2648.jpg
/home/pi/Desktop/images/22112025/20/05/image_22112025_20_05_55_2683.jpg
/home/pi/Desktop/images/22112025/20/06/image_22112025_20_06_13_3583.jpg
/home/pi/Desktop/images/22112025/20/06/image_22112025_20_06_28_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722736","1395722733","1395722729","1395722740"],"photo_ids_order":["1395722729","1395722733","1395722736","1395722740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93d76cd421727e44b0ad1e9f4fc57c35.jpg","text":"TemporaryFile(/tmp/multipartBody5327051524178100770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838442586,"filename":"image_22112025_20_06_13_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81dd8aa6dc822cc166b4f212bbb3bb37.jpg","text":"TemporaryFile(/tmp/multipartBody9201285726664396158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838442586,"filename":"image_22112025_20_05_55_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9dc7208213941c6b1bffbd9be4c37f5.jpg","text":"TemporaryFile(/tmp/multipartBody2352978203660676494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838442586,"filename":"image_22112025_20_05_46_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5657e3bdae33fb696e481160dea0fee0.jpg","text":"TemporaryFile(/tmp/multipartBody7156532867365779861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838442586,"filename":"image_22112025_20_06_28_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722736","file1":"1395722733","file0":"1395722729","file3":"1395722740"},"map_files_photo_id_array":[{"photo_id":"1395722736","filename":"file2"},{"photo_id":"1395722733","filename":"file1"},{"photo_id":"1395722729","filename":"file0"},{"photo_id":"1395722740","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722736":["hashtag1","hashtag2"]},{"1395722733":["hashtag1","hashtag2"]},{"1395722729":["hashtag1","hashtag2"]},{"1395722740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722736, 1395722733, 1395722729, 1395722740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.28271174430847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:07:02.795803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_12_2691.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_16_3660.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_18_2697.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_25_2797.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_27_2790.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_30_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_12_2691.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_16_3660.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_18_2697.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_25_2797.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_27_2790.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_30_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722754","1395722757","1395722748","1395722750","1395722747","1395722749"],"photo_ids_order":["1395722747","1395722748","1395722749","1395722750","1395722754","1395722757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5d7eb787f038b62a80dc3ebf4c737ad.jpg","text":"TemporaryFile(/tmp/multipartBody1953154355413057465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838485025,"filename":"image_20112025_19_13_27_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/397bc428a0a2b691f64cacf57af134c9.jpg","text":"TemporaryFile(/tmp/multipartBody7021167521256564108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838485025,"filename":"image_20112025_19_13_30_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c08a6c052471bcec9945064ead0fe857.jpg","text":"TemporaryFile(/tmp/multipartBody9185877183188246635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838485025,"filename":"image_20112025_19_13_16_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c97596e69c5d49292c7c90661073398e.jpg","text":"TemporaryFile(/tmp/multipartBody6580937199154766475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838485025,"filename":"image_20112025_19_13_25_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d9e3210ffd22166176d14aebb137ef2.jpg","text":"TemporaryFile(/tmp/multipartBody970003083566252215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838485025,"filename":"image_20112025_19_13_12_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93291d0164b1c4b7be95a85b9f326831.jpg","text":"TemporaryFile(/tmp/multipartBody5680460360944161077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838485025,"filename":"image_20112025_19_13_18_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722749","file1":"1395722748","file0":"1395722747","file4":"1395722754","file5":"1395722757","file3":"1395722750"},"map_files_photo_id_array":[{"photo_id":"1395722757","filename":"file5"},{"photo_id":"1395722749","filename":"file2"},{"photo_id":"1395722754","filename":"file4"},{"photo_id":"1395722748","filename":"file1"},{"photo_id":"1395722747","filename":"file0"},{"photo_id":"1395722750","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722754":["hashtag1","hashtag2"]},{"1395722757":["hashtag1","hashtag2"]},{"1395722748":["hashtag1","hashtag2"]},{"1395722750":["hashtag1","hashtag2"]},{"1395722747":["hashtag1","hashtag2"]},{"1395722749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722754, 1395722757, 1395722748, 1395722750, 1395722747, 1395722749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13772130012512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:07:42.204156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/06/image_22112025_20_06_34_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/06/image_22112025_20_06_34_3599.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722764"],"photo_id":"1395722764","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c00d802f9998e63734357240df881ef7.jpg","text":"TemporaryFile(/tmp/multipartBody3341323436612073774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838522724,"filename":"image_22112025_20_06_34_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395722764"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395722764"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.892199754714966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:08:02.783182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_37_3741.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_39_2778.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_45_2615.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_49_3815.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_55_3021.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_57_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_37_3741.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_39_2778.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_45_2615.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_49_3815.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_55_3021.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_57_2675.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.010927677154541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:08:22.316677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/07/image_22112025_20_08_00_2743.jpg', '/home/pi/Desktop/images/22112025/20/08/image_22112025_20_08_04_3636.jpg', '/home/pi/Desktop/images/22112025/20/08/image_22112025_20_08_07_2624.jpg', '/home/pi/Desktop/images/22112025/20/08/image_22112025_20_08_31_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/07/image_22112025_20_08_00_2743.jpg
/home/pi/Desktop/images/22112025/20/08/image_22112025_20_08_04_3636.jpg
/home/pi/Desktop/images/22112025/20/08/image_22112025_20_08_07_2624.jpg
/home/pi/Desktop/images/22112025/20/08/image_22112025_20_08_31_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722783","1395722776","1395722785","1395722779"],"photo_ids_order":["1395722776","1395722779","1395722783","1395722785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cc36d30274e01105dee0ea7787154a2.jpg","text":"TemporaryFile(/tmp/multipartBody5492065915622326355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838562933,"filename":"image_22112025_20_08_07_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/839d9a86fe4a3d908e9aad7a5856b5b6.jpg","text":"TemporaryFile(/tmp/multipartBody5431400558142636807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838562933,"filename":"image_22112025_20_08_00_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23e5eedb958761fbbdd3706d9b400f81.jpg","text":"TemporaryFile(/tmp/multipartBody7362781824264309161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838562933,"filename":"image_22112025_20_08_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40f1d8d39537e1ea2e96d341910b6d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4844898454161466793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838562933,"filename":"image_22112025_20_08_04_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722783","file1":"1395722779","file0":"1395722776","file3":"1395722785"},"map_files_photo_id_array":[{"photo_id":"1395722783","filename":"file2"},{"photo_id":"1395722779","filename":"file1"},{"photo_id":"1395722776","filename":"file0"},{"photo_id":"1395722785","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722783":["hashtag1","hashtag2"]},{"1395722776":["hashtag1","hashtag2"]},{"1395722785":["hashtag1","hashtag2"]},{"1395722779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722783, 1395722776, 1395722785, 1395722779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.996396780014038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:09:03.388168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_37_3741.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_39_2778.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_45_2615.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_49_3815.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_55_3021.jpg', '/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_57_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_37_3741.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_39_2778.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_45_2615.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_49_3815.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_55_3021.jpg
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_13_57_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722811","1395722805","1395722808","1395722802","1395722801","1395722803"],"photo_ids_order":["1395722801","1395722802","1395722803","1395722805","1395722808","1395722811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f8757369c154eb154b85d53587eee78.jpg","text":"TemporaryFile(/tmp/multipartBody5684805766278072804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838605839,"filename":"image_20112025_19_13_57_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1365ea0df0669760932db6fc62b83b59.jpg","text":"TemporaryFile(/tmp/multipartBody1694876153852530790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838605839,"filename":"image_20112025_19_13_49_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e7e224f7c21c3d437b824e67c4eee4a.jpg","text":"TemporaryFile(/tmp/multipartBody5968834400249066922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838605839,"filename":"image_20112025_19_13_55_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed7fed2c14586ce4639195884fba90c8.jpg","text":"TemporaryFile(/tmp/multipartBody2756789193562502337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838605839,"filename":"image_20112025_19_13_39_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/933fc62beaeeb10544b5d43a3a0612ed.jpg","text":"TemporaryFile(/tmp/multipartBody5056343034254172288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838605839,"filename":"image_20112025_19_13_37_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e19ba5a65b0b6b6cb4adb09ae6f4951b.jpg","text":"TemporaryFile(/tmp/multipartBody2536307462729064161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838605839,"filename":"image_20112025_19_13_45_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722803","file1":"1395722802","file0":"1395722801","file4":"1395722808","file5":"1395722811","file3":"1395722805"},"map_files_photo_id_array":[{"photo_id":"1395722811","filename":"file5"},{"photo_id":"1395722803","filename":"file2"},{"photo_id":"1395722808","filename":"file4"},{"photo_id":"1395722802","filename":"file1"},{"photo_id":"1395722801","filename":"file0"},{"photo_id":"1395722805","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722811":["hashtag1","hashtag2"]},{"1395722805":["hashtag1","hashtag2"]},{"1395722808":["hashtag1","hashtag2"]},{"1395722802":["hashtag1","hashtag2"]},{"1395722801":["hashtag1","hashtag2"]},{"1395722803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722811, 1395722805, 1395722808, 1395722802, 1395722801, 1395722803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.238102436065674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:09:42.621466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/08/image_22112025_20_08_58_2865.jpg', '/home/pi/Desktop/images/22112025/20/09/image_22112025_20_09_10_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/08/image_22112025_20_08_58_2865.jpg
/home/pi/Desktop/images/22112025/20/09/image_22112025_20_09_10_2717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722820","1395722819"],"photo_ids_order":["1395722819","1395722820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec4fb709bf91d9b250ccd407df7edc95.jpg","text":"TemporaryFile(/tmp/multipartBody8185133937402686392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838643180,"filename":"image_22112025_20_09_10_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d355188c07940da4f4814a21bc4c60d.jpg","text":"TemporaryFile(/tmp/multipartBody3864464758383465785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838643180,"filename":"image_22112025_20_08_58_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395722820","file0":"1395722819"},"map_files_photo_id_array":[{"photo_id":"1395722820","filename":"file1"},{"photo_id":"1395722819","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722820":["hashtag1","hashtag2"]},{"1395722819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722820, 1395722819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.054029941558838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:10:02.295647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/13/image_20112025_19_14_00_2756.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_04_3708.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_06_2676.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_09_2729.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_12_2723.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_15_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/13/image_20112025_19_14_00_2756.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_04_3708.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_06_2676.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_09_2729.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_12_2723.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_15_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722829","1395722823","1395722826","1395722822","1395722824","1395722821"],"photo_ids_order":["1395722821","1395722822","1395722823","1395722824","1395722826","1395722829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e12940f8979670447819fa2c7d4b33d0.jpg","text":"TemporaryFile(/tmp/multipartBody2939261611970988213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838664440,"filename":"image_20112025_19_14_15_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41f732ee5687ddcd6b5c8d68ce721033.jpg","text":"TemporaryFile(/tmp/multipartBody6852752320619420332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838664440,"filename":"image_20112025_19_14_06_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67244fc6e1c64afa67708af5bcc9482e.jpg","text":"TemporaryFile(/tmp/multipartBody2211088596930898299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838664440,"filename":"image_20112025_19_14_12_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/97ccd0bdf8f7e5db4abd42b247ed7ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1624290769874109118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838664440,"filename":"image_20112025_19_14_04_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0485e08addbd4b38baf03e24ae1bbe54.jpg","text":"TemporaryFile(/tmp/multipartBody7700333609821391640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838664440,"filename":"image_20112025_19_14_09_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dec61e4d31a80e13a5d80274ddcaec2e.jpg","text":"TemporaryFile(/tmp/multipartBody3929438784504639675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838664440,"filename":"image_20112025_19_14_00_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722823","file1":"1395722822","file0":"1395722821","file4":"1395722826","file5":"1395722829","file3":"1395722824"},"map_files_photo_id_array":[{"photo_id":"1395722829","filename":"file5"},{"photo_id":"1395722823","filename":"file2"},{"photo_id":"1395722826","filename":"file4"},{"photo_id":"1395722822","filename":"file1"},{"photo_id":"1395722821","filename":"file0"},{"photo_id":"1395722824","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722829":["hashtag1","hashtag2"]},{"1395722823":["hashtag1","hashtag2"]},{"1395722826":["hashtag1","hashtag2"]},{"1395722822":["hashtag1","hashtag2"]},{"1395722824":["hashtag1","hashtag2"]},{"1395722821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722829, 1395722823, 1395722826, 1395722822, 1395722824, 1395722821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.597816944122314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:10:41.843441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_17_3635.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_19_2775.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_22_2549.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_26_3829.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_29_2647.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_31_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_17_3635.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_19_2775.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_22_2549.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_26_3829.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_29_2647.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_31_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722841","1395722850","1395722844","1395722846","1395722849","1395722848"],"photo_ids_order":["1395722841","1395722844","1395722846","1395722848","1395722849","1395722850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8f863246acb1fb1fa8178ac05bfb51f.jpg","text":"TemporaryFile(/tmp/multipartBody2065809105235254113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838704061,"filename":"image_30102025_18_04_17_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/de13784ba34a89262c1de240674041c9.jpg","text":"TemporaryFile(/tmp/multipartBody4302327097352056384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838704061,"filename":"image_30102025_18_04_31_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3edf28462b0e94736f7bb7b539f3399.jpg","text":"TemporaryFile(/tmp/multipartBody7224115291983724038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838704061,"filename":"image_30102025_18_04_19_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7663f3caaf7f7cfd4ab71a02928c9738.jpg","text":"TemporaryFile(/tmp/multipartBody9008213685277255258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838704061,"filename":"image_30102025_18_04_22_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00d16a99a081be3f345d5362270744d2.jpg","text":"TemporaryFile(/tmp/multipartBody8924566205066185669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838704061,"filename":"image_30102025_18_04_29_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0998a2ca1ef302a28b38502c460b4ea3.jpg","text":"TemporaryFile(/tmp/multipartBody2998468062176797089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838704061,"filename":"image_30102025_18_04_26_3829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722846","file1":"1395722844","file0":"1395722841","file4":"1395722849","file5":"1395722850","file3":"1395722848"},"map_files_photo_id_array":[{"photo_id":"1395722850","filename":"file5"},{"photo_id":"1395722846","filename":"file2"},{"photo_id":"1395722849","filename":"file4"},{"photo_id":"1395722844","filename":"file1"},{"photo_id":"1395722841","filename":"file0"},{"photo_id":"1395722848","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395722841":["hashtag1","hashtag2"]},{"1395722850":["hashtag1","hashtag2"]},{"1395722844":["hashtag1","hashtag2"]},{"1395722846":["hashtag1","hashtag2"]},{"1395722849":["hashtag1","hashtag2"]},{"1395722848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395722841, 1395722850, 1395722844, 1395722846, 1395722849, 1395722848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51598286628723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:11:22.262243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_35_3610.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_38_2704.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_40_2682.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_44_3602.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_46_2537.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_49_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_35_3610.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_38_2704.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_40_2682.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_44_3602.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_46_2537.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_49_2785.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.299462080001831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:11:42.180853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_35_3610.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_38_2704.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_40_2682.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_44_3602.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_46_2537.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_49_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_35_3610.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_38_2704.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_40_2682.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_44_3602.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_46_2537.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_49_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722868","1395722877","1395722876","1395722870","1395722872","1395722871"],"photo_ids_order":["1395722868","1395722870","1395722871","1395722872","1395722876","1395722877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88e5f765a9800b7180d403927f4e0d19.jpg","text":"TemporaryFile(/tmp/multipartBody5383140619380921456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838764253,"filename":"image_30102025_18_04_35_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c03fb9b00cfc7e6c330be1ffd07ae627.jpg","text":"TemporaryFile(/tmp/multipartBody8151226663516593064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838764253,"filename":"image_30102025_18_04_49_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fe8812d584713c121a1e0f549a70ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1029302312452216835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838764253,"filename":"image_30102025_18_04_46_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/805161333b686189a9abdee94836158f.jpg","text":"TemporaryFile(/tmp/multipartBody8962529569616583073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838764253,"filename":"image_30102025_18_04_38_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/865e0aa4b371d3ff2edb79c70599f3ed.jpg","text":"TemporaryFile(/tmp/multipartBody9065737935986202167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838764253,"filename":"image_30102025_18_04_44_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76765df24497635338b84de86e129c60.jpg","text":"TemporaryFile(/tmp/multipartBody2611451540321855691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838764253,"filename":"image_30102025_18_04_40_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722871","file1":"1395722870","file0":"1395722868","file4":"1395722876","file5":"1395722877","file3":"1395722872"},"map_files_photo_id_array":[{"photo_id":"1395722877","filename":"file5"},{"photo_id":"1395722871","filename":"file2"},{"photo_id":"1395722876","filename":"file4"},{"photo_id":"1395722870","filename":"file1"},{"photo_id":"1395722868","filename":"file0"},{"photo_id":"1395722872","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395722868":["hashtag1","hashtag2"]},{"1395722877":["hashtag1","hashtag2"]},{"1395722876":["hashtag1","hashtag2"]},{"1395722870":["hashtag1","hashtag2"]},{"1395722872":["hashtag1","hashtag2"]},{"1395722871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395722868, 1395722877, 1395722876, 1395722870, 1395722872, 1395722871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65078544616699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:12:22.465311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_53_3658.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_56_2765.jpg', '/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_58_2779.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_01_2754.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_04_3120.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_08_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_53_3658.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_56_2765.jpg
/home/pi/Desktop/images/30102025/18/04/image_30102025_18_04_58_2779.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_01_2754.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_04_3120.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_08_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722900","1395722893","1395722881","1395722884","1395722898","1395722902"],"photo_ids_order":["1395722881","1395722884","1395722893","1395722898","1395722900","1395722902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9fe21f604d7de3647881b7482686e55.jpg","text":"TemporaryFile(/tmp/multipartBody636078503299080571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838804843,"filename":"image_30102025_18_05_04_3120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50fd1ee46dd4e6f5853fbfe005762525.jpg","text":"TemporaryFile(/tmp/multipartBody5274374047162379671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838804843,"filename":"image_30102025_18_04_58_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/685ddc4e9726c09395248e1c03e96323.jpg","text":"TemporaryFile(/tmp/multipartBody8808356838604889031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838804843,"filename":"image_30102025_18_04_53_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/742ea428543be90ea1635d2506e1262e.jpg","text":"TemporaryFile(/tmp/multipartBody9032625144214230897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838804843,"filename":"image_30102025_18_04_56_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91a7ab2db8af6c82b1dd946161fae2df.jpg","text":"TemporaryFile(/tmp/multipartBody1224928065779052278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838804843,"filename":"image_30102025_18_05_01_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8475566753362847f38d4313fcf216c9.jpg","text":"TemporaryFile(/tmp/multipartBody7555912226255881899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838804843,"filename":"image_30102025_18_05_08_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722893","file1":"1395722884","file0":"1395722881","file4":"1395722900","file5":"1395722902","file3":"1395722898"},"map_files_photo_id_array":[{"photo_id":"1395722902","filename":"file5"},{"photo_id":"1395722893","filename":"file2"},{"photo_id":"1395722900","filename":"file4"},{"photo_id":"1395722884","filename":"file1"},{"photo_id":"1395722881","filename":"file0"},{"photo_id":"1395722898","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395722900":["hashtag1","hashtag2"]},{"1395722893":["hashtag1","hashtag2"]},{"1395722881":["hashtag1","hashtag2"]},{"1395722884":["hashtag1","hashtag2"]},{"1395722898":["hashtag1","hashtag2"]},{"1395722902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395722900, 1395722893, 1395722881, 1395722884, 1395722898, 1395722902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.608142137527466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:13:03.005590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:13:22.665350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/09/image_22112025_20_09_16_3694.jpg', '/home/pi/Desktop/images/22112025/20/13/image_22112025_20_13_12_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/09/image_22112025_20_09_16_3694.jpg
/home/pi/Desktop/images/22112025/20/13/image_22112025_20_13_12_2538.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722910","1395722907"],"photo_ids_order":["1395722907","1395722910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa23587843aa9b7fd5d50e46d35eab62.jpg","text":"TemporaryFile(/tmp/multipartBody7710990465755663012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838863190,"filename":"image_22112025_20_13_12_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da0741fd832c34923f83f02f1c0f5895.jpg","text":"TemporaryFile(/tmp/multipartBody6756188442274520483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838863190,"filename":"image_22112025_20_09_16_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395722910","file0":"1395722907"},"map_files_photo_id_array":[{"photo_id":"1395722910","filename":"file1"},{"photo_id":"1395722907","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395722910":["hashtag1","hashtag2"]},{"1395722907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395722910, 1395722907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.750306606292725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:13:42.648645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_10_2603.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_13_2647.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_17_3597.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_19_2643.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_22_2710.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_26_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_10_2603.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_13_2647.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_17_3597.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_19_2643.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_22_2710.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_26_3620.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.179023265838623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:14:02.520980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_18_2706.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_21_2674.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_25_3916.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_28_2802.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_34_3555.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_36_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_18_2706.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_21_2674.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_25_3916.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_28_2802.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_34_3555.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_36_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722928","1395722925","1395722930","1395722933","1395722927","1395722924"],"photo_ids_order":["1395722924","1395722925","1395722927","1395722928","1395722930","1395722933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/816256c422222549ec8787e7e48425fe.jpg","text":"TemporaryFile(/tmp/multipartBody2365697705387054318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838904524,"filename":"image_20112025_19_14_28_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1d6cbacb8058d81af2639f340c56ae0.jpg","text":"TemporaryFile(/tmp/multipartBody8173550057100891591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838904524,"filename":"image_20112025_19_14_21_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5b0a55f284b52ea9f9bed3ebbf67c81.jpg","text":"TemporaryFile(/tmp/multipartBody8004488903497263537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838904524,"filename":"image_20112025_19_14_34_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c086e1eeba8d50a341bd9972b369e7f.jpg","text":"TemporaryFile(/tmp/multipartBody9039499813264210735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838904524,"filename":"image_20112025_19_14_36_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd8ba23b9a2061b7c000cd82c6345832.jpg","text":"TemporaryFile(/tmp/multipartBody1755857694886236923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838904524,"filename":"image_20112025_19_14_25_3916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da30c99fb2ed8ffc0a02580ce4006f92.jpg","text":"TemporaryFile(/tmp/multipartBody2209253429952435152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838904524,"filename":"image_20112025_19_14_18_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722927","file1":"1395722925","file0":"1395722924","file4":"1395722930","file5":"1395722933","file3":"1395722928"},"map_files_photo_id_array":[{"photo_id":"1395722933","filename":"file5"},{"photo_id":"1395722927","filename":"file2"},{"photo_id":"1395722930","filename":"file4"},{"photo_id":"1395722925","filename":"file1"},{"photo_id":"1395722924","filename":"file0"},{"photo_id":"1395722928","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722928":["hashtag1","hashtag2"]},{"1395722925":["hashtag1","hashtag2"]},{"1395722930":["hashtag1","hashtag2"]},{"1395722933":["hashtag1","hashtag2"]},{"1395722927":["hashtag1","hashtag2"]},{"1395722924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722928, 1395722925, 1395722930, 1395722933, 1395722927, 1395722924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26435327529907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:14:41.849749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_10_2603.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_13_2647.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_17_3597.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_19_2643.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_22_2710.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_26_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_10_2603.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_13_2647.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_17_3597.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_19_2643.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_22_2710.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_26_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722949","1395722951","1395722945","1395722948","1395722950","1395722947"],"photo_ids_order":["1395722945","1395722947","1395722948","1395722949","1395722950","1395722951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ea4fc58f6a4eb20a019d84b6dc09ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2374755600577984138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838943907,"filename":"image_30102025_18_05_19_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b657a447dd3b8b0573fa1be60b3e4e83.jpg","text":"TemporaryFile(/tmp/multipartBody5181403985041371561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838943907,"filename":"image_30102025_18_05_26_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6fe7381f99d47eca9f19ce54c4d95a51.jpg","text":"TemporaryFile(/tmp/multipartBody1876670283451031978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838943907,"filename":"image_30102025_18_05_10_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71f3d9b3c4a98cffd00836dfd26d5c31.jpg","text":"TemporaryFile(/tmp/multipartBody7167024925060746886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838943907,"filename":"image_30102025_18_05_17_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad3902cb5da32a5412f377204384ea95.jpg","text":"TemporaryFile(/tmp/multipartBody2960635309082402042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838943907,"filename":"image_30102025_18_05_22_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/955758736426fb51c72b4a11a83e3693.jpg","text":"TemporaryFile(/tmp/multipartBody3733803282194608849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838943907,"filename":"image_30102025_18_05_13_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722948","file1":"1395722947","file0":"1395722945","file4":"1395722950","file5":"1395722951","file3":"1395722949"},"map_files_photo_id_array":[{"photo_id":"1395722951","filename":"file5"},{"photo_id":"1395722948","filename":"file2"},{"photo_id":"1395722950","filename":"file4"},{"photo_id":"1395722947","filename":"file1"},{"photo_id":"1395722945","filename":"file0"},{"photo_id":"1395722949","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395722949":["hashtag1","hashtag2"]},{"1395722951":["hashtag1","hashtag2"]},{"1395722945":["hashtag1","hashtag2"]},{"1395722948":["hashtag1","hashtag2"]},{"1395722950":["hashtag1","hashtag2"]},{"1395722947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395722949, 1395722951, 1395722945, 1395722948, 1395722950, 1395722947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01624131202698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:15:22.124391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_28_2682.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_31_2583.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_35_3684.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_37_2692.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_40_2709.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_44_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_28_2682.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_31_2583.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_35_3684.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_37_2692.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_40_2709.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_44_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722967","1395722961","1395722955","1395722958","1395722969","1395722965"],"photo_ids_order":["1395722955","1395722958","1395722961","1395722965","1395722967","1395722969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b026dd28893d9bea4ebd7d25accd5ba5.jpg","text":"TemporaryFile(/tmp/multipartBody6363939429661778132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838984419,"filename":"image_30102025_18_05_40_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85419596974e2301bf04ebb7fd37744c.jpg","text":"TemporaryFile(/tmp/multipartBody119422599867658456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838984419,"filename":"image_30102025_18_05_35_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/264ceb63352677ac1b022b9180b796a5.jpg","text":"TemporaryFile(/tmp/multipartBody6122649989378793852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838984419,"filename":"image_30102025_18_05_28_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d66aa69277e4e683409968d7ee640abf.jpg","text":"TemporaryFile(/tmp/multipartBody8436493974168353157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838984419,"filename":"image_30102025_18_05_31_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af6112110f0cde3c159184e9a6655629.jpg","text":"TemporaryFile(/tmp/multipartBody3024129948616190697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838984419,"filename":"image_30102025_18_05_44_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5900116a1f333bd7266452ff7f5b793c.jpg","text":"TemporaryFile(/tmp/multipartBody961813582043316537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763838984419,"filename":"image_30102025_18_05_37_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722961","file1":"1395722958","file0":"1395722955","file4":"1395722967","file5":"1395722969","file3":"1395722965"},"map_files_photo_id_array":[{"photo_id":"1395722969","filename":"file5"},{"photo_id":"1395722961","filename":"file2"},{"photo_id":"1395722967","filename":"file4"},{"photo_id":"1395722958","filename":"file1"},{"photo_id":"1395722955","filename":"file0"},{"photo_id":"1395722965","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395722967":["hashtag1","hashtag2"]},{"1395722961":["hashtag1","hashtag2"]},{"1395722955":["hashtag1","hashtag2"]},{"1395722958":["hashtag1","hashtag2"]},{"1395722969":["hashtag1","hashtag2"]},{"1395722965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395722967, 1395722961, 1395722955, 1395722958, 1395722969, 1395722965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43980383872986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:16:02.733985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_42_2747.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_48_2651.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_51_2672.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_54_3609.jpg', '/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_57_2785.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_04_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_42_2747.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_48_2651.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_51_2672.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_54_3609.jpg
/home/pi/Desktop/images/20112025/19/14/image_20112025_19_14_57_2785.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_04_3770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722973","1395722976","1395722978","1395722972","1395722971","1395722970"],"photo_ids_order":["1395722970","1395722971","1395722972","1395722973","1395722976","1395722978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b54c76cc52e0b089a52d3943f6e90c25.jpg","text":"TemporaryFile(/tmp/multipartBody3358828336994226698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839024840,"filename":"image_20112025_19_14_54_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f93c25eacf84c5b463a67233d5ef6e47.jpg","text":"TemporaryFile(/tmp/multipartBody383282859982725853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839024840,"filename":"image_20112025_19_14_57_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5893a08ea71524f0ccbf4a8871b3fac7.jpg","text":"TemporaryFile(/tmp/multipartBody7557899678379051461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839024840,"filename":"image_20112025_19_15_04_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0759acda4d38f3d6e69caab87412aec.jpg","text":"TemporaryFile(/tmp/multipartBody2536416400836344869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839024840,"filename":"image_20112025_19_14_51_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d5f6abd1a4825998ee679d070275e4f.jpg","text":"TemporaryFile(/tmp/multipartBody4636057214635411790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839024840,"filename":"image_20112025_19_14_48_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e56c8658492b07da5808fd3c8c23241.jpg","text":"TemporaryFile(/tmp/multipartBody4061892188478394376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839024840,"filename":"image_20112025_19_14_42_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722972","file1":"1395722971","file0":"1395722970","file4":"1395722976","file5":"1395722978","file3":"1395722973"},"map_files_photo_id_array":[{"photo_id":"1395722978","filename":"file5"},{"photo_id":"1395722972","filename":"file2"},{"photo_id":"1395722976","filename":"file4"},{"photo_id":"1395722971","filename":"file1"},{"photo_id":"1395722970","filename":"file0"},{"photo_id":"1395722973","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395722973":["hashtag1","hashtag2"]},{"1395722976":["hashtag1","hashtag2"]},{"1395722978":["hashtag1","hashtag2"]},{"1395722972":["hashtag1","hashtag2"]},{"1395722971":["hashtag1","hashtag2"]},{"1395722970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395722973, 1395722976, 1395722978, 1395722972, 1395722971, 1395722970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.511245250701904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:16:42.265829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_46_2663.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_49_2721.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_53_3674.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_55_2667.jpg', '/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_58_2728.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_02_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_46_2663.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_49_2721.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_53_3674.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_55_2667.jpg
/home/pi/Desktop/images/30102025/18/05/image_30102025_18_05_58_2728.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_02_3588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395722994","1395722988","1395722993","1395722990","1395722992","1395722991"],"photo_ids_order":["1395722988","1395722990","1395722991","1395722992","1395722993","1395722994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/130e39b4d27beec2041827647d425e7b.jpg","text":"TemporaryFile(/tmp/multipartBody1076534557223706320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839064441,"filename":"image_30102025_18_06_02_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4870119c074deb350acccb2f03cfe3d2.jpg","text":"TemporaryFile(/tmp/multipartBody819669870541154918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839064441,"filename":"image_30102025_18_05_46_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44639e81513a2889e49371e15ef1ffd1.jpg","text":"TemporaryFile(/tmp/multipartBody3226170999538316150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839064441,"filename":"image_30102025_18_05_58_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13ec831e239b5687b1dfa5fc3bebc0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4430311921004677169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839064441,"filename":"image_30102025_18_05_49_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/505020631f98f31c0bc107365387f562.jpg","text":"TemporaryFile(/tmp/multipartBody1981941235552101661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839064441,"filename":"image_30102025_18_05_55_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f88bcf1e501cc166dcb7c450e426d71.jpg","text":"TemporaryFile(/tmp/multipartBody8068432534380237360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839064441,"filename":"image_30102025_18_05_53_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395722991","file1":"1395722990","file0":"1395722988","file4":"1395722993","file5":"1395722994","file3":"1395722992"},"map_files_photo_id_array":[{"photo_id":"1395722994","filename":"file5"},{"photo_id":"1395722991","filename":"file2"},{"photo_id":"1395722993","filename":"file4"},{"photo_id":"1395722990","filename":"file1"},{"photo_id":"1395722988","filename":"file0"},{"photo_id":"1395722992","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395722994":["hashtag1","hashtag2"]},{"1395722988":["hashtag1","hashtag2"]},{"1395722993":["hashtag1","hashtag2"]},{"1395722990":["hashtag1","hashtag2"]},{"1395722992":["hashtag1","hashtag2"]},{"1395722991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395722994, 1395722988, 1395722993, 1395722990, 1395722992, 1395722991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85452914237976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:17:22.503494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_04_2523.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_07_2861.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_11_3616.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_13_2720.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_16_2677.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_20_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_04_2523.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_07_2861.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_11_3616.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_13_2720.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_16_2677.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_20_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723012","1395722998","1395723010","1395723004","1395723007","1395723001"],"photo_ids_order":["1395722998","1395723001","1395723004","1395723007","1395723010","1395723012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/393665301d23ab22433892421545a036.jpg","text":"TemporaryFile(/tmp/multipartBody5798845070066661587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839104680,"filename":"image_30102025_18_06_20_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b75f93673374a53248acff05a5f392a7.jpg","text":"TemporaryFile(/tmp/multipartBody5470961703174217834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839104680,"filename":"image_30102025_18_06_04_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9ccb384337b8377f43ffb6365beb033.jpg","text":"TemporaryFile(/tmp/multipartBody3137136433853411945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839104680,"filename":"image_30102025_18_06_16_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07542a2a61a34a2700bd48834a84ee37.jpg","text":"TemporaryFile(/tmp/multipartBody814666226520125546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839104680,"filename":"image_30102025_18_06_11_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4463548b29c57c60bbab0abd787ba15.jpg","text":"TemporaryFile(/tmp/multipartBody838099920819807968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839104680,"filename":"image_30102025_18_06_13_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/955953fe6e636a59fb54585425a55358.jpg","text":"TemporaryFile(/tmp/multipartBody351687630800663635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839104680,"filename":"image_30102025_18_06_07_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723004","file1":"1395723001","file0":"1395722998","file4":"1395723010","file5":"1395723012","file3":"1395723007"},"map_files_photo_id_array":[{"photo_id":"1395723012","filename":"file5"},{"photo_id":"1395723004","filename":"file2"},{"photo_id":"1395723010","filename":"file4"},{"photo_id":"1395723001","filename":"file1"},{"photo_id":"1395722998","filename":"file0"},{"photo_id":"1395723007","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723012":["hashtag1","hashtag2"]},{"1395722998":["hashtag1","hashtag2"]},{"1395723010":["hashtag1","hashtag2"]},{"1395723004":["hashtag1","hashtag2"]},{"1395723007":["hashtag1","hashtag2"]},{"1395723001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723012, 1395722998, 1395723010, 1395723004, 1395723007, 1395723001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79365563392639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:18:03.315292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_06_2671.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_09_2635.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_12_2872.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_16_3701.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_18_2663.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_21_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_06_2671.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_09_2635.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_12_2872.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_16_3701.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_18_2663.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_21_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723015","1395723024","1395723018","1395723020","1395723017","1395723016"],"photo_ids_order":["1395723015","1395723016","1395723017","1395723018","1395723020","1395723024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6d3de2e503dc2c63da526159ba9c8db.jpg","text":"TemporaryFile(/tmp/multipartBody2825012180449606623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839145343,"filename":"image_20112025_19_15_06_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20c8384dccf691d1ccd5c6e1b78d03a9.jpg","text":"TemporaryFile(/tmp/multipartBody3915525668863767732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839145343,"filename":"image_20112025_19_15_21_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e068d88c4145f0cabfddabf44aa471ad.jpg","text":"TemporaryFile(/tmp/multipartBody5313609885947811504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839145343,"filename":"image_20112025_19_15_16_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6125759c614f8777367f789c0565e01.jpg","text":"TemporaryFile(/tmp/multipartBody564651421299212594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839145343,"filename":"image_20112025_19_15_18_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8367c4c12b44b6cb7de1f03af3d03e22.jpg","text":"TemporaryFile(/tmp/multipartBody4608045053268378865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839145343,"filename":"image_20112025_19_15_12_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b685ad1634c44de532b85b18fa85e8b2.jpg","text":"TemporaryFile(/tmp/multipartBody4480491156777773168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839145343,"filename":"image_20112025_19_15_09_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723017","file1":"1395723016","file0":"1395723015","file4":"1395723020","file5":"1395723024","file3":"1395723018"},"map_files_photo_id_array":[{"photo_id":"1395723024","filename":"file5"},{"photo_id":"1395723017","filename":"file2"},{"photo_id":"1395723020","filename":"file4"},{"photo_id":"1395723016","filename":"file1"},{"photo_id":"1395723015","filename":"file0"},{"photo_id":"1395723018","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723015":["hashtag1","hashtag2"]},{"1395723024":["hashtag1","hashtag2"]},{"1395723018":["hashtag1","hashtag2"]},{"1395723020":["hashtag1","hashtag2"]},{"1395723017":["hashtag1","hashtag2"]},{"1395723016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723015, 1395723024, 1395723018, 1395723020, 1395723017, 1395723016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30988836288452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:18:42.853260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_22_2539.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_25_2755.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_29_3692.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_31_2574.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_34_2694.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_38_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_22_2539.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_25_2755.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_29_3692.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_31_2574.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_34_2694.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_38_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723036","1395723038","1395723032","1395723035","1395723037","1395723034"],"photo_ids_order":["1395723032","1395723034","1395723035","1395723036","1395723037","1395723038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5d8d7a1735b5ad12f50273304cf6e17.jpg","text":"TemporaryFile(/tmp/multipartBody7703295499910776558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839185037,"filename":"image_30102025_18_06_31_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/389296d4aecbd2f57dd3b96d11e7e319.jpg","text":"TemporaryFile(/tmp/multipartBody5046211314459546821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839185037,"filename":"image_30102025_18_06_38_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80cae7a3ccd195e803d51badaef5fceb.jpg","text":"TemporaryFile(/tmp/multipartBody8497413686924193080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839185037,"filename":"image_30102025_18_06_22_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/570aa4a99ae2053c11958d6de3798146.jpg","text":"TemporaryFile(/tmp/multipartBody7984350379809717439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839185037,"filename":"image_30102025_18_06_29_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/166c03929effb51fd124f9e628c96ac4.jpg","text":"TemporaryFile(/tmp/multipartBody8572471137418421815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839185037,"filename":"image_30102025_18_06_34_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20d269a6f7528722e5822a3f6aa6e949.jpg","text":"TemporaryFile(/tmp/multipartBody2167643089193832642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839185037,"filename":"image_30102025_18_06_25_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723035","file1":"1395723034","file0":"1395723032","file4":"1395723037","file5":"1395723038","file3":"1395723036"},"map_files_photo_id_array":[{"photo_id":"1395723038","filename":"file5"},{"photo_id":"1395723035","filename":"file2"},{"photo_id":"1395723037","filename":"file4"},{"photo_id":"1395723034","filename":"file1"},{"photo_id":"1395723032","filename":"file0"},{"photo_id":"1395723036","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723036":["hashtag1","hashtag2"]},{"1395723038":["hashtag1","hashtag2"]},{"1395723032":["hashtag1","hashtag2"]},{"1395723035":["hashtag1","hashtag2"]},{"1395723037":["hashtag1","hashtag2"]},{"1395723034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723036, 1395723038, 1395723032, 1395723035, 1395723037, 1395723034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83029365539551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:19:22.223113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_40_2695.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_43_2688.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_47_3668.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_49_2602.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_52_2862.jpg', '/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_55_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_40_2695.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_43_2688.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_47_3668.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_49_2602.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_52_2862.jpg
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_55_2568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723042","1395723055","1395723052","1395723045","1395723054","1395723048"],"photo_ids_order":["1395723042","1395723045","1395723048","1395723052","1395723054","1395723055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ba739dcfe31176ad3f20c3fadc7e7bd.jpg","text":"TemporaryFile(/tmp/multipartBody7188881863696004484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839224400,"filename":"image_30102025_18_06_40_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a05073f040426bbaf6d341aea7157df.jpg","text":"TemporaryFile(/tmp/multipartBody3606349570144234876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839224400,"filename":"image_30102025_18_06_55_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aed6a2727b80996493781f70d2ca4cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8443888949891803707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839224400,"filename":"image_30102025_18_06_49_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17e7ef0f9539477bc9a72414861c8ab3.jpg","text":"TemporaryFile(/tmp/multipartBody8679616800581503655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839224400,"filename":"image_30102025_18_06_43_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac765cd4fa3ebb30a890534c1163859c.jpg","text":"TemporaryFile(/tmp/multipartBody1202296902152112520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839224400,"filename":"image_30102025_18_06_52_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3cbe89215291bd15b1cf8dc683e6a76.jpg","text":"TemporaryFile(/tmp/multipartBody5397662520897783916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839224400,"filename":"image_30102025_18_06_47_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723048","file1":"1395723045","file0":"1395723042","file4":"1395723054","file5":"1395723055","file3":"1395723052"},"map_files_photo_id_array":[{"photo_id":"1395723055","filename":"file5"},{"photo_id":"1395723048","filename":"file2"},{"photo_id":"1395723054","filename":"file4"},{"photo_id":"1395723045","filename":"file1"},{"photo_id":"1395723042","filename":"file0"},{"photo_id":"1395723052","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723042":["hashtag1","hashtag2"]},{"1395723055":["hashtag1","hashtag2"]},{"1395723052":["hashtag1","hashtag2"]},{"1395723045":["hashtag1","hashtag2"]},{"1395723054":["hashtag1","hashtag2"]},{"1395723048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723042, 1395723055, 1395723052, 1395723045, 1395723054, 1395723048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02855205535889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:20:02.900701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_25_3759.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_29_4403.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_45_2813.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_48_2744.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_51_3689.jpg', '/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_54_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_25_3759.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_29_4403.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_45_2813.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_48_2744.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_51_3689.jpg
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_15_54_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723057","1395723056","1395723059","1395723061","1395723058","1395723063"],"photo_ids_order":["1395723056","1395723057","1395723058","1395723059","1395723061","1395723063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68e4c369507370d34607be2e6311cc46.jpg","text":"TemporaryFile(/tmp/multipartBody3337166580885071734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839265125,"filename":"image_20112025_19_15_29_4403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5baceafbd310f8200fabd86363da99e.jpg","text":"TemporaryFile(/tmp/multipartBody2877080600624125238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839265125,"filename":"image_20112025_19_15_25_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dcaa442ff60af2c25eb076d3b1f354b.jpg","text":"TemporaryFile(/tmp/multipartBody4099243920308664555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839265125,"filename":"image_20112025_19_15_48_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2245483efb416d92b9cbd9d37171a742.jpg","text":"TemporaryFile(/tmp/multipartBody6851593477220151868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839265125,"filename":"image_20112025_19_15_51_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab2dd16d8a43567e6e90768782960e63.jpg","text":"TemporaryFile(/tmp/multipartBody3885320287141366739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839265125,"filename":"image_20112025_19_15_45_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3b00b47909cc7e80ff5f46958f2701b.jpg","text":"TemporaryFile(/tmp/multipartBody935646911478338414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839265125,"filename":"image_20112025_19_15_54_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723058","file1":"1395723057","file0":"1395723056","file4":"1395723061","file5":"1395723063","file3":"1395723059"},"map_files_photo_id_array":[{"photo_id":"1395723063","filename":"file5"},{"photo_id":"1395723058","filename":"file2"},{"photo_id":"1395723061","filename":"file4"},{"photo_id":"1395723057","filename":"file1"},{"photo_id":"1395723056","filename":"file0"},{"photo_id":"1395723059","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723057":["hashtag1","hashtag2"]},{"1395723056":["hashtag1","hashtag2"]},{"1395723059":["hashtag1","hashtag2"]},{"1395723061":["hashtag1","hashtag2"]},{"1395723058":["hashtag1","hashtag2"]},{"1395723063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723057, 1395723056, 1395723059, 1395723061, 1395723058, 1395723063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79479956626892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:20:42.302083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/13/image_22112025_20_13_18_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/13/image_22112025_20_13_18_3680.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723077"],"photo_id":"1395723077","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a1b5e36e187ef5788acd37f7e7b45d9.jpg","text":"TemporaryFile(/tmp/multipartBody7742547219664505862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839302822,"filename":"image_22112025_20_13_18_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395723077"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395723077"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.762374877929688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:21:03.121112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/15/image_20112025_19_16_00_3185.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_03_2693.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_09_2731.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_16_3580.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_21_2530.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_24_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/15/image_20112025_19_16_00_3185.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_03_2693.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_09_2731.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_16_3580.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_21_2530.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_24_3698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723083","1395723086","1395723085","1395723094","1395723090","1395723087"],"photo_ids_order":["1395723083","1395723085","1395723086","1395723087","1395723090","1395723094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08e8b5a6b5d8098f89fcc858b9bae7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4354960298144339892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839325129,"filename":"image_20112025_19_16_00_3185.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/149ec5b6616686a985b74cd4edf43a05.jpg","text":"TemporaryFile(/tmp/multipartBody717841019581123838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839325129,"filename":"image_20112025_19_16_09_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/696a4e50d52029610078c395e45e2ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2979388275714559310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839325129,"filename":"image_20112025_19_16_03_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94cd1219903e0372f75e26bac2957db3.jpg","text":"TemporaryFile(/tmp/multipartBody365500085079419097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839325129,"filename":"image_20112025_19_16_24_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9031b1fa7664b84d4818bde840b600ab.jpg","text":"TemporaryFile(/tmp/multipartBody6866115355480867147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839325129,"filename":"image_20112025_19_16_21_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a46e23c8114573f925f7b36449534f5.jpg","text":"TemporaryFile(/tmp/multipartBody294752176075535294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839325129,"filename":"image_20112025_19_16_16_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723086","file1":"1395723085","file0":"1395723083","file4":"1395723090","file5":"1395723094","file3":"1395723087"},"map_files_photo_id_array":[{"photo_id":"1395723094","filename":"file5"},{"photo_id":"1395723086","filename":"file2"},{"photo_id":"1395723090","filename":"file4"},{"photo_id":"1395723085","filename":"file1"},{"photo_id":"1395723083","filename":"file0"},{"photo_id":"1395723087","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723083":["hashtag1","hashtag2"]},{"1395723086":["hashtag1","hashtag2"]},{"1395723085":["hashtag1","hashtag2"]},{"1395723094":["hashtag1","hashtag2"]},{"1395723090":["hashtag1","hashtag2"]},{"1395723087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723083, 1395723086, 1395723085, 1395723094, 1395723090, 1395723087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58886456489563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:21:42.654653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/20/image_22112025_20_20_57_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/20/image_22112025_20_20_57_3594.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723100"],"photo_id":"1395723100","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51fe04877749f52eb8aff7822aed1f45.jpg","text":"TemporaryFile(/tmp/multipartBody7299082088370604424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839363208,"filename":"image_22112025_20_20_57_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395723100"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395723100"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.233386993408203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:22:03.113495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_30_2606.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_42_2744.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_45_2718.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_49_3857.jpg', '/home/pi/Desktop/images/20112025/19/16/image_20112025_19_17_00_3674.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_06_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_30_2606.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_42_2744.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_45_2718.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_16_49_3857.jpg
/home/pi/Desktop/images/20112025/19/16/image_20112025_19_17_00_3674.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_06_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723108","1395723105","1395723104","1395723103","1395723112","1395723106"],"photo_ids_order":["1395723103","1395723104","1395723105","1395723106","1395723108","1395723112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd161e2e896b7cb7e9f356818a0345f1.jpg","text":"TemporaryFile(/tmp/multipartBody1211401003551143791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839385242,"filename":"image_20112025_19_17_00_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/565209f266773550adc22916bdf1c948.jpg","text":"TemporaryFile(/tmp/multipartBody8261093047987087511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839385242,"filename":"image_20112025_19_16_45_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4213049a8505d4f4e72146608cb4150f.jpg","text":"TemporaryFile(/tmp/multipartBody5291821260362163135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839385242,"filename":"image_20112025_19_16_42_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6285e2b538821be2f39c91b785aacd97.jpg","text":"TemporaryFile(/tmp/multipartBody379277682677613718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839385242,"filename":"image_20112025_19_16_30_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad1e377cb2a747b23172c6444847e680.jpg","text":"TemporaryFile(/tmp/multipartBody7929634598190090116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839385242,"filename":"image_20112025_19_17_06_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/209d47471739add1e636ecf142bd445a.jpg","text":"TemporaryFile(/tmp/multipartBody3759336931147089551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839385242,"filename":"image_20112025_19_16_49_3857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723105","file1":"1395723104","file0":"1395723103","file4":"1395723108","file5":"1395723112","file3":"1395723106"},"map_files_photo_id_array":[{"photo_id":"1395723112","filename":"file5"},{"photo_id":"1395723105","filename":"file2"},{"photo_id":"1395723108","filename":"file4"},{"photo_id":"1395723104","filename":"file1"},{"photo_id":"1395723103","filename":"file0"},{"photo_id":"1395723106","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723108":["hashtag1","hashtag2"]},{"1395723105":["hashtag1","hashtag2"]},{"1395723104":["hashtag1","hashtag2"]},{"1395723103":["hashtag1","hashtag2"]},{"1395723112":["hashtag1","hashtag2"]},{"1395723106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723108, 1395723105, 1395723104, 1395723103, 1395723112, 1395723106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48147010803223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:22:42.724487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_58_3578.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_01_2840.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_04_2665.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_07_3643.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_10_2591.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_13_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_58_3578.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_01_2840.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_04_2665.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_07_3643.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_10_2591.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_13_2647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.10048508644104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:23:04.371646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_09_3695.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_24_2639.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_26_2620.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_30_3504.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_33_2808.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_36_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_09_3695.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_24_2639.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_26_2620.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_30_3504.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_33_2808.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_36_3622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723128","1395723136","1395723139","1395723130","1395723133","1395723127"],"photo_ids_order":["1395723127","1395723128","1395723130","1395723133","1395723136","1395723139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86b3f6906bc719e57ffa38f4b4d8672e.jpg","text":"TemporaryFile(/tmp/multipartBody1784038891971321594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839448433,"filename":"image_20112025_19_17_24_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2c7fc9dbccb1c173a535f3bd8e63054.jpg","text":"TemporaryFile(/tmp/multipartBody2041662149316810930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839448433,"filename":"image_20112025_19_17_33_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfa41a6d820b81c3448cb20818c608b4.jpg","text":"TemporaryFile(/tmp/multipartBody1702410563253956384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839448433,"filename":"image_20112025_19_17_36_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73a2756f503bfd8276a7e3325edb0cca.jpg","text":"TemporaryFile(/tmp/multipartBody2444529664123757324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839448433,"filename":"image_20112025_19_17_26_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b25d6109f6c13aad0620ff717db3e273.jpg","text":"TemporaryFile(/tmp/multipartBody5175999355470455695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839448433,"filename":"image_20112025_19_17_30_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1339cf8f67707286b743852969c4d21e.jpg","text":"TemporaryFile(/tmp/multipartBody205430419960933317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839448433,"filename":"image_20112025_19_17_09_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723130","file1":"1395723128","file0":"1395723127","file4":"1395723136","file5":"1395723139","file3":"1395723133"},"map_files_photo_id_array":[{"photo_id":"1395723139","filename":"file5"},{"photo_id":"1395723130","filename":"file2"},{"photo_id":"1395723136","filename":"file4"},{"photo_id":"1395723128","filename":"file1"},{"photo_id":"1395723127","filename":"file0"},{"photo_id":"1395723133","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723128":["hashtag1","hashtag2"]},{"1395723136":["hashtag1","hashtag2"]},{"1395723139":["hashtag1","hashtag2"]},{"1395723130":["hashtag1","hashtag2"]},{"1395723133":["hashtag1","hashtag2"]},{"1395723127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723128, 1395723136, 1395723139, 1395723130, 1395723133, 1395723127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.527050733566284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:24:03.089094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_39_2665.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_42_2686.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_45_2751.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_48_3015.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_57_2670.jpg', '/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_03_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_39_2665.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_42_2686.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_45_2751.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_48_3015.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_57_2670.jpg
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_03_2699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.1056361198425293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:24:25.773066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_58_3578.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_01_2840.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_04_2665.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_07_3643.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_10_2591.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_13_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/06/image_30102025_18_06_58_3578.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_01_2840.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_04_2665.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_07_3643.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_10_2591.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_13_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723179","1395723178","1395723175","1395723160","1395723163","1395723168"],"photo_ids_order":["1395723160","1395723163","1395723168","1395723175","1395723178","1395723179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58a7aad4e452bb834d0c17dbd9bd9a97.jpg","text":"TemporaryFile(/tmp/multipartBody7612149351066589251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839527974,"filename":"image_30102025_18_07_13_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e0ecd237dccfa96fd1c9bbd484f827a.jpg","text":"TemporaryFile(/tmp/multipartBody3524570320711956151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839527974,"filename":"image_30102025_18_07_10_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1481318809e99625e9ed790a9a05b20.jpg","text":"TemporaryFile(/tmp/multipartBody7505549491017334249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839527974,"filename":"image_30102025_18_07_07_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1d4fbeb35614e42f5fadd826ef68d12.jpg","text":"TemporaryFile(/tmp/multipartBody5592538694890947304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839527974,"filename":"image_30102025_18_06_58_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9fa1189f1a6975b274aa42a92903cd9.jpg","text":"TemporaryFile(/tmp/multipartBody7161103573142003255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839527974,"filename":"image_30102025_18_07_01_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c52adcf41cae59ccbd878bcf1ff7a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4274403733145258449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839527974,"filename":"image_30102025_18_07_04_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723168","file1":"1395723163","file0":"1395723160","file4":"1395723178","file5":"1395723179","file3":"1395723175"},"map_files_photo_id_array":[{"photo_id":"1395723179","filename":"file5"},{"photo_id":"1395723168","filename":"file2"},{"photo_id":"1395723178","filename":"file4"},{"photo_id":"1395723163","filename":"file1"},{"photo_id":"1395723160","filename":"file0"},{"photo_id":"1395723175","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723179":["hashtag1","hashtag2"]},{"1395723178":["hashtag1","hashtag2"]},{"1395723175":["hashtag1","hashtag2"]},{"1395723160":["hashtag1","hashtag2"]},{"1395723163":["hashtag1","hashtag2"]},{"1395723168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723179, 1395723178, 1395723175, 1395723160, 1395723163, 1395723168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78177738189697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:25:22.469420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/21/image_22112025_20_21_27_2780.jpg', '/home/pi/Desktop/images/22112025/20/25/image_22112025_20_25_26_5420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/21/image_22112025_20_21_27_2780.jpg
/home/pi/Desktop/images/22112025/20/25/image_22112025_20_25_26_5420.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723182","1395723186"],"photo_ids_order":["1395723182","1395723186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/829175f288ca364023b35a817a0a1003.jpg","text":"TemporaryFile(/tmp/multipartBody7020710238993409837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839582992,"filename":"image_22112025_20_21_27_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8a6526cb0f6851bc7da533f81ac7a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3345158734487592879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839582992,"filename":"image_22112025_20_25_26_5420.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395723186","file0":"1395723182"},"map_files_photo_id_array":[{"photo_id":"1395723186","filename":"file1"},{"photo_id":"1395723182","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723182":["hashtag1","hashtag2"]},{"1395723186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723182, 1395723186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.891037702560425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:25:42.492868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_16_3702.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_19_2676.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_22_2839.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_26_3605.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_28_2713.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_31_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_16_3702.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_19_2676.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_22_2839.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_26_3605.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_28_2713.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_31_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723194","1395723197","1395723196","1395723200","1395723199","1395723198"],"photo_ids_order":["1395723194","1395723196","1395723197","1395723198","1395723199","1395723200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d5b8faab1a688944c0535c360983abe.jpg","text":"TemporaryFile(/tmp/multipartBody2540854765011251320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839604682,"filename":"image_30102025_18_07_16_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/734c5f70c8ab1217a5caf0124ca71280.jpg","text":"TemporaryFile(/tmp/multipartBody2631732166117849651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839604682,"filename":"image_30102025_18_07_22_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5fbb83e6a74c7cfd7b5122af40c66962.jpg","text":"TemporaryFile(/tmp/multipartBody4374628868526675228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839604682,"filename":"image_30102025_18_07_19_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5e90fce23154be7538eff4cc41d1730.jpg","text":"TemporaryFile(/tmp/multipartBody5622521452154326236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839604682,"filename":"image_30102025_18_07_31_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c17a8a9adcb78a604b102d54d277cd8.jpg","text":"TemporaryFile(/tmp/multipartBody1467042724743942808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839604682,"filename":"image_30102025_18_07_28_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ab28ea35be7ef0d4bb41ee714003743.jpg","text":"TemporaryFile(/tmp/multipartBody5694934625610624955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839604682,"filename":"image_30102025_18_07_26_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723197","file1":"1395723196","file0":"1395723194","file4":"1395723199","file5":"1395723200","file3":"1395723198"},"map_files_photo_id_array":[{"photo_id":"1395723200","filename":"file5"},{"photo_id":"1395723197","filename":"file2"},{"photo_id":"1395723199","filename":"file4"},{"photo_id":"1395723196","filename":"file1"},{"photo_id":"1395723194","filename":"file0"},{"photo_id":"1395723198","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723194":["hashtag1","hashtag2"]},{"1395723197":["hashtag1","hashtag2"]},{"1395723196":["hashtag1","hashtag2"]},{"1395723200":["hashtag1","hashtag2"]},{"1395723199":["hashtag1","hashtag2"]},{"1395723198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723194, 1395723197, 1395723196, 1395723200, 1395723199, 1395723198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7142653465271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:26:22.716990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/25/image_22112025_20_25_29_1640.jpg', '/home/pi/Desktop/images/22112025/20/26/image_22112025_20_26_17_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/25/image_22112025_20_25_29_1640.jpg
/home/pi/Desktop/images/22112025/20/26/image_22112025_20_26_17_3677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723203","1395723205"],"photo_ids_order":["1395723203","1395723205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/784c4f94ccfecd694c3f4267ee026eec.jpg","text":"TemporaryFile(/tmp/multipartBody2574435292025757090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839643324,"filename":"image_22112025_20_25_29_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6259384b09df385890f0d8d3118f1554.jpg","text":"TemporaryFile(/tmp/multipartBody3726901911607171398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839643324,"filename":"image_22112025_20_26_17_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395723205","file0":"1395723203"},"map_files_photo_id_array":[{"photo_id":"1395723205","filename":"file1"},{"photo_id":"1395723203","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723203":["hashtag1","hashtag2"]},{"1395723205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723203, 1395723205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.954243183135986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:26:42.605831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_35_3702.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_38_2967.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_40_2531.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_43_2839.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_46_3588.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_49_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_35_3702.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_38_2967.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_40_2531.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_43_2839.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_46_3588.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_49_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723228","1395723219","1395723227","1395723229","1395723223","1395723225"],"photo_ids_order":["1395723219","1395723223","1395723225","1395723227","1395723228","1395723229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98210799579717eede871bec5638386c.jpg","text":"TemporaryFile(/tmp/multipartBody7334069983528106990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839664790,"filename":"image_30102025_18_07_46_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/903700b7053f4bb8d218c92824f6c48a.jpg","text":"TemporaryFile(/tmp/multipartBody2743846292206099795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839664790,"filename":"image_30102025_18_07_35_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5d686dd03fc3e13b615de397ab388c7.jpg","text":"TemporaryFile(/tmp/multipartBody2130065565922592701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839664790,"filename":"image_30102025_18_07_43_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5e25bdeddbae7753d7da35e3dab6f10.jpg","text":"TemporaryFile(/tmp/multipartBody1933514386575950202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839664790,"filename":"image_30102025_18_07_49_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9e2a01401b74eb613262681ff199f58.jpg","text":"TemporaryFile(/tmp/multipartBody8431251821760147249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839664790,"filename":"image_30102025_18_07_38_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/852e75b45589757eae604cd54e999e09.jpg","text":"TemporaryFile(/tmp/multipartBody3263914588564797203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839664790,"filename":"image_30102025_18_07_40_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723225","file1":"1395723223","file0":"1395723219","file4":"1395723228","file5":"1395723229","file3":"1395723227"},"map_files_photo_id_array":[{"photo_id":"1395723229","filename":"file5"},{"photo_id":"1395723225","filename":"file2"},{"photo_id":"1395723228","filename":"file4"},{"photo_id":"1395723223","filename":"file1"},{"photo_id":"1395723219","filename":"file0"},{"photo_id":"1395723227","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723228":["hashtag1","hashtag2"]},{"1395723219":["hashtag1","hashtag2"]},{"1395723227":["hashtag1","hashtag2"]},{"1395723229":["hashtag1","hashtag2"]},{"1395723223":["hashtag1","hashtag2"]},{"1395723225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723228, 1395723219, 1395723227, 1395723229, 1395723223, 1395723225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62829327583313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:27:21.805585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_52_2684.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_55_3641.jpg', '/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_58_2842.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_01_2623.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_04_2654.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_07_3489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_52_2684.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_55_3641.jpg
/home/pi/Desktop/images/30102025/18/07/image_30102025_18_07_58_2842.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_01_2623.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_04_2654.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_07_3489.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723248","1395723232","1395723241","1395723235","1395723244","1395723238"],"photo_ids_order":["1395723232","1395723235","1395723238","1395723241","1395723244","1395723248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6c260c0af1bd59d79b69d79803d269e.jpg","text":"TemporaryFile(/tmp/multipartBody2784309109722829747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839704011,"filename":"image_30102025_18_08_07_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79569eb1e83cba5c31b09ba1e993eb59.jpg","text":"TemporaryFile(/tmp/multipartBody5904096664834427898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839704011,"filename":"image_30102025_18_07_52_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/272ed6e8623654270cf662cde474d35d.jpg","text":"TemporaryFile(/tmp/multipartBody4344661924880865255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839704011,"filename":"image_30102025_18_08_01_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/683283a0fb12534e164d87b415e9664b.jpg","text":"TemporaryFile(/tmp/multipartBody3624001694019060193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839704011,"filename":"image_30102025_18_07_55_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/845ae10f89231b07816f92d2ea15a429.jpg","text":"TemporaryFile(/tmp/multipartBody6343097682485396650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839704011,"filename":"image_30102025_18_08_04_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7889acd34300cde4028be5d9891f025e.jpg","text":"TemporaryFile(/tmp/multipartBody7470234804794479605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839704011,"filename":"image_30102025_18_07_58_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723238","file1":"1395723235","file0":"1395723232","file4":"1395723244","file5":"1395723248","file3":"1395723241"},"map_files_photo_id_array":[{"photo_id":"1395723248","filename":"file5"},{"photo_id":"1395723238","filename":"file2"},{"photo_id":"1395723244","filename":"file4"},{"photo_id":"1395723235","filename":"file1"},{"photo_id":"1395723232","filename":"file0"},{"photo_id":"1395723241","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723248":["hashtag1","hashtag2"]},{"1395723232":["hashtag1","hashtag2"]},{"1395723241":["hashtag1","hashtag2"]},{"1395723235":["hashtag1","hashtag2"]},{"1395723244":["hashtag1","hashtag2"]},{"1395723238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723248, 1395723232, 1395723241, 1395723235, 1395723244, 1395723238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13943409919739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:28:02.423178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_39_2665.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_42_2686.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_45_2751.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_48_3015.jpg', '/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_57_2670.jpg', '/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_03_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_39_2665.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_42_2686.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_45_2751.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_48_3015.jpg
/home/pi/Desktop/images/20112025/19/17/image_20112025_19_17_57_2670.jpg
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_03_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723255","1395723257","1395723259","1395723253","1395723262","1395723256"],"photo_ids_order":["1395723253","1395723255","1395723256","1395723257","1395723259","1395723262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3b6210033eb54ffaa4b7737d4924a33.jpg","text":"TemporaryFile(/tmp/multipartBody6681382630352395549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839744226,"filename":"image_20112025_19_17_42_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/541008a9d266f6d77948a675e0918ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2378237311284195673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839744226,"filename":"image_20112025_19_17_48_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c815c1bb2ef0a5c1137ed30349d7a0b.jpg","text":"TemporaryFile(/tmp/multipartBody961566406561442969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839744226,"filename":"image_20112025_19_17_57_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f9b75dd41fcae6be662835c101deab5.jpg","text":"TemporaryFile(/tmp/multipartBody6294483074088782361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839744226,"filename":"image_20112025_19_17_39_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db4dc5351ed3a92839203bffedf13b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4982112675253777150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839744226,"filename":"image_20112025_19_18_03_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67b76dbc4690c44fd78cf903566d330e.jpg","text":"TemporaryFile(/tmp/multipartBody8840274421803051476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839744226,"filename":"image_20112025_19_17_45_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723256","file1":"1395723255","file0":"1395723253","file4":"1395723259","file5":"1395723262","file3":"1395723257"},"map_files_photo_id_array":[{"photo_id":"1395723262","filename":"file5"},{"photo_id":"1395723256","filename":"file2"},{"photo_id":"1395723259","filename":"file4"},{"photo_id":"1395723255","filename":"file1"},{"photo_id":"1395723253","filename":"file0"},{"photo_id":"1395723257","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723255":["hashtag1","hashtag2"]},{"1395723257":["hashtag1","hashtag2"]},{"1395723259":["hashtag1","hashtag2"]},{"1395723253":["hashtag1","hashtag2"]},{"1395723262":["hashtag1","hashtag2"]},{"1395723256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723255, 1395723257, 1395723259, 1395723253, 1395723262, 1395723256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00916862487793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:28:42.025116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_10_2553.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_13_3763.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_16_2694.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_19_2748.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_22_3561.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_25_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_10_2553.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_13_3763.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_16_2694.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_19_2748.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_22_3561.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_25_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723275","1395723278","1395723271","1395723274","1395723276","1395723273"],"photo_ids_order":["1395723271","1395723273","1395723274","1395723275","1395723276","1395723278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2383fa7fbb1a3e131cf4effce328dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8601963511738396222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839784260,"filename":"image_30102025_18_08_19_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7594007b85f8252f1c7acb77a38f67e5.jpg","text":"TemporaryFile(/tmp/multipartBody6497006391302248095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839784260,"filename":"image_30102025_18_08_25_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3005b8718bc3bce39269a25bb9e496f.jpg","text":"TemporaryFile(/tmp/multipartBody1756685783721057956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839784260,"filename":"image_30102025_18_08_10_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/858bf02ee8d5f117e01e30ece04c6b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7453336766763681959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839784260,"filename":"image_30102025_18_08_16_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b3b575b5c20f1933914d22d0677f43f.jpg","text":"TemporaryFile(/tmp/multipartBody1892718328556194541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839784260,"filename":"image_30102025_18_08_22_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22159dfe6710444309d35d1921ff4a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1944230196617325740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839784260,"filename":"image_30102025_18_08_13_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723274","file1":"1395723273","file0":"1395723271","file4":"1395723276","file5":"1395723278","file3":"1395723275"},"map_files_photo_id_array":[{"photo_id":"1395723278","filename":"file5"},{"photo_id":"1395723274","filename":"file2"},{"photo_id":"1395723276","filename":"file4"},{"photo_id":"1395723273","filename":"file1"},{"photo_id":"1395723271","filename":"file0"},{"photo_id":"1395723275","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723275":["hashtag1","hashtag2"]},{"1395723278":["hashtag1","hashtag2"]},{"1395723271":["hashtag1","hashtag2"]},{"1395723274":["hashtag1","hashtag2"]},{"1395723276":["hashtag1","hashtag2"]},{"1395723273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723275, 1395723278, 1395723271, 1395723274, 1395723276, 1395723273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62416982650757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:29:22.271547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/26/image_22112025_20_26_23_2539.jpg', '/home/pi/Desktop/images/22112025/20/29/image_22112025_20_29_44_3667.jpg', '/home/pi/Desktop/images/22112025/20/29/image_22112025_20_29_47_2886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/26/image_22112025_20_26_23_2539.jpg
/home/pi/Desktop/images/22112025/20/29/image_22112025_20_29_44_3667.jpg
/home/pi/Desktop/images/22112025/20/29/image_22112025_20_29_47_2886.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723292","1395723289","1395723285"],"photo_ids_order":["1395723285","1395723289","1395723292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c0ff075a82dfe30cd25baff1397511f.jpg","text":"TemporaryFile(/tmp/multipartBody7025196683211190431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839822893,"filename":"image_22112025_20_29_47_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c3e49941cb8b165be7cc8c3af8de9cd.jpg","text":"TemporaryFile(/tmp/multipartBody2961491076567654930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839822893,"filename":"image_22112025_20_29_44_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e06e26abe73ec906bae01a56dbbe5c4.jpg","text":"TemporaryFile(/tmp/multipartBody7836607336004487671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839822893,"filename":"image_22112025_20_26_23_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723292","file1":"1395723289","file0":"1395723285"},"map_files_photo_id_array":[{"photo_id":"1395723292","filename":"file2"},{"photo_id":"1395723289","filename":"file1"},{"photo_id":"1395723285","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723292":["hashtag1","hashtag2"]},{"1395723289":["hashtag1","hashtag2"]},{"1395723285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723292, 1395723289, 1395723285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.42989158630371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:30:05.146499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_08_2806.jpg', '/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_15_2774.jpg', '/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_17_2239.jpg', '/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_21_3715.jpg', '/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_24_2675.jpg', '/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_26_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_08_2806.jpg
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_15_2774.jpg
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_17_2239.jpg
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_21_3715.jpg
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_24_2675.jpg
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_26_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723321","1395723318","1395723303","1395723311","1395723314","1395723308"],"photo_ids_order":["1395723303","1395723308","1395723311","1395723314","1395723318","1395723321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0db9241a9202ab9301aa9f82413a26af.jpg","text":"TemporaryFile(/tmp/multipartBody7962608100461058547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839889811,"filename":"image_20112025_19_18_26_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2db98f420198714b5303a92c25e9ab62.jpg","text":"TemporaryFile(/tmp/multipartBody8593618380280118257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839889811,"filename":"image_20112025_19_18_24_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdab4356f8a88ddf0c26c96b72142a63.jpg","text":"TemporaryFile(/tmp/multipartBody8291504733749784065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839889811,"filename":"image_20112025_19_18_08_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec90473f61c29d1df5346f5f00217052.jpg","text":"TemporaryFile(/tmp/multipartBody1692531390760935258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839889811,"filename":"image_20112025_19_18_17_2239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f24090477ffd3feddd3d397589087ed6.jpg","text":"TemporaryFile(/tmp/multipartBody8771727811940090966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839889811,"filename":"image_20112025_19_18_21_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c06dbf88859369a9f7bca8936094fb9.jpg","text":"TemporaryFile(/tmp/multipartBody7292892956724378423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839889811,"filename":"image_20112025_19_18_15_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723311","file1":"1395723308","file0":"1395723303","file4":"1395723318","file5":"1395723321","file3":"1395723314"},"map_files_photo_id_array":[{"photo_id":"1395723321","filename":"file5"},{"photo_id":"1395723311","filename":"file2"},{"photo_id":"1395723318","filename":"file4"},{"photo_id":"1395723308","filename":"file1"},{"photo_id":"1395723303","filename":"file0"},{"photo_id":"1395723314","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723321":["hashtag1","hashtag2"]},{"1395723318":["hashtag1","hashtag2"]},{"1395723303":["hashtag1","hashtag2"]},{"1395723311":["hashtag1","hashtag2"]},{"1395723314":["hashtag1","hashtag2"]},{"1395723308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723321, 1395723318, 1395723303, 1395723311, 1395723314, 1395723308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.52271366119385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:31:21.792399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/29/image_22112025_20_29_52_2623.jpg', '/home/pi/Desktop/images/22112025/20/30/image_22112025_20_30_26_3923.jpg', '/home/pi/Desktop/images/22112025/20/30/image_22112025_20_30_35_2895.jpg', '/home/pi/Desktop/images/22112025/20/30/image_22112025_20_30_49_2620.jpg', '/home/pi/Desktop/images/22112025/20/30/image_22112025_20_30_55_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/29/image_22112025_20_29_52_2623.jpg
/home/pi/Desktop/images/22112025/20/30/image_22112025_20_30_26_3923.jpg
/home/pi/Desktop/images/22112025/20/30/image_22112025_20_30_35_2895.jpg
/home/pi/Desktop/images/22112025/20/30/image_22112025_20_30_49_2620.jpg
/home/pi/Desktop/images/22112025/20/30/image_22112025_20_30_55_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723327","1395723331","1395723334","1395723337","1395723324"],"photo_ids_order":["1395723324","1395723327","1395723331","1395723334","1395723337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79b45b30fb3db2e8d9542003be265fa5.jpg","text":"TemporaryFile(/tmp/multipartBody4888280048555341847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839944917,"filename":"image_22112025_20_30_26_3923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/895be7785fd0584e76604209c2cbf4df.jpg","text":"TemporaryFile(/tmp/multipartBody462373848805207938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839944917,"filename":"image_22112025_20_30_35_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/369b7aafc3fb00ef9d5ba8bf20426d6f.jpg","text":"TemporaryFile(/tmp/multipartBody309219225815693664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839944917,"filename":"image_22112025_20_30_49_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/98664ab13214d14751d19b5e24dc1daa.jpg","text":"TemporaryFile(/tmp/multipartBody670649539692564855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839944917,"filename":"image_22112025_20_30_55_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6fe4a72085fac832ce0276c46e6b04f.jpg","text":"TemporaryFile(/tmp/multipartBody6175002004012206989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839944917,"filename":"image_22112025_20_29_52_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723331","file1":"1395723327","file0":"1395723324","file4":"1395723337","file3":"1395723334"},"map_files_photo_id_array":[{"photo_id":"1395723331","filename":"file2"},{"photo_id":"1395723337","filename":"file4"},{"photo_id":"1395723327","filename":"file1"},{"photo_id":"1395723324","filename":"file0"},{"photo_id":"1395723334","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723327":["hashtag1","hashtag2"]},{"1395723331":["hashtag1","hashtag2"]},{"1395723334":["hashtag1","hashtag2"]},{"1395723337":["hashtag1","hashtag2"]},{"1395723324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723327, 1395723331, 1395723334, 1395723337, 1395723324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.22993016242981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:32:02.543404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_30_3723.jpg', '/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_36_2638.jpg', '/home/pi/Desktop/images/20112025/19/19/image_20112025_19_19_35_2158.jpg', '/home/pi/Desktop/images/20112025/19/19/image_20112025_19_19_39_3618.jpg', '/home/pi/Desktop/images/20112025/19/20/image_20112025_19_20_18_3680.jpg', '/home/pi/Desktop/images/20112025/19/20/image_20112025_19_20_21_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_30_3723.jpg
/home/pi/Desktop/images/20112025/19/18/image_20112025_19_18_36_2638.jpg
/home/pi/Desktop/images/20112025/19/19/image_20112025_19_19_35_2158.jpg
/home/pi/Desktop/images/20112025/19/19/image_20112025_19_19_39_3618.jpg
/home/pi/Desktop/images/20112025/19/20/image_20112025_19_20_18_3680.jpg
/home/pi/Desktop/images/20112025/19/20/image_20112025_19_20_21_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723353","1395723347","1395723350","1395723358","1395723340","1395723343"],"photo_ids_order":["1395723340","1395723343","1395723347","1395723350","1395723353","1395723358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2016a40a72123bc40e7494f5388142a8.jpg","text":"TemporaryFile(/tmp/multipartBody7607181652323961267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839998620,"filename":"image_20112025_19_20_18_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8e469fa8002652079bb6fa91e483e9ef.jpg","text":"TemporaryFile(/tmp/multipartBody1909053946626767923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839998620,"filename":"image_20112025_19_19_35_2158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7014d7f95bc11f861a1ef80ce76b566.jpg","text":"TemporaryFile(/tmp/multipartBody4467262584843018003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839998620,"filename":"image_20112025_19_19_39_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9add2c6e355676907e76a37c0576bf6d.jpg","text":"TemporaryFile(/tmp/multipartBody5654924842679154239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839998620,"filename":"image_20112025_19_20_21_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d9e27d43d4deed7f46f3cdc9b0d1d29.jpg","text":"TemporaryFile(/tmp/multipartBody5397695055589815619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839998620,"filename":"image_20112025_19_18_30_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c17fa751588c06ebc599b71ba58d526.jpg","text":"TemporaryFile(/tmp/multipartBody1969445903477134986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763839998620,"filename":"image_20112025_19_18_36_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723347","file1":"1395723343","file0":"1395723340","file4":"1395723353","file5":"1395723358","file3":"1395723350"},"map_files_photo_id_array":[{"photo_id":"1395723358","filename":"file5"},{"photo_id":"1395723347","filename":"file2"},{"photo_id":"1395723353","filename":"file4"},{"photo_id":"1395723343","filename":"file1"},{"photo_id":"1395723340","filename":"file0"},{"photo_id":"1395723350","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723353":["hashtag1","hashtag2"]},{"1395723347":["hashtag1","hashtag2"]},{"1395723350":["hashtag1","hashtag2"]},{"1395723358":["hashtag1","hashtag2"]},{"1395723340":["hashtag1","hashtag2"]},{"1395723343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723353, 1395723347, 1395723350, 1395723358, 1395723340, 1395723343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.43528485298157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:33:02.902558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/31/image_22112025_20_31_02_2668.jpg', '/home/pi/Desktop/images/22112025/20/32/image_22112025_20_32_04_2696.jpg', '/home/pi/Desktop/images/22112025/20/32/image_22112025_20_32_13_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/31/image_22112025_20_31_02_2668.jpg
/home/pi/Desktop/images/22112025/20/32/image_22112025_20_32_04_2696.jpg
/home/pi/Desktop/images/22112025/20/32/image_22112025_20_32_13_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723365","1395723362","1395723364"],"photo_ids_order":["1395723362","1395723364","1395723365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/600ee99376840721d6acc479e53de5b2.jpg","text":"TemporaryFile(/tmp/multipartBody8649858591552404200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840043588,"filename":"image_22112025_20_32_13_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dec8494a21054b7a48b5ddbd73cb8cee.jpg","text":"TemporaryFile(/tmp/multipartBody1238620704459679344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840043588,"filename":"image_22112025_20_31_02_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e493ec72d1317018c2262defd9c219b.jpg","text":"TemporaryFile(/tmp/multipartBody178355068776592941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840043588,"filename":"image_22112025_20_32_04_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723365","file1":"1395723364","file0":"1395723362"},"map_files_photo_id_array":[{"photo_id":"1395723365","filename":"file2"},{"photo_id":"1395723364","filename":"file1"},{"photo_id":"1395723362","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723365":["hashtag1","hashtag2"]},{"1395723362":["hashtag1","hashtag2"]},{"1395723364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723365, 1395723362, 1395723364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.26565933227539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:33:42.278128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/32/image_22112025_20_32_25_2735.jpg', '/home/pi/Desktop/images/22112025/20/33/image_22112025_20_33_37_3744.jpg', '/home/pi/Desktop/images/22112025/20/33/image_22112025_20_33_49_2572.jpg', '/home/pi/Desktop/images/22112025/20/33/image_22112025_20_33_56_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/32/image_22112025_20_32_25_2735.jpg
/home/pi/Desktop/images/22112025/20/33/image_22112025_20_33_37_3744.jpg
/home/pi/Desktop/images/22112025/20/33/image_22112025_20_33_49_2572.jpg
/home/pi/Desktop/images/22112025/20/33/image_22112025_20_33_56_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723380","1395723382","1395723381","1395723378"],"photo_ids_order":["1395723378","1395723380","1395723381","1395723382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94ab62b2d97f88335b316003d49a0998.jpg","text":"TemporaryFile(/tmp/multipartBody2763250817586631434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840082933,"filename":"image_22112025_20_33_37_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25576ebbf101e9458bed2c9083882d02.jpg","text":"TemporaryFile(/tmp/multipartBody3945504214575504392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840082933,"filename":"image_22112025_20_33_56_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75aeba127ee64fa945036f0972afaee1.jpg","text":"TemporaryFile(/tmp/multipartBody7539445202283364175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840082933,"filename":"image_22112025_20_33_49_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a482e0a0326397c53701bb748cfb095e.jpg","text":"TemporaryFile(/tmp/multipartBody2414365218650026336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840082933,"filename":"image_22112025_20_32_25_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723381","file1":"1395723380","file0":"1395723378","file3":"1395723382"},"map_files_photo_id_array":[{"photo_id":"1395723381","filename":"file2"},{"photo_id":"1395723380","filename":"file1"},{"photo_id":"1395723378","filename":"file0"},{"photo_id":"1395723382","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723380":["hashtag1","hashtag2"]},{"1395723382":["hashtag1","hashtag2"]},{"1395723381":["hashtag1","hashtag2"]},{"1395723378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723380, 1395723382, 1395723381, 1395723378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.251925468444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:34:22.566023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/33/image_22112025_20_33_58_2793.jpg', '/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_01_2686.jpg', '/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_10_2717.jpg', '/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_13_2577.jpg', '/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_16_3632.jpg', '/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_27_1707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/33/image_22112025_20_33_58_2793.jpg
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_01_2686.jpg
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_10_2717.jpg
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_13_2577.jpg
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_16_3632.jpg
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_27_1707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723398","1395723402","1395723395","1395723385","1395723387","1395723390"],"photo_ids_order":["1395723385","1395723387","1395723390","1395723395","1395723398","1395723402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe3daf012ce9df4ddf8c22e88cb5cd19.jpg","text":"TemporaryFile(/tmp/multipartBody575491761350304727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840123335,"filename":"image_22112025_20_34_16_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a85749a9d315b32159b22e91e13f49de.jpg","text":"TemporaryFile(/tmp/multipartBody5769849369615006090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840123335,"filename":"image_22112025_20_34_27_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cef90f7c6e7c511345b30d80fdcf7beb.jpg","text":"TemporaryFile(/tmp/multipartBody2158060491458001302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840123335,"filename":"image_22112025_20_34_13_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78e52134983f7057c4fb0a61c5c013c2.jpg","text":"TemporaryFile(/tmp/multipartBody7644010045025054178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840123335,"filename":"image_22112025_20_33_58_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0dc5c05a865d71b3f40c75e87fb785f0.jpg","text":"TemporaryFile(/tmp/multipartBody3862443940878895657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840123335,"filename":"image_22112025_20_34_01_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fefd848f7059e95447450ad792f0dae3.jpg","text":"TemporaryFile(/tmp/multipartBody7437338938146476753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840123335,"filename":"image_22112025_20_34_10_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723390","file1":"1395723387","file0":"1395723385","file4":"1395723398","file5":"1395723402","file3":"1395723395"},"map_files_photo_id_array":[{"photo_id":"1395723402","filename":"file5"},{"photo_id":"1395723390","filename":"file2"},{"photo_id":"1395723398","filename":"file4"},{"photo_id":"1395723387","filename":"file1"},{"photo_id":"1395723385","filename":"file0"},{"photo_id":"1395723395","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723398":["hashtag1","hashtag2"]},{"1395723402":["hashtag1","hashtag2"]},{"1395723395":["hashtag1","hashtag2"]},{"1395723385":["hashtag1","hashtag2"]},{"1395723387":["hashtag1","hashtag2"]},{"1395723390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723398, 1395723402, 1395723395, 1395723385, 1395723387, 1395723390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.288065910339355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:35:03.381797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_29_1706.jpg', '/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_46_2630.jpg', '/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_52_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_29_1706.jpg
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_46_2630.jpg
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_52_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723408","1395723410","1395723409"],"photo_ids_order":["1395723408","1395723409","1395723410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a82b0d9ae01e6d4571673d0afeb6802.jpg","text":"TemporaryFile(/tmp/multipartBody9077326707891501060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840164090,"filename":"image_22112025_20_34_29_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b0a619707e35ebda6af679c975b788d.jpg","text":"TemporaryFile(/tmp/multipartBody849433137368481174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840164090,"filename":"image_22112025_20_34_52_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cb0e6b11a34eb38816700452db724c13.jpg","text":"TemporaryFile(/tmp/multipartBody5566042298014985153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840164090,"filename":"image_22112025_20_34_46_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723410","file1":"1395723409","file0":"1395723408"},"map_files_photo_id_array":[{"photo_id":"1395723410","filename":"file2"},{"photo_id":"1395723409","filename":"file1"},{"photo_id":"1395723408","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723408":["hashtag1","hashtag2"]},{"1395723410":["hashtag1","hashtag2"]},{"1395723409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723408, 1395723410, 1395723409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.9635591506958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:35:42.741134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_55_2751.jpg', '/home/pi/Desktop/images/22112025/20/35/image_22112025_20_35_13_2642.jpg', '/home/pi/Desktop/images/22112025/20/35/image_22112025_20_35_52_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/34/image_22112025_20_34_55_2751.jpg
/home/pi/Desktop/images/22112025/20/35/image_22112025_20_35_13_2642.jpg
/home/pi/Desktop/images/22112025/20/35/image_22112025_20_35_52_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723425","1395723421","1395723423"],"photo_ids_order":["1395723421","1395723423","1395723425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03e9e42fd12acf27bcf55b7a5a771556.jpg","text":"TemporaryFile(/tmp/multipartBody263198364576869279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840203360,"filename":"image_22112025_20_35_52_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86080d5b911768844248711a3ee2584d.jpg","text":"TemporaryFile(/tmp/multipartBody8452355924770130651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840203360,"filename":"image_22112025_20_34_55_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f7fdbf827c14aac93550b8e2acd2039.jpg","text":"TemporaryFile(/tmp/multipartBody3375194997327366025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840203360,"filename":"image_22112025_20_35_13_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723425","file1":"1395723423","file0":"1395723421"},"map_files_photo_id_array":[{"photo_id":"1395723425","filename":"file2"},{"photo_id":"1395723423","filename":"file1"},{"photo_id":"1395723421","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723425":["hashtag1","hashtag2"]},{"1395723421":["hashtag1","hashtag2"]},{"1395723423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723425, 1395723421, 1395723423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.31436848640442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:36:22.032903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/35/image_22112025_20_35_58_2732.jpg', '/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_10_3741.jpg', '/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_13_2566.jpg', '/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_28_3588.jpg', '/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_35_3791.jpg', '/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_37_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/35/image_22112025_20_35_58_2732.jpg
/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_10_3741.jpg
/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_13_2566.jpg
/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_28_3588.jpg
/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_35_3791.jpg
/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_37_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723484","1395723487","1395723489","1395723474","1395723477","1395723471"],"photo_ids_order":["1395723471","1395723474","1395723477","1395723484","1395723487","1395723489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a626722ebf130c7682716f179d24d98.jpg","text":"TemporaryFile(/tmp/multipartBody3307311253534303658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840242847,"filename":"image_22112025_20_36_28_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/141396c625713b51bd3a7cbd32e70aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8011175643009517163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840242847,"filename":"image_22112025_20_36_35_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d3949b2f9d45e3afd358c44e031eb13e.jpg","text":"TemporaryFile(/tmp/multipartBody4268944352124723683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840242847,"filename":"image_22112025_20_36_37_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f01f8b925cb0b49102e29093f001c684.jpg","text":"TemporaryFile(/tmp/multipartBody7948432028960490668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840242847,"filename":"image_22112025_20_36_10_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b455d061ac78b14792ed22464b0bcce6.jpg","text":"TemporaryFile(/tmp/multipartBody6501716203506255420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840242847,"filename":"image_22112025_20_36_13_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac3ea2c1045741fdc13a027a2ca3ca2c.jpg","text":"TemporaryFile(/tmp/multipartBody4035278042538753144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840242847,"filename":"image_22112025_20_35_58_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723477","file1":"1395723474","file0":"1395723471","file4":"1395723487","file5":"1395723489","file3":"1395723484"},"map_files_photo_id_array":[{"photo_id":"1395723489","filename":"file5"},{"photo_id":"1395723477","filename":"file2"},{"photo_id":"1395723487","filename":"file4"},{"photo_id":"1395723474","filename":"file1"},{"photo_id":"1395723471","filename":"file0"},{"photo_id":"1395723484","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723484":["hashtag1","hashtag2"]},{"1395723487":["hashtag1","hashtag2"]},{"1395723489":["hashtag1","hashtag2"]},{"1395723474":["hashtag1","hashtag2"]},{"1395723477":["hashtag1","hashtag2"]},{"1395723471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723484, 1395723487, 1395723489, 1395723474, 1395723477, 1395723471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.914225339889526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:37:02.884259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_40_2530.jpg', '/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_43_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_40_2530.jpg
/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_43_2723.jpg
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1395723491","1395723493"],"photo_ids_order":["1395723491","1395723493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5da0a9ceab065c636f4835ba225f5ad.jpg","text":"TemporaryFile(/tmp/multipartBody6123372721576422777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840283508,"filename":"image_22112025_20_36_40_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c8619e65d4bd498f38fdc083eaf92b4.jpg","text":"TemporaryFile(/tmp/multipartBody5095071494577358661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840283508,"filename":"image_22112025_20_36_43_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395723493","file0":"1395723491"},"map_files_photo_id_array":[{"photo_id":"1395723493","filename":"file1"},{"photo_id":"1395723491","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723491":["hashtag1","hashtag2"]},{"1395723493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723491, 1395723493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.522501468658447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:37:42.152782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_49_2600.jpg', '/home/pi/Desktop/images/22112025/20/37/image_22112025_20_37_03_2726.jpg', '/home/pi/Desktop/images/22112025/20/37/image_22112025_20_37_13_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/36/image_22112025_20_36_49_2600.jpg
/home/pi/Desktop/images/22112025/20/37/image_22112025_20_37_03_2726.jpg
/home/pi/Desktop/images/22112025/20/37/image_22112025_20_37_13_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723509","1395723506","1395723508"],"photo_ids_order":["1395723506","1395723508","1395723509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09e1b65c4109843b2ebef8515d582d19.jpg","text":"TemporaryFile(/tmp/multipartBody1593265261296856339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840322806,"filename":"image_22112025_20_37_13_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f369e82767e61d7201a003282a3edf1.jpg","text":"TemporaryFile(/tmp/multipartBody7868465072364171613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840322806,"filename":"image_22112025_20_36_49_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b69abdd58dc36d0bf4f4343461bf288f.jpg","text":"TemporaryFile(/tmp/multipartBody6899208845293372931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840322806,"filename":"image_22112025_20_37_03_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723509","file1":"1395723508","file0":"1395723506"},"map_files_photo_id_array":[{"photo_id":"1395723509","filename":"file2"},{"photo_id":"1395723508","filename":"file1"},{"photo_id":"1395723506","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723509":["hashtag1","hashtag2"]},{"1395723506":["hashtag1","hashtag2"]},{"1395723508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723509, 1395723506, 1395723508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.90504479408264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:38:22.279770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/37/image_22112025_20_37_21_2657.jpg', '/home/pi/Desktop/images/22112025/20/38/image_22112025_20_38_06_2532.jpg', '/home/pi/Desktop/images/22112025/20/38/image_22112025_20_38_10_3637.jpg', '/home/pi/Desktop/images/22112025/20/38/image_22112025_20_38_42_2515.jpg', '/home/pi/Desktop/images/22112025/20/38/image_22112025_20_38_49_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/37/image_22112025_20_37_21_2657.jpg
/home/pi/Desktop/images/22112025/20/38/image_22112025_20_38_06_2532.jpg
/home/pi/Desktop/images/22112025/20/38/image_22112025_20_38_10_3637.jpg
/home/pi/Desktop/images/22112025/20/38/image_22112025_20_38_42_2515.jpg
/home/pi/Desktop/images/22112025/20/38/image_22112025_20_38_49_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723525","1395723519","1395723516","1395723514","1395723522"],"photo_ids_order":["1395723514","1395723516","1395723519","1395723522","1395723525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd5e4faf066b167089c4cf7a62d684f0.jpg","text":"TemporaryFile(/tmp/multipartBody8542540668253664936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840362976,"filename":"image_22112025_20_38_49_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae3ed828e940453f16af26dafa733853.jpg","text":"TemporaryFile(/tmp/multipartBody1969892403101352853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840362976,"filename":"image_22112025_20_38_10_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/817fd863b44cca27e329b88a39f6fd7a.jpg","text":"TemporaryFile(/tmp/multipartBody1333050508021134177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840362976,"filename":"image_22112025_20_38_06_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9a15732c438b9c958ddc63893f62762.jpg","text":"TemporaryFile(/tmp/multipartBody6084738217740834945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840362976,"filename":"image_22112025_20_37_21_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6a8b2efda33f626525fdfd2798350b6.jpg","text":"TemporaryFile(/tmp/multipartBody677236129045684961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840362976,"filename":"image_22112025_20_38_42_2515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723519","file1":"1395723516","file0":"1395723514","file4":"1395723525","file3":"1395723522"},"map_files_photo_id_array":[{"photo_id":"1395723519","filename":"file2"},{"photo_id":"1395723525","filename":"file4"},{"photo_id":"1395723516","filename":"file1"},{"photo_id":"1395723514","filename":"file0"},{"photo_id":"1395723522","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723525":["hashtag1","hashtag2"]},{"1395723519":["hashtag1","hashtag2"]},{"1395723516":["hashtag1","hashtag2"]},{"1395723514":["hashtag1","hashtag2"]},{"1395723522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723525, 1395723519, 1395723516, 1395723514, 1395723522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.344354391098022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:39:03.505003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/20/image_20112025_19_21_00_3616.jpg', '/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_03_2690.jpg', '/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_09_3633.jpg', '/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_18_2767.jpg', '/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_20_2669.jpg', '/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_24_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/20/image_20112025_19_21_00_3616.jpg
/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_03_2690.jpg
/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_09_3633.jpg
/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_18_2767.jpg
/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_20_2669.jpg
/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_24_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723531","1395723536","1395723539","1395723530","1395723532","1395723529"],"photo_ids_order":["1395723529","1395723530","1395723531","1395723532","1395723536","1395723539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b342b2527333e874af1080dd4350016.jpg","text":"TemporaryFile(/tmp/multipartBody8663106012624579470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840405794,"filename":"image_20112025_19_21_09_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2226f7d06bccce279200011cfc3e5c7.jpg","text":"TemporaryFile(/tmp/multipartBody1077795796933201578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840405794,"filename":"image_20112025_19_21_20_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a702a652a84c405768906aed1c78029.jpg","text":"TemporaryFile(/tmp/multipartBody818954175508983639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840405794,"filename":"image_20112025_19_21_24_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a02d4c99d35a64bccf6f8db567fbdfe.jpg","text":"TemporaryFile(/tmp/multipartBody5281337506635938561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840405794,"filename":"image_20112025_19_21_03_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c16eb0a772a5685f97f56cb87276e260.jpg","text":"TemporaryFile(/tmp/multipartBody6525324247155678681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840405794,"filename":"image_20112025_19_21_18_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e3b72e1c4ef34f38180f32cf04b59a3.jpg","text":"TemporaryFile(/tmp/multipartBody4453318985459144331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840405794,"filename":"image_20112025_19_21_00_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723531","file1":"1395723530","file0":"1395723529","file4":"1395723536","file5":"1395723539","file3":"1395723532"},"map_files_photo_id_array":[{"photo_id":"1395723539","filename":"file5"},{"photo_id":"1395723531","filename":"file2"},{"photo_id":"1395723536","filename":"file4"},{"photo_id":"1395723530","filename":"file1"},{"photo_id":"1395723529","filename":"file0"},{"photo_id":"1395723532","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723531":["hashtag1","hashtag2"]},{"1395723536":["hashtag1","hashtag2"]},{"1395723539":["hashtag1","hashtag2"]},{"1395723530":["hashtag1","hashtag2"]},{"1395723532":["hashtag1","hashtag2"]},{"1395723529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723531, 1395723536, 1395723539, 1395723530, 1395723532, 1395723529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38512063026428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:39:42.727561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/38/image_22112025_20_39_00_2615.jpg', '/home/pi/Desktop/images/22112025/20/39/image_22112025_20_39_13_3645.jpg', '/home/pi/Desktop/images/22112025/20/39/image_22112025_20_39_16_2653.jpg', '/home/pi/Desktop/images/22112025/20/39/image_22112025_20_39_22_3804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/38/image_22112025_20_39_00_2615.jpg
/home/pi/Desktop/images/22112025/20/39/image_22112025_20_39_13_3645.jpg
/home/pi/Desktop/images/22112025/20/39/image_22112025_20_39_16_2653.jpg
/home/pi/Desktop/images/22112025/20/39/image_22112025_20_39_22_3804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723552","1395723551","1395723548","1395723550"],"photo_ids_order":["1395723548","1395723550","1395723551","1395723552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a832c4a800f2d2f039fe01ca5863f32.jpg","text":"TemporaryFile(/tmp/multipartBody7584547814763875756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840443405,"filename":"image_22112025_20_39_22_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0de7f819b872d48ccbb0bcc1d629d389.jpg","text":"TemporaryFile(/tmp/multipartBody4382937209661013592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840443405,"filename":"image_22112025_20_39_16_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d513d2c0dff64f9492b0631a24ce8917.jpg","text":"TemporaryFile(/tmp/multipartBody2249239505296130254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840443405,"filename":"image_22112025_20_39_00_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3a65259cc7d9d671749100c7a511c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1542806122020879963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840443405,"filename":"image_22112025_20_39_13_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723551","file1":"1395723550","file0":"1395723548","file3":"1395723552"},"map_files_photo_id_array":[{"photo_id":"1395723551","filename":"file2"},{"photo_id":"1395723550","filename":"file1"},{"photo_id":"1395723548","filename":"file0"},{"photo_id":"1395723552","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723552":["hashtag1","hashtag2"]},{"1395723551":["hashtag1","hashtag2"]},{"1395723548":["hashtag1","hashtag2"]},{"1395723550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723552, 1395723551, 1395723548, 1395723550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.9731707572937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:40:21.804545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/39/image_22112025_20_39_25_2608.jpg', '/home/pi/Desktop/images/22112025/20/40/image_22112025_20_40_39_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/39/image_22112025_20_39_25_2608.jpg
/home/pi/Desktop/images/22112025/20/40/image_22112025_20_40_39_2696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723554","1395723558"],"photo_ids_order":["1395723554","1395723558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e469eb388986c726cb43c749fd42bd23.jpg","text":"TemporaryFile(/tmp/multipartBody5332402121847015679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840482362,"filename":"image_22112025_20_39_25_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92eda801caa6bec710984234c8254d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6036299925728290738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840482362,"filename":"image_22112025_20_40_39_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395723558","file0":"1395723554"},"map_files_photo_id_array":[{"photo_id":"1395723558","filename":"file1"},{"photo_id":"1395723554","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723554":["hashtag1","hashtag2"]},{"1395723558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723554, 1395723558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.46749973297119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:40:41.788245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_28_2790.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_32_3734.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_34_2641.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_37_2602.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_40_3657.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_43_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_28_2790.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_32_3734.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_34_2641.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_37_2602.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_40_3657.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_43_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723572","1395723575","1395723574","1395723577","1395723573","1395723570"],"photo_ids_order":["1395723570","1395723572","1395723573","1395723574","1395723575","1395723577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bde8e47c8c432d00318111148e62458a.jpg","text":"TemporaryFile(/tmp/multipartBody5718644660799926275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840503975,"filename":"image_30102025_18_08_32_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba470aa83d3cbe7c9b98cc8a3105ef08.jpg","text":"TemporaryFile(/tmp/multipartBody5305491300493269961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840503975,"filename":"image_30102025_18_08_40_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b328228a7a5d3cb38e8a75c1e7e60ac.jpg","text":"TemporaryFile(/tmp/multipartBody5273271147896035273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840503975,"filename":"image_30102025_18_08_37_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6f7451ad213c8d0b959ff43ee2aee0f.jpg","text":"TemporaryFile(/tmp/multipartBody3783907819196702801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840503975,"filename":"image_30102025_18_08_43_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5e16114d4fe11d5b5da25bf98078c51.jpg","text":"TemporaryFile(/tmp/multipartBody8183608981548155604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840503975,"filename":"image_30102025_18_08_34_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c65544280f1b4242055422f448c5e20.jpg","text":"TemporaryFile(/tmp/multipartBody539898950778851571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840503975,"filename":"image_30102025_18_08_28_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723573","file1":"1395723572","file0":"1395723570","file4":"1395723575","file5":"1395723577","file3":"1395723574"},"map_files_photo_id_array":[{"photo_id":"1395723577","filename":"file5"},{"photo_id":"1395723573","filename":"file2"},{"photo_id":"1395723575","filename":"file4"},{"photo_id":"1395723572","filename":"file1"},{"photo_id":"1395723570","filename":"file0"},{"photo_id":"1395723574","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723572":["hashtag1","hashtag2"]},{"1395723575":["hashtag1","hashtag2"]},{"1395723574":["hashtag1","hashtag2"]},{"1395723577":["hashtag1","hashtag2"]},{"1395723573":["hashtag1","hashtag2"]},{"1395723570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723572, 1395723575, 1395723574, 1395723577, 1395723573, 1395723570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48257613182068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:41:22.023611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_46_2996.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_49_2736.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_52_2867.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_55_3627.jpg', '/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_58_2569.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_01_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_46_2996.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_49_2736.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_52_2867.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_55_3627.jpg
/home/pi/Desktop/images/30102025/18/08/image_30102025_18_08_58_2569.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_01_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723581","1395723590","1395723584","1395723593","1395723587","1395723595"],"photo_ids_order":["1395723581","1395723584","1395723587","1395723590","1395723593","1395723595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db99848c349663b95d8aec2ba4137f59.jpg","text":"TemporaryFile(/tmp/multipartBody1539468209819061385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840544445,"filename":"image_30102025_18_08_46_2996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa6fa2da090fcdd9fc272501cb63ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody1334048635284822610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840544445,"filename":"image_30102025_18_08_55_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ede7482153c3840e6283472ada6b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody8790719969041541346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840544445,"filename":"image_30102025_18_08_49_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c55ce91e0cfe807631d396d6822b3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1057528795789974452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840544445,"filename":"image_30102025_18_08_58_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08a4d73aae804145d8144bc8f75c2421.jpg","text":"TemporaryFile(/tmp/multipartBody4613175815012076426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840544445,"filename":"image_30102025_18_08_52_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d079d994a995efc33505cf60f4fec5aa.jpg","text":"TemporaryFile(/tmp/multipartBody4135381001141015968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840544445,"filename":"image_30102025_18_09_01_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723587","file1":"1395723584","file0":"1395723581","file4":"1395723593","file5":"1395723595","file3":"1395723590"},"map_files_photo_id_array":[{"photo_id":"1395723595","filename":"file5"},{"photo_id":"1395723587","filename":"file2"},{"photo_id":"1395723593","filename":"file4"},{"photo_id":"1395723584","filename":"file1"},{"photo_id":"1395723581","filename":"file0"},{"photo_id":"1395723590","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723581":["hashtag1","hashtag2"]},{"1395723590":["hashtag1","hashtag2"]},{"1395723584":["hashtag1","hashtag2"]},{"1395723593":["hashtag1","hashtag2"]},{"1395723587":["hashtag1","hashtag2"]},{"1395723595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723581, 1395723590, 1395723584, 1395723593, 1395723587, 1395723595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92742300033569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:42:02.679010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_36_3677.jpg', '/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_48_2845.jpg', '/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_05_2794.jpg', '/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_21_3795.jpg', '/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_24_2613.jpg', '/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_56_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_36_3677.jpg
/home/pi/Desktop/images/20112025/19/21/image_20112025_19_21_48_2845.jpg
/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_05_2794.jpg
/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_21_3795.jpg
/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_24_2613.jpg
/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_56_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723603","1395723600","1395723605","1395723610","1395723607","1395723604"],"photo_ids_order":["1395723600","1395723603","1395723604","1395723605","1395723607","1395723610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63cabcadbc31f278d4541ab6135f9f43.jpg","text":"TemporaryFile(/tmp/multipartBody138638012149471165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840584838,"filename":"image_20112025_19_21_48_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1af889667fd2630509f3b125f4b666e2.jpg","text":"TemporaryFile(/tmp/multipartBody3059708070783953212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840584838,"filename":"image_20112025_19_21_36_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40f6b9f75749200135a6eccf5ffe5eb5.jpg","text":"TemporaryFile(/tmp/multipartBody7976644976359090166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840584838,"filename":"image_20112025_19_22_21_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22720c6963a07a71d5138224e14769a8.jpg","text":"TemporaryFile(/tmp/multipartBody3221605586983446405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840584838,"filename":"image_20112025_19_22_56_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06315c99744e8be28f697689b8cf5349.jpg","text":"TemporaryFile(/tmp/multipartBody8261190705414661304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840584838,"filename":"image_20112025_19_22_24_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/399f85dcd4d6bb27f6255e9ab90687aa.jpg","text":"TemporaryFile(/tmp/multipartBody3494588305160003917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840584838,"filename":"image_20112025_19_22_05_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723604","file1":"1395723603","file0":"1395723600","file4":"1395723607","file5":"1395723610","file3":"1395723605"},"map_files_photo_id_array":[{"photo_id":"1395723610","filename":"file5"},{"photo_id":"1395723604","filename":"file2"},{"photo_id":"1395723607","filename":"file4"},{"photo_id":"1395723603","filename":"file1"},{"photo_id":"1395723600","filename":"file0"},{"photo_id":"1395723605","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723603":["hashtag1","hashtag2"]},{"1395723600":["hashtag1","hashtag2"]},{"1395723605":["hashtag1","hashtag2"]},{"1395723610":["hashtag1","hashtag2"]},{"1395723607":["hashtag1","hashtag2"]},{"1395723604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723603, 1395723600, 1395723605, 1395723610, 1395723607, 1395723604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.006051540374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:42:42.222240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_04_3590.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_07_2816.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_10_2654.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_13_3822.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_16_2624.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_19_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_04_3590.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_07_2816.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_10_2654.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_13_3822.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_16_2624.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_19_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723630","1395723632","1395723635","1395723625","1395723628","1395723633"],"photo_ids_order":["1395723625","1395723628","1395723630","1395723632","1395723633","1395723635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2280f492d88b9fd9e8790c58340846ab.jpg","text":"TemporaryFile(/tmp/multipartBody1914592475545078420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840624444,"filename":"image_30102025_18_09_10_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2546fbc34cefe1d6c5efaea602de1495.jpg","text":"TemporaryFile(/tmp/multipartBody2097813825673498604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840624444,"filename":"image_30102025_18_09_13_3822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd91acfca7415a152f903c280fde0190.jpg","text":"TemporaryFile(/tmp/multipartBody5719819119619444006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840624444,"filename":"image_30102025_18_09_19_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/733651838ae9c897463e161458868452.jpg","text":"TemporaryFile(/tmp/multipartBody6794607236106933013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840624444,"filename":"image_30102025_18_09_04_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ff781c5982a3aa8b18dd0d89960ccfe.jpg","text":"TemporaryFile(/tmp/multipartBody763292729252853055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840624444,"filename":"image_30102025_18_09_07_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2864b6dc2738eeef501ae804f6e9bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4292986450289007125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840624444,"filename":"image_30102025_18_09_16_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723630","file1":"1395723628","file0":"1395723625","file4":"1395723633","file5":"1395723635","file3":"1395723632"},"map_files_photo_id_array":[{"photo_id":"1395723635","filename":"file5"},{"photo_id":"1395723630","filename":"file2"},{"photo_id":"1395723633","filename":"file4"},{"photo_id":"1395723628","filename":"file1"},{"photo_id":"1395723625","filename":"file0"},{"photo_id":"1395723632","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723630":["hashtag1","hashtag2"]},{"1395723632":["hashtag1","hashtag2"]},{"1395723635":["hashtag1","hashtag2"]},{"1395723625":["hashtag1","hashtag2"]},{"1395723628":["hashtag1","hashtag2"]},{"1395723633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723630, 1395723632, 1395723635, 1395723625, 1395723628, 1395723633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16517472267151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:43:22.452123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_22_3688.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_25_2720.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_28_2818.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_31_2738.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_34_3714.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_37_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_22_3688.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_25_2720.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_28_2818.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_31_2738.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_34_3714.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_37_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723650","1395723644","1395723653","1395723641","1395723638","1395723648"],"photo_ids_order":["1395723638","1395723641","1395723644","1395723648","1395723650","1395723653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a424f810d9c00fefd67589f165da3aec.jpg","text":"TemporaryFile(/tmp/multipartBody689497474763433413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840664843,"filename":"image_30102025_18_09_34_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05cca809089affe47b0819dc85158250.jpg","text":"TemporaryFile(/tmp/multipartBody4596967618804457875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840664843,"filename":"image_30102025_18_09_28_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb500d637a23a01d4fcae6bbe14b20cd.jpg","text":"TemporaryFile(/tmp/multipartBody8858263119179275164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840664843,"filename":"image_30102025_18_09_37_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c0697a5d2447bd8d71a4f424a78243c.jpg","text":"TemporaryFile(/tmp/multipartBody7203396824349799980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840664843,"filename":"image_30102025_18_09_25_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6f9f3439f5c3137f4fdff341077ba80.jpg","text":"TemporaryFile(/tmp/multipartBody8738670603254506017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840664843,"filename":"image_30102025_18_09_22_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f35bc5724db62cbc5473f027550dd4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5303494842975443490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840664843,"filename":"image_30102025_18_09_31_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723644","file1":"1395723641","file0":"1395723638","file4":"1395723650","file5":"1395723653","file3":"1395723648"},"map_files_photo_id_array":[{"photo_id":"1395723653","filename":"file5"},{"photo_id":"1395723644","filename":"file2"},{"photo_id":"1395723650","filename":"file4"},{"photo_id":"1395723641","filename":"file1"},{"photo_id":"1395723638","filename":"file0"},{"photo_id":"1395723648","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723650":["hashtag1","hashtag2"]},{"1395723644":["hashtag1","hashtag2"]},{"1395723653":["hashtag1","hashtag2"]},{"1395723641":["hashtag1","hashtag2"]},{"1395723638":["hashtag1","hashtag2"]},{"1395723648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723650, 1395723644, 1395723653, 1395723641, 1395723638, 1395723648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50322079658508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:44:03.188018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_59_2725.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_03_3627.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_08_2702.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_18_3118.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_27_3701.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_29_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/22/image_20112025_19_22_59_2725.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_03_3627.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_08_2702.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_18_3118.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_27_3701.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_29_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723662","1395723665","1395723668","1395723658","1395723660","1395723663"],"photo_ids_order":["1395723658","1395723660","1395723662","1395723663","1395723665","1395723668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8c3b10b1e0672ea1d93364dc0c58b3e9.jpg","text":"TemporaryFile(/tmp/multipartBody4282152927231826898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840705193,"filename":"image_20112025_19_23_08_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89727015941ee4dab79ec78afe9b3477.jpg","text":"TemporaryFile(/tmp/multipartBody7235550605131185648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840705193,"filename":"image_20112025_19_23_27_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6226008db260cee9695f24bf0a7b1a39.jpg","text":"TemporaryFile(/tmp/multipartBody6742847779576165717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840705193,"filename":"image_20112025_19_23_29_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/715ccbf2307121e9f5e067de46c63d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6047795623639177205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840705193,"filename":"image_20112025_19_22_59_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50e8dd3ff86c1ec61c4ce298babea452.jpg","text":"TemporaryFile(/tmp/multipartBody3761158681611918180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840705193,"filename":"image_20112025_19_23_03_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8553c9ab5ff1f14c92a3cc5258713fd.jpg","text":"TemporaryFile(/tmp/multipartBody5954382073618713227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840705193,"filename":"image_20112025_19_23_18_3118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723662","file1":"1395723660","file0":"1395723658","file4":"1395723665","file5":"1395723668","file3":"1395723663"},"map_files_photo_id_array":[{"photo_id":"1395723668","filename":"file5"},{"photo_id":"1395723662","filename":"file2"},{"photo_id":"1395723665","filename":"file4"},{"photo_id":"1395723660","filename":"file1"},{"photo_id":"1395723658","filename":"file0"},{"photo_id":"1395723663","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723662":["hashtag1","hashtag2"]},{"1395723665":["hashtag1","hashtag2"]},{"1395723668":["hashtag1","hashtag2"]},{"1395723658":["hashtag1","hashtag2"]},{"1395723660":["hashtag1","hashtag2"]},{"1395723663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723662, 1395723665, 1395723668, 1395723658, 1395723660, 1395723663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.867372035980225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:44:42.602956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_40_2752.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_43_3614.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_46_2644.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_49_2609.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_52_3611.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_55_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_40_2752.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_43_3614.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_46_2644.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_49_2609.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_52_3611.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_55_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723683","1395723686","1395723682","1395723679","1395723684","1395723681"],"photo_ids_order":["1395723679","1395723681","1395723682","1395723683","1395723684","1395723686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/294987bbb78784e463c6c0ef313a8fc3.jpg","text":"TemporaryFile(/tmp/multipartBody2440937929924602090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840744846,"filename":"image_30102025_18_09_49_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d589d6911930aef3254ce8c0959770fe.jpg","text":"TemporaryFile(/tmp/multipartBody953110527797997406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840744846,"filename":"image_30102025_18_09_55_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86918ad4045ff3d661a1517e950ecac5.jpg","text":"TemporaryFile(/tmp/multipartBody127648080209704331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840744846,"filename":"image_30102025_18_09_46_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f85d164b9e066d65433377293612c29.jpg","text":"TemporaryFile(/tmp/multipartBody6162925989656248245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840744846,"filename":"image_30102025_18_09_40_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f5e669f1e3defe68fdf3ccd24988bd2.jpg","text":"TemporaryFile(/tmp/multipartBody6488810538930489591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840744846,"filename":"image_30102025_18_09_52_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd891e860c94db7600cb1ae440ed158c.jpg","text":"TemporaryFile(/tmp/multipartBody6151209636715631890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840744846,"filename":"image_30102025_18_09_43_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723682","file1":"1395723681","file0":"1395723679","file4":"1395723684","file5":"1395723686","file3":"1395723683"},"map_files_photo_id_array":[{"photo_id":"1395723686","filename":"file5"},{"photo_id":"1395723682","filename":"file2"},{"photo_id":"1395723684","filename":"file4"},{"photo_id":"1395723681","filename":"file1"},{"photo_id":"1395723679","filename":"file0"},{"photo_id":"1395723683","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723683":["hashtag1","hashtag2"]},{"1395723686":["hashtag1","hashtag2"]},{"1395723682":["hashtag1","hashtag2"]},{"1395723679":["hashtag1","hashtag2"]},{"1395723684":["hashtag1","hashtag2"]},{"1395723681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723683, 1395723686, 1395723682, 1395723679, 1395723684, 1395723681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.425514698028564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:45:21.905559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/40/image_22112025_20_40_57_2825.jpg', '/home/pi/Desktop/images/22112025/20/45/image_22112025_20_45_30_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/40/image_22112025_20_40_57_2825.jpg
/home/pi/Desktop/images/22112025/20/45/image_22112025_20_45_30_2766.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723690","1395723693"],"photo_ids_order":["1395723690","1395723693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/897f9ec701e4468fcc464c0b120a32f5.jpg","text":"TemporaryFile(/tmp/multipartBody2880778192506745357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840782475,"filename":"image_22112025_20_40_57_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07ba4cf888febd7fe6ab434efa0da96b.jpg","text":"TemporaryFile(/tmp/multipartBody6989401545268308652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840782475,"filename":"image_22112025_20_45_30_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395723693","file0":"1395723690"},"map_files_photo_id_array":[{"photo_id":"1395723693","filename":"file1"},{"photo_id":"1395723690","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723690":["hashtag1","hashtag2"]},{"1395723693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723690, 1395723693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.925065517425537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:45:41.861558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_58_2741.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_10_01_3555.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_04_3078.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_07_2669.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_09_2576.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_13_3846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_58_2741.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_10_01_3555.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_04_3078.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_07_2669.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_09_2576.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_13_3846.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.091285228729248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:46:02.497365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_32_2624.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_36_3763.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_41_2751.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_51_2728.jpg', '/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_53_2623.jpg', '/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_02_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_32_2624.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_36_3763.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_41_2751.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_51_2728.jpg
/home/pi/Desktop/images/20112025/19/23/image_20112025_19_23_53_2623.jpg
/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_02_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723719","1395723724","1395723718","1395723727","1395723721","1395723720"],"photo_ids_order":["1395723718","1395723719","1395723720","1395723721","1395723724","1395723727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9c3eb2aa687a4649eeeed915a4df32c.jpg","text":"TemporaryFile(/tmp/multipartBody9181895243171684860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840824571,"filename":"image_20112025_19_23_36_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3858c2d985aee4ba5c57af44343e009b.jpg","text":"TemporaryFile(/tmp/multipartBody7255867210790692378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840824571,"filename":"image_20112025_19_23_53_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd1058a349ebc33f6fa630fd09156175.jpg","text":"TemporaryFile(/tmp/multipartBody4759450046786809433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840824571,"filename":"image_20112025_19_23_32_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2606554aa11a944972e1ddb5039fa710.jpg","text":"TemporaryFile(/tmp/multipartBody5245746467163364130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840824571,"filename":"image_20112025_19_24_02_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a091943205171d73556bc1f0e322dee3.jpg","text":"TemporaryFile(/tmp/multipartBody6891896005207718739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840824571,"filename":"image_20112025_19_23_51_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae65e6c5e9735f15817065903b92a9dc.jpg","text":"TemporaryFile(/tmp/multipartBody3169474185850810840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840824571,"filename":"image_20112025_19_23_41_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723720","file1":"1395723719","file0":"1395723718","file4":"1395723724","file5":"1395723727","file3":"1395723721"},"map_files_photo_id_array":[{"photo_id":"1395723727","filename":"file5"},{"photo_id":"1395723720","filename":"file2"},{"photo_id":"1395723724","filename":"file4"},{"photo_id":"1395723719","filename":"file1"},{"photo_id":"1395723718","filename":"file0"},{"photo_id":"1395723721","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723719":["hashtag1","hashtag2"]},{"1395723724":["hashtag1","hashtag2"]},{"1395723718":["hashtag1","hashtag2"]},{"1395723727":["hashtag1","hashtag2"]},{"1395723721":["hashtag1","hashtag2"]},{"1395723720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723719, 1395723724, 1395723718, 1395723727, 1395723721, 1395723720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9009850025177 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:47:02.966055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_09_3670.jpg', '/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_17_2604.jpg', '/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_20_3586.jpg', '/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_41_2674.jpg', '/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_12_3706.jpg', '/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_32_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_09_3670.jpg
/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_17_2604.jpg
/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_20_3586.jpg
/home/pi/Desktop/images/20112025/19/24/image_20112025_19_24_41_2674.jpg
/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_12_3706.jpg
/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_32_2824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723770","1395723767","1395723755","1395723766","1395723774","1395723768"],"photo_ids_order":["1395723755","1395723766","1395723767","1395723768","1395723770","1395723774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7adc9b719cd81d02917aebbccab64b59.jpg","text":"TemporaryFile(/tmp/multipartBody7745707189659307057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840885292,"filename":"image_20112025_19_25_12_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/481d44b9860cfb938c3284945c8b44e1.jpg","text":"TemporaryFile(/tmp/multipartBody5750054411103289984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840885292,"filename":"image_20112025_19_24_20_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65bedd933bb557b4d390def46b82fdaa.jpg","text":"TemporaryFile(/tmp/multipartBody613778537414134381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840885292,"filename":"image_20112025_19_24_09_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee198e198051cf2def5f2a8eaff22926.jpg","text":"TemporaryFile(/tmp/multipartBody2210818443258883612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840885292,"filename":"image_20112025_19_24_17_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35b96f9334dd366afeba209a7973b266.jpg","text":"TemporaryFile(/tmp/multipartBody8106209979886080530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840885292,"filename":"image_20112025_19_25_32_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd3b2bb560abcf15a9e2dd705cd00ca3.jpg","text":"TemporaryFile(/tmp/multipartBody8205783646188133182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840885292,"filename":"image_20112025_19_24_41_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723767","file1":"1395723766","file0":"1395723755","file4":"1395723770","file5":"1395723774","file3":"1395723768"},"map_files_photo_id_array":[{"photo_id":"1395723774","filename":"file5"},{"photo_id":"1395723767","filename":"file2"},{"photo_id":"1395723770","filename":"file4"},{"photo_id":"1395723766","filename":"file1"},{"photo_id":"1395723755","filename":"file0"},{"photo_id":"1395723768","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723770":["hashtag1","hashtag2"]},{"1395723767":["hashtag1","hashtag2"]},{"1395723755":["hashtag1","hashtag2"]},{"1395723766":["hashtag1","hashtag2"]},{"1395723774":["hashtag1","hashtag2"]},{"1395723768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723770, 1395723767, 1395723755, 1395723766, 1395723774, 1395723768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52792525291443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:47:42.339417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_58_2741.jpg', '/home/pi/Desktop/images/30102025/18/09/image_30102025_18_10_01_3555.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_04_3078.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_07_2669.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_09_2576.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_13_3846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_09_58_2741.jpg
/home/pi/Desktop/images/30102025/18/09/image_30102025_18_10_01_3555.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_04_3078.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_07_2669.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_09_2576.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_13_3846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723785","1395723790","1395723784","1395723783","1395723786","1395723789"],"photo_ids_order":["1395723783","1395723784","1395723785","1395723786","1395723789","1395723790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cc7a1dbcde686b18c79376e51ee8709.jpg","text":"TemporaryFile(/tmp/multipartBody3573888671253162056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840924416,"filename":"image_30102025_18_10_04_3078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b98600afc00107e603e0d2542bd0da63.jpg","text":"TemporaryFile(/tmp/multipartBody8402804679880302874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840924416,"filename":"image_30102025_18_10_13_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5840f87bbf6e3d1b479bb4026a378d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3291556230778533108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840924416,"filename":"image_30102025_18_10_01_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f08159bceb42f52cc80e74000a2b331.jpg","text":"TemporaryFile(/tmp/multipartBody5673142200562504140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840924416,"filename":"image_30102025_18_09_58_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e232b11bdc3e21c98235ee8271e1fbef.jpg","text":"TemporaryFile(/tmp/multipartBody7361719513996867149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840924416,"filename":"image_30102025_18_10_07_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2df3f96b1b102ef8376f8a167050d0d.jpg","text":"TemporaryFile(/tmp/multipartBody1093711284440344888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840924416,"filename":"image_30102025_18_10_09_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723785","file1":"1395723784","file0":"1395723783","file4":"1395723789","file5":"1395723790","file3":"1395723786"},"map_files_photo_id_array":[{"photo_id":"1395723790","filename":"file5"},{"photo_id":"1395723785","filename":"file2"},{"photo_id":"1395723789","filename":"file4"},{"photo_id":"1395723784","filename":"file1"},{"photo_id":"1395723783","filename":"file0"},{"photo_id":"1395723786","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723785":["hashtag1","hashtag2"]},{"1395723790":["hashtag1","hashtag2"]},{"1395723784":["hashtag1","hashtag2"]},{"1395723783":["hashtag1","hashtag2"]},{"1395723786":["hashtag1","hashtag2"]},{"1395723789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723785, 1395723790, 1395723784, 1395723783, 1395723786, 1395723789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53693699836731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:48:22.627502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/45/image_22112025_20_45_33_2822.jpg', '/home/pi/Desktop/images/22112025/20/48/image_22112025_20_48_05_2665.jpg', '/home/pi/Desktop/images/22112025/20/48/image_22112025_20_48_17_2688.jpg', '/home/pi/Desktop/images/22112025/20/48/image_22112025_20_48_24_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/45/image_22112025_20_45_33_2822.jpg
/home/pi/Desktop/images/22112025/20/48/image_22112025_20_48_05_2665.jpg
/home/pi/Desktop/images/22112025/20/48/image_22112025_20_48_17_2688.jpg
/home/pi/Desktop/images/22112025/20/48/image_22112025_20_48_24_2880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723794","1395723797","1395723800","1395723803"],"photo_ids_order":["1395723794","1395723797","1395723800","1395723803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea1b31621e1ea59ac8cf15e8c5fde9e3.jpg","text":"TemporaryFile(/tmp/multipartBody1792758123411876839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840963288,"filename":"image_22112025_20_45_33_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f24752d8259fc2c7ad238ed496a72c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4009406146074440344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840963288,"filename":"image_22112025_20_48_05_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8a2e421fec59aa07f959b1d22c77f97.jpg","text":"TemporaryFile(/tmp/multipartBody7411938186399879939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840963288,"filename":"image_22112025_20_48_17_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bce05ecca17d0989790e0511303f067.jpg","text":"TemporaryFile(/tmp/multipartBody8390471444398129298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763840963288,"filename":"image_22112025_20_48_24_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723800","file1":"1395723797","file0":"1395723794","file3":"1395723803"},"map_files_photo_id_array":[{"photo_id":"1395723800","filename":"file2"},{"photo_id":"1395723797","filename":"file1"},{"photo_id":"1395723794","filename":"file0"},{"photo_id":"1395723803","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723794":["hashtag1","hashtag2"]},{"1395723797":["hashtag1","hashtag2"]},{"1395723800":["hashtag1","hashtag2"]},{"1395723803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723794, 1395723797, 1395723800, 1395723803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.396703720092773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:49:03.796873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_39_3656.jpg', '/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_44_2869.jpg', '/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_56_2800.jpg', '/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_02_2702.jpg', '/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_26_2787.jpg', '/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_29_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_39_3656.jpg
/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_44_2869.jpg
/home/pi/Desktop/images/20112025/19/25/image_20112025_19_25_56_2800.jpg
/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_02_2702.jpg
/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_26_2787.jpg
/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_29_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723822","1395723825","1395723819","1395723818","1395723820","1395723828"],"photo_ids_order":["1395723818","1395723819","1395723820","1395723822","1395723825","1395723828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e464c955d5e063c99bd7e254ab504658.jpg","text":"TemporaryFile(/tmp/multipartBody8821528053544071396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841005968,"filename":"image_20112025_19_26_02_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb8e237c9e1f7e82521c670b34326350.jpg","text":"TemporaryFile(/tmp/multipartBody3180441974042726568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841005968,"filename":"image_20112025_19_26_26_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13ec5dde89fe30b1a658adb63b8a47bc.jpg","text":"TemporaryFile(/tmp/multipartBody5419425309408492681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841005968,"filename":"image_20112025_19_25_44_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bf50f1a225bca5757c59737bba96cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2900446984636279644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841005968,"filename":"image_20112025_19_25_39_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fa5bb1d588137b876e24c9e7e05c8e5.jpg","text":"TemporaryFile(/tmp/multipartBody6233493143173224546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841005968,"filename":"image_20112025_19_25_56_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1bdc92837dbf24826055dea1d9ddc00.jpg","text":"TemporaryFile(/tmp/multipartBody3579083534494561651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841005968,"filename":"image_20112025_19_26_29_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723820","file1":"1395723819","file0":"1395723818","file4":"1395723825","file5":"1395723828","file3":"1395723822"},"map_files_photo_id_array":[{"photo_id":"1395723828","filename":"file5"},{"photo_id":"1395723820","filename":"file2"},{"photo_id":"1395723825","filename":"file4"},{"photo_id":"1395723819","filename":"file1"},{"photo_id":"1395723818","filename":"file0"},{"photo_id":"1395723822","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723822":["hashtag1","hashtag2"]},{"1395723825":["hashtag1","hashtag2"]},{"1395723819":["hashtag1","hashtag2"]},{"1395723818":["hashtag1","hashtag2"]},{"1395723820":["hashtag1","hashtag2"]},{"1395723828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723822, 1395723825, 1395723819, 1395723818, 1395723820, 1395723828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.674922943115234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:49:42.852150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_16_2582.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_19_2782.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_21_2781.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_25_3575.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_28_2682.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_31_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_16_2582.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_19_2782.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_21_2781.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_25_3575.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_28_2682.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_31_3582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723837","1395723839","1395723836","1395723835","1395723838","1395723840"],"photo_ids_order":["1395723835","1395723836","1395723837","1395723838","1395723839","1395723840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d2c4426a3a4b58ae80be210e4803b58.jpg","text":"TemporaryFile(/tmp/multipartBody829816038699025970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841045455,"filename":"image_30102025_18_10_21_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfb1a458f94ae6821093fb0b82e0a095.jpg","text":"TemporaryFile(/tmp/multipartBody2064955452729971532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841045455,"filename":"image_30102025_18_10_28_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/099e752a8f92d1e0bfdcde1876aef72c.jpg","text":"TemporaryFile(/tmp/multipartBody2910677140343313298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841045455,"filename":"image_30102025_18_10_19_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9d7e78a1620dcfcad058de2f6a1ee77.jpg","text":"TemporaryFile(/tmp/multipartBody7672809564519184918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841045455,"filename":"image_30102025_18_10_16_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2d60761deb2cc4a378b3670141a278c5.jpg","text":"TemporaryFile(/tmp/multipartBody702748271950121608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841045455,"filename":"image_30102025_18_10_25_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c48d89f6a6ef858a4a264ca62895f1d8.jpg","text":"TemporaryFile(/tmp/multipartBody8557234593239312071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841045455,"filename":"image_30102025_18_10_31_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723837","file1":"1395723836","file0":"1395723835","file4":"1395723839","file5":"1395723840","file3":"1395723838"},"map_files_photo_id_array":[{"photo_id":"1395723840","filename":"file5"},{"photo_id":"1395723837","filename":"file2"},{"photo_id":"1395723839","filename":"file4"},{"photo_id":"1395723836","filename":"file1"},{"photo_id":"1395723835","filename":"file0"},{"photo_id":"1395723838","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723837":["hashtag1","hashtag2"]},{"1395723839":["hashtag1","hashtag2"]},{"1395723836":["hashtag1","hashtag2"]},{"1395723835":["hashtag1","hashtag2"]},{"1395723838":["hashtag1","hashtag2"]},{"1395723840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723837, 1395723839, 1395723836, 1395723835, 1395723838, 1395723840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.311641454696655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:50:22.151759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/48/image_22112025_20_48_26_2643.jpg', '/home/pi/Desktop/images/22112025/20/50/image_22112025_20_50_33_3731.jpg', '/home/pi/Desktop/images/22112025/20/50/image_22112025_20_50_41_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/48/image_22112025_20_48_26_2643.jpg
/home/pi/Desktop/images/22112025/20/50/image_22112025_20_50_33_3731.jpg
/home/pi/Desktop/images/22112025/20/50/image_22112025_20_50_41_2804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723842","1395723845","1395723848"],"photo_ids_order":["1395723842","1395723845","1395723848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db190afc356b413ac6b30056c5779615.jpg","text":"TemporaryFile(/tmp/multipartBody5424038137341677674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841082857,"filename":"image_22112025_20_48_26_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58e8fa6843cab95338521afb7c2d8cc8.jpg","text":"TemporaryFile(/tmp/multipartBody6451217681673865779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841082857,"filename":"image_22112025_20_50_33_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/084cdbe6c7716727a5199db931884e6a.jpg","text":"TemporaryFile(/tmp/multipartBody6666528201216680921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841082857,"filename":"image_22112025_20_50_41_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723848","file1":"1395723845","file0":"1395723842"},"map_files_photo_id_array":[{"photo_id":"1395723848","filename":"file2"},{"photo_id":"1395723845","filename":"file1"},{"photo_id":"1395723842","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395723842":["hashtag1","hashtag2"]},{"1395723845":["hashtag1","hashtag2"]},{"1395723848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395723842, 1395723845, 1395723848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.234986305236816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:51:03.004026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_35_2758.jpg', '/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_41_3647.jpg', '/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_44_2641.jpg', '/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_20_2744.jpg', '/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_23_2706.jpg', '/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_32_3205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_35_2758.jpg
/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_41_3647.jpg
/home/pi/Desktop/images/20112025/19/26/image_20112025_19_26_44_2641.jpg
/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_20_2744.jpg
/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_23_2706.jpg
/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_32_3205.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723866","1395723871","1395723865","1395723874","1395723864","1395723867"],"photo_ids_order":["1395723864","1395723865","1395723866","1395723867","1395723871","1395723874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c5a3b0545f222993d377e296d103cb25.jpg","text":"TemporaryFile(/tmp/multipartBody576941192556531053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841125129,"filename":"image_20112025_19_26_44_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea809c7151fcd0e66732093bb1e96985.jpg","text":"TemporaryFile(/tmp/multipartBody3863370941463550874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841125129,"filename":"image_20112025_19_27_23_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8caa9233437b0ecd4649c7706ca1d7bc.jpg","text":"TemporaryFile(/tmp/multipartBody1413151518999253194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841125129,"filename":"image_20112025_19_26_41_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31737de0f8a18930751fde78e1ebe07e.jpg","text":"TemporaryFile(/tmp/multipartBody7906728321209662675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841125129,"filename":"image_20112025_19_27_32_3205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be166e6936482acfebd2879334c47a37.jpg","text":"TemporaryFile(/tmp/multipartBody8846590743855110361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841125129,"filename":"image_20112025_19_26_35_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45655dc92b50f360ba31adb4b6bff0d8.jpg","text":"TemporaryFile(/tmp/multipartBody1884079354044112782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841125129,"filename":"image_20112025_19_27_20_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723866","file1":"1395723865","file0":"1395723864","file4":"1395723871","file5":"1395723874","file3":"1395723867"},"map_files_photo_id_array":[{"photo_id":"1395723874","filename":"file5"},{"photo_id":"1395723866","filename":"file2"},{"photo_id":"1395723871","filename":"file4"},{"photo_id":"1395723865","filename":"file1"},{"photo_id":"1395723864","filename":"file0"},{"photo_id":"1395723867","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723866":["hashtag1","hashtag2"]},{"1395723871":["hashtag1","hashtag2"]},{"1395723865":["hashtag1","hashtag2"]},{"1395723874":["hashtag1","hashtag2"]},{"1395723864":["hashtag1","hashtag2"]},{"1395723867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723866, 1395723871, 1395723865, 1395723874, 1395723864, 1395723867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40707230567932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:51:42.312188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_34_2655.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_37_2717.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_39_2758.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_43_3537.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_45_2534.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_49_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_34_2655.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_37_2717.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_39_2758.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_43_3537.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_45_2534.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_49_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723887","1395723881","1395723884","1395723883","1395723886","1395723885"],"photo_ids_order":["1395723881","1395723883","1395723884","1395723885","1395723886","1395723887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce323e954303fc8a724120a616e4d0b1.jpg","text":"TemporaryFile(/tmp/multipartBody6858476360818992280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841164491,"filename":"image_30102025_18_10_49_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07387f689c5ae2fe6c70c5b40a1296a2.jpg","text":"TemporaryFile(/tmp/multipartBody5698539759404569048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841164491,"filename":"image_30102025_18_10_34_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43668834da3e7039a28fb0bf1ce37664.jpg","text":"TemporaryFile(/tmp/multipartBody6002746637606333815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841164491,"filename":"image_30102025_18_10_39_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cdda04b6c22fdf68ba4b0fdf5eacfe00.jpg","text":"TemporaryFile(/tmp/multipartBody6535069602982623653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841164491,"filename":"image_30102025_18_10_37_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/885a974e689baa516974ba050c0309ae.jpg","text":"TemporaryFile(/tmp/multipartBody2288230486129634225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841164491,"filename":"image_30102025_18_10_45_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6173ab387082343a826ed127a68821cb.jpg","text":"TemporaryFile(/tmp/multipartBody507840650448606452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841164491,"filename":"image_30102025_18_10_43_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723884","file1":"1395723883","file0":"1395723881","file4":"1395723886","file5":"1395723887","file3":"1395723885"},"map_files_photo_id_array":[{"photo_id":"1395723887","filename":"file5"},{"photo_id":"1395723884","filename":"file2"},{"photo_id":"1395723886","filename":"file4"},{"photo_id":"1395723883","filename":"file1"},{"photo_id":"1395723881","filename":"file0"},{"photo_id":"1395723885","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723887":["hashtag1","hashtag2"]},{"1395723881":["hashtag1","hashtag2"]},{"1395723884":["hashtag1","hashtag2"]},{"1395723883":["hashtag1","hashtag2"]},{"1395723886":["hashtag1","hashtag2"]},{"1395723885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723887, 1395723881, 1395723884, 1395723883, 1395723886, 1395723885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17967653274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:52:22.529695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:52:42.629139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_52_2537.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_55_3576.jpg', '/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_58_2704.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_01_2741.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_04_3606.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_07_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_52_2537.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_55_3576.jpg
/home/pi/Desktop/images/30102025/18/10/image_30102025_18_10_58_2704.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_01_2741.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_04_3606.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_07_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723900","1395723903","1395723905","1395723902","1395723901","1395723904"],"photo_ids_order":["1395723900","1395723901","1395723902","1395723903","1395723904","1395723905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17dcd474cdfa67784cff7ac0ccee6ce5.jpg","text":"TemporaryFile(/tmp/multipartBody8688129218008360018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841224815,"filename":"image_30102025_18_10_52_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f549924887d987dcb1b3e998d3fa812.jpg","text":"TemporaryFile(/tmp/multipartBody5908233126321236169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841224815,"filename":"image_30102025_18_11_01_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f327ee6161c2f67fa69c79b0e95f1c4.jpg","text":"TemporaryFile(/tmp/multipartBody4561539887104830481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841224815,"filename":"image_30102025_18_11_07_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/def1113a3809452541eef30ac59c589f.jpg","text":"TemporaryFile(/tmp/multipartBody8217724534696966458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841224815,"filename":"image_30102025_18_10_58_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/179956eb629208d4430f3f5063c2e023.jpg","text":"TemporaryFile(/tmp/multipartBody3099246804190159741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841224815,"filename":"image_30102025_18_10_55_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27790c8881c90efec600317d9b70745c.jpg","text":"TemporaryFile(/tmp/multipartBody6744447686356292231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841224815,"filename":"image_30102025_18_11_04_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723902","file1":"1395723901","file0":"1395723900","file4":"1395723904","file5":"1395723905","file3":"1395723903"},"map_files_photo_id_array":[{"photo_id":"1395723905","filename":"file5"},{"photo_id":"1395723902","filename":"file2"},{"photo_id":"1395723904","filename":"file4"},{"photo_id":"1395723901","filename":"file1"},{"photo_id":"1395723900","filename":"file0"},{"photo_id":"1395723903","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723900":["hashtag1","hashtag2"]},{"1395723903":["hashtag1","hashtag2"]},{"1395723905":["hashtag1","hashtag2"]},{"1395723902":["hashtag1","hashtag2"]},{"1395723901":["hashtag1","hashtag2"]},{"1395723904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723900, 1395723903, 1395723905, 1395723902, 1395723901, 1395723904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.941230058670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:53:21.806710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_10_2706.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_13_3595.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_16_2693.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_19_2731.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_22_3691.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_25_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_10_2706.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_13_3595.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_16_2693.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_19_2731.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_22_3691.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_25_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723921","1395723915","1395723909","1395723918","1395723927","1395723912"],"photo_ids_order":["1395723909","1395723912","1395723915","1395723918","1395723921","1395723927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b64b9797052c463d070d286940652beb.jpg","text":"TemporaryFile(/tmp/multipartBody4163137907531245627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841264232,"filename":"image_30102025_18_11_22_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdabacadc4863e9eb6c42f2a5df834c2.jpg","text":"TemporaryFile(/tmp/multipartBody8114181535524781474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841264232,"filename":"image_30102025_18_11_16_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd6d861215fc25cd688020e139ffa585.jpg","text":"TemporaryFile(/tmp/multipartBody404105117288216941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841264232,"filename":"image_30102025_18_11_10_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8428e60c12afb1fed5ece8e38bf79f02.jpg","text":"TemporaryFile(/tmp/multipartBody4185987525875495598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841264232,"filename":"image_30102025_18_11_19_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d896661fafb86488601ffb127e335c60.jpg","text":"TemporaryFile(/tmp/multipartBody5189162518290917809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841264232,"filename":"image_30102025_18_11_25_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b32ada6d13594fdb30709b26bb2d4226.jpg","text":"TemporaryFile(/tmp/multipartBody850036289670863808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841264232,"filename":"image_30102025_18_11_13_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723915","file1":"1395723912","file0":"1395723909","file4":"1395723921","file5":"1395723927","file3":"1395723918"},"map_files_photo_id_array":[{"photo_id":"1395723927","filename":"file5"},{"photo_id":"1395723915","filename":"file2"},{"photo_id":"1395723921","filename":"file4"},{"photo_id":"1395723912","filename":"file1"},{"photo_id":"1395723909","filename":"file0"},{"photo_id":"1395723918","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723921":["hashtag1","hashtag2"]},{"1395723915":["hashtag1","hashtag2"]},{"1395723909":["hashtag1","hashtag2"]},{"1395723918":["hashtag1","hashtag2"]},{"1395723927":["hashtag1","hashtag2"]},{"1395723912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723921, 1395723915, 1395723909, 1395723918, 1395723927, 1395723912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.134485960006714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:54:02.830727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_34_2626.jpg', '/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_47_3590.jpg', '/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_41_2803.jpg', '/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_43_2738.jpg', '/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_47_3578.jpg', '/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_50_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_34_2626.jpg
/home/pi/Desktop/images/20112025/19/27/image_20112025_19_27_47_3590.jpg
/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_41_2803.jpg
/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_43_2738.jpg
/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_47_3578.jpg
/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_50_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723936","1395723932","1395723929","1395723931","1395723939","1395723930"],"photo_ids_order":["1395723929","1395723930","1395723931","1395723932","1395723936","1395723939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c503a904c7feccaaef99c1109fa4cc12.jpg","text":"TemporaryFile(/tmp/multipartBody327626879017622991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841304808,"filename":"image_20112025_19_28_47_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2809bc203d19e0991ee39ee78c6da41a.jpg","text":"TemporaryFile(/tmp/multipartBody4280911839767078392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841304808,"filename":"image_20112025_19_28_43_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d58372045313aeea9a49c662f5a8a9fb.jpg","text":"TemporaryFile(/tmp/multipartBody4582724565993533333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841304808,"filename":"image_20112025_19_27_34_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4714051d10567d576a3f09ea402554f9.jpg","text":"TemporaryFile(/tmp/multipartBody1256665171379355048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841304808,"filename":"image_20112025_19_28_41_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/12cd972e1746a88021bad0ca3cd73cdb.jpg","text":"TemporaryFile(/tmp/multipartBody5723697931474256974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841304808,"filename":"image_20112025_19_28_50_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0767bdbf89433808fd5ec82f352391b6.jpg","text":"TemporaryFile(/tmp/multipartBody3685933066508142360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841304808,"filename":"image_20112025_19_27_47_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723931","file1":"1395723930","file0":"1395723929","file4":"1395723936","file5":"1395723939","file3":"1395723932"},"map_files_photo_id_array":[{"photo_id":"1395723939","filename":"file5"},{"photo_id":"1395723931","filename":"file2"},{"photo_id":"1395723936","filename":"file4"},{"photo_id":"1395723930","filename":"file1"},{"photo_id":"1395723929","filename":"file0"},{"photo_id":"1395723932","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723936":["hashtag1","hashtag2"]},{"1395723932":["hashtag1","hashtag2"]},{"1395723929":["hashtag1","hashtag2"]},{"1395723931":["hashtag1","hashtag2"]},{"1395723939":["hashtag1","hashtag2"]},{"1395723930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723936, 1395723932, 1395723929, 1395723931, 1395723939, 1395723930)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.0840380191803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:55:03.292484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_53_2898.jpg', '/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_56_3549.jpg', '/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_59_2497.jpg', '/home/pi/Desktop/images/20112025/19/29/image_20112025_19_29_01_2743.jpg', '/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_30_2721.jpg', '/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_34_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_53_2898.jpg
/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_56_3549.jpg
/home/pi/Desktop/images/20112025/19/28/image_20112025_19_28_59_2497.jpg
/home/pi/Desktop/images/20112025/19/29/image_20112025_19_29_01_2743.jpg
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_30_2721.jpg
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_34_3639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723962","1395723964","1395723963","1395723972","1395723966","1395723969"],"photo_ids_order":["1395723962","1395723963","1395723964","1395723966","1395723969","1395723972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77b89333be288c0b24bc9ef55043b92c.jpg","text":"TemporaryFile(/tmp/multipartBody1218569008684242533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841365277,"filename":"image_20112025_19_28_53_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6a38fb6001e7e1aa39c78a881cb3856.jpg","text":"TemporaryFile(/tmp/multipartBody2318075144063123678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841365277,"filename":"image_20112025_19_28_59_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bdc636de5ab134c3fbf3deb125462f78.jpg","text":"TemporaryFile(/tmp/multipartBody5664784772227511271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841365277,"filename":"image_20112025_19_28_56_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36c8f2c9b1e84d7444b211294ec51099.jpg","text":"TemporaryFile(/tmp/multipartBody1871839243243777535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841365277,"filename":"image_20112025_19_32_34_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cee5babe540ea79e646488bdd3acb225.jpg","text":"TemporaryFile(/tmp/multipartBody5550995573398840310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841365277,"filename":"image_20112025_19_29_01_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9059e2244df74733f358afce82625339.jpg","text":"TemporaryFile(/tmp/multipartBody1338365846532566523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841365277,"filename":"image_20112025_19_32_30_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723964","file1":"1395723963","file0":"1395723962","file4":"1395723969","file5":"1395723972","file3":"1395723966"},"map_files_photo_id_array":[{"photo_id":"1395723972","filename":"file5"},{"photo_id":"1395723964","filename":"file2"},{"photo_id":"1395723969","filename":"file4"},{"photo_id":"1395723963","filename":"file1"},{"photo_id":"1395723962","filename":"file0"},{"photo_id":"1395723966","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395723962":["hashtag1","hashtag2"]},{"1395723964":["hashtag1","hashtag2"]},{"1395723963":["hashtag1","hashtag2"]},{"1395723972":["hashtag1","hashtag2"]},{"1395723966":["hashtag1","hashtag2"]},{"1395723969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395723962, 1395723964, 1395723963, 1395723972, 1395723966, 1395723969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38194298744202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:55:42.664274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_28_2655.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_31_2862.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_34_3646.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_37_2655.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_40_2830.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_42_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_28_2655.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_31_2862.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_34_3646.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_37_2655.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_40_2830.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_42_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723986","1395723980","1395723983","1395723982","1395723985","1395723984"],"photo_ids_order":["1395723980","1395723982","1395723983","1395723984","1395723985","1395723986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28645832b756fdc7775ce804fa3a7bd2.jpg","text":"TemporaryFile(/tmp/multipartBody7783745724748244806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841404863,"filename":"image_30102025_18_11_42_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87c45788f4911baffb63eecb01d7df3f.jpg","text":"TemporaryFile(/tmp/multipartBody274258503380114545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841404863,"filename":"image_30102025_18_11_28_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4311fdb1c61d1b967450db8b62c44ba.jpg","text":"TemporaryFile(/tmp/multipartBody9080027531937598706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841404863,"filename":"image_30102025_18_11_34_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3da71341839bb6886c5bd4d5c35563bd.jpg","text":"TemporaryFile(/tmp/multipartBody3792738626854317087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841404863,"filename":"image_30102025_18_11_31_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/659e8bf4ce45d2f1e94a917656cf5ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3462197253169083255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841404863,"filename":"image_30102025_18_11_40_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8f2fbf6d37e36dd8328a3edd8118b43.jpg","text":"TemporaryFile(/tmp/multipartBody9029523664446642295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841404863,"filename":"image_30102025_18_11_37_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723983","file1":"1395723982","file0":"1395723980","file4":"1395723985","file5":"1395723986","file3":"1395723984"},"map_files_photo_id_array":[{"photo_id":"1395723986","filename":"file5"},{"photo_id":"1395723983","filename":"file2"},{"photo_id":"1395723985","filename":"file4"},{"photo_id":"1395723982","filename":"file1"},{"photo_id":"1395723980","filename":"file0"},{"photo_id":"1395723984","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723986":["hashtag1","hashtag2"]},{"1395723980":["hashtag1","hashtag2"]},{"1395723983":["hashtag1","hashtag2"]},{"1395723982":["hashtag1","hashtag2"]},{"1395723985":["hashtag1","hashtag2"]},{"1395723984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723986, 1395723980, 1395723983, 1395723982, 1395723985, 1395723984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49372410774231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:56:21.957155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_46_3747.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_49_2532.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_51_2605.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_55_3809.jpg', '/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_58_2722.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_01_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_46_3747.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_49_2532.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_51_2605.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_55_3809.jpg
/home/pi/Desktop/images/30102025/18/11/image_30102025_18_11_58_2722.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_01_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395723998","1395723992","1395723995","1395723989","1395724007","1395724001"],"photo_ids_order":["1395723989","1395723992","1395723995","1395723998","1395724001","1395724007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b26aeaf9498629280f76a6a650084724.jpg","text":"TemporaryFile(/tmp/multipartBody3314153577588069849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841444270,"filename":"image_30102025_18_11_55_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0936ae1bc3c20985f4ad6c98e0077e9.jpg","text":"TemporaryFile(/tmp/multipartBody564585387873610506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841444270,"filename":"image_30102025_18_11_49_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28706481f01f8b700bc1d8398911000c.jpg","text":"TemporaryFile(/tmp/multipartBody1536777956133356177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841444270,"filename":"image_30102025_18_11_51_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5b47053011ede665ee77359f81b92d35.jpg","text":"TemporaryFile(/tmp/multipartBody6060218939275469981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841444270,"filename":"image_30102025_18_11_46_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a48bd86510525915f7db0ad660698a5.jpg","text":"TemporaryFile(/tmp/multipartBody1944670297534200185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841444270,"filename":"image_30102025_18_12_01_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ee60a884c0a22f2f83be899f0821c0f4.jpg","text":"TemporaryFile(/tmp/multipartBody3125036954228161377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841444270,"filename":"image_30102025_18_11_58_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395723995","file1":"1395723992","file0":"1395723989","file4":"1395724001","file5":"1395724007","file3":"1395723998"},"map_files_photo_id_array":[{"photo_id":"1395724007","filename":"file5"},{"photo_id":"1395723995","filename":"file2"},{"photo_id":"1395724001","filename":"file4"},{"photo_id":"1395723992","filename":"file1"},{"photo_id":"1395723989","filename":"file0"},{"photo_id":"1395723998","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395723998":["hashtag1","hashtag2"]},{"1395723992":["hashtag1","hashtag2"]},{"1395723995":["hashtag1","hashtag2"]},{"1395723989":["hashtag1","hashtag2"]},{"1395724007":["hashtag1","hashtag2"]},{"1395724001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395723998, 1395723992, 1395723995, 1395723989, 1395724007, 1395724001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13509678840637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:57:04.639828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_39_2783.jpg', '/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_44_4254.jpg', '/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_45_1921.jpg', '/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_48_2759.jpg', '/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_52_3709.jpg', '/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_55_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_39_2783.jpg
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_44_4254.jpg
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_45_1921.jpg
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_48_2759.jpg
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_52_3709.jpg
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_55_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724028","1395724016","1395724021","1395724024","1395724018","1395724014"],"photo_ids_order":["1395724014","1395724016","1395724018","1395724021","1395724024","1395724028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eff9edf938151ca2551dcc5efb716707.jpg","text":"TemporaryFile(/tmp/multipartBody2492621281264052157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841486939,"filename":"image_20112025_19_32_55_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7887f1212b9b47e8dad9320316ab5e47.jpg","text":"TemporaryFile(/tmp/multipartBody4772695613559474579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841486939,"filename":"image_20112025_19_32_44_4254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccfe55b94b9906dc9a7de51804a60634.jpg","text":"TemporaryFile(/tmp/multipartBody4633576094795565532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841486939,"filename":"image_20112025_19_32_48_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0ccac5df64e7395b1887210fc08b807.jpg","text":"TemporaryFile(/tmp/multipartBody56539846897386398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841486939,"filename":"image_20112025_19_32_52_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a85cd3223982668d63de2e0765b0eda5.jpg","text":"TemporaryFile(/tmp/multipartBody9114079115860118730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841486939,"filename":"image_20112025_19_32_45_1921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a745be7b553c0bdf6429d7bc09006b7d.jpg","text":"TemporaryFile(/tmp/multipartBody1204224612551361060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841486939,"filename":"image_20112025_19_32_39_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724018","file1":"1395724016","file0":"1395724014","file4":"1395724024","file5":"1395724028","file3":"1395724021"},"map_files_photo_id_array":[{"photo_id":"1395724028","filename":"file5"},{"photo_id":"1395724018","filename":"file2"},{"photo_id":"1395724024","filename":"file4"},{"photo_id":"1395724016","filename":"file1"},{"photo_id":"1395724014","filename":"file0"},{"photo_id":"1395724021","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724028":["hashtag1","hashtag2"]},{"1395724016":["hashtag1","hashtag2"]},{"1395724021":["hashtag1","hashtag2"]},{"1395724024":["hashtag1","hashtag2"]},{"1395724018":["hashtag1","hashtag2"]},{"1395724014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724028, 1395724016, 1395724021, 1395724024, 1395724018, 1395724014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51879954338074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:57:44.194486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_03_2758.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_07_3590.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_10_2622.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_13_3558.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_16_2924.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_19_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_03_2758.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_07_3590.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_10_2622.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_13_3558.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_16_2924.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_19_2683.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.1486330032348633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 20:59:11.469424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 20:59:28.613891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_03_2758.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_07_3590.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_10_2622.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_13_3558.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_16_2924.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_19_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_03_2758.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_07_3590.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_10_2622.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_13_3558.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_16_2924.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_19_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724067","1395724058","1395724069","1395724062","1395724056","1395724065"],"photo_ids_order":["1395724056","1395724058","1395724062","1395724065","1395724067","1395724069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b755ae81d7dcda2910c6baaf362b3422.jpg","text":"TemporaryFile(/tmp/multipartBody7202222196355085408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841630589,"filename":"image_30102025_18_12_16_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0526fa8c13a36448a0c9958d3bbfbd36.jpg","text":"TemporaryFile(/tmp/multipartBody2460934002294049900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841630589,"filename":"image_30102025_18_12_07_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/15704adee98934011fcb2996fd807e1a.jpg","text":"TemporaryFile(/tmp/multipartBody5538465796376253997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841630589,"filename":"image_30102025_18_12_19_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f08205c9457ac8f6e3ed15f253afa2b.jpg","text":"TemporaryFile(/tmp/multipartBody3366737564030977623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841630589,"filename":"image_30102025_18_12_10_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5cc2bda62a0e770749580fc30d0d010.jpg","text":"TemporaryFile(/tmp/multipartBody228797107100947232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841630589,"filename":"image_30102025_18_12_03_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f4e04614e55a77159a791c730691350.jpg","text":"TemporaryFile(/tmp/multipartBody2851512962443729201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841630589,"filename":"image_30102025_18_12_13_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724062","file1":"1395724058","file0":"1395724056","file4":"1395724067","file5":"1395724069","file3":"1395724065"},"map_files_photo_id_array":[{"photo_id":"1395724069","filename":"file5"},{"photo_id":"1395724062","filename":"file2"},{"photo_id":"1395724067","filename":"file4"},{"photo_id":"1395724058","filename":"file1"},{"photo_id":"1395724056","filename":"file0"},{"photo_id":"1395724065","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724067":["hashtag1","hashtag2"]},{"1395724058":["hashtag1","hashtag2"]},{"1395724069":["hashtag1","hashtag2"]},{"1395724062":["hashtag1","hashtag2"]},{"1395724056":["hashtag1","hashtag2"]},{"1395724065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724067, 1395724058, 1395724069, 1395724062, 1395724056, 1395724065)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395724062 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_10_2622.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395724062 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_10_2622.jpg";
uploaded 6 photos
time to upload: 61.27273988723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:00:44.629763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_03_2758.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_07_3590.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_10_2622.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_13_3558.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_16_2924.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_19_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_03_2758.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_07_3590.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_10_2622.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_13_3558.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_16_2924.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_19_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724103","1395724100","1395724099","1395724102","1395724107","1395724101"],"photo_ids_order":["1395724099","1395724100","1395724101","1395724102","1395724103","1395724107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b783cfc6f2ba781fd8004e37898a317.jpg","text":"TemporaryFile(/tmp/multipartBody485280068221491850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841706684,"filename":"image_30102025_18_12_16_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afc790f52262507b0a2f4d324c473987.jpg","text":"TemporaryFile(/tmp/multipartBody892777744881465614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841706684,"filename":"image_30102025_18_12_07_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33dcce4d0b90b2d19b5670dbfe717670.jpg","text":"TemporaryFile(/tmp/multipartBody3695132791671364760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841706684,"filename":"image_30102025_18_12_03_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/189b17f362edf5a1cec52c0d3f26bffe.jpg","text":"TemporaryFile(/tmp/multipartBody4923786257089916044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841706684,"filename":"image_30102025_18_12_13_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d8723b1a5b8f6e1b41f637befcc0086.jpg","text":"TemporaryFile(/tmp/multipartBody5092534851610578915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841706684,"filename":"image_30102025_18_12_19_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d36b8fbebcdf18934170f88801424168.jpg","text":"TemporaryFile(/tmp/multipartBody7397556190740649278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841706684,"filename":"image_30102025_18_12_10_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724101","file1":"1395724100","file0":"1395724099","file4":"1395724103","file5":"1395724107","file3":"1395724102"},"map_files_photo_id_array":[{"photo_id":"1395724107","filename":"file5"},{"photo_id":"1395724101","filename":"file2"},{"photo_id":"1395724103","filename":"file4"},{"photo_id":"1395724100","filename":"file1"},{"photo_id":"1395724099","filename":"file0"},{"photo_id":"1395724102","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724103":["hashtag1","hashtag2"]},{"1395724100":["hashtag1","hashtag2"]},{"1395724099":["hashtag1","hashtag2"]},{"1395724102":["hashtag1","hashtag2"]},{"1395724107":["hashtag1","hashtag2"]},{"1395724101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724103, 1395724100, 1395724099, 1395724102, 1395724107, 1395724101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.453356981277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:01:21.796365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_21_2685.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_32_10368.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_34_1789.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_35_1558.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_37_1772.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_39_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_21_2685.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_32_10368.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_34_1789.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_35_1558.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_37_1772.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_39_1638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724118","1395724112","1395724120","1395724114","1395724122","1395724116"],"photo_ids_order":["1395724112","1395724114","1395724116","1395724118","1395724120","1395724122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6be6462510b342d84aaf2fb9bfe6ed62.jpg","text":"TemporaryFile(/tmp/multipartBody6231483736726823575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841743976,"filename":"image_30102025_18_12_35_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ea01939073cd176286918da967dd8c33.jpg","text":"TemporaryFile(/tmp/multipartBody3926032730797384452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841743976,"filename":"image_30102025_18_12_21_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/252aac17a578e142b61354bce36696b5.jpg","text":"TemporaryFile(/tmp/multipartBody2950093715386605333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841743976,"filename":"image_30102025_18_12_37_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6957072986623c4f9521b7a07754b9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7716906298258586538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841743976,"filename":"image_30102025_18_12_32_10368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ad5ce57d538221c670f6671f76fa43e.jpg","text":"TemporaryFile(/tmp/multipartBody2335656818527855533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841743976,"filename":"image_30102025_18_12_39_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3a540bd9a0e380bf1f643ba20b89a68.jpg","text":"TemporaryFile(/tmp/multipartBody4307451643617132027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841743976,"filename":"image_30102025_18_12_34_1789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724116","file1":"1395724114","file0":"1395724112","file4":"1395724120","file5":"1395724122","file3":"1395724118"},"map_files_photo_id_array":[{"photo_id":"1395724122","filename":"file5"},{"photo_id":"1395724116","filename":"file2"},{"photo_id":"1395724120","filename":"file4"},{"photo_id":"1395724114","filename":"file1"},{"photo_id":"1395724112","filename":"file0"},{"photo_id":"1395724118","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724118":["hashtag1","hashtag2"]},{"1395724112":["hashtag1","hashtag2"]},{"1395724120":["hashtag1","hashtag2"]},{"1395724114":["hashtag1","hashtag2"]},{"1395724122":["hashtag1","hashtag2"]},{"1395724116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724118, 1395724112, 1395724120, 1395724114, 1395724122, 1395724116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63642072677612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:02:03.032951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_57_2738.jpg', '/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_04_3699.jpg', '/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_09_2673.jpg', '/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_18_2911.jpg', '/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_25_3746.jpg', '/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_39_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/32/image_20112025_19_32_57_2738.jpg
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_04_3699.jpg
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_09_2673.jpg
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_18_2911.jpg
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_25_3746.jpg
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_39_2797.jpg
 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":["1395724130","1395724127","1395724132","1395724135","1395724129","1395724128"],"photo_ids_order":["1395724127","1395724128","1395724129","1395724130","1395724132","1395724135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c13ea14c1e5fb23bd26305945eeaac75.jpg","text":"TemporaryFile(/tmp/multipartBody8416930570748600609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841785162,"filename":"image_20112025_19_33_18_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1bf8645e550520b61efd213b704e627.jpg","text":"TemporaryFile(/tmp/multipartBody8811453009521902286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841785162,"filename":"image_20112025_19_32_57_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca786fbc62422ed2adfd211e6d447ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8450400741941232078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841785162,"filename":"image_20112025_19_33_25_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7116e6eddc14298399b37023ef0709d2.jpg","text":"TemporaryFile(/tmp/multipartBody8527581750014383560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841785162,"filename":"image_20112025_19_33_39_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/63dd6f893ee3a9e6a97e0e94928284fd.jpg","text":"TemporaryFile(/tmp/multipartBody9064877107620700564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841785162,"filename":"image_20112025_19_33_09_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10048733175c777c8ee7ffdca845fc29.jpg","text":"TemporaryFile(/tmp/multipartBody5282242788271394265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841785162,"filename":"image_20112025_19_33_04_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724129","file1":"1395724128","file0":"1395724127","file4":"1395724132","file5":"1395724135","file3":"1395724130"},"map_files_photo_id_array":[{"photo_id":"1395724135","filename":"file5"},{"photo_id":"1395724129","filename":"file2"},{"photo_id":"1395724132","filename":"file4"},{"photo_id":"1395724128","filename":"file1"},{"photo_id":"1395724127","filename":"file0"},{"photo_id":"1395724130","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724130":["hashtag1","hashtag2"]},{"1395724127":["hashtag1","hashtag2"]},{"1395724132":["hashtag1","hashtag2"]},{"1395724135":["hashtag1","hashtag2"]},{"1395724129":["hashtag1","hashtag2"]},{"1395724128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724130, 1395724127, 1395724132, 1395724135, 1395724129, 1395724128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04211473464966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:03:02.662141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/20/50/image_22112025_20_50_47_2742.jpg', '/home/pi/Desktop/images/22112025/21/02/image_22112025_21_02_07_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/20/50/image_22112025_20_50_47_2742.jpg
/home/pi/Desktop/images/22112025/21/02/image_22112025_21_02_07_3597.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724144","1395724143"],"photo_ids_order":["1395724143","1395724144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec8a3e646523a7d8b3e5ac45f251dd9d.jpg","text":"TemporaryFile(/tmp/multipartBody4057783275417987006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841843291,"filename":"image_22112025_21_02_07_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06447554aa9d80419898aa67195e0443.jpg","text":"TemporaryFile(/tmp/multipartBody1708656479664648265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841843291,"filename":"image_22112025_20_50_47_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395724144","file0":"1395724143"},"map_files_photo_id_array":[{"photo_id":"1395724144","filename":"file1"},{"photo_id":"1395724143","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724144":["hashtag1","hashtag2"]},{"1395724143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724144, 1395724143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.952397108078003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:03:21.907909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/02/image_22112025_21_02_13_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/02/image_22112025_21_02_13_2764.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724147"],"photo_id":"1395724147","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9037a39c7615b2ceb6c83105e6cc896.jpg","text":"TemporaryFile(/tmp/multipartBody4943585691880638652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841862410,"filename":"image_22112025_21_02_13_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395724147"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395724147"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.51228666305542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:03:42.819559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_40_1649.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_43_2672.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_45_2594.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_48_2759.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_52_3541.jpg', '/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_54_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_40_1649.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_43_2672.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_45_2594.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_48_2759.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_52_3541.jpg
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_54_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724163","1395724162","1395724165","1395724161","1395724164","1395724158"],"photo_ids_order":["1395724158","1395724161","1395724162","1395724163","1395724164","1395724165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c7b7472d0c67f8de2e4ab81157ccd15.jpg","text":"TemporaryFile(/tmp/multipartBody6681834288622410357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841885250,"filename":"image_30102025_18_12_48_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dc71fe8bc25dae10947bbc9fc31b95a.jpg","text":"TemporaryFile(/tmp/multipartBody143081800183791342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841885250,"filename":"image_30102025_18_12_45_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51a89448dc19dc045d02613a70fa17aa.jpg","text":"TemporaryFile(/tmp/multipartBody4536574700659177343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841885250,"filename":"image_30102025_18_12_54_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c85f0454d55fe920b6055e65dcfa0c4.jpg","text":"TemporaryFile(/tmp/multipartBody181709726445972365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841885250,"filename":"image_30102025_18_12_43_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbabba0ff985b472500c0ff1e33a127a.jpg","text":"TemporaryFile(/tmp/multipartBody7562935525109578675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841885250,"filename":"image_30102025_18_12_52_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b7c087a27acfd0036db40d6a76368b6.jpg","text":"TemporaryFile(/tmp/multipartBody3342057053970976793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841885250,"filename":"image_30102025_18_12_40_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724162","file1":"1395724161","file0":"1395724158","file4":"1395724164","file5":"1395724165","file3":"1395724163"},"map_files_photo_id_array":[{"photo_id":"1395724165","filename":"file5"},{"photo_id":"1395724162","filename":"file2"},{"photo_id":"1395724164","filename":"file4"},{"photo_id":"1395724161","filename":"file1"},{"photo_id":"1395724158","filename":"file0"},{"photo_id":"1395724163","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724163":["hashtag1","hashtag2"]},{"1395724162":["hashtag1","hashtag2"]},{"1395724165":["hashtag1","hashtag2"]},{"1395724161":["hashtag1","hashtag2"]},{"1395724164":["hashtag1","hashtag2"]},{"1395724158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724163, 1395724162, 1395724165, 1395724161, 1395724164, 1395724158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73761987686157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:04:22.007114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/03/image_22112025_21_03_55_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/03/image_22112025_21_03_55_2881.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724167"],"photo_id":"1395724167","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7999588f9623792aaab9075cc6c0ecb.jpg","text":"TemporaryFile(/tmp/multipartBody229086123090188657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841922559,"filename":"image_22112025_21_03_55_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395724167"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395724167"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.633713722229004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:04:41.945410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_58_3647.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_01_2688.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_03_2767.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_07_3537.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_13_2709.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_15_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/12/image_30102025_18_12_58_3647.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_01_2688.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_03_2767.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_07_3537.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_13_2709.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_15_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724187","1395724181","1395724189","1395724185","1395724188","1395724190"],"photo_ids_order":["1395724181","1395724185","1395724187","1395724188","1395724189","1395724190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65142c39ee85904e89dec29a5368f10e.jpg","text":"TemporaryFile(/tmp/multipartBody8130536278399587686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841944115,"filename":"image_30102025_18_13_03_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3479869f1555a4ef8933720d85059d3a.jpg","text":"TemporaryFile(/tmp/multipartBody7532426540262276180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841944115,"filename":"image_30102025_18_12_58_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e171e526f1ec1a18c83fe527c1dff1ea.jpg","text":"TemporaryFile(/tmp/multipartBody7332494331647018256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841944115,"filename":"image_30102025_18_13_13_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1e73f7264fa198bf7203fadf826ec3d.jpg","text":"TemporaryFile(/tmp/multipartBody6891802867411141644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841944115,"filename":"image_30102025_18_13_01_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8741f5025099e56c819a67bf776d3ab.jpg","text":"TemporaryFile(/tmp/multipartBody4295461068077351484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841944115,"filename":"image_30102025_18_13_07_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5793ba5ce7012ff8cc230d5115146898.jpg","text":"TemporaryFile(/tmp/multipartBody6900598975873567464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763841944115,"filename":"image_30102025_18_13_15_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724187","file1":"1395724185","file0":"1395724181","file4":"1395724189","file5":"1395724190","file3":"1395724188"},"map_files_photo_id_array":[{"photo_id":"1395724190","filename":"file5"},{"photo_id":"1395724187","filename":"file2"},{"photo_id":"1395724189","filename":"file4"},{"photo_id":"1395724185","filename":"file1"},{"photo_id":"1395724181","filename":"file0"},{"photo_id":"1395724188","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724187":["hashtag1","hashtag2"]},{"1395724181":["hashtag1","hashtag2"]},{"1395724189":["hashtag1","hashtag2"]},{"1395724185":["hashtag1","hashtag2"]},{"1395724188":["hashtag1","hashtag2"]},{"1395724190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724187, 1395724181, 1395724189, 1395724185, 1395724188, 1395724190)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395724187 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_03_2767.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 80.77389359474182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:06:03.936365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:06:23.371942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/04/image_22112025_21_04_01_2627.jpg', '/home/pi/Desktop/images/22112025/21/05/image_22112025_21_05_46_2916.jpg', '/home/pi/Desktop/images/22112025/21/05/image_22112025_21_05_49_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/04/image_22112025_21_04_01_2627.jpg
/home/pi/Desktop/images/22112025/21/05/image_22112025_21_05_46_2916.jpg
/home/pi/Desktop/images/22112025/21/05/image_22112025_21_05_49_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724212","1395724215","1395724209"],"photo_ids_order":["1395724209","1395724212","1395724215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f8c0b1497624586f0e5bb775263b402.jpg","text":"TemporaryFile(/tmp/multipartBody9190831972969803576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842043940,"filename":"image_22112025_21_05_46_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e8394a4cc37fd6f059eb11e0c63d092c.jpg","text":"TemporaryFile(/tmp/multipartBody3419962578324076091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842043940,"filename":"image_22112025_21_05_49_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5abad42de63c57e7c7676644e0c9c91.jpg","text":"TemporaryFile(/tmp/multipartBody7321309168821538646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842043940,"filename":"image_22112025_21_04_01_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724215","file1":"1395724212","file0":"1395724209"},"map_files_photo_id_array":[{"photo_id":"1395724215","filename":"file2"},{"photo_id":"1395724212","filename":"file1"},{"photo_id":"1395724209","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724212":["hashtag1","hashtag2"]},{"1395724215":["hashtag1","hashtag2"]},{"1395724209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724212, 1395724215, 1395724209)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395724215 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/21/05/image_22112025_21_05_49_2763.jpg";
try second time after 15 secs
uploaded 3 photos
time to upload: 45.11659359931946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:07:26.837152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_19_3675.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_22_2656.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_25_2942.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_27_2717.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_31_3533.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_34_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_19_3675.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_22_2656.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_25_2942.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_27_2717.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_31_3533.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_34_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724244","1395724242","1395724236","1395724239","1395724230","1395724233"],"photo_ids_order":["1395724230","1395724233","1395724236","1395724239","1395724242","1395724244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac47e0cb594d03cb34f633938429fe43.jpg","text":"TemporaryFile(/tmp/multipartBody1411161502006683193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842109031,"filename":"image_30102025_18_13_34_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3a45ca8fa649378895ea21cf486266a.jpg","text":"TemporaryFile(/tmp/multipartBody7602525880479492564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842109031,"filename":"image_30102025_18_13_31_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6267f5922ecaddb1da3af8810f7e84f.jpg","text":"TemporaryFile(/tmp/multipartBody3137679871612685968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842109031,"filename":"image_30102025_18_13_25_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b7dc335ece0c6c754b78744110628fa8.jpg","text":"TemporaryFile(/tmp/multipartBody4798245969676733214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842109031,"filename":"image_30102025_18_13_27_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1312beb37f83f2c20d55214ff9e5e6b1.jpg","text":"TemporaryFile(/tmp/multipartBody5686404053839986881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842109031,"filename":"image_30102025_18_13_19_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f3a5356be8db2098dbc120989bb990f.jpg","text":"TemporaryFile(/tmp/multipartBody6444940943536355828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842109031,"filename":"image_30102025_18_13_22_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724236","file1":"1395724233","file0":"1395724230","file4":"1395724242","file5":"1395724244","file3":"1395724239"},"map_files_photo_id_array":[{"photo_id":"1395724244","filename":"file5"},{"photo_id":"1395724236","filename":"file2"},{"photo_id":"1395724242","filename":"file4"},{"photo_id":"1395724233","filename":"file1"},{"photo_id":"1395724230","filename":"file0"},{"photo_id":"1395724239","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724244":["hashtag1","hashtag2"]},{"1395724242":["hashtag1","hashtag2"]},{"1395724236":["hashtag1","hashtag2"]},{"1395724239":["hashtag1","hashtag2"]},{"1395724230":["hashtag1","hashtag2"]},{"1395724233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724244, 1395724242, 1395724236, 1395724239, 1395724230, 1395724233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.523473024368286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:08:22.120639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/06/image_22112025_21_06_40_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/06/image_22112025_21_06_40_1577.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724247"],"photo_id":"1395724247","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40351f2b315a0fa2761a8781377d54a1.jpg","text":"TemporaryFile(/tmp/multipartBody4176849971246255987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842162606,"filename":"image_22112025_21_06_40_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395724247"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395724247"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.596516847610474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:08:42.154206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_36_2620.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_40_3674.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_43_3621.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_54_2810.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_57_2864.jpg', '/home/pi/Desktop/images/30102025/18/13/image_30102025_18_14_01_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_36_2620.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_40_3674.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_43_3621.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_54_2810.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_13_57_2864.jpg
/home/pi/Desktop/images/30102025/18/13/image_30102025_18_14_01_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724265","1395724268","1395724267","1395724266","1395724269","1395724263"],"photo_ids_order":["1395724263","1395724265","1395724266","1395724267","1395724268","1395724269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27ac97f67ffedbb4fae21532f9b72a06.jpg","text":"TemporaryFile(/tmp/multipartBody5755720764987222657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842184394,"filename":"image_30102025_18_13_40_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9576c4e3b742adba5347ab71b747ea4f.jpg","text":"TemporaryFile(/tmp/multipartBody5326496293865596068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842184394,"filename":"image_30102025_18_13_57_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09b19daf222eabd4e1985ff6bf110a73.jpg","text":"TemporaryFile(/tmp/multipartBody910060622159569874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842184394,"filename":"image_30102025_18_13_54_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e2f44e308b44857eedd3984823a84b5.jpg","text":"TemporaryFile(/tmp/multipartBody6654057972052466613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842184394,"filename":"image_30102025_18_13_43_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39e309fe870ea7e1c8d9821da4fc7064.jpg","text":"TemporaryFile(/tmp/multipartBody2183027859562543789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842184394,"filename":"image_30102025_18_14_01_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c239950b6d7eacae311c433c2db043f9.jpg","text":"TemporaryFile(/tmp/multipartBody8781058676586069511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842184394,"filename":"image_30102025_18_13_36_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724266","file1":"1395724265","file0":"1395724263","file4":"1395724268","file5":"1395724269","file3":"1395724267"},"map_files_photo_id_array":[{"photo_id":"1395724269","filename":"file5"},{"photo_id":"1395724266","filename":"file2"},{"photo_id":"1395724268","filename":"file4"},{"photo_id":"1395724265","filename":"file1"},{"photo_id":"1395724263","filename":"file0"},{"photo_id":"1395724267","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724265":["hashtag1","hashtag2"]},{"1395724268":["hashtag1","hashtag2"]},{"1395724267":["hashtag1","hashtag2"]},{"1395724266":["hashtag1","hashtag2"]},{"1395724269":["hashtag1","hashtag2"]},{"1395724263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724265, 1395724268, 1395724267, 1395724266, 1395724269, 1395724263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58606433868408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:09:22.320662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/07/image_22112025_21_07_23_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/07/image_22112025_21_07_23_1670.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724272"],"photo_id":"1395724272","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6506760ae233e8626cc5368b075a0341.jpg","text":"TemporaryFile(/tmp/multipartBody1025812904133459041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842222837,"filename":"image_22112025_21_07_23_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395724272"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395724272"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.291096210479736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:09:42.265293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_03_2642.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_07_3425.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_12_2821.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_15_2886.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_19_3683.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_21_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_03_2642.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_07_3425.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_12_2821.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_15_2886.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_19_3683.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_21_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724286","1395724282","1395724285","1395724284","1395724287","1395724283"],"photo_ids_order":["1395724282","1395724283","1395724284","1395724285","1395724286","1395724287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50e97abb59d711f7ac382447e9cedbb4.jpg","text":"TemporaryFile(/tmp/multipartBody1522940206614972835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842244456,"filename":"image_30102025_18_14_19_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/944fe7757b3244a6f78bef37c8d6fced.jpg","text":"TemporaryFile(/tmp/multipartBody2073774789590079652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842244456,"filename":"image_30102025_18_14_03_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22f83bfbf5d18f8a2332263395ebc2da.jpg","text":"TemporaryFile(/tmp/multipartBody2666101791164068187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842244456,"filename":"image_30102025_18_14_15_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b6ff0dd7f9b4675cad578d5637cfbc3.jpg","text":"TemporaryFile(/tmp/multipartBody610008753725202129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842244456,"filename":"image_30102025_18_14_12_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf0a1c04e53c7e479904daab02f08754.jpg","text":"TemporaryFile(/tmp/multipartBody7043675926441565431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842244456,"filename":"image_30102025_18_14_21_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9db91942bfa444cb0f2000abda615a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4381806532020327201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842244456,"filename":"image_30102025_18_14_07_3425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724284","file1":"1395724283","file0":"1395724282","file4":"1395724286","file5":"1395724287","file3":"1395724285"},"map_files_photo_id_array":[{"photo_id":"1395724287","filename":"file5"},{"photo_id":"1395724284","filename":"file2"},{"photo_id":"1395724286","filename":"file4"},{"photo_id":"1395724283","filename":"file1"},{"photo_id":"1395724282","filename":"file0"},{"photo_id":"1395724285","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724286":["hashtag1","hashtag2"]},{"1395724282":["hashtag1","hashtag2"]},{"1395724285":["hashtag1","hashtag2"]},{"1395724284":["hashtag1","hashtag2"]},{"1395724287":["hashtag1","hashtag2"]},{"1395724283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724286, 1395724282, 1395724285, 1395724284, 1395724287, 1395724283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58701133728027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:10:22.600513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/09/image_22112025_21_09_09_2583.jpg', '/home/pi/Desktop/images/22112025/21/10/image_22112025_21_10_13_3788.jpg', '/home/pi/Desktop/images/22112025/21/10/image_22112025_21_10_51_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/09/image_22112025_21_09_09_2583.jpg
/home/pi/Desktop/images/22112025/21/10/image_22112025_21_10_13_3788.jpg
/home/pi/Desktop/images/22112025/21/10/image_22112025_21_10_51_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724292","1395724290","1395724295"],"photo_ids_order":["1395724290","1395724292","1395724295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d427276f880d027ef3f502d1cf7be680.jpg","text":"TemporaryFile(/tmp/multipartBody3163510945347031446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842283227,"filename":"image_22112025_21_10_13_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07713f01cf2069f09d5567417a72855f.jpg","text":"TemporaryFile(/tmp/multipartBody7554661964181519186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842283227,"filename":"image_22112025_21_09_09_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ebe0328529ec51ceb4db5961704a175.jpg","text":"TemporaryFile(/tmp/multipartBody8996718279378286562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842283227,"filename":"image_22112025_21_10_51_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724295","file1":"1395724292","file0":"1395724290"},"map_files_photo_id_array":[{"photo_id":"1395724295","filename":"file2"},{"photo_id":"1395724292","filename":"file1"},{"photo_id":"1395724290","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724292":["hashtag1","hashtag2"]},{"1395724290":["hashtag1","hashtag2"]},{"1395724295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724292, 1395724290, 1395724295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.21234393119812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:11:02.462476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_45_2687.jpg', '/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_52_3650.jpg', '/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_54_2644.jpg', '/home/pi/Desktop/images/20112025/19/33/image_20112025_19_34_01_3539.jpg', '/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_03_2608.jpg', '/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_12_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_45_2687.jpg
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_52_3650.jpg
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_33_54_2644.jpg
/home/pi/Desktop/images/20112025/19/33/image_20112025_19_34_01_3539.jpg
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_03_2608.jpg
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_12_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724325","1395724310","1395724307","1395724309","1395724317","1395724308"],"photo_ids_order":["1395724307","1395724308","1395724309","1395724310","1395724317","1395724325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6697a84258279d1102b1bbb7468f9a78.jpg","text":"TemporaryFile(/tmp/multipartBody3811180206522106527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842324684,"filename":"image_20112025_19_34_12_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/762bd9b3be91281eb356a9dfd3ac4d55.jpg","text":"TemporaryFile(/tmp/multipartBody1126469772387044730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842324684,"filename":"image_20112025_19_34_01_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c406f107894b0e9e05acb314ae05221b.jpg","text":"TemporaryFile(/tmp/multipartBody1395357380460357404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842324684,"filename":"image_20112025_19_33_45_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/129117b89fda5f95af9a411e52bf4ade.jpg","text":"TemporaryFile(/tmp/multipartBody715196021273918596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842324684,"filename":"image_20112025_19_33_54_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ab41cf0dde104f2c9fc84498cd6d672.jpg","text":"TemporaryFile(/tmp/multipartBody2810479644327287849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842324684,"filename":"image_20112025_19_34_03_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b00dd5d98b66bf6d8658e9c431888d46.jpg","text":"TemporaryFile(/tmp/multipartBody5260876772393787550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842324684,"filename":"image_20112025_19_33_52_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724309","file1":"1395724308","file0":"1395724307","file4":"1395724317","file5":"1395724325","file3":"1395724310"},"map_files_photo_id_array":[{"photo_id":"1395724325","filename":"file5"},{"photo_id":"1395724309","filename":"file2"},{"photo_id":"1395724317","filename":"file4"},{"photo_id":"1395724308","filename":"file1"},{"photo_id":"1395724307","filename":"file0"},{"photo_id":"1395724310","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724325":["hashtag1","hashtag2"]},{"1395724310":["hashtag1","hashtag2"]},{"1395724307":["hashtag1","hashtag2"]},{"1395724309":["hashtag1","hashtag2"]},{"1395724317":["hashtag1","hashtag2"]},{"1395724308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724325, 1395724310, 1395724307, 1395724309, 1395724317, 1395724308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27663230895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:11:41.788258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_24_2535.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_28_3682.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_30_2773.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_33_2686.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_37_3588.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_40_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_24_2535.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_28_3682.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_30_2773.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_33_2686.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_37_3588.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_40_2818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724358","1395724355","1395724349","1395724351","1395724347","1395724350"],"photo_ids_order":["1395724347","1395724349","1395724350","1395724351","1395724355","1395724358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c783146da34a399515b1ff6673096366.jpg","text":"TemporaryFile(/tmp/multipartBody8909474755478563268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842364008,"filename":"image_30102025_18_14_40_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9610b248cc7c94549da8e23326446a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6986621083851567443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842364008,"filename":"image_30102025_18_14_37_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d091f62bf0e8f698e0e00cb56609eb4d.jpg","text":"TemporaryFile(/tmp/multipartBody8941669939071056369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842364008,"filename":"image_30102025_18_14_28_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b8d61218f59fd958e3027ba1423003c.jpg","text":"TemporaryFile(/tmp/multipartBody965242481727011918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842364008,"filename":"image_30102025_18_14_33_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/571cc81866365dafc2e428ca1cbd66f6.jpg","text":"TemporaryFile(/tmp/multipartBody6539106833612579005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842364008,"filename":"image_30102025_18_14_24_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27b27b89c339fa3287b9ce32faa0d27e.jpg","text":"TemporaryFile(/tmp/multipartBody8165455073516411660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842364008,"filename":"image_30102025_18_14_30_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724350","file1":"1395724349","file0":"1395724347","file4":"1395724355","file5":"1395724358","file3":"1395724351"},"map_files_photo_id_array":[{"photo_id":"1395724358","filename":"file5"},{"photo_id":"1395724350","filename":"file2"},{"photo_id":"1395724355","filename":"file4"},{"photo_id":"1395724349","filename":"file1"},{"photo_id":"1395724347","filename":"file0"},{"photo_id":"1395724351","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724358":["hashtag1","hashtag2"]},{"1395724355":["hashtag1","hashtag2"]},{"1395724349":["hashtag1","hashtag2"]},{"1395724351":["hashtag1","hashtag2"]},{"1395724347":["hashtag1","hashtag2"]},{"1395724350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724358, 1395724355, 1395724349, 1395724351, 1395724347, 1395724350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87140893936157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:12:22.074306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/10/image_22112025_21_10_54_2724.jpg', '/home/pi/Desktop/images/22112025/21/12/image_22112025_21_12_27_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/10/image_22112025_21_10_54_2724.jpg
/home/pi/Desktop/images/22112025/21/12/image_22112025_21_12_27_2708.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724365","1395724362"],"photo_ids_order":["1395724362","1395724365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5a11c98407e570f6d18ed50c4db7763.jpg","text":"TemporaryFile(/tmp/multipartBody6293842197217916440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842402652,"filename":"image_22112025_21_12_27_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7737e72dfc954447679c88f9ef8538bd.jpg","text":"TemporaryFile(/tmp/multipartBody1793861428605446397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842402652,"filename":"image_22112025_21_10_54_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395724365","file0":"1395724362"},"map_files_photo_id_array":[{"photo_id":"1395724365","filename":"file1"},{"photo_id":"1395724362","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724365":["hashtag1","hashtag2"]},{"1395724362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724365, 1395724362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.966798543930054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:12:42.046091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_42_2753.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_46_3486.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_48_2620.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_51_2869.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_54_2619.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_15_00_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_42_2753.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_46_3486.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_48_2620.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_51_2869.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_54_2619.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_15_00_2704.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.1095237731933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:13:02.905726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_18_6045.jpg', '/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_23_1929.jpg', '/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_42_2641.jpg', '/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_46_3776.jpg', '/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_49_2838.jpg', '/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_55_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_18_6045.jpg
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_23_1929.jpg
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_42_2641.jpg
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_46_3776.jpg
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_49_2838.jpg
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_55_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724379","1395724387","1395724381","1395724378","1395724383","1395724380"],"photo_ids_order":["1395724378","1395724379","1395724380","1395724381","1395724383","1395724387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86ed114f5aeb012c023555b7bf523872.jpg","text":"TemporaryFile(/tmp/multipartBody1668288237762518676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842445154,"filename":"image_20112025_19_34_23_1929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/209f504a5984212f87f6ac71bccf2203.jpg","text":"TemporaryFile(/tmp/multipartBody8850752410910158845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842445154,"filename":"image_20112025_19_34_55_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/761ab5e75e3e96a1f14bd3593d286fbd.jpg","text":"TemporaryFile(/tmp/multipartBody3678053210074444853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842445154,"filename":"image_20112025_19_34_46_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca310d046e138ddb49fb489fd39a1956.jpg","text":"TemporaryFile(/tmp/multipartBody8479178716586972861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842445154,"filename":"image_20112025_19_34_18_6045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef5949aa2b6e02e902dd28b4ed37313a.jpg","text":"TemporaryFile(/tmp/multipartBody546660823674135992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842445154,"filename":"image_20112025_19_34_49_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d312bf3a8fcaa5c1010fdd3e4b2f3979.jpg","text":"TemporaryFile(/tmp/multipartBody3016721219552873827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842445154,"filename":"image_20112025_19_34_42_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724380","file1":"1395724379","file0":"1395724378","file4":"1395724383","file5":"1395724387","file3":"1395724381"},"map_files_photo_id_array":[{"photo_id":"1395724387","filename":"file5"},{"photo_id":"1395724380","filename":"file2"},{"photo_id":"1395724383","filename":"file4"},{"photo_id":"1395724379","filename":"file1"},{"photo_id":"1395724378","filename":"file0"},{"photo_id":"1395724381","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724379":["hashtag1","hashtag2"]},{"1395724387":["hashtag1","hashtag2"]},{"1395724381":["hashtag1","hashtag2"]},{"1395724378":["hashtag1","hashtag2"]},{"1395724383":["hashtag1","hashtag2"]},{"1395724380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724379, 1395724387, 1395724381, 1395724378, 1395724383, 1395724380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.234678745269775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:13:42.276663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_42_2753.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_46_3486.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_48_2620.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_51_2869.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_54_2619.jpg', '/home/pi/Desktop/images/30102025/18/14/image_30102025_18_15_00_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_42_2753.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_46_3486.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_48_2620.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_51_2869.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_14_54_2619.jpg
/home/pi/Desktop/images/30102025/18/14/image_30102025_18_15_00_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724400","1395724399","1395724403","1395724396","1395724402","1395724401"],"photo_ids_order":["1395724396","1395724399","1395724400","1395724401","1395724402","1395724403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44220f1940c768450234c3a6eda971af.jpg","text":"TemporaryFile(/tmp/multipartBody598648937686470445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842484364,"filename":"image_30102025_18_14_48_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1216148a16173ea94f97154b3196373.jpg","text":"TemporaryFile(/tmp/multipartBody2772450620440470185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842484364,"filename":"image_30102025_18_14_46_3486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a01ca784111536121c3f1bc4a027793.jpg","text":"TemporaryFile(/tmp/multipartBody7663371348106742424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842484364,"filename":"image_30102025_18_15_00_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdbf282d2b1516ecef7b8e0e1072ed3f.jpg","text":"TemporaryFile(/tmp/multipartBody2402044872176962534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842484364,"filename":"image_30102025_18_14_42_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd6e752663f8fed1f93c1dc771d7fb18.jpg","text":"TemporaryFile(/tmp/multipartBody56083906325955390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842484364,"filename":"image_30102025_18_14_54_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77c3be371d6350857ec824f4b3c57677.jpg","text":"TemporaryFile(/tmp/multipartBody5559685458304703213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842484364,"filename":"image_30102025_18_14_51_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724400","file1":"1395724399","file0":"1395724396","file4":"1395724402","file5":"1395724403","file3":"1395724401"},"map_files_photo_id_array":[{"photo_id":"1395724403","filename":"file5"},{"photo_id":"1395724400","filename":"file2"},{"photo_id":"1395724402","filename":"file4"},{"photo_id":"1395724399","filename":"file1"},{"photo_id":"1395724396","filename":"file0"},{"photo_id":"1395724401","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724400":["hashtag1","hashtag2"]},{"1395724399":["hashtag1","hashtag2"]},{"1395724403":["hashtag1","hashtag2"]},{"1395724396":["hashtag1","hashtag2"]},{"1395724402":["hashtag1","hashtag2"]},{"1395724401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724400, 1395724399, 1395724403, 1395724396, 1395724402, 1395724401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8748197555542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:14:22.452404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_10_2765.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_12_2609.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_21_2533.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_30_4943.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_37_3635.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_39_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_10_2765.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_12_2609.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_21_2533.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_30_4943.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_37_3635.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_39_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724412","1395724421","1395724415","1395724409","1395724424","1395724418"],"photo_ids_order":["1395724409","1395724412","1395724415","1395724418","1395724421","1395724424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0045989bee395baa51bc6ee7a130a3b7.jpg","text":"TemporaryFile(/tmp/multipartBody7852656503534167180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842524831,"filename":"image_30102025_18_15_12_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92ba8d1c20c6cc84b9ac435e08ed1529.jpg","text":"TemporaryFile(/tmp/multipartBody4881688545491860560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842524831,"filename":"image_30102025_18_15_37_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ca21834cde179764f9732c07ab8a668.jpg","text":"TemporaryFile(/tmp/multipartBody6136448219099287598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842524831,"filename":"image_30102025_18_15_21_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e70c7df1185dfabe4e960bd3e84b3f1a.jpg","text":"TemporaryFile(/tmp/multipartBody6913292834215479604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842524831,"filename":"image_30102025_18_15_10_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9242d9c386caf4fa92f9f2a476abd6c.jpg","text":"TemporaryFile(/tmp/multipartBody5359658842913214362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842524831,"filename":"image_30102025_18_15_39_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f62392c406930264aed8ba9c41d5eb2c.jpg","text":"TemporaryFile(/tmp/multipartBody2510545326577334128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842524831,"filename":"image_30102025_18_15_30_4943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724415","file1":"1395724412","file0":"1395724409","file4":"1395724421","file5":"1395724424","file3":"1395724418"},"map_files_photo_id_array":[{"photo_id":"1395724424","filename":"file5"},{"photo_id":"1395724415","filename":"file2"},{"photo_id":"1395724421","filename":"file4"},{"photo_id":"1395724412","filename":"file1"},{"photo_id":"1395724409","filename":"file0"},{"photo_id":"1395724418","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724412":["hashtag1","hashtag2"]},{"1395724421":["hashtag1","hashtag2"]},{"1395724415":["hashtag1","hashtag2"]},{"1395724409":["hashtag1","hashtag2"]},{"1395724424":["hashtag1","hashtag2"]},{"1395724418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724412, 1395724421, 1395724415, 1395724409, 1395724424, 1395724418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.490535497665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:15:03.297566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_57_2638.jpg', '/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_04_3700.jpg', '/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_06_2579.jpg', '/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_09_2716.jpg', '/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_13_3797.jpg', '/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_15_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/34/image_20112025_19_34_57_2638.jpg
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_04_3700.jpg
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_06_2579.jpg
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_09_2716.jpg
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_13_3797.jpg
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_15_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724427","1395724435","1395724426","1395724428","1395724431","1395724425"],"photo_ids_order":["1395724425","1395724426","1395724427","1395724428","1395724431","1395724435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70c72cb3c736c51a9c5ad7842c3345ee.jpg","text":"TemporaryFile(/tmp/multipartBody9098552724118236814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842565527,"filename":"image_20112025_19_35_06_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2ef1a84b55288eb9126fa279b376718.jpg","text":"TemporaryFile(/tmp/multipartBody7944579851487707960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842565527,"filename":"image_20112025_19_35_15_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/782da0576da294eee0f287bd66bb623c.jpg","text":"TemporaryFile(/tmp/multipartBody3959717104906201651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842565527,"filename":"image_20112025_19_35_04_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/186f1ee4f57b159776b4ef640ba1815c.jpg","text":"TemporaryFile(/tmp/multipartBody1632126398933113907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842565527,"filename":"image_20112025_19_35_09_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/454fd10b89fc6606f652bfcf79b03bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7028879374084428952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842565527,"filename":"image_20112025_19_35_13_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ccec0770d8dc9f2eef8e910e7b522188.jpg","text":"TemporaryFile(/tmp/multipartBody6367033718638786295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842565527,"filename":"image_20112025_19_34_57_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724427","file1":"1395724426","file0":"1395724425","file4":"1395724431","file5":"1395724435","file3":"1395724428"},"map_files_photo_id_array":[{"photo_id":"1395724435","filename":"file5"},{"photo_id":"1395724427","filename":"file2"},{"photo_id":"1395724431","filename":"file4"},{"photo_id":"1395724426","filename":"file1"},{"photo_id":"1395724425","filename":"file0"},{"photo_id":"1395724428","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724427":["hashtag1","hashtag2"]},{"1395724435":["hashtag1","hashtag2"]},{"1395724426":["hashtag1","hashtag2"]},{"1395724428":["hashtag1","hashtag2"]},{"1395724431":["hashtag1","hashtag2"]},{"1395724425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724427, 1395724435, 1395724426, 1395724428, 1395724431, 1395724425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8795268535614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:15:42.702432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_42_2680.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_48_2715.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_51_2621.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_57_2551.jpg', '/home/pi/Desktop/images/30102025/18/15/image_30102025_18_16_00_2750.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_04_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_42_2680.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_48_2715.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_51_2621.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_15_57_2551.jpg
/home/pi/Desktop/images/30102025/18/15/image_30102025_18_16_00_2750.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_04_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724445","1395724448","1395724447","1395724446","1395724449","1395724443"],"photo_ids_order":["1395724443","1395724445","1395724446","1395724447","1395724448","1395724449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ca9dd063e872491d12f732f330d3e04.jpg","text":"TemporaryFile(/tmp/multipartBody3494955538783432379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842604974,"filename":"image_30102025_18_15_48_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2fab80364ae2992225ed217bffc89bf.jpg","text":"TemporaryFile(/tmp/multipartBody8944270175954659924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842604974,"filename":"image_30102025_18_16_00_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ca446fbcdd2227232396db13525f624.jpg","text":"TemporaryFile(/tmp/multipartBody6112262473850583973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842604974,"filename":"image_30102025_18_15_57_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99be5cdee483254942edbc4e7dbdbb05.jpg","text":"TemporaryFile(/tmp/multipartBody8585958410651957170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842604974,"filename":"image_30102025_18_15_51_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/209e4e2146ae4096dfbb3317ed675827.jpg","text":"TemporaryFile(/tmp/multipartBody2475242752050508923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842604974,"filename":"image_30102025_18_16_04_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6153ec9f1c443c25b06a4650c85fa12e.jpg","text":"TemporaryFile(/tmp/multipartBody9165166835579292989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842604974,"filename":"image_30102025_18_15_42_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724446","file1":"1395724445","file0":"1395724443","file4":"1395724448","file5":"1395724449","file3":"1395724447"},"map_files_photo_id_array":[{"photo_id":"1395724449","filename":"file5"},{"photo_id":"1395724446","filename":"file2"},{"photo_id":"1395724448","filename":"file4"},{"photo_id":"1395724445","filename":"file1"},{"photo_id":"1395724443","filename":"file0"},{"photo_id":"1395724447","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724445":["hashtag1","hashtag2"]},{"1395724448":["hashtag1","hashtag2"]},{"1395724447":["hashtag1","hashtag2"]},{"1395724446":["hashtag1","hashtag2"]},{"1395724449":["hashtag1","hashtag2"]},{"1395724443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724445, 1395724448, 1395724447, 1395724446, 1395724449, 1395724443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42620015144348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:16:21.930856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_06_2571.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_10_3678.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_15_2596.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_19_3640.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_21_2530.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_24_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_06_2571.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_10_3678.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_15_2596.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_19_3640.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_21_2530.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_24_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724468","1395724453","1395724462","1395724456","1395724465","1395724459"],"photo_ids_order":["1395724453","1395724456","1395724459","1395724462","1395724465","1395724468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c849fa54bcee6ce805f827dbafa33983.jpg","text":"TemporaryFile(/tmp/multipartBody2470628958113592569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842644325,"filename":"image_30102025_18_16_24_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9130a9fff7fe1b8edcdaa77d064e5ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2517555324770048663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842644325,"filename":"image_30102025_18_16_06_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acdc6bd8773ce94573fd92afae143246.jpg","text":"TemporaryFile(/tmp/multipartBody2344027840036119603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842644325,"filename":"image_30102025_18_16_19_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d54118824412a9b35f2a77925dd5690.jpg","text":"TemporaryFile(/tmp/multipartBody830019088896279134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842644325,"filename":"image_30102025_18_16_10_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb72f08144c60dc3c6d9eb698a49e3be.jpg","text":"TemporaryFile(/tmp/multipartBody6783594992852455169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842644325,"filename":"image_30102025_18_16_21_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e78508870cbf8884e59fe4249e418761.jpg","text":"TemporaryFile(/tmp/multipartBody8889360115552322554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842644325,"filename":"image_30102025_18_16_15_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724459","file1":"1395724456","file0":"1395724453","file4":"1395724465","file5":"1395724468","file3":"1395724462"},"map_files_photo_id_array":[{"photo_id":"1395724468","filename":"file5"},{"photo_id":"1395724459","filename":"file2"},{"photo_id":"1395724465","filename":"file4"},{"photo_id":"1395724456","filename":"file1"},{"photo_id":"1395724453","filename":"file0"},{"photo_id":"1395724462","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724468":["hashtag1","hashtag2"]},{"1395724453":["hashtag1","hashtag2"]},{"1395724462":["hashtag1","hashtag2"]},{"1395724456":["hashtag1","hashtag2"]},{"1395724465":["hashtag1","hashtag2"]},{"1395724459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724468, 1395724453, 1395724462, 1395724456, 1395724465, 1395724459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.880881547927856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:17:02.981436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_36_3642.jpg', '/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_46_3789.jpg', '/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_48_2605.jpg', '/home/pi/Desktop/images/20112025/19/35/image_20112025_19_36_00_2726.jpg', '/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_09_2638.jpg', '/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_18_2900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_36_3642.jpg
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_46_3789.jpg
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_35_48_2605.jpg
/home/pi/Desktop/images/20112025/19/35/image_20112025_19_36_00_2726.jpg
/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_09_2638.jpg
/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_18_2900.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724469","1395724471","1395724479","1395724470","1395724473","1395724476"],"photo_ids_order":["1395724469","1395724470","1395724471","1395724473","1395724476","1395724479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a740d4e2cbafd814e0d336a90c3a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody5245626783212440532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842685280,"filename":"image_20112025_19_35_36_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3972577af2c673c4611d327a855e7b93.jpg","text":"TemporaryFile(/tmp/multipartBody6479169650176245348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842685280,"filename":"image_20112025_19_35_48_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1be86d9f03247adfd681686bc6cfe16.jpg","text":"TemporaryFile(/tmp/multipartBody5090384469152921272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842685280,"filename":"image_20112025_19_36_18_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/93c67a390d7f08c16dfabc7d7dda8189.jpg","text":"TemporaryFile(/tmp/multipartBody3838563187253537724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842685280,"filename":"image_20112025_19_35_46_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd7400f1ca8c866e29e4c0b0de5362d4.jpg","text":"TemporaryFile(/tmp/multipartBody8715897658247041136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842685280,"filename":"image_20112025_19_36_00_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbc150899055f171771bd50e08111c44.jpg","text":"TemporaryFile(/tmp/multipartBody3362961127317863477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842685280,"filename":"image_20112025_19_36_09_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724471","file1":"1395724470","file0":"1395724469","file4":"1395724476","file5":"1395724479","file3":"1395724473"},"map_files_photo_id_array":[{"photo_id":"1395724479","filename":"file5"},{"photo_id":"1395724471","filename":"file2"},{"photo_id":"1395724476","filename":"file4"},{"photo_id":"1395724470","filename":"file1"},{"photo_id":"1395724469","filename":"file0"},{"photo_id":"1395724473","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724469":["hashtag1","hashtag2"]},{"1395724471":["hashtag1","hashtag2"]},{"1395724479":["hashtag1","hashtag2"]},{"1395724470":["hashtag1","hashtag2"]},{"1395724473":["hashtag1","hashtag2"]},{"1395724476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724469, 1395724471, 1395724479, 1395724470, 1395724473, 1395724476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.437317848205566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:17:42.316181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/12/image_22112025_21_12_33_2761.jpg', '/home/pi/Desktop/images/22112025/21/17/image_22112025_21_17_03_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/12/image_22112025_21_12_33_2761.jpg
/home/pi/Desktop/images/22112025/21/17/image_22112025_21_17_03_2779.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724489","1395724485"],"photo_ids_order":["1395724485","1395724489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/19848b1ef739551a488f4138efa4df52.jpg","text":"TemporaryFile(/tmp/multipartBody7520492669458456919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842722886,"filename":"image_22112025_21_17_03_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bea3f420d5b095c337ed3ffc04033278.jpg","text":"TemporaryFile(/tmp/multipartBody6051161164974423091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842722886,"filename":"image_22112025_21_12_33_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395724489","file0":"1395724485"},"map_files_photo_id_array":[{"photo_id":"1395724489","filename":"file1"},{"photo_id":"1395724485","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724489":["hashtag1","hashtag2"]},{"1395724485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724489, 1395724485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.137712717056274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:18:03.071392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_27_3073.jpg', '/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_30_3117.jpg', '/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_33_2592.jpg', '/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_36_3661.jpg', '/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_42_2669.jpg', '/home/pi/Desktop/images/20112025/19/37/image_20112025_19_37_15_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_27_3073.jpg
/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_30_3117.jpg
/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_33_2592.jpg
/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_36_3661.jpg
/home/pi/Desktop/images/20112025/19/36/image_20112025_19_36_42_2669.jpg
/home/pi/Desktop/images/20112025/19/37/image_20112025_19_37_15_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724498","1395724492","1395724495","1395724494","1395724500","1395724493"],"photo_ids_order":["1395724492","1395724493","1395724494","1395724495","1395724498","1395724500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08f679c6ddf8cad3ae42fc241e088844.jpg","text":"TemporaryFile(/tmp/multipartBody5909458050915650607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842745204,"filename":"image_20112025_19_36_42_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0359b130c3754de3b70adab26fd2b819.jpg","text":"TemporaryFile(/tmp/multipartBody6477422045495963618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842745204,"filename":"image_20112025_19_36_27_3073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e7255b522d64a6484a83aa4bc04ee50.jpg","text":"TemporaryFile(/tmp/multipartBody2730558831540035605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842745204,"filename":"image_20112025_19_36_36_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fe738a3557c3a69601a058183febed8.jpg","text":"TemporaryFile(/tmp/multipartBody5733502368828792591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842745204,"filename":"image_20112025_19_36_33_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3c4a2692d61385a7aa56179d4899a70.jpg","text":"TemporaryFile(/tmp/multipartBody6836802315921702914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842745204,"filename":"image_20112025_19_37_15_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f435a274b342b5446eb4f0b5fa2feaec.jpg","text":"TemporaryFile(/tmp/multipartBody3679001948145374237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842745204,"filename":"image_20112025_19_36_30_3117.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724494","file1":"1395724493","file0":"1395724492","file4":"1395724498","file5":"1395724500","file3":"1395724495"},"map_files_photo_id_array":[{"photo_id":"1395724500","filename":"file5"},{"photo_id":"1395724494","filename":"file2"},{"photo_id":"1395724498","filename":"file4"},{"photo_id":"1395724493","filename":"file1"},{"photo_id":"1395724492","filename":"file0"},{"photo_id":"1395724495","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724498":["hashtag1","hashtag2"]},{"1395724492":["hashtag1","hashtag2"]},{"1395724495":["hashtag1","hashtag2"]},{"1395724494":["hashtag1","hashtag2"]},{"1395724500":["hashtag1","hashtag2"]},{"1395724493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724498, 1395724492, 1395724495, 1395724494, 1395724500, 1395724493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81507110595703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:18:42.601575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_28_3677.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_30_2653.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_39_2777.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_42_2698.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_45_2832.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_51_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_28_3677.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_30_2653.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_39_2777.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_42_2698.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_45_2832.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_51_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724520","1395724517","1395724522","1395724519","1395724515","1395724512"],"photo_ids_order":["1395724512","1395724515","1395724517","1395724519","1395724520","1395724522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f2f11e8eae7ebaa3d1f35d296af0414d.jpg","text":"TemporaryFile(/tmp/multipartBody3678008058339742854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842784812,"filename":"image_30102025_18_16_45_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe5a0b0bccb9c049eda0028b52060510.jpg","text":"TemporaryFile(/tmp/multipartBody5414997369327691096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842784812,"filename":"image_30102025_18_16_39_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11f7aac82c93f5c8286f2d7f9f53d3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6373481700579091488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842784812,"filename":"image_30102025_18_16_51_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f64e42dad9febadc71defd7502510527.jpg","text":"TemporaryFile(/tmp/multipartBody1501672005348930709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842784812,"filename":"image_30102025_18_16_42_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/18a4a6c169b2fb730e6cd5c9153043be.jpg","text":"TemporaryFile(/tmp/multipartBody5426445088880469183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842784812,"filename":"image_30102025_18_16_30_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/338312d949baadbf4ef2b1bb73af170a.jpg","text":"TemporaryFile(/tmp/multipartBody8339548427912264492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842784812,"filename":"image_30102025_18_16_28_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724517","file1":"1395724515","file0":"1395724512","file4":"1395724520","file5":"1395724522","file3":"1395724519"},"map_files_photo_id_array":[{"photo_id":"1395724522","filename":"file5"},{"photo_id":"1395724517","filename":"file2"},{"photo_id":"1395724520","filename":"file4"},{"photo_id":"1395724515","filename":"file1"},{"photo_id":"1395724512","filename":"file0"},{"photo_id":"1395724519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724520":["hashtag1","hashtag2"]},{"1395724517":["hashtag1","hashtag2"]},{"1395724522":["hashtag1","hashtag2"]},{"1395724519":["hashtag1","hashtag2"]},{"1395724515":["hashtag1","hashtag2"]},{"1395724512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724520, 1395724517, 1395724522, 1395724519, 1395724515, 1395724512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51516509056091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:19:22.766816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_54_2563.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_57_3638.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_17_00_2675.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_04_3596.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_06_2591.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_12_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_54_2563.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_57_3638.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_17_00_2675.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_04_3596.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_06_2591.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_12_3604.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.159280300140381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:19:42.789442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_54_2563.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_57_3638.jpg', '/home/pi/Desktop/images/30102025/18/16/image_30102025_18_17_00_2675.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_04_3596.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_06_2591.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_12_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_54_2563.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_16_57_3638.jpg
/home/pi/Desktop/images/30102025/18/16/image_30102025_18_17_00_2675.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_04_3596.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_06_2591.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_12_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724544","1395724540","1395724543","1395724546","1395724545","1395724542"],"photo_ids_order":["1395724540","1395724542","1395724543","1395724544","1395724545","1395724546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b17bb3be26156d2d805ec1ba127b9859.jpg","text":"TemporaryFile(/tmp/multipartBody7934571211606266116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842844865,"filename":"image_30102025_18_17_04_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d5456b61397ea492cea0311b5b8b3ee.jpg","text":"TemporaryFile(/tmp/multipartBody1496250638753865128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842844865,"filename":"image_30102025_18_16_54_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b874092ea7871894bf3848948340307e.jpg","text":"TemporaryFile(/tmp/multipartBody5560438455394259901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842844865,"filename":"image_30102025_18_17_00_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02b8bc4c6866acb78ec6bf245c1d9311.jpg","text":"TemporaryFile(/tmp/multipartBody7076651705767972591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842844865,"filename":"image_30102025_18_17_12_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/25323079190357995c3109b7dd8fe52b.jpg","text":"TemporaryFile(/tmp/multipartBody5922931806017552999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842844865,"filename":"image_30102025_18_17_06_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2d4ffe755d2021091c4341e7a99c476.jpg","text":"TemporaryFile(/tmp/multipartBody4695561140579168090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842844865,"filename":"image_30102025_18_16_57_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724543","file1":"1395724542","file0":"1395724540","file4":"1395724545","file5":"1395724546","file3":"1395724544"},"map_files_photo_id_array":[{"photo_id":"1395724546","filename":"file5"},{"photo_id":"1395724543","filename":"file2"},{"photo_id":"1395724545","filename":"file4"},{"photo_id":"1395724542","filename":"file1"},{"photo_id":"1395724540","filename":"file0"},{"photo_id":"1395724544","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724544":["hashtag1","hashtag2"]},{"1395724540":["hashtag1","hashtag2"]},{"1395724543":["hashtag1","hashtag2"]},{"1395724546":["hashtag1","hashtag2"]},{"1395724545":["hashtag1","hashtag2"]},{"1395724542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724544, 1395724540, 1395724543, 1395724546, 1395724545, 1395724542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.290621280670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:20:22.058228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/17/image_22112025_21_17_54_2564.jpg', '/home/pi/Desktop/images/22112025/21/20/image_22112025_21_20_44_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/17/image_22112025_21_17_54_2564.jpg
/home/pi/Desktop/images/22112025/21/20/image_22112025_21_20_44_2762.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724552","1395724549"],"photo_ids_order":["1395724549","1395724552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70a56beabaf6cfc0c5dd0373677d3cab.jpg","text":"TemporaryFile(/tmp/multipartBody2659221079168283315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842882647,"filename":"image_22112025_21_20_44_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f15081fef5d4e61cf569b4dd7fb9012.jpg","text":"TemporaryFile(/tmp/multipartBody5385437896923203355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842882647,"filename":"image_22112025_21_17_54_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395724552","file0":"1395724549"},"map_files_photo_id_array":[{"photo_id":"1395724552","filename":"file1"},{"photo_id":"1395724549","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724552":["hashtag1","hashtag2"]},{"1395724549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724552, 1395724549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.327815055847168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:20:42.110160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_15_2632.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_22_3638.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_24_2785.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_27_2663.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_30_2732.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_33_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_15_2632.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_22_3638.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_24_2785.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_27_2663.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_30_2732.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_33_3700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724562","1395724565","1395724564","1395724563","1395724566","1395724560"],"photo_ids_order":["1395724560","1395724562","1395724563","1395724564","1395724565","1395724566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d738a3e44ba091a1e8dc15a52856975.jpg","text":"TemporaryFile(/tmp/multipartBody1978459729800289850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842904322,"filename":"image_30102025_18_17_22_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/900f55b046bf21b817c372d93c7d4998.jpg","text":"TemporaryFile(/tmp/multipartBody7102791563259705060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842904322,"filename":"image_30102025_18_17_30_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/740a45a94e3559736fab8743a22ece2c.jpg","text":"TemporaryFile(/tmp/multipartBody5295346306375822135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842904322,"filename":"image_30102025_18_17_27_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ce3cb1d0de48b82257532cdeb43a5ac.jpg","text":"TemporaryFile(/tmp/multipartBody2555463561151959364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842904322,"filename":"image_30102025_18_17_24_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8cb884c81035e031e5cf3397aee947b6.jpg","text":"TemporaryFile(/tmp/multipartBody1193756566757797316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842904322,"filename":"image_30102025_18_17_33_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c9255993afc5c603fb3fa669b1aaf20.jpg","text":"TemporaryFile(/tmp/multipartBody2429686787017451863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842904322,"filename":"image_30102025_18_17_15_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724563","file1":"1395724562","file0":"1395724560","file4":"1395724565","file5":"1395724566","file3":"1395724564"},"map_files_photo_id_array":[{"photo_id":"1395724566","filename":"file5"},{"photo_id":"1395724563","filename":"file2"},{"photo_id":"1395724565","filename":"file4"},{"photo_id":"1395724562","filename":"file1"},{"photo_id":"1395724560","filename":"file0"},{"photo_id":"1395724564","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724562":["hashtag1","hashtag2"]},{"1395724565":["hashtag1","hashtag2"]},{"1395724564":["hashtag1","hashtag2"]},{"1395724563":["hashtag1","hashtag2"]},{"1395724566":["hashtag1","hashtag2"]},{"1395724560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724562, 1395724565, 1395724564, 1395724563, 1395724566, 1395724560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64183187484741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:21:22.340047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/20/image_22112025_21_20_57_2846.jpg', '/home/pi/Desktop/images/22112025/21/21/image_22112025_21_21_14_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/20/image_22112025_21_20_57_2846.jpg
/home/pi/Desktop/images/22112025/21/21/image_22112025_21_21_14_2561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724572","1395724569"],"photo_ids_order":["1395724569","1395724572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbf97c9b7dd39efe97000ed73b0a78d5.jpg","text":"TemporaryFile(/tmp/multipartBody2906144707003330427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842942902,"filename":"image_22112025_21_21_14_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e5bccf809587015d6202f5b3ef39dce.jpg","text":"TemporaryFile(/tmp/multipartBody5336282556914766915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842942902,"filename":"image_22112025_21_20_57_2846.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395724572","file0":"1395724569"},"map_files_photo_id_array":[{"photo_id":"1395724572","filename":"file1"},{"photo_id":"1395724569","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724572":["hashtag1","hashtag2"]},{"1395724569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724572, 1395724569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.453568696975708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:21:42.415905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_36_2549.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_40_3526.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_42_2779.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_51_2670.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_54_2601.jpg', '/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_58_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_36_2549.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_40_3526.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_42_2779.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_51_2670.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_54_2601.jpg
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_17_58_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724583","1395724585","1395724581","1395724584","1395724587","1395724586"],"photo_ids_order":["1395724581","1395724583","1395724584","1395724585","1395724586","1395724587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6db755686d6b2da78f87c81bf3919da5.jpg","text":"TemporaryFile(/tmp/multipartBody4187957350066359540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842964771,"filename":"image_30102025_18_17_40_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ac17dd4df1f44280f76faa10b8e76df.jpg","text":"TemporaryFile(/tmp/multipartBody5304183127107245521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842964771,"filename":"image_30102025_18_17_51_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cf38c95fd90d202406d2d5a6fc5fd88.jpg","text":"TemporaryFile(/tmp/multipartBody4742747011663083224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842964771,"filename":"image_30102025_18_17_36_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7918bb27580d79384bcd818596b9b495.jpg","text":"TemporaryFile(/tmp/multipartBody515533019132270879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842964771,"filename":"image_30102025_18_17_42_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/880bec72aee802ef2863add0f3f21e00.jpg","text":"TemporaryFile(/tmp/multipartBody8578537449183516024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842964771,"filename":"image_30102025_18_17_58_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b11efd71d78eda03a43e213613afa48.jpg","text":"TemporaryFile(/tmp/multipartBody4636209555329172759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763842964771,"filename":"image_30102025_18_17_54_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724584","file1":"1395724583","file0":"1395724581","file4":"1395724586","file5":"1395724587","file3":"1395724585"},"map_files_photo_id_array":[{"photo_id":"1395724587","filename":"file5"},{"photo_id":"1395724584","filename":"file2"},{"photo_id":"1395724586","filename":"file4"},{"photo_id":"1395724583","filename":"file1"},{"photo_id":"1395724581","filename":"file0"},{"photo_id":"1395724585","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724583":["hashtag1","hashtag2"]},{"1395724585":["hashtag1","hashtag2"]},{"1395724581":["hashtag1","hashtag2"]},{"1395724584":["hashtag1","hashtag2"]},{"1395724587":["hashtag1","hashtag2"]},{"1395724586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724583, 1395724585, 1395724581, 1395724584, 1395724587, 1395724586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.831817388534546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:22:22.700028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/21/image_22112025_21_21_23_2704.jpg', '/home/pi/Desktop/images/22112025/21/22/image_22112025_21_22_29_6410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/21/image_22112025_21_21_23_2704.jpg
/home/pi/Desktop/images/22112025/21/22/image_22112025_21_22_29_6410.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724594","1395724589"],"photo_ids_order":["1395724589","1395724594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5bdcc626902d906349abc90c0bf2ade.jpg","text":"TemporaryFile(/tmp/multipartBody3404637079819286670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843003276,"filename":"image_22112025_21_22_29_6410.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5fd8fe4a5f7e6d2f51091e564ac5916.jpg","text":"TemporaryFile(/tmp/multipartBody4622975522020867350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843003276,"filename":"image_22112025_21_21_23_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395724594","file0":"1395724589"},"map_files_photo_id_array":[{"photo_id":"1395724594","filename":"file1"},{"photo_id":"1395724589","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724594":["hashtag1","hashtag2"]},{"1395724589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724594, 1395724589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.846983194351196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:22:42.609545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/17/image_30102025_18_18_00_2612.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_03_2746.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_06_3559.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_12_2699.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_15_3647.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_18_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/17/image_30102025_18_18_00_2612.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_03_2746.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_06_3559.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_12_2699.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_15_3647.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_18_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724610","1395724613","1395724612","1395724608","1395724611","1395724605"],"photo_ids_order":["1395724605","1395724608","1395724610","1395724611","1395724612","1395724613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7e32f5b823c612a9532c18f4ccdad74.jpg","text":"TemporaryFile(/tmp/multipartBody575332368584260211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843024854,"filename":"image_30102025_18_18_06_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb8f01d745d1d3ee95cd84a9809664b0.jpg","text":"TemporaryFile(/tmp/multipartBody1549151797600575162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843024854,"filename":"image_30102025_18_18_18_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/241dbd941e54d4a571db03146eed6f96.jpg","text":"TemporaryFile(/tmp/multipartBody235701342088111885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843024854,"filename":"image_30102025_18_18_15_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6479da04d563639205149bae1f0095f8.jpg","text":"TemporaryFile(/tmp/multipartBody5011506035855289479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843024854,"filename":"image_30102025_18_18_03_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3596336cfd87b9ce989c1e6c0f9d6636.jpg","text":"TemporaryFile(/tmp/multipartBody8675284419896658037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843024854,"filename":"image_30102025_18_18_12_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b150c8d25a901c0adc4a0c6e374113a.jpg","text":"TemporaryFile(/tmp/multipartBody6969920011404529520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843024854,"filename":"image_30102025_18_18_00_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724610","file1":"1395724608","file0":"1395724605","file4":"1395724612","file5":"1395724613","file3":"1395724611"},"map_files_photo_id_array":[{"photo_id":"1395724613","filename":"file5"},{"photo_id":"1395724610","filename":"file2"},{"photo_id":"1395724612","filename":"file4"},{"photo_id":"1395724608","filename":"file1"},{"photo_id":"1395724605","filename":"file0"},{"photo_id":"1395724611","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724610":["hashtag1","hashtag2"]},{"1395724613":["hashtag1","hashtag2"]},{"1395724612":["hashtag1","hashtag2"]},{"1395724608":["hashtag1","hashtag2"]},{"1395724611":["hashtag1","hashtag2"]},{"1395724605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724610, 1395724613, 1395724612, 1395724608, 1395724611, 1395724605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69778895378113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:23:21.840250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_21_2601.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_24_3555.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_27_2662.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_33_3698.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_36_2752.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_39_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_21_2601.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_24_3555.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_27_2662.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_33_3698.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_36_2752.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_39_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724625","1395724619","1395724628","1395724622","1395724616","1395724632"],"photo_ids_order":["1395724616","1395724619","1395724622","1395724625","1395724628","1395724632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5e7f929e394adcf9cb47aadc5f3f30d.jpg","text":"TemporaryFile(/tmp/multipartBody3836348170797337823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843064307,"filename":"image_30102025_18_18_33_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0481e4945223009e113e9b4a66231a6.jpg","text":"TemporaryFile(/tmp/multipartBody3930904242390570527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843064307,"filename":"image_30102025_18_18_24_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2123f78c4a4ade2ac68a12ac078a9b43.jpg","text":"TemporaryFile(/tmp/multipartBody3547309736935439879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843064307,"filename":"image_30102025_18_18_36_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd72cf59f436858f5b47b752605ff96e.jpg","text":"TemporaryFile(/tmp/multipartBody2530530504453816935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843064307,"filename":"image_30102025_18_18_27_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/283be129a0e8ad441c1a956a02b9e61a.jpg","text":"TemporaryFile(/tmp/multipartBody7769349194534886561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843064307,"filename":"image_30102025_18_18_21_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ab15e9cf5c7a7490d6e213f6fe14e70.jpg","text":"TemporaryFile(/tmp/multipartBody6254603599730603745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843064307,"filename":"image_30102025_18_18_39_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724622","file1":"1395724619","file0":"1395724616","file4":"1395724628","file5":"1395724632","file3":"1395724625"},"map_files_photo_id_array":[{"photo_id":"1395724632","filename":"file5"},{"photo_id":"1395724622","filename":"file2"},{"photo_id":"1395724628","filename":"file4"},{"photo_id":"1395724619","filename":"file1"},{"photo_id":"1395724616","filename":"file0"},{"photo_id":"1395724625","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724625":["hashtag1","hashtag2"]},{"1395724619":["hashtag1","hashtag2"]},{"1395724628":["hashtag1","hashtag2"]},{"1395724622":["hashtag1","hashtag2"]},{"1395724616":["hashtag1","hashtag2"]},{"1395724632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724625, 1395724619, 1395724628, 1395724622, 1395724616, 1395724632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.460408449172974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:24:02.759752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/37/image_20112025_19_37_48_3573.jpg', '/home/pi/Desktop/images/20112025/19/37/image_20112025_19_37_51_2714.jpg', '/home/pi/Desktop/images/20112025/19/37/image_20112025_19_37_54_2732.jpg', '/home/pi/Desktop/images/20112025/19/37/image_20112025_19_38_00_2994.jpg', '/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_03_2552.jpg', '/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_06_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/37/image_20112025_19_37_48_3573.jpg
/home/pi/Desktop/images/20112025/19/37/image_20112025_19_37_51_2714.jpg
/home/pi/Desktop/images/20112025/19/37/image_20112025_19_37_54_2732.jpg
/home/pi/Desktop/images/20112025/19/37/image_20112025_19_38_00_2994.jpg
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_03_2552.jpg
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_06_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724643","1395724642","1395724645","1395724650","1395724644","1395724647"],"photo_ids_order":["1395724642","1395724643","1395724644","1395724645","1395724647","1395724650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38c53901f17d924530389d7583cf1c13.jpg","text":"TemporaryFile(/tmp/multipartBody6835851604243954691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843104710,"filename":"image_20112025_19_37_51_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/58fd5d5406cbcacf5107c0b0157ec3d9.jpg","text":"TemporaryFile(/tmp/multipartBody7633678303607359944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843104710,"filename":"image_20112025_19_37_48_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20c12d698ff2fc3ba4b641fd0f99df1b.jpg","text":"TemporaryFile(/tmp/multipartBody2503409859934084469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843104710,"filename":"image_20112025_19_38_00_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e293956ab54e72d8d5695d1cfe0c78a1.jpg","text":"TemporaryFile(/tmp/multipartBody1753834077712886747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843104710,"filename":"image_20112025_19_38_06_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d83008e8e65008e21d5751695a91871.jpg","text":"TemporaryFile(/tmp/multipartBody135730157948735709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843104710,"filename":"image_20112025_19_37_54_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0231c48e9faa6d47dd7612caeb074e5.jpg","text":"TemporaryFile(/tmp/multipartBody4361221201030331794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843104710,"filename":"image_20112025_19_38_03_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724644","file1":"1395724643","file0":"1395724642","file4":"1395724647","file5":"1395724650","file3":"1395724645"},"map_files_photo_id_array":[{"photo_id":"1395724650","filename":"file5"},{"photo_id":"1395724644","filename":"file2"},{"photo_id":"1395724647","filename":"file4"},{"photo_id":"1395724643","filename":"file1"},{"photo_id":"1395724642","filename":"file0"},{"photo_id":"1395724645","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724643":["hashtag1","hashtag2"]},{"1395724642":["hashtag1","hashtag2"]},{"1395724645":["hashtag1","hashtag2"]},{"1395724650":["hashtag1","hashtag2"]},{"1395724644":["hashtag1","hashtag2"]},{"1395724647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724643, 1395724642, 1395724645, 1395724650, 1395724644, 1395724647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.482898473739624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:24:42.091093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_42_3687.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_48_2652.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_51_2730.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_54_3768.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_57_2819.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_19_00_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_42_3687.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_48_2652.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_51_2730.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_54_3768.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_57_2819.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_19_00_2807.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.6842031478881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:25:03.123476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_15_2795.jpg', '/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_24_2722.jpg', '/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_30_2846.jpg', '/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_33_2739.jpg', '/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_42_3650.jpg', '/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_48_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_15_2795.jpg
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_24_2722.jpg
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_30_2846.jpg
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_33_2739.jpg
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_42_3650.jpg
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_48_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724664","1395724672","1395724666","1395724669","1395724665","1395724667"],"photo_ids_order":["1395724664","1395724665","1395724666","1395724667","1395724669","1395724672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2aeda0a24a5a6da5160daceb410e46f0.jpg","text":"TemporaryFile(/tmp/multipartBody1018365042534181341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843165156,"filename":"image_20112025_19_38_15_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e803f4d32df927063fdf6d9f49c413e3.jpg","text":"TemporaryFile(/tmp/multipartBody7091673254345154927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843165156,"filename":"image_20112025_19_38_48_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b865bb1c95008a8d821654e83fa30aac.jpg","text":"TemporaryFile(/tmp/multipartBody4666885830981705874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843165156,"filename":"image_20112025_19_38_30_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11aa8dc5c8a3eeba37ac45bcdc61d2a1.jpg","text":"TemporaryFile(/tmp/multipartBody8963593009841076424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843165156,"filename":"image_20112025_19_38_42_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef1d3b82a53041651eb9e0b9167bc0b5.jpg","text":"TemporaryFile(/tmp/multipartBody5646929925143475394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843165156,"filename":"image_20112025_19_38_24_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa54cd5ae26e8cec75b9b3deb15385c9.jpg","text":"TemporaryFile(/tmp/multipartBody4228365579388856946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843165156,"filename":"image_20112025_19_38_33_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724666","file1":"1395724665","file0":"1395724664","file4":"1395724669","file5":"1395724672","file3":"1395724667"},"map_files_photo_id_array":[{"photo_id":"1395724672","filename":"file5"},{"photo_id":"1395724666","filename":"file2"},{"photo_id":"1395724669","filename":"file4"},{"photo_id":"1395724665","filename":"file1"},{"photo_id":"1395724664","filename":"file0"},{"photo_id":"1395724667","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724664":["hashtag1","hashtag2"]},{"1395724672":["hashtag1","hashtag2"]},{"1395724666":["hashtag1","hashtag2"]},{"1395724669":["hashtag1","hashtag2"]},{"1395724665":["hashtag1","hashtag2"]},{"1395724667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724664, 1395724672, 1395724666, 1395724669, 1395724665, 1395724667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.015676736831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:25:42.297572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/22/image_22112025_21_22_35_2820.jpg', '/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_08_2696.jpg', '/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_14_3591.jpg', '/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_23_3616.jpg', '/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_41_1604.jpg', '/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_43_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/22/image_22112025_21_22_35_2820.jpg
/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_08_2696.jpg
/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_14_3591.jpg
/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_23_3616.jpg
/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_41_1604.jpg
/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_43_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724682","1395724684","1395724687","1395724686","1395724685","1395724688"],"photo_ids_order":["1395724682","1395724684","1395724685","1395724686","1395724687","1395724688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/375a66194e3a8f03af22d6006bbad83f.jpg","text":"TemporaryFile(/tmp/multipartBody7985130376731474014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843203046,"filename":"image_22112025_21_22_35_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e80a6c6d7034951ed3fee64b91a2699.jpg","text":"TemporaryFile(/tmp/multipartBody29538772659244879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843203046,"filename":"image_22112025_21_25_08_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc35b5d46bc46baa577c4364d207b5ab.jpg","text":"TemporaryFile(/tmp/multipartBody3126873634403330557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843203046,"filename":"image_22112025_21_25_41_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3c002bda2ad5dca5de5949b8bf4b9f4.jpg","text":"TemporaryFile(/tmp/multipartBody2834987115710598689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843203046,"filename":"image_22112025_21_25_23_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52d6cadd9e861b228cc9f0be31af65b5.jpg","text":"TemporaryFile(/tmp/multipartBody8216608057320955695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843203046,"filename":"image_22112025_21_25_14_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f78e5c6d9def820b2fc8b0d177e748a1.jpg","text":"TemporaryFile(/tmp/multipartBody5305696522458588906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843203046,"filename":"image_22112025_21_25_43_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724685","file1":"1395724684","file0":"1395724682","file4":"1395724687","file5":"1395724688","file3":"1395724686"},"map_files_photo_id_array":[{"photo_id":"1395724688","filename":"file5"},{"photo_id":"1395724685","filename":"file2"},{"photo_id":"1395724687","filename":"file4"},{"photo_id":"1395724684","filename":"file1"},{"photo_id":"1395724682","filename":"file0"},{"photo_id":"1395724686","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724682":["hashtag1","hashtag2"]},{"1395724684":["hashtag1","hashtag2"]},{"1395724687":["hashtag1","hashtag2"]},{"1395724686":["hashtag1","hashtag2"]},{"1395724685":["hashtag1","hashtag2"]},{"1395724688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724682, 1395724684, 1395724687, 1395724686, 1395724685, 1395724688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68782639503479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:26:23.030468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_47_3634.jpg', '/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_50_2663.jpg', '/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_52_2552.jpg', '/home/pi/Desktop/images/22112025/21/26/image_22112025_21_26_14_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_47_3634.jpg
/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_50_2663.jpg
/home/pi/Desktop/images/22112025/21/25/image_22112025_21_25_52_2552.jpg
/home/pi/Desktop/images/22112025/21/26/image_22112025_21_26_14_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724695","1395724698","1395724692","1395724704"],"photo_ids_order":["1395724692","1395724695","1395724698","1395724704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e443e254c2ec3b5cdb95d9cfcdac5b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1722446910186083531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843243794,"filename":"image_22112025_21_25_50_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d783bf05e2c466e9cde3c2e435354bb.jpg","text":"TemporaryFile(/tmp/multipartBody6366967887790651680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843243794,"filename":"image_22112025_21_25_52_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fc5d399772eaf55bfe7a5d3dbbbea992.jpg","text":"TemporaryFile(/tmp/multipartBody7580164379266831007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843243794,"filename":"image_22112025_21_25_47_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbdc5d445250849ce54a89a009be3db5.jpg","text":"TemporaryFile(/tmp/multipartBody7265760574127613645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843243794,"filename":"image_22112025_21_26_14_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724698","file1":"1395724695","file0":"1395724692","file3":"1395724704"},"map_files_photo_id_array":[{"photo_id":"1395724698","filename":"file2"},{"photo_id":"1395724695","filename":"file1"},{"photo_id":"1395724692","filename":"file0"},{"photo_id":"1395724704","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724695":["hashtag1","hashtag2"]},{"1395724698":["hashtag1","hashtag2"]},{"1395724692":["hashtag1","hashtag2"]},{"1395724704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724695, 1395724698, 1395724692, 1395724704)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 42.49587154388428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:27:23.253122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_42_3687.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_48_2652.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_51_2730.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_54_3768.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_57_2819.jpg', '/home/pi/Desktop/images/30102025/18/18/image_30102025_18_19_00_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_42_3687.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_48_2652.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_51_2730.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_54_3768.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_18_57_2819.jpg
/home/pi/Desktop/images/30102025/18/18/image_30102025_18_19_00_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724721","1395724724","1395724718","1395724727","1395724712","1395724715"],"photo_ids_order":["1395724712","1395724715","1395724718","1395724721","1395724724","1395724727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7453789e296fafa4212ebfa1f3c9f9a7.jpg","text":"TemporaryFile(/tmp/multipartBody3033205576522684569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843305466,"filename":"image_30102025_18_18_54_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2877cac1742a72f753ebeb5b44634a41.jpg","text":"TemporaryFile(/tmp/multipartBody965958242802596176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843305466,"filename":"image_30102025_18_18_57_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc7e665570eff6fa6c0f43a57fa211c1.jpg","text":"TemporaryFile(/tmp/multipartBody8961338674221313872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843305466,"filename":"image_30102025_18_18_51_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d44b6528f603cbb3254297c20442a025.jpg","text":"TemporaryFile(/tmp/multipartBody3954961430462817607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843305466,"filename":"image_30102025_18_19_00_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/51e9ca437a3242fbdebdf13be66fd809.jpg","text":"TemporaryFile(/tmp/multipartBody1715498916661479005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843305466,"filename":"image_30102025_18_18_42_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b0bfb4d7b5ca97962f9bfbde185cc85.jpg","text":"TemporaryFile(/tmp/multipartBody7053649050692652857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843305466,"filename":"image_30102025_18_18_48_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724718","file1":"1395724715","file0":"1395724712","file4":"1395724724","file5":"1395724727","file3":"1395724721"},"map_files_photo_id_array":[{"photo_id":"1395724727","filename":"file5"},{"photo_id":"1395724718","filename":"file2"},{"photo_id":"1395724724","filename":"file4"},{"photo_id":"1395724715","filename":"file1"},{"photo_id":"1395724712","filename":"file0"},{"photo_id":"1395724721","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724721":["hashtag1","hashtag2"]},{"1395724724":["hashtag1","hashtag2"]},{"1395724718":["hashtag1","hashtag2"]},{"1395724727":["hashtag1","hashtag2"]},{"1395724712":["hashtag1","hashtag2"]},{"1395724715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724721, 1395724724, 1395724718, 1395724727, 1395724712, 1395724715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08614110946655 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:28:30.030517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/26/image_22112025_21_26_52_2794.jpg', '/home/pi/Desktop/images/22112025/21/27/image_22112025_21_27_41_3327.jpg', '/home/pi/Desktop/images/22112025/21/27/image_22112025_21_27_57_2469.jpg', '/home/pi/Desktop/images/22112025/21/28/image_22112025_21_28_03_4753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/26/image_22112025_21_26_52_2794.jpg
/home/pi/Desktop/images/22112025/21/27/image_22112025_21_27_41_3327.jpg
/home/pi/Desktop/images/22112025/21/27/image_22112025_21_27_57_2469.jpg
/home/pi/Desktop/images/22112025/21/28/image_22112025_21_28_03_4753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724745","1395724733","1395724741","1395724737"],"photo_ids_order":["1395724733","1395724737","1395724741","1395724745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c575c54a13c143a68ea9d3c341767130.jpg","text":"TemporaryFile(/tmp/multipartBody7544366516057340110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843370636,"filename":"image_22112025_21_28_03_4753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48ec6ec97d9bf6afdf99911cc98696e9.jpg","text":"TemporaryFile(/tmp/multipartBody3288907064438692599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843370636,"filename":"image_22112025_21_26_52_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bfa5e564f49f3aa7e296c7f148738bd.jpg","text":"TemporaryFile(/tmp/multipartBody5199622705267641193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843370636,"filename":"image_22112025_21_27_57_2469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dcf150ff534d94216a71c7c206dad92.jpg","text":"TemporaryFile(/tmp/multipartBody4933231755905714539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843370636,"filename":"image_22112025_21_27_41_3327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724741","file1":"1395724737","file0":"1395724733","file3":"1395724745"},"map_files_photo_id_array":[{"photo_id":"1395724741","filename":"file2"},{"photo_id":"1395724737","filename":"file1"},{"photo_id":"1395724733","filename":"file0"},{"photo_id":"1395724745","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724745":["hashtag1","hashtag2"]},{"1395724733":["hashtag1","hashtag2"]},{"1395724741":["hashtag1","hashtag2"]},{"1395724737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724745, 1395724733, 1395724741, 1395724737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.835276126861572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:29:03.086334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_54_3717.jpg', '/home/pi/Desktop/images/20112025/19/38/image_20112025_19_39_00_2871.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_03_2688.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_06_2932.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_24_2815.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_27_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_38_54_3717.jpg
/home/pi/Desktop/images/20112025/19/38/image_20112025_19_39_00_2871.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_03_2688.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_06_2932.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_24_2815.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_27_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724760","1395724754","1395724750","1395724753","1395724756","1395724752"],"photo_ids_order":["1395724750","1395724752","1395724753","1395724754","1395724756","1395724760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d2537213191963444f2c715b5c021b35.jpg","text":"TemporaryFile(/tmp/multipartBody4627377126695405370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843405515,"filename":"image_20112025_19_39_27_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd9da2eb658a992d69a7085def0490d0.jpg","text":"TemporaryFile(/tmp/multipartBody8282693660766854333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843405515,"filename":"image_20112025_19_39_06_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c48099488f9f749d12e6df590453d94a.jpg","text":"TemporaryFile(/tmp/multipartBody7915374908819534604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843405515,"filename":"image_20112025_19_38_54_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aed139102cea686de75d6571d1eb9d44.jpg","text":"TemporaryFile(/tmp/multipartBody5123883135995062479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843405515,"filename":"image_20112025_19_39_03_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4441bb5808b563f161902f14cc69c53f.jpg","text":"TemporaryFile(/tmp/multipartBody4884304984603377164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843405515,"filename":"image_20112025_19_39_24_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbc34d84cc49857ac22b67e21208348d.jpg","text":"TemporaryFile(/tmp/multipartBody6324480554569300747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843405515,"filename":"image_20112025_19_39_00_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724753","file1":"1395724752","file0":"1395724750","file4":"1395724756","file5":"1395724760","file3":"1395724754"},"map_files_photo_id_array":[{"photo_id":"1395724760","filename":"file5"},{"photo_id":"1395724753","filename":"file2"},{"photo_id":"1395724756","filename":"file4"},{"photo_id":"1395724752","filename":"file1"},{"photo_id":"1395724750","filename":"file0"},{"photo_id":"1395724754","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724760":["hashtag1","hashtag2"]},{"1395724754":["hashtag1","hashtag2"]},{"1395724750":["hashtag1","hashtag2"]},{"1395724753":["hashtag1","hashtag2"]},{"1395724756":["hashtag1","hashtag2"]},{"1395724752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724760, 1395724754, 1395724750, 1395724753, 1395724756, 1395724752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41433000564575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:29:42.096344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_12_2695.jpg', '/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_15_3571.jpg', '/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_21_2660.jpg', '/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_27_2643.jpg', '/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_30_3536.jpg', '/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_57_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_12_2695.jpg
/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_15_3571.jpg
/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_21_2660.jpg
/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_27_2643.jpg
/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_30_3536.jpg
/home/pi/Desktop/images/30102025/18/19/image_30102025_18_19_57_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724775","1395724774","1395724788","1395724773","1395724785","1395724770"],"photo_ids_order":["1395724770","1395724773","1395724774","1395724775","1395724785","1395724788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7e645c861f8be6d1d96de49f505ea40.jpg","text":"TemporaryFile(/tmp/multipartBody6495975969061117808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843444290,"filename":"image_30102025_18_19_27_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa352c9674c413fefb53a6706b586e02.jpg","text":"TemporaryFile(/tmp/multipartBody6251740824416058326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843444290,"filename":"image_30102025_18_19_21_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61203b71a54f93d46ed11bf4dc2d87bc.jpg","text":"TemporaryFile(/tmp/multipartBody9156806126167583217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843444290,"filename":"image_30102025_18_19_57_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c830cdd073291b5608b96abc3f55237.jpg","text":"TemporaryFile(/tmp/multipartBody5122810186249817232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843444290,"filename":"image_30102025_18_19_15_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4e63d38bd54275f8201c78d5bb72ad2.jpg","text":"TemporaryFile(/tmp/multipartBody7557995624155690172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843444290,"filename":"image_30102025_18_19_30_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb009a85ecaff6b61a376df4e1af4648.jpg","text":"TemporaryFile(/tmp/multipartBody6065670972576837156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843444290,"filename":"image_30102025_18_19_12_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724774","file1":"1395724773","file0":"1395724770","file4":"1395724785","file5":"1395724788","file3":"1395724775"},"map_files_photo_id_array":[{"photo_id":"1395724788","filename":"file5"},{"photo_id":"1395724774","filename":"file2"},{"photo_id":"1395724785","filename":"file4"},{"photo_id":"1395724773","filename":"file1"},{"photo_id":"1395724770","filename":"file0"},{"photo_id":"1395724775","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395724775":["hashtag1","hashtag2"]},{"1395724774":["hashtag1","hashtag2"]},{"1395724788":["hashtag1","hashtag2"]},{"1395724773":["hashtag1","hashtag2"]},{"1395724785":["hashtag1","hashtag2"]},{"1395724770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395724775, 1395724774, 1395724788, 1395724773, 1395724785, 1395724770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.74879145622253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:31:03.286733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/28/image_22112025_21_29_00_11602.jpg', '/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_01_1591.jpg', '/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_03_1648.jpg', '/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_06_3467.jpg', '/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_10_1621.jpg', '/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_13_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/28/image_22112025_21_29_00_11602.jpg
/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_01_1591.jpg
/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_03_1648.jpg
/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_06_3467.jpg
/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_10_1621.jpg
/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_13_1693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724829","1395724823","1395724826","1395724814","1395724822","1395724824"],"photo_ids_order":["1395724814","1395724822","1395724823","1395724824","1395724826","1395724829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f53dbd01dda19cea02500187db15262d.jpg","text":"TemporaryFile(/tmp/multipartBody7826898148503635455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843524156,"filename":"image_22112025_21_29_13_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2132c33dd96ebc82d4e9101723591704.jpg","text":"TemporaryFile(/tmp/multipartBody2597266540879166006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843524156,"filename":"image_22112025_21_29_03_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b66b7ec1d7bcc66f1f74dd2cad27be9f.jpg","text":"TemporaryFile(/tmp/multipartBody6109178415833115274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843524156,"filename":"image_22112025_21_29_10_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71e108e41f296e2866d6dbba3566d7aa.jpg","text":"TemporaryFile(/tmp/multipartBody6621636600447886189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843524156,"filename":"image_22112025_21_29_00_11602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d83d24e039b348d03bac21677f21e795.jpg","text":"TemporaryFile(/tmp/multipartBody641777293135836666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843524156,"filename":"image_22112025_21_29_01_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/512d903210c61157d1e11399f33220db.jpg","text":"TemporaryFile(/tmp/multipartBody8561180211778044538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843524156,"filename":"image_22112025_21_29_06_3467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724823","file1":"1395724822","file0":"1395724814","file4":"1395724826","file5":"1395724829","file3":"1395724824"},"map_files_photo_id_array":[{"photo_id":"1395724829","filename":"file5"},{"photo_id":"1395724823","filename":"file2"},{"photo_id":"1395724826","filename":"file4"},{"photo_id":"1395724822","filename":"file1"},{"photo_id":"1395724814","filename":"file0"},{"photo_id":"1395724824","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724829":["hashtag1","hashtag2"]},{"1395724823":["hashtag1","hashtag2"]},{"1395724826":["hashtag1","hashtag2"]},{"1395724814":["hashtag1","hashtag2"]},{"1395724822":["hashtag1","hashtag2"]},{"1395724824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724829, 1395724823, 1395724826, 1395724814, 1395724822, 1395724824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.185174226760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:31:42.603147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_18_1665.jpg', '/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_45_2284.jpg', '/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_46_1623.jpg', '/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_07_3011.jpg', '/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_11_3640.jpg', '/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_29_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_18_1665.jpg
/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_45_2284.jpg
/home/pi/Desktop/images/22112025/21/29/image_22112025_21_29_46_1623.jpg
/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_07_3011.jpg
/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_11_3640.jpg
/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_29_3697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724844","1395724846","1395724843","1395724842","1395724845","1395724839"],"photo_ids_order":["1395724839","1395724842","1395724843","1395724844","1395724845","1395724846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e023a3a49784518ec2fcb4ecd0f66c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2416384461741662072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843563390,"filename":"image_22112025_21_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1baefbbd30572fff634ef2637580e561.jpg","text":"TemporaryFile(/tmp/multipartBody6194481187865264728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843563390,"filename":"image_22112025_21_30_29_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/454397a6086e606967a05e6fe269dc48.jpg","text":"TemporaryFile(/tmp/multipartBody7419711978957493232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843563390,"filename":"image_22112025_21_29_46_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/90e997065390b73271ed1a289218a45d.jpg","text":"TemporaryFile(/tmp/multipartBody1557532133721412175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843563390,"filename":"image_22112025_21_29_45_2284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9148075cfdd211576d0c874507d5e9e1.jpg","text":"TemporaryFile(/tmp/multipartBody2051770597722910594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843563390,"filename":"image_22112025_21_30_11_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17d1642887ce6164adbd0bdb1315e636.jpg","text":"TemporaryFile(/tmp/multipartBody1249533086746196876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843563390,"filename":"image_22112025_21_29_18_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724843","file1":"1395724842","file0":"1395724839","file4":"1395724845","file5":"1395724846","file3":"1395724844"},"map_files_photo_id_array":[{"photo_id":"1395724846","filename":"file5"},{"photo_id":"1395724843","filename":"file2"},{"photo_id":"1395724845","filename":"file4"},{"photo_id":"1395724842","filename":"file1"},{"photo_id":"1395724839","filename":"file0"},{"photo_id":"1395724844","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724844":["hashtag1","hashtag2"]},{"1395724846":["hashtag1","hashtag2"]},{"1395724843":["hashtag1","hashtag2"]},{"1395724842":["hashtag1","hashtag2"]},{"1395724845":["hashtag1","hashtag2"]},{"1395724839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724844, 1395724846, 1395724843, 1395724842, 1395724845, 1395724839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35204577445984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:32:21.877462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_34_2522.jpg', '/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_43_2599.jpg', '/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_47_3630.jpg', '/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_01_2500.jpg', '/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_08_2919.jpg', '/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_16_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_34_2522.jpg
/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_43_2599.jpg
/home/pi/Desktop/images/22112025/21/30/image_22112025_21_30_47_3630.jpg
/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_01_2500.jpg
/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_08_2919.jpg
/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_16_2777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724853","1395724862","1395724856","1395724859","1395724850","1395724865"],"photo_ids_order":["1395724850","1395724853","1395724856","1395724859","1395724862","1395724865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1fd892b4c9e381b7701045f071add168.jpg","text":"TemporaryFile(/tmp/multipartBody3885590820616405496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843604091,"filename":"image_22112025_21_30_43_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/943ae2968b11682fbcc775647d1c4fbf.jpg","text":"TemporaryFile(/tmp/multipartBody1649510033636607560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843604091,"filename":"image_22112025_21_31_08_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/01c49e9e5d665ba15081c573d37f5e17.jpg","text":"TemporaryFile(/tmp/multipartBody4777692641381273842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843604091,"filename":"image_22112025_21_30_47_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cf757e43558593fbf145c091c840a8b9.jpg","text":"TemporaryFile(/tmp/multipartBody8577889469506601770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843604091,"filename":"image_22112025_21_31_01_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d947af5529de38d236db1a14adb904b.jpg","text":"TemporaryFile(/tmp/multipartBody6441334389285067323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843604091,"filename":"image_22112025_21_30_34_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/144efe6935e74b34fbfbda1b84e7bf0b.jpg","text":"TemporaryFile(/tmp/multipartBody2400038636712201146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843604091,"filename":"image_22112025_21_31_16_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724856","file1":"1395724853","file0":"1395724850","file4":"1395724862","file5":"1395724865","file3":"1395724859"},"map_files_photo_id_array":[{"photo_id":"1395724865","filename":"file5"},{"photo_id":"1395724856","filename":"file2"},{"photo_id":"1395724862","filename":"file4"},{"photo_id":"1395724853","filename":"file1"},{"photo_id":"1395724850","filename":"file0"},{"photo_id":"1395724859","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724853":["hashtag1","hashtag2"]},{"1395724862":["hashtag1","hashtag2"]},{"1395724856":["hashtag1","hashtag2"]},{"1395724859":["hashtag1","hashtag2"]},{"1395724850":["hashtag1","hashtag2"]},{"1395724865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724853, 1395724862, 1395724856, 1395724859, 1395724850, 1395724865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.968093156814575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:33:02.881656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_25_2671.jpg', '/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_44_2700.jpg', '/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_46_2817.jpg', '/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_55_2793.jpg', '/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_58_2644.jpg', '/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_02_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_25_2671.jpg
/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_44_2700.jpg
/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_46_2817.jpg
/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_55_2793.jpg
/home/pi/Desktop/images/22112025/21/31/image_22112025_21_31_58_2644.jpg
/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_02_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724874","1395724868","1395724867","1395724869","1395724866","1395724871"],"photo_ids_order":["1395724866","1395724867","1395724868","1395724869","1395724871","1395724874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42cc94c84f06e8c3f10c0af7a3d7cd6e.jpg","text":"TemporaryFile(/tmp/multipartBody1360746242314520604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843643705,"filename":"image_22112025_21_32_02_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/029c4d0db965c96591daabe62666528b.jpg","text":"TemporaryFile(/tmp/multipartBody1436670094711611163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843643705,"filename":"image_22112025_21_31_46_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf81d85de8bed676fe965c0c9cd32036.jpg","text":"TemporaryFile(/tmp/multipartBody7964616784151810298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843643705,"filename":"image_22112025_21_31_44_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83461c534fd4b2587641841ccdd1f336.jpg","text":"TemporaryFile(/tmp/multipartBody5072139821407065714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843643705,"filename":"image_22112025_21_31_55_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fef12177924968ba4da169934dee3475.jpg","text":"TemporaryFile(/tmp/multipartBody3722567394145655362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843643705,"filename":"image_22112025_21_31_25_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f87c77e05e18adfdb8ab7f6f91320b58.jpg","text":"TemporaryFile(/tmp/multipartBody961170128922215090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843643705,"filename":"image_22112025_21_31_58_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724868","file1":"1395724867","file0":"1395724866","file4":"1395724871","file5":"1395724874","file3":"1395724869"},"map_files_photo_id_array":[{"photo_id":"1395724874","filename":"file5"},{"photo_id":"1395724868","filename":"file2"},{"photo_id":"1395724871","filename":"file4"},{"photo_id":"1395724867","filename":"file1"},{"photo_id":"1395724866","filename":"file0"},{"photo_id":"1395724869","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724874":["hashtag1","hashtag2"]},{"1395724868":["hashtag1","hashtag2"]},{"1395724867":["hashtag1","hashtag2"]},{"1395724869":["hashtag1","hashtag2"]},{"1395724866":["hashtag1","hashtag2"]},{"1395724871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724874, 1395724868, 1395724867, 1395724869, 1395724866, 1395724871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48049783706665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:33:42.137136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_04_2735.jpg', '/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_22_2684.jpg', '/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_32_2682.jpg', '/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_34_2680.jpg', '/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_43_2698.jpg', '/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_13_3009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_04_2735.jpg
/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_22_2684.jpg
/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_32_2682.jpg
/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_34_2680.jpg
/home/pi/Desktop/images/22112025/21/32/image_22112025_21_32_43_2698.jpg
/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_13_3009.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724889","1395724888","1395724891","1395724890","1395724887","1395724883"],"photo_ids_order":["1395724883","1395724887","1395724888","1395724889","1395724890","1395724891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe5205225918de4226eab70eb7af9300.jpg","text":"TemporaryFile(/tmp/multipartBody3738219208845286404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843682869,"filename":"image_22112025_21_32_34_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd141aec48d0f25de3c3bada1bc1926f.jpg","text":"TemporaryFile(/tmp/multipartBody995746822651009738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843682869,"filename":"image_22112025_21_32_32_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/94251c0f2c81a5d9de0239e5d7cfafe7.jpg","text":"TemporaryFile(/tmp/multipartBody4209774752996760616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843682869,"filename":"image_22112025_21_33_13_3009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24b21fe8f77a150675911abbbbc766a6.jpg","text":"TemporaryFile(/tmp/multipartBody2115765778125547287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843682869,"filename":"image_22112025_21_32_43_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f478f2e32f8655969a8ace0d81c185e.jpg","text":"TemporaryFile(/tmp/multipartBody5206862522299129470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843682869,"filename":"image_22112025_21_32_22_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1aa67d0a5b1f51c9c02dca9128f13cdc.jpg","text":"TemporaryFile(/tmp/multipartBody803224287856617724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843682869,"filename":"image_22112025_21_32_04_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724888","file1":"1395724887","file0":"1395724883","file4":"1395724890","file5":"1395724891","file3":"1395724889"},"map_files_photo_id_array":[{"photo_id":"1395724891","filename":"file5"},{"photo_id":"1395724888","filename":"file2"},{"photo_id":"1395724890","filename":"file4"},{"photo_id":"1395724887","filename":"file1"},{"photo_id":"1395724883","filename":"file0"},{"photo_id":"1395724889","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724889":["hashtag1","hashtag2"]},{"1395724888":["hashtag1","hashtag2"]},{"1395724891":["hashtag1","hashtag2"]},{"1395724890":["hashtag1","hashtag2"]},{"1395724887":["hashtag1","hashtag2"]},{"1395724883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724889, 1395724888, 1395724891, 1395724890, 1395724887, 1395724883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11009359359741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:34:22.482661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_17_3652.jpg', '/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_19_2568.jpg', '/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_26_3844.jpg', '/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_37_2696.jpg', '/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_56_3590.jpg', '/home/pi/Desktop/images/22112025/21/34/image_22112025_21_34_22_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_17_3652.jpg
/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_19_2568.jpg
/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_26_3844.jpg
/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_37_2696.jpg
/home/pi/Desktop/images/22112025/21/33/image_22112025_21_33_56_3590.jpg
/home/pi/Desktop/images/22112025/21/34/image_22112025_21_34_22_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724895","1395724901","1395724913","1395724905","1395724908","1395724898"],"photo_ids_order":["1395724895","1395724898","1395724901","1395724905","1395724908","1395724913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5573f7dbb8e173b859895a9be263ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody2835817023842939434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843723261,"filename":"image_22112025_21_33_17_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a0f741cb0478d746c1b8b795a0f5d2d.jpg","text":"TemporaryFile(/tmp/multipartBody1613409408209250411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843723261,"filename":"image_22112025_21_33_26_3844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0fc3a261d6b20643e18fda0513d7ebb4.jpg","text":"TemporaryFile(/tmp/multipartBody5370014825136600031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843723261,"filename":"image_22112025_21_34_22_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30484f0a15c2976419e89af457a243dc.jpg","text":"TemporaryFile(/tmp/multipartBody7952645592915320707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843723261,"filename":"image_22112025_21_33_37_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f33ea12fc708008f20a2d934ec56a8da.jpg","text":"TemporaryFile(/tmp/multipartBody4120344070511429146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843723261,"filename":"image_22112025_21_33_56_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8de12435429da83e4efcea9b285aa3d4.jpg","text":"TemporaryFile(/tmp/multipartBody5896640255604596680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843723261,"filename":"image_22112025_21_33_19_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724901","file1":"1395724898","file0":"1395724895","file4":"1395724908","file5":"1395724913","file3":"1395724905"},"map_files_photo_id_array":[{"photo_id":"1395724913","filename":"file5"},{"photo_id":"1395724901","filename":"file2"},{"photo_id":"1395724908","filename":"file4"},{"photo_id":"1395724898","filename":"file1"},{"photo_id":"1395724895","filename":"file0"},{"photo_id":"1395724905","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724895":["hashtag1","hashtag2"]},{"1395724901":["hashtag1","hashtag2"]},{"1395724913":["hashtag1","hashtag2"]},{"1395724905":["hashtag1","hashtag2"]},{"1395724908":["hashtag1","hashtag2"]},{"1395724898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724895, 1395724901, 1395724913, 1395724905, 1395724908, 1395724898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60165047645569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:35:03.320040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/34/image_22112025_21_34_40_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/34/image_22112025_21_34_40_2795.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724932"],"photo_id":"1395724932","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9e15399eb67501aaa4770e05a3a2626b.jpg","text":"TemporaryFile(/tmp/multipartBody1521255872212710230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843763854,"filename":"image_22112025_21_34_40_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395724932"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395724932"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.095642805099487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:35:22.581343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/34/image_22112025_21_34_53_3639.jpg', '/home/pi/Desktop/images/22112025/21/35/image_22112025_21_35_01_2754.jpg', '/home/pi/Desktop/images/22112025/21/35/image_22112025_21_35_16_2847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/34/image_22112025_21_34_53_3639.jpg
/home/pi/Desktop/images/22112025/21/35/image_22112025_21_35_01_2754.jpg
/home/pi/Desktop/images/22112025/21/35/image_22112025_21_35_16_2847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724941","1395724935","1395724938"],"photo_ids_order":["1395724935","1395724938","1395724941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28743775a7146bcd095693d77ccada70.jpg","text":"TemporaryFile(/tmp/multipartBody8311374022549346626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843783198,"filename":"image_22112025_21_35_16_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44b091390879e3e6b73a37cc90dc11d8.jpg","text":"TemporaryFile(/tmp/multipartBody7855139861350720213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843783198,"filename":"image_22112025_21_34_53_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92d5a7666e1501e41b32a1ec517c9b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4886783824131503409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843783198,"filename":"image_22112025_21_35_01_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724941","file1":"1395724938","file0":"1395724935"},"map_files_photo_id_array":[{"photo_id":"1395724941","filename":"file2"},{"photo_id":"1395724938","filename":"file1"},{"photo_id":"1395724935","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724941":["hashtag1","hashtag2"]},{"1395724935":["hashtag1","hashtag2"]},{"1395724938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724941, 1395724935, 1395724938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.77766990661621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:36:03.368393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_31_3717.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_33_1714.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_36_2884.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_41_2708.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_48_2629.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_50_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_31_3717.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_33_1714.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_36_2884.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_41_2708.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_48_2629.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_50_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724955","1395724957","1395724953","1395724962","1395724956","1395724959"],"photo_ids_order":["1395724953","1395724955","1395724956","1395724957","1395724959","1395724962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/767ebb38ecc44c2ecef652600c1ad97f.jpg","text":"TemporaryFile(/tmp/multipartBody283265254811825929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843825510,"filename":"image_20112025_19_39_33_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2b960aead45386fd5b4e3637146057d.jpg","text":"TemporaryFile(/tmp/multipartBody5417218198686186160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843825510,"filename":"image_20112025_19_39_41_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bde7054df8a2220c78c20e1bfc9a29c2.jpg","text":"TemporaryFile(/tmp/multipartBody4877614504030654514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843825510,"filename":"image_20112025_19_39_31_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/59ea0f70e7cd7ea14e32760c03535840.jpg","text":"TemporaryFile(/tmp/multipartBody4241217052960156020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843825510,"filename":"image_20112025_19_39_50_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd0705bdae4593d8a65e05ea6c099bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7392111416043157899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843825510,"filename":"image_20112025_19_39_36_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a6a2ca5fda4fa08341d17589b291284.jpg","text":"TemporaryFile(/tmp/multipartBody2905952798079959245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843825510,"filename":"image_20112025_19_39_48_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724956","file1":"1395724955","file0":"1395724953","file4":"1395724959","file5":"1395724962","file3":"1395724957"},"map_files_photo_id_array":[{"photo_id":"1395724962","filename":"file5"},{"photo_id":"1395724956","filename":"file2"},{"photo_id":"1395724959","filename":"file4"},{"photo_id":"1395724955","filename":"file1"},{"photo_id":"1395724953","filename":"file0"},{"photo_id":"1395724957","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395724955":["hashtag1","hashtag2"]},{"1395724957":["hashtag1","hashtag2"]},{"1395724953":["hashtag1","hashtag2"]},{"1395724962":["hashtag1","hashtag2"]},{"1395724956":["hashtag1","hashtag2"]},{"1395724959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395724955, 1395724957, 1395724953, 1395724962, 1395724956, 1395724959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.871042013168335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:36:42.783706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/35/image_22112025_21_35_19_2684.jpg', '/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_35_3674.jpg', '/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_47_3857.jpg', '/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_49_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/35/image_22112025_21_35_19_2684.jpg
/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_35_3674.jpg
/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_47_3857.jpg
/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_49_2892.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.53977370262146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:37:02.635246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/35/image_22112025_21_35_19_2684.jpg', '/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_35_3674.jpg', '/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_47_3857.jpg', '/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_49_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/35/image_22112025_21_35_19_2684.jpg
/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_35_3674.jpg
/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_47_3857.jpg
/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_49_2892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724976","1395724978","1395724977","1395724979"],"photo_ids_order":["1395724976","1395724977","1395724978","1395724979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/02af9d6c14860c2a7c6d3cbb00e1a301.jpg","text":"TemporaryFile(/tmp/multipartBody6969289287932003430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843883326,"filename":"image_22112025_21_35_19_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77e3292285691be570db0ad0d3a9d64e.jpg","text":"TemporaryFile(/tmp/multipartBody5563943499923038079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843883326,"filename":"image_22112025_21_36_47_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82f5fd2e8b859d3a3027ea9f00ff0c81.jpg","text":"TemporaryFile(/tmp/multipartBody4826043423543690227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843883326,"filename":"image_22112025_21_36_35_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/606e976a343e595309a9c2a588458838.jpg","text":"TemporaryFile(/tmp/multipartBody8686828363369867004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843883326,"filename":"image_22112025_21_36_49_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395724978","file1":"1395724977","file0":"1395724976","file3":"1395724979"},"map_files_photo_id_array":[{"photo_id":"1395724978","filename":"file2"},{"photo_id":"1395724977","filename":"file1"},{"photo_id":"1395724976","filename":"file0"},{"photo_id":"1395724979","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395724976":["hashtag1","hashtag2"]},{"1395724978":["hashtag1","hashtag2"]},{"1395724977":["hashtag1","hashtag2"]},{"1395724979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395724976, 1395724978, 1395724977, 1395724979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.98839807510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:37:41.963456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_52_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/36/image_22112025_21_36_52_2706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395724991"],"photo_id":"1395724991","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acc882a10e28193f2b31569a0b775785.jpg","text":"TemporaryFile(/tmp/multipartBody2967888787358542568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843922484,"filename":"image_22112025_21_36_52_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395724991"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395724991"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.652083396911621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:38:02.705981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_54_3739.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_57_2696.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_40_00_2623.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_09_3156.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_15_3661.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_20_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_54_3739.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_57_2696.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_40_00_2623.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_09_3156.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_15_3661.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_20_2694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.023446798324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:38:22.207553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/37/image_22112025_21_37_43_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/37/image_22112025_21_37_43_2732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725001"],"photo_id":"1395725001","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f9e1fd5090e4e1e214392e92082dcdf.jpg","text":"TemporaryFile(/tmp/multipartBody1773385327891730853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843962730,"filename":"image_22112025_21_37_43_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395725001"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395725001"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.246670007705688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:38:42.207545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_01_4325.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_03_1727.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_05_2840.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_09_3548.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_12_2696.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_14_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_01_4325.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_03_1727.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_05_2840.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_09_3548.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_12_2696.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_14_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725030","1395725024","1395725026","1395725029","1395725028","1395725027"],"photo_ids_order":["1395725024","1395725026","1395725027","1395725028","1395725029","1395725030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/641d3b45a47c76972c4365054a4622c3.jpg","text":"TemporaryFile(/tmp/multipartBody4328212898850199532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843984370,"filename":"image_30102025_18_20_14_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0ccd7202aea3e33fd1ba54f1a6e8098.jpg","text":"TemporaryFile(/tmp/multipartBody9147617011614238409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843984370,"filename":"image_30102025_18_20_01_4325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e95ec665483c5342fe21489ef787391.jpg","text":"TemporaryFile(/tmp/multipartBody7206932505725669249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843984370,"filename":"image_30102025_18_20_03_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27e9d70f451b592d802088717d94c52a.jpg","text":"TemporaryFile(/tmp/multipartBody4491334427311528485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843984370,"filename":"image_30102025_18_20_12_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/80dc0f11041414e543b00fe83838df11.jpg","text":"TemporaryFile(/tmp/multipartBody81027646604955219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843984370,"filename":"image_30102025_18_20_09_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c13ab8285e78db5a5d70e7f3e489279a.jpg","text":"TemporaryFile(/tmp/multipartBody2495477184117043926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763843984370,"filename":"image_30102025_18_20_05_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725027","file1":"1395725026","file0":"1395725024","file4":"1395725029","file5":"1395725030","file3":"1395725028"},"map_files_photo_id_array":[{"photo_id":"1395725030","filename":"file5"},{"photo_id":"1395725027","filename":"file2"},{"photo_id":"1395725029","filename":"file4"},{"photo_id":"1395725026","filename":"file1"},{"photo_id":"1395725024","filename":"file0"},{"photo_id":"1395725028","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395725030":["hashtag1","hashtag2"]},{"1395725024":["hashtag1","hashtag2"]},{"1395725026":["hashtag1","hashtag2"]},{"1395725029":["hashtag1","hashtag2"]},{"1395725028":["hashtag1","hashtag2"]},{"1395725027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395725030, 1395725024, 1395725026, 1395725029, 1395725028, 1395725027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.691203117370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:39:22.432224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/38/image_22112025_21_38_55_3567.jpg', '/home/pi/Desktop/images/22112025/21/39/image_22112025_21_39_01_2674.jpg', '/home/pi/Desktop/images/22112025/21/39/image_22112025_21_39_40_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/38/image_22112025_21_38_55_3567.jpg
/home/pi/Desktop/images/22112025/21/39/image_22112025_21_39_01_2674.jpg
/home/pi/Desktop/images/22112025/21/39/image_22112025_21_39_40_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725036","1395725039","1395725033"],"photo_ids_order":["1395725033","1395725036","1395725039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ac12eb345aa0772cc184184c87c236b.jpg","text":"TemporaryFile(/tmp/multipartBody6018585517210284483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844023070,"filename":"image_22112025_21_39_01_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/316f39d2b9fc85b76864205c87a10667.jpg","text":"TemporaryFile(/tmp/multipartBody5417337581160131347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844023070,"filename":"image_22112025_21_39_40_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f179a9e24cc798b070f6d684b480e0a5.jpg","text":"TemporaryFile(/tmp/multipartBody8730405542101966019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844023070,"filename":"image_22112025_21_38_55_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725039","file1":"1395725036","file0":"1395725033"},"map_files_photo_id_array":[{"photo_id":"1395725039","filename":"file2"},{"photo_id":"1395725036","filename":"file1"},{"photo_id":"1395725033","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725036":["hashtag1","hashtag2"]},{"1395725039":["hashtag1","hashtag2"]},{"1395725033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725036, 1395725039, 1395725033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.738323211669922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:40:03.197295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:40:22.773805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_18_3634.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_21_2744.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_24_2734.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_27_3531.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_30_2596.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_32_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_18_3634.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_21_2744.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_24_2734.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_27_3531.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_30_2596.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_32_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725057","1395725062","1395725065","1395725051","1395725069","1395725054"],"photo_ids_order":["1395725051","1395725054","1395725057","1395725062","1395725065","1395725069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a3671c0d91599133fa1bf1b95d00e2d.jpg","text":"TemporaryFile(/tmp/multipartBody4570142990707516394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844084703,"filename":"image_30102025_18_20_24_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/302c0c92679874673713def28502c2a5.jpg","text":"TemporaryFile(/tmp/multipartBody8097471390402811926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844084703,"filename":"image_30102025_18_20_27_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3508390f5f011f54193783e4c93982f0.jpg","text":"TemporaryFile(/tmp/multipartBody8086682865537746771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844084703,"filename":"image_30102025_18_20_30_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2957400264d1213b87b636b4be0483ad.jpg","text":"TemporaryFile(/tmp/multipartBody6959420953253269993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844084703,"filename":"image_30102025_18_20_18_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ef4835d6e2ee44418d7ad7a99d7599f.jpg","text":"TemporaryFile(/tmp/multipartBody8715289230297599783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844084703,"filename":"image_30102025_18_20_32_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c17ed646fe97f910a6c101bde33c6539.jpg","text":"TemporaryFile(/tmp/multipartBody3483573137183386110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844084703,"filename":"image_30102025_18_20_21_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725057","file1":"1395725054","file0":"1395725051","file4":"1395725065","file5":"1395725069","file3":"1395725062"},"map_files_photo_id_array":[{"photo_id":"1395725069","filename":"file5"},{"photo_id":"1395725057","filename":"file2"},{"photo_id":"1395725065","filename":"file4"},{"photo_id":"1395725054","filename":"file1"},{"photo_id":"1395725051","filename":"file0"},{"photo_id":"1395725062","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395725057":["hashtag1","hashtag2"]},{"1395725062":["hashtag1","hashtag2"]},{"1395725065":["hashtag1","hashtag2"]},{"1395725051":["hashtag1","hashtag2"]},{"1395725069":["hashtag1","hashtag2"]},{"1395725054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395725057, 1395725062, 1395725065, 1395725051, 1395725069, 1395725054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.477853298187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:41:02.700529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_54_3739.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_57_2696.jpg', '/home/pi/Desktop/images/20112025/19/39/image_20112025_19_40_00_2623.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_09_3156.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_15_3661.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_20_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_54_3739.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_39_57_2696.jpg
/home/pi/Desktop/images/20112025/19/39/image_20112025_19_40_00_2623.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_09_3156.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_15_3661.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_20_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725102","1395725105","1395725098","1395725097","1395725096","1395725099"],"photo_ids_order":["1395725096","1395725097","1395725098","1395725099","1395725102","1395725105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e9f96cc1a289f3d4400a2b0b2ae9cdb3.jpg","text":"TemporaryFile(/tmp/multipartBody4137430756017274136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844124778,"filename":"image_20112025_19_40_15_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2293d5ca77730168167a3f2053e4230f.jpg","text":"TemporaryFile(/tmp/multipartBody598382454733243469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844124778,"filename":"image_20112025_19_40_20_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29935d043bb8b670036952c69a347b00.jpg","text":"TemporaryFile(/tmp/multipartBody7415639844839800318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844124778,"filename":"image_20112025_19_40_00_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0145351edbb4f7ca46891b1d9da3acd.jpg","text":"TemporaryFile(/tmp/multipartBody5297996182355761680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844124778,"filename":"image_20112025_19_39_57_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b3c1f2e2e9757c86462bed421eaf8f1.jpg","text":"TemporaryFile(/tmp/multipartBody8719632620094998570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844124778,"filename":"image_20112025_19_39_54_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9eb0c51a4e4e77662c9a4a8476859674.jpg","text":"TemporaryFile(/tmp/multipartBody8439924855065548178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844124778,"filename":"image_20112025_19_40_09_3156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725098","file1":"1395725097","file0":"1395725096","file4":"1395725102","file5":"1395725105","file3":"1395725099"},"map_files_photo_id_array":[{"photo_id":"1395725105","filename":"file5"},{"photo_id":"1395725098","filename":"file2"},{"photo_id":"1395725102","filename":"file4"},{"photo_id":"1395725097","filename":"file1"},{"photo_id":"1395725096","filename":"file0"},{"photo_id":"1395725099","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395725102":["hashtag1","hashtag2"]},{"1395725105":["hashtag1","hashtag2"]},{"1395725098":["hashtag1","hashtag2"]},{"1395725097":["hashtag1","hashtag2"]},{"1395725096":["hashtag1","hashtag2"]},{"1395725099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395725102, 1395725105, 1395725098, 1395725097, 1395725096, 1395725099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98714756965637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:41:41.975296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_36_3697.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_39_2713.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_42_2669.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_48_2882.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_51_2666.jpg', '/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_54_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_36_3697.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_39_2713.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_42_2669.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_48_2882.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_51_2666.jpg
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_54_3699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725120","1395725114","1395725122","1395725124","1395725118","1395725126"],"photo_ids_order":["1395725114","1395725118","1395725120","1395725122","1395725124","1395725126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fde59fe45541ac189178a2cda801a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4542298357020254612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844164145,"filename":"image_30102025_18_20_42_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34590227b623ea63c75d61c2fd0d01e4.jpg","text":"TemporaryFile(/tmp/multipartBody3108098639359167597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844164145,"filename":"image_30102025_18_20_36_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/645a109804f30d67373bd323f861ad22.jpg","text":"TemporaryFile(/tmp/multipartBody8265475853036176874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844164145,"filename":"image_30102025_18_20_48_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b753682fe962162ba3f1006fe224a23.jpg","text":"TemporaryFile(/tmp/multipartBody9026666187189127081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844164145,"filename":"image_30102025_18_20_51_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4cc3181f592ad8e23f9079494b2b747.jpg","text":"TemporaryFile(/tmp/multipartBody3133110964478501758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844164145,"filename":"image_30102025_18_20_39_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1b55d10c57f22f3cf40abe8c28c2373.jpg","text":"TemporaryFile(/tmp/multipartBody3239572186897424278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844164145,"filename":"image_30102025_18_20_54_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725120","file1":"1395725118","file0":"1395725114","file4":"1395725124","file5":"1395725126","file3":"1395725122"},"map_files_photo_id_array":[{"photo_id":"1395725126","filename":"file5"},{"photo_id":"1395725120","filename":"file2"},{"photo_id":"1395725124","filename":"file4"},{"photo_id":"1395725118","filename":"file1"},{"photo_id":"1395725114","filename":"file0"},{"photo_id":"1395725122","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395725120":["hashtag1","hashtag2"]},{"1395725114":["hashtag1","hashtag2"]},{"1395725122":["hashtag1","hashtag2"]},{"1395725124":["hashtag1","hashtag2"]},{"1395725118":["hashtag1","hashtag2"]},{"1395725126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395725120, 1395725114, 1395725122, 1395725124, 1395725118, 1395725126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43531632423401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:42:22.178511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/39/image_22112025_21_39_52_2667.jpg', '/home/pi/Desktop/images/22112025/21/42/image_22112025_21_42_25_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/39/image_22112025_21_39_52_2667.jpg
/home/pi/Desktop/images/22112025/21/42/image_22112025_21_42_25_2825.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.48674964904785156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:42:42.175844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/39/image_22112025_21_39_52_2667.jpg', '/home/pi/Desktop/images/22112025/21/42/image_22112025_21_42_25_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/39/image_22112025_21_39_52_2667.jpg
/home/pi/Desktop/images/22112025/21/42/image_22112025_21_42_25_2825.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725151","1395725153"],"photo_ids_order":["1395725151","1395725153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ec61bdd7ac38af89534e036efb80719.jpg","text":"TemporaryFile(/tmp/multipartBody5963268006685593126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844222740,"filename":"image_22112025_21_39_52_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/11fbfd1965c04b659919c6472f5d09c7.jpg","text":"TemporaryFile(/tmp/multipartBody4512805428052410526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844222740,"filename":"image_22112025_21_42_25_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395725153","file0":"1395725151"},"map_files_photo_id_array":[{"photo_id":"1395725153","filename":"file1"},{"photo_id":"1395725151","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725151":["hashtag1","hashtag2"]},{"1395725153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725151, 1395725153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.82585644721985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:43:02.829603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_24_3647.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_42_3842.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_45_2563.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_47_2797.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_50_2936.jpg', '/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_57_3792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_24_3647.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_42_3842.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_45_2563.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_47_2797.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_50_2936.jpg
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_40_57_3792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725156","1395725155","1395725158","1395725160","1395725163","1395725157"],"photo_ids_order":["1395725155","1395725156","1395725157","1395725158","1395725160","1395725163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/251f911c7eb1c9772bfa6bb96a6c073c.jpg","text":"TemporaryFile(/tmp/multipartBody104024272877592723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844245123,"filename":"image_20112025_19_40_42_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d4835f4d2b5ad8d2dbf4a7859fce66a1.jpg","text":"TemporaryFile(/tmp/multipartBody8177320931178016535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844245123,"filename":"image_20112025_19_40_24_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2c76978eb4c9867ced8042cb967c8ae.jpg","text":"TemporaryFile(/tmp/multipartBody791402116067456832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844245123,"filename":"image_20112025_19_40_47_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ef9b846dd23e3a694c1d893a7435959.jpg","text":"TemporaryFile(/tmp/multipartBody9076250982082124873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844245123,"filename":"image_20112025_19_40_50_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6f1efe1567ea087982f1ec9f919b76f.jpg","text":"TemporaryFile(/tmp/multipartBody1841214772620741474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844245123,"filename":"image_20112025_19_40_57_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a52f66c66df730714fff379f88a7698.jpg","text":"TemporaryFile(/tmp/multipartBody3199823011142211860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844245123,"filename":"image_20112025_19_40_45_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725157","file1":"1395725156","file0":"1395725155","file4":"1395725160","file5":"1395725163","file3":"1395725158"},"map_files_photo_id_array":[{"photo_id":"1395725163","filename":"file5"},{"photo_id":"1395725157","filename":"file2"},{"photo_id":"1395725160","filename":"file4"},{"photo_id":"1395725156","filename":"file1"},{"photo_id":"1395725155","filename":"file0"},{"photo_id":"1395725158","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395725156":["hashtag1","hashtag2"]},{"1395725155":["hashtag1","hashtag2"]},{"1395725158":["hashtag1","hashtag2"]},{"1395725160":["hashtag1","hashtag2"]},{"1395725163":["hashtag1","hashtag2"]},{"1395725157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395725156, 1395725155, 1395725158, 1395725160, 1395725163, 1395725157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35484170913696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:43:42.231403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/42/image_22112025_21_42_36_2717.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_09_2697.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_21_2565.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_30_2824.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_35_4462.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_36_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/42/image_22112025_21_42_36_2717.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_09_2697.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_21_2565.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_30_2824.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_35_4462.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_36_1575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.631824254989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:44:03.236989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/42/image_22112025_21_42_36_2717.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_09_2697.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_21_2565.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_30_2824.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_35_4462.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_36_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/42/image_22112025_21_42_36_2717.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_09_2697.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_21_2565.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_30_2824.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_35_4462.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_36_1575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725185","1395725182","1395725179","1395725181","1395725189","1395725183"],"photo_ids_order":["1395725179","1395725181","1395725182","1395725183","1395725185","1395725189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2b076f74f5b72f898b18e8db43bfdeda.jpg","text":"TemporaryFile(/tmp/multipartBody1732950963679903537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844304089,"filename":"image_22112025_21_43_35_4462.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00c063c1dac40d99bfe32127b01fa29c.jpg","text":"TemporaryFile(/tmp/multipartBody7838998361708669784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844304089,"filename":"image_22112025_21_43_21_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46fffd24740d5292ce1ddd73d505575a.jpg","text":"TemporaryFile(/tmp/multipartBody5561369663499984772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844304089,"filename":"image_22112025_21_42_36_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1a32c8e47b100840ac6e31455e6a676.jpg","text":"TemporaryFile(/tmp/multipartBody1360127331502630289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844304089,"filename":"image_22112025_21_43_09_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f000612a81ffe442b01b41fc7f2f7a1a.jpg","text":"TemporaryFile(/tmp/multipartBody2616317553823596165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844304089,"filename":"image_22112025_21_43_36_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79a8df977a5d6f39202342cecb89930c.jpg","text":"TemporaryFile(/tmp/multipartBody53841905658790636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844304089,"filename":"image_22112025_21_43_30_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725182","file1":"1395725181","file0":"1395725179","file4":"1395725185","file5":"1395725189","file3":"1395725183"},"map_files_photo_id_array":[{"photo_id":"1395725189","filename":"file5"},{"photo_id":"1395725182","filename":"file2"},{"photo_id":"1395725185","filename":"file4"},{"photo_id":"1395725181","filename":"file1"},{"photo_id":"1395725179","filename":"file0"},{"photo_id":"1395725183","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725185":["hashtag1","hashtag2"]},{"1395725182":["hashtag1","hashtag2"]},{"1395725179":["hashtag1","hashtag2"]},{"1395725181":["hashtag1","hashtag2"]},{"1395725189":["hashtag1","hashtag2"]},{"1395725183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725185, 1395725182, 1395725179, 1395725181, 1395725189, 1395725183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93938326835632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:44:42.427907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_39_2721.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_49_1594.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_55_3637.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_06_2701.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_13_3748.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_22_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_39_2721.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_49_1594.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_55_3637.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_06_2701.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_13_3748.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_22_3574.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6283049583435059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:45:03.438523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_39_2721.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_49_1594.jpg', '/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_55_3637.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_06_2701.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_13_3748.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_22_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_39_2721.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_49_1594.jpg
/home/pi/Desktop/images/22112025/21/43/image_22112025_21_43_55_3637.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_06_2701.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_13_3748.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_22_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725207","1395725210","1395725212","1395725215","1395725209","1395725208"],"photo_ids_order":["1395725207","1395725208","1395725209","1395725210","1395725212","1395725215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eff3ba3d471ff840b7da5eee786d2c7e.jpg","text":"TemporaryFile(/tmp/multipartBody748310894535757934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844364260,"filename":"image_22112025_21_43_39_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61df4fbbfc3d79a88b8138f0b9a98d70.jpg","text":"TemporaryFile(/tmp/multipartBody3970238698925164540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844364260,"filename":"image_22112025_21_44_06_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6e8fee740679424d796fb53869ef0b4.jpg","text":"TemporaryFile(/tmp/multipartBody3189372486800154917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844364260,"filename":"image_22112025_21_44_13_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9595cc05de7c2b76895ef8edb1a5d0a2.jpg","text":"TemporaryFile(/tmp/multipartBody5470015972728520205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844364260,"filename":"image_22112025_21_44_22_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ebdb9475aacee6d2dca6bc027938166.jpg","text":"TemporaryFile(/tmp/multipartBody633047015768427983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844364260,"filename":"image_22112025_21_43_55_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/17a76e86df8752a6a56900d16eb3bc73.jpg","text":"TemporaryFile(/tmp/multipartBody7395868197201436466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844364260,"filename":"image_22112025_21_43_49_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725209","file1":"1395725208","file0":"1395725207","file4":"1395725212","file5":"1395725215","file3":"1395725210"},"map_files_photo_id_array":[{"photo_id":"1395725215","filename":"file5"},{"photo_id":"1395725209","filename":"file2"},{"photo_id":"1395725212","filename":"file4"},{"photo_id":"1395725208","filename":"file1"},{"photo_id":"1395725207","filename":"file0"},{"photo_id":"1395725210","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725207":["hashtag1","hashtag2"]},{"1395725210":["hashtag1","hashtag2"]},{"1395725212":["hashtag1","hashtag2"]},{"1395725215":["hashtag1","hashtag2"]},{"1395725209":["hashtag1","hashtag2"]},{"1395725208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725207, 1395725210, 1395725212, 1395725215, 1395725209, 1395725208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.253535985946655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:45:42.711736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_36_2636.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_54_2541.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_58_3611.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_45_00_2638.jpg', '/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_12_2684.jpg', '/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_24_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_36_2636.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_54_2541.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_58_3611.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_45_00_2638.jpg
/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_12_2684.jpg
/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_24_2844.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6368372440338135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:46:02.385734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_36_2636.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_54_2541.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_58_3611.jpg', '/home/pi/Desktop/images/22112025/21/44/image_22112025_21_45_00_2638.jpg', '/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_12_2684.jpg', '/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_24_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_36_2636.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_54_2541.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_44_58_3611.jpg
/home/pi/Desktop/images/22112025/21/44/image_22112025_21_45_00_2638.jpg
/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_12_2684.jpg
/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_24_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725234","1395725236","1395725239","1395725233","1395725232","1395725231"],"photo_ids_order":["1395725231","1395725232","1395725233","1395725234","1395725236","1395725239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4e802fbb3338877ed77112c7ab6d734.jpg","text":"TemporaryFile(/tmp/multipartBody494508252657342185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844423196,"filename":"image_22112025_21_45_00_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70240b2ce1f6f97637605862f7861377.jpg","text":"TemporaryFile(/tmp/multipartBody1712818270654491105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844423196,"filename":"image_22112025_21_45_12_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1ff0424ae67b57c2ce14f31ce8b58db.jpg","text":"TemporaryFile(/tmp/multipartBody2995897640824941247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844423196,"filename":"image_22112025_21_45_24_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d7b24e4d3aae629c6ee351f0394de7f.jpg","text":"TemporaryFile(/tmp/multipartBody5963577865459190797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844423196,"filename":"image_22112025_21_44_58_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6ea93c83f7f8e2476ff220a3ce72bea.jpg","text":"TemporaryFile(/tmp/multipartBody4830383763023060269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844423196,"filename":"image_22112025_21_44_54_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a342a2e50db2b1e39ac9c43f737b9656.jpg","text":"TemporaryFile(/tmp/multipartBody6553387319630589278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844423196,"filename":"image_22112025_21_44_36_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725233","file1":"1395725232","file0":"1395725231","file4":"1395725236","file5":"1395725239","file3":"1395725234"},"map_files_photo_id_array":[{"photo_id":"1395725239","filename":"file5"},{"photo_id":"1395725233","filename":"file2"},{"photo_id":"1395725236","filename":"file4"},{"photo_id":"1395725232","filename":"file1"},{"photo_id":"1395725231","filename":"file0"},{"photo_id":"1395725234","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725234":["hashtag1","hashtag2"]},{"1395725236":["hashtag1","hashtag2"]},{"1395725239":["hashtag1","hashtag2"]},{"1395725233":["hashtag1","hashtag2"]},{"1395725232":["hashtag1","hashtag2"]},{"1395725231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725234, 1395725236, 1395725239, 1395725233, 1395725232, 1395725231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9731011390686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:46:41.934908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_46_3646.jpg', '/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_48_2686.jpg', '/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_54_2698.jpg', '/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_18_2820.jpg', '/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_21_2622.jpg', '/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_27_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_46_3646.jpg
/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_48_2686.jpg
/home/pi/Desktop/images/22112025/21/45/image_22112025_21_45_54_2698.jpg
/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_18_2820.jpg
/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_21_2622.jpg
/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_27_3770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725254","1395725248","1395725251","1395725253","1395725255","1395725252"],"photo_ids_order":["1395725248","1395725251","1395725252","1395725253","1395725254","1395725255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43a5ee707163f5669d7b0a52361a6d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2129270610738482737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844462906,"filename":"image_22112025_21_46_21_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/297459c56d190c03d66d0368a9f94d26.jpg","text":"TemporaryFile(/tmp/multipartBody6493851162042950627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844462906,"filename":"image_22112025_21_45_46_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e573c7121d4f0146b389931bcebe51d.jpg","text":"TemporaryFile(/tmp/multipartBody7338369642954318230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844462906,"filename":"image_22112025_21_45_48_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c2b8557e702b760f9976ae8c304b692.jpg","text":"TemporaryFile(/tmp/multipartBody3364669142690245870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844462906,"filename":"image_22112025_21_46_18_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8214ea2ae521ff45734bc82fca36bd0a.jpg","text":"TemporaryFile(/tmp/multipartBody4935815826937612472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844462906,"filename":"image_22112025_21_46_27_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8af7278bb7379a41fe811dccc837f51b.jpg","text":"TemporaryFile(/tmp/multipartBody4096739206636491405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844462906,"filename":"image_22112025_21_45_54_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725252","file1":"1395725251","file0":"1395725248","file4":"1395725254","file5":"1395725255","file3":"1395725253"},"map_files_photo_id_array":[{"photo_id":"1395725255","filename":"file5"},{"photo_id":"1395725252","filename":"file2"},{"photo_id":"1395725254","filename":"file4"},{"photo_id":"1395725251","filename":"file1"},{"photo_id":"1395725248","filename":"file0"},{"photo_id":"1395725253","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725254":["hashtag1","hashtag2"]},{"1395725248":["hashtag1","hashtag2"]},{"1395725251":["hashtag1","hashtag2"]},{"1395725253":["hashtag1","hashtag2"]},{"1395725255":["hashtag1","hashtag2"]},{"1395725252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725254, 1395725248, 1395725251, 1395725253, 1395725255, 1395725252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.647027254104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:47:22.098744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_33_2612.jpg', '/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_54_2678.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_15_2679.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_21_2803.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_24_2554.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_27_3518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_33_2612.jpg
/home/pi/Desktop/images/22112025/21/46/image_22112025_21_46_54_2678.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_15_2679.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_21_2803.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_24_2554.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_27_3518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725271","1395725265","1395725274","1395725268","1395725262","1395725258"],"photo_ids_order":["1395725258","1395725262","1395725265","1395725268","1395725271","1395725274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4d93bcf4b46351c9764d8f31d14a2d4.jpg","text":"TemporaryFile(/tmp/multipartBody2521262318197846683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844502872,"filename":"image_22112025_21_47_24_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f02062e56ae0903490389c082688e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6899666841511324333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844502872,"filename":"image_22112025_21_47_15_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14a9c276c0a3a0a4f572a4f59c56133a.jpg","text":"TemporaryFile(/tmp/multipartBody7504684917712225364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844502872,"filename":"image_22112025_21_47_27_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0cc5abf871fae7fb887a96aa150c868.jpg","text":"TemporaryFile(/tmp/multipartBody4375091310164507927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844502872,"filename":"image_22112025_21_47_21_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67a12987471b855b9d147930fa77eef8.jpg","text":"TemporaryFile(/tmp/multipartBody3961639547345939106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844502872,"filename":"image_22112025_21_46_54_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c1a58c01b9dd825afd76437e8a0c59f.jpg","text":"TemporaryFile(/tmp/multipartBody864561457471593595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844502872,"filename":"image_22112025_21_46_33_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725265","file1":"1395725262","file0":"1395725258","file4":"1395725271","file5":"1395725274","file3":"1395725268"},"map_files_photo_id_array":[{"photo_id":"1395725274","filename":"file5"},{"photo_id":"1395725265","filename":"file2"},{"photo_id":"1395725271","filename":"file4"},{"photo_id":"1395725262","filename":"file1"},{"photo_id":"1395725258","filename":"file0"},{"photo_id":"1395725268","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725271":["hashtag1","hashtag2"]},{"1395725265":["hashtag1","hashtag2"]},{"1395725274":["hashtag1","hashtag2"]},{"1395725268":["hashtag1","hashtag2"]},{"1395725262":["hashtag1","hashtag2"]},{"1395725258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725271, 1395725265, 1395725274, 1395725268, 1395725262, 1395725258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33170247077942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:48:02.950000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_30_2658.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_36_3657.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_39_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_30_2658.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_36_3657.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_39_2774.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5442850589752197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:48:22.446362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_30_2658.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_36_3657.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_39_2774.jpg', '/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_51_2659.jpg', '/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_12_2590.jpg', '/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_21_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_30_2658.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_36_3657.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_39_2774.jpg
/home/pi/Desktop/images/22112025/21/47/image_22112025_21_47_51_2659.jpg
/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_12_2590.jpg
/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_21_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725295","1395725283","1395725292","1395725286","1395725289","1395725280"],"photo_ids_order":["1395725280","1395725283","1395725286","1395725289","1395725292","1395725295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76e6158b04d9e9c7c5b02e789d4c81f2.jpg","text":"TemporaryFile(/tmp/multipartBody2386440426978507347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844563194,"filename":"image_22112025_21_48_21_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a27368ed827c29e191b01f6d90dc7b19.jpg","text":"TemporaryFile(/tmp/multipartBody2747239472663881724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844563194,"filename":"image_22112025_21_47_36_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1f5e0ceff9c5269da0dcc91b83eb843.jpg","text":"TemporaryFile(/tmp/multipartBody6541407767464621580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844563194,"filename":"image_22112025_21_48_12_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f3de6c63a5db8d71d7eea09a2bfdcdb.jpg","text":"TemporaryFile(/tmp/multipartBody6685845545169244248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844563194,"filename":"image_22112025_21_47_39_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe148273e7f6ddd422d5dd8b1708f71c.jpg","text":"TemporaryFile(/tmp/multipartBody7688951759331015977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844563194,"filename":"image_22112025_21_47_51_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0c7960847f78bf00b236beacbb164dd.jpg","text":"TemporaryFile(/tmp/multipartBody5933690265176068888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844563194,"filename":"image_22112025_21_47_30_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725286","file1":"1395725283","file0":"1395725280","file4":"1395725292","file5":"1395725295","file3":"1395725289"},"map_files_photo_id_array":[{"photo_id":"1395725295","filename":"file5"},{"photo_id":"1395725286","filename":"file2"},{"photo_id":"1395725292","filename":"file4"},{"photo_id":"1395725283","filename":"file1"},{"photo_id":"1395725280","filename":"file0"},{"photo_id":"1395725289","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725295":["hashtag1","hashtag2"]},{"1395725283":["hashtag1","hashtag2"]},{"1395725292":["hashtag1","hashtag2"]},{"1395725286":["hashtag1","hashtag2"]},{"1395725289":["hashtag1","hashtag2"]},{"1395725280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725295, 1395725283, 1395725292, 1395725286, 1395725289, 1395725280)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 56.29777264595032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:49:28.131930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:49:47.821182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_24_3627.jpg', '/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_33_3599.jpg', '/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_36_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_24_3627.jpg
/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_33_3599.jpg
/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_36_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725312","1395725311","1395725313"],"photo_ids_order":["1395725311","1395725312","1395725313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/06039ef76877308faa2b63f47afa9972.jpg","text":"TemporaryFile(/tmp/multipartBody2891569920509019950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844648447,"filename":"image_22112025_21_48_33_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/866e2a183d01deb34b0028276efd93cb.jpg","text":"TemporaryFile(/tmp/multipartBody5256923840462829556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844648447,"filename":"image_22112025_21_48_24_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77e76cef6d8c14a6feaae3b08a7f5390.jpg","text":"TemporaryFile(/tmp/multipartBody1687799577701149605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844648447,"filename":"image_22112025_21_48_36_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725313","file1":"1395725312","file0":"1395725311"},"map_files_photo_id_array":[{"photo_id":"1395725313","filename":"file2"},{"photo_id":"1395725312","filename":"file1"},{"photo_id":"1395725311","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725312":["hashtag1","hashtag2"]},{"1395725311":["hashtag1","hashtag2"]},{"1395725313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725312, 1395725311, 1395725313)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395725313 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_36_2698.jpg";
try second time after 15 secs
uploaded 3 photos
time to upload: 41.74525547027588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:50:41.951417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_57_2812.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_02_2571.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_06_3635.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_09_2964.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_19_7100.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_22_3106.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/20/image_30102025_18_20_57_2812.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_02_2571.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_06_3635.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_09_2964.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_19_7100.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_22_3106.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725327","1395725329","1395725332","1395725331","1395725334","1395725330"],"photo_ids_order":["1395725327","1395725329","1395725330","1395725331","1395725332","1395725334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a2a4226cbdd500264279182d39512b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7441544252956267836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844704104,"filename":"image_30102025_18_20_57_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55158f59898c2bbffadc68d04fab5593.jpg","text":"TemporaryFile(/tmp/multipartBody4654045640600903843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844704104,"filename":"image_30102025_18_21_02_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79ab89c34627869acce7018ed9049607.jpg","text":"TemporaryFile(/tmp/multipartBody6418441837873412743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844704104,"filename":"image_30102025_18_21_19_7100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83ef2da7db6c37f2b67f55104532b298.jpg","text":"TemporaryFile(/tmp/multipartBody6098249153129967541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844704104,"filename":"image_30102025_18_21_09_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64865333ea873a26c10245ce8e92c1c0.jpg","text":"TemporaryFile(/tmp/multipartBody1572902549848523692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844704104,"filename":"image_30102025_18_21_22_3106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99700b55a9ee32290b0b1221d6acbac0.jpg","text":"TemporaryFile(/tmp/multipartBody1033343179605430324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844704104,"filename":"image_30102025_18_21_06_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725330","file1":"1395725329","file0":"1395725327","file4":"1395725332","file5":"1395725334","file3":"1395725331"},"map_files_photo_id_array":[{"photo_id":"1395725334","filename":"file5"},{"photo_id":"1395725330","filename":"file2"},{"photo_id":"1395725332","filename":"file4"},{"photo_id":"1395725329","filename":"file1"},{"photo_id":"1395725327","filename":"file0"},{"photo_id":"1395725331","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395725327":["hashtag1","hashtag2"]},{"1395725329":["hashtag1","hashtag2"]},{"1395725332":["hashtag1","hashtag2"]},{"1395725331":["hashtag1","hashtag2"]},{"1395725334":["hashtag1","hashtag2"]},{"1395725330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395725327, 1395725329, 1395725332, 1395725331, 1395725334, 1395725330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73358869552612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:51:22.145169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_50_2717.jpg', '/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_03_3585.jpg', '/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_15_2719.jpg', '/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_18_2626.jpg', '/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_21_3677.jpg', '/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_45_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/48/image_22112025_21_48_50_2717.jpg
/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_03_3585.jpg
/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_15_2719.jpg
/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_18_2626.jpg
/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_21_3677.jpg
/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_45_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725348","1395725341","1395725350","1395725344","1395725338","1395725346"],"photo_ids_order":["1395725338","1395725341","1395725344","1395725346","1395725348","1395725350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d37d1834a4c0564816bcef81a96dc9f0.jpg","text":"TemporaryFile(/tmp/multipartBody3361926731556849216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844742879,"filename":"image_22112025_21_49_21_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed25cd0362cfabbe4439ae793f020b31.jpg","text":"TemporaryFile(/tmp/multipartBody7091883177132590088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844742879,"filename":"image_22112025_21_49_03_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb17a52bb961a6ca9a892aad26a163fd.jpg","text":"TemporaryFile(/tmp/multipartBody7740526396374699927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844742879,"filename":"image_22112025_21_49_45_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48aaa241d945d6eb37de629ff3abd5ed.jpg","text":"TemporaryFile(/tmp/multipartBody6371191977003344678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844742879,"filename":"image_22112025_21_49_15_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71e7efa06350e44c43f48932dfa42d98.jpg","text":"TemporaryFile(/tmp/multipartBody1773740143454815174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844742879,"filename":"image_22112025_21_48_50_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eadae6c96aff5befa9236ed9f5726ca5.jpg","text":"TemporaryFile(/tmp/multipartBody7640943807781980533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844742879,"filename":"image_22112025_21_49_18_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725344","file1":"1395725341","file0":"1395725338","file4":"1395725348","file5":"1395725350","file3":"1395725346"},"map_files_photo_id_array":[{"photo_id":"1395725350","filename":"file5"},{"photo_id":"1395725344","filename":"file2"},{"photo_id":"1395725348","filename":"file4"},{"photo_id":"1395725341","filename":"file1"},{"photo_id":"1395725338","filename":"file0"},{"photo_id":"1395725346","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725348":["hashtag1","hashtag2"]},{"1395725341":["hashtag1","hashtag2"]},{"1395725350":["hashtag1","hashtag2"]},{"1395725344":["hashtag1","hashtag2"]},{"1395725338":["hashtag1","hashtag2"]},{"1395725346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725348, 1395725341, 1395725350, 1395725344, 1395725338, 1395725346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47222018241882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:52:02.790252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_50_2750.jpg', '/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_05_2680.jpg', '/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_28_9413.jpg', '/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_37_3054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_50_2750.jpg
/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_05_2680.jpg
/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_28_9413.jpg
/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_37_3054.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6205883026123047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:52:22.293536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_50_2750.jpg', '/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_05_2680.jpg', '/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_28_9413.jpg', '/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_37_3054.jpg', '/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_40_1686.jpg', '/home/pi/Desktop/images/22112025/21/51/image_22112025_21_51_06_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/49/image_22112025_21_49_50_2750.jpg
/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_05_2680.jpg
/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_28_9413.jpg
/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_37_3054.jpg
/home/pi/Desktop/images/22112025/21/50/image_22112025_21_50_40_1686.jpg
/home/pi/Desktop/images/22112025/21/51/image_22112025_21_51_06_1644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725371","1395725365","1395725368","1395725359","1395725361","1395725366"],"photo_ids_order":["1395725359","1395725361","1395725365","1395725366","1395725368","1395725371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bcf880237cc3280d1091d30770191063.jpg","text":"TemporaryFile(/tmp/multipartBody3499524288852848730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844802985,"filename":"image_22112025_21_51_06_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41081b1a643a1f6ca144e78968c6db48.jpg","text":"TemporaryFile(/tmp/multipartBody7414161915476036903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844802985,"filename":"image_22112025_21_50_28_9413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f88d48566180e515f313facac97e8d91.jpg","text":"TemporaryFile(/tmp/multipartBody8924283455054455847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844802985,"filename":"image_22112025_21_50_40_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36fa19813bfa8de32c30e5da64f9d1f5.jpg","text":"TemporaryFile(/tmp/multipartBody475473918597155878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844802985,"filename":"image_22112025_21_49_50_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7adfa3c20c1400d95f7519f7a420706c.jpg","text":"TemporaryFile(/tmp/multipartBody4776679876193458546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844802985,"filename":"image_22112025_21_50_05_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75d8e6fff589982b7e383eaa911c9915.jpg","text":"TemporaryFile(/tmp/multipartBody5146184388803155231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844802985,"filename":"image_22112025_21_50_37_3054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725365","file1":"1395725361","file0":"1395725359","file4":"1395725368","file5":"1395725371","file3":"1395725366"},"map_files_photo_id_array":[{"photo_id":"1395725371","filename":"file5"},{"photo_id":"1395725365","filename":"file2"},{"photo_id":"1395725368","filename":"file4"},{"photo_id":"1395725361","filename":"file1"},{"photo_id":"1395725359","filename":"file0"},{"photo_id":"1395725366","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725371":["hashtag1","hashtag2"]},{"1395725365":["hashtag1","hashtag2"]},{"1395725368":["hashtag1","hashtag2"]},{"1395725359":["hashtag1","hashtag2"]},{"1395725361":["hashtag1","hashtag2"]},{"1395725366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725371, 1395725365, 1395725368, 1395725359, 1395725361, 1395725366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78285312652588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:53:03.214801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/51/image_22112025_21_51_19_9045.jpg', '/home/pi/Desktop/images/22112025/21/51/image_22112025_21_51_45_2724.jpg', '/home/pi/Desktop/images/22112025/21/51/image_22112025_21_51_47_2685.jpg', '/home/pi/Desktop/images/22112025/21/51/image_22112025_21_52_00_2687.jpg', '/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_02_2658.jpg', '/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_09_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/51/image_22112025_21_51_19_9045.jpg
/home/pi/Desktop/images/22112025/21/51/image_22112025_21_51_45_2724.jpg
/home/pi/Desktop/images/22112025/21/51/image_22112025_21_51_47_2685.jpg
/home/pi/Desktop/images/22112025/21/51/image_22112025_21_52_00_2687.jpg
/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_02_2658.jpg
/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_09_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725374","1395725376","1395725373","1395725381","1395725375","1395725378"],"photo_ids_order":["1395725373","1395725374","1395725375","1395725376","1395725378","1395725381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/973db363dbe30ae085fb5473bd76dbf3.jpg","text":"TemporaryFile(/tmp/multipartBody7247578190490018914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844844122,"filename":"image_22112025_21_51_45_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8b06e062431e526a7f4be384d886d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1171131081354427287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844844122,"filename":"image_22112025_21_52_00_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8c1272b9a3eeb22a43fce4e4bc6008f.jpg","text":"TemporaryFile(/tmp/multipartBody7858966431807795287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844844122,"filename":"image_22112025_21_51_19_9045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86195d22dcf35c62e345ec1cbc7a376c.jpg","text":"TemporaryFile(/tmp/multipartBody6282627130989685355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844844122,"filename":"image_22112025_21_52_09_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e0be86cc2bbfdeda00b38950d7705b6.jpg","text":"TemporaryFile(/tmp/multipartBody2326035576096925212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844844122,"filename":"image_22112025_21_51_47_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3243077aacf098bdccf2730038b5bdeb.jpg","text":"TemporaryFile(/tmp/multipartBody2439641895067607923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844844122,"filename":"image_22112025_21_52_02_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725375","file1":"1395725374","file0":"1395725373","file4":"1395725378","file5":"1395725381","file3":"1395725376"},"map_files_photo_id_array":[{"photo_id":"1395725381","filename":"file5"},{"photo_id":"1395725375","filename":"file2"},{"photo_id":"1395725378","filename":"file4"},{"photo_id":"1395725374","filename":"file1"},{"photo_id":"1395725373","filename":"file0"},{"photo_id":"1395725376","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725374":["hashtag1","hashtag2"]},{"1395725376":["hashtag1","hashtag2"]},{"1395725373":["hashtag1","hashtag2"]},{"1395725381":["hashtag1","hashtag2"]},{"1395725375":["hashtag1","hashtag2"]},{"1395725378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725374, 1395725376, 1395725373, 1395725381, 1395725375, 1395725378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80966901779175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:53:42.620594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_18_3754.jpg', '/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_54_2715.jpg', '/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_59_2971.jpg', '/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_15_7270.jpg', '/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_17_1625.jpg', '/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_19_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_18_3754.jpg
/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_54_2715.jpg
/home/pi/Desktop/images/22112025/21/52/image_22112025_21_52_59_2971.jpg
/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_15_7270.jpg
/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_17_1625.jpg
/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_19_1615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725395","1395725394","1395725391","1395725400","1395725393","1395725396"],"photo_ids_order":["1395725391","1395725393","1395725394","1395725395","1395725396","1395725400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab86dddc5bd5598e0ed6041e4aa88314.jpg","text":"TemporaryFile(/tmp/multipartBody5370065943688651817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844883358,"filename":"image_22112025_21_53_15_7270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2a316d9207365541f43fb890118f6ee.jpg","text":"TemporaryFile(/tmp/multipartBody1589571150919073776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844883358,"filename":"image_22112025_21_52_59_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/957acc681820a299b275cd7098d130d1.jpg","text":"TemporaryFile(/tmp/multipartBody4810964714041285149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844883358,"filename":"image_22112025_21_52_18_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c05965ea79ed306266774ed36af4e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3813081000523383986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844883358,"filename":"image_22112025_21_53_19_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a9c99716cee0567844884ff04e73c38.jpg","text":"TemporaryFile(/tmp/multipartBody7179765225974636873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844883358,"filename":"image_22112025_21_52_54_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff3032ac8190f9d6a21a5056a8408783.jpg","text":"TemporaryFile(/tmp/multipartBody8274124089678490229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844883358,"filename":"image_22112025_21_53_17_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725394","file1":"1395725393","file0":"1395725391","file4":"1395725396","file5":"1395725400","file3":"1395725395"},"map_files_photo_id_array":[{"photo_id":"1395725400","filename":"file5"},{"photo_id":"1395725394","filename":"file2"},{"photo_id":"1395725396","filename":"file4"},{"photo_id":"1395725393","filename":"file1"},{"photo_id":"1395725391","filename":"file0"},{"photo_id":"1395725395","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725395":["hashtag1","hashtag2"]},{"1395725394":["hashtag1","hashtag2"]},{"1395725391":["hashtag1","hashtag2"]},{"1395725400":["hashtag1","hashtag2"]},{"1395725393":["hashtag1","hashtag2"]},{"1395725396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725395, 1395725394, 1395725391, 1395725400, 1395725393, 1395725396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94871520996094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:54:22.040903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_45_3820.jpg', '/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_59_2745.jpg', '/home/pi/Desktop/images/22112025/21/54/image_22112025_21_54_26_3102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_45_3820.jpg
/home/pi/Desktop/images/22112025/21/53/image_22112025_21_53_59_2745.jpg
/home/pi/Desktop/images/22112025/21/54/image_22112025_21_54_26_3102.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725405","1395725402","1395725409"],"photo_ids_order":["1395725402","1395725405","1395725409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/37ce40fa1ea3d54a38c83a08070cfdde.jpg","text":"TemporaryFile(/tmp/multipartBody7487351810529923655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844922750,"filename":"image_22112025_21_53_59_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc0730b463564d4a7434ea217991aa22.jpg","text":"TemporaryFile(/tmp/multipartBody5400757091608459735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844922750,"filename":"image_22112025_21_53_45_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/255d1e90638e710189ffa8fad2cf9253.jpg","text":"TemporaryFile(/tmp/multipartBody5326151672274129745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844922750,"filename":"image_22112025_21_54_26_3102.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725409","file1":"1395725405","file0":"1395725402"},"map_files_photo_id_array":[{"photo_id":"1395725409","filename":"file2"},{"photo_id":"1395725405","filename":"file1"},{"photo_id":"1395725402","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725405":["hashtag1","hashtag2"]},{"1395725402":["hashtag1","hashtag2"]},{"1395725409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725405, 1395725402, 1395725409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.264812707901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:55:02.737747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/40/image_20112025_19_41_00_2753.jpg', '/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_03_2716.jpg', '/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_38_2723.jpg', '/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_41_3025.jpg', '/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_54_3680.jpg', '/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_57_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/40/image_20112025_19_41_00_2753.jpg
/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_03_2716.jpg
/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_38_2723.jpg
/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_41_3025.jpg
/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_54_3680.jpg
/home/pi/Desktop/images/20112025/19/41/image_20112025_19_41_57_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725432","1395725429","1395725428","1395725430","1395725427","1395725435"],"photo_ids_order":["1395725427","1395725428","1395725429","1395725430","1395725432","1395725435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/92ce0a5fdd986ff49c73bd2372a99256.jpg","text":"TemporaryFile(/tmp/multipartBody2783239993534928764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844964970,"filename":"image_20112025_19_41_54_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/756829e602c96c3342908cf77a261b8e.jpg","text":"TemporaryFile(/tmp/multipartBody8278064908184862127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844964970,"filename":"image_20112025_19_41_38_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/243a6bc820d485d70189a5f63221945e.jpg","text":"TemporaryFile(/tmp/multipartBody2434912576511236281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844964970,"filename":"image_20112025_19_41_03_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13275f7144f5637c13485f82477982c5.jpg","text":"TemporaryFile(/tmp/multipartBody6483294800278142763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844964970,"filename":"image_20112025_19_41_41_3025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba8c33c2469cd810c19d76acc94f74d7.jpg","text":"TemporaryFile(/tmp/multipartBody2765405876157753149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844964970,"filename":"image_20112025_19_41_00_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dfe6115d37baf1ba42511809b130e28c.jpg","text":"TemporaryFile(/tmp/multipartBody7930704369919787310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763844964970,"filename":"image_20112025_19_41_57_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725429","file1":"1395725428","file0":"1395725427","file4":"1395725432","file5":"1395725435","file3":"1395725430"},"map_files_photo_id_array":[{"photo_id":"1395725435","filename":"file5"},{"photo_id":"1395725429","filename":"file2"},{"photo_id":"1395725432","filename":"file4"},{"photo_id":"1395725428","filename":"file1"},{"photo_id":"1395725427","filename":"file0"},{"photo_id":"1395725430","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395725432":["hashtag1","hashtag2"]},{"1395725429":["hashtag1","hashtag2"]},{"1395725428":["hashtag1","hashtag2"]},{"1395725430":["hashtag1","hashtag2"]},{"1395725427":["hashtag1","hashtag2"]},{"1395725435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395725432, 1395725429, 1395725428, 1395725430, 1395725427, 1395725435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29649829864502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:55:42.297619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/54/image_22112025_21_54_48_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/54/image_22112025_21_54_48_3654.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725444"],"photo_id":"1395725444","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc93b7586783254e04400ae172aa5d54.jpg","text":"TemporaryFile(/tmp/multipartBody6291838310959806297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845002829,"filename":"image_22112025_21_54_48_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395725444"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395725444"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.098093748092651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:56:03.086827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_03_3689.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_06_2926.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_12_3299.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_15_3042.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_17_2540.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_21_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_03_3689.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_06_2926.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_12_3299.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_15_3042.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_17_2540.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_21_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725447","1395725455","1395725449","1395725451","1395725448","1395725453"],"photo_ids_order":["1395725447","1395725448","1395725449","1395725451","1395725453","1395725455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e513aabe95b2f4b83c36ad7155b72e7b.jpg","text":"TemporaryFile(/tmp/multipartBody2321907794579698369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845025280,"filename":"image_20112025_19_42_03_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b147e9807f85ebc16a12075037258a4b.jpg","text":"TemporaryFile(/tmp/multipartBody1558367772559045082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845025280,"filename":"image_20112025_19_42_21_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c5974f1db7830efb786734869bd7944.jpg","text":"TemporaryFile(/tmp/multipartBody5910751890638217875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845025280,"filename":"image_20112025_19_42_12_3299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/60528c30910a052a0a4b8f5e00e36278.jpg","text":"TemporaryFile(/tmp/multipartBody2244941827736390084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845025280,"filename":"image_20112025_19_42_15_3042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4011da656632fda313e2aa937d6008e6.jpg","text":"TemporaryFile(/tmp/multipartBody2579265670844118410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845025280,"filename":"image_20112025_19_42_06_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34698d520b24a9be1bd22cbcda56d00f.jpg","text":"TemporaryFile(/tmp/multipartBody2744801012512392372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845025280,"filename":"image_20112025_19_42_17_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725449","file1":"1395725448","file0":"1395725447","file4":"1395725453","file5":"1395725455","file3":"1395725451"},"map_files_photo_id_array":[{"photo_id":"1395725455","filename":"file5"},{"photo_id":"1395725449","filename":"file2"},{"photo_id":"1395725453","filename":"file4"},{"photo_id":"1395725448","filename":"file1"},{"photo_id":"1395725447","filename":"file0"},{"photo_id":"1395725451","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395725447":["hashtag1","hashtag2"]},{"1395725455":["hashtag1","hashtag2"]},{"1395725449":["hashtag1","hashtag2"]},{"1395725451":["hashtag1","hashtag2"]},{"1395725448":["hashtag1","hashtag2"]},{"1395725453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395725447, 1395725455, 1395725449, 1395725451, 1395725448, 1395725453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82537388801575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:56:42.543867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/55/image_22112025_21_55_56_2724.jpg', '/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_02_2991.jpg', '/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_08_3792.jpg', '/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_14_2722.jpg', '/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_20_2835.jpg', '/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_26_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/55/image_22112025_21_55_56_2724.jpg
/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_02_2991.jpg
/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_08_3792.jpg
/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_14_2722.jpg
/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_20_2835.jpg
/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_26_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725464","1395725467","1395725461","1395725469","1395725471","1395725474"],"photo_ids_order":["1395725461","1395725464","1395725467","1395725469","1395725471","1395725474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a3eedca20f07a4075680dec19fc6f83.jpg","text":"TemporaryFile(/tmp/multipartBody1503208647034983514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845063279,"filename":"image_22112025_21_56_02_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0063905e2e3961ed5468dc7a184b5da8.jpg","text":"TemporaryFile(/tmp/multipartBody9148033695764946898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845063279,"filename":"image_22112025_21_56_08_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77bcb89594b49782f3ffb175f74e295b.jpg","text":"TemporaryFile(/tmp/multipartBody1648497611586645061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845063279,"filename":"image_22112025_21_55_56_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8aed7708e49b5d5c1e11f9bb3105349e.jpg","text":"TemporaryFile(/tmp/multipartBody8235208564305028829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845063279,"filename":"image_22112025_21_56_14_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26e01493195a8d6b16ac5c1c90bedd30.jpg","text":"TemporaryFile(/tmp/multipartBody5232259964007923021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845063279,"filename":"image_22112025_21_56_20_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a9af3de688d639b1ba36f0878e98af8.jpg","text":"TemporaryFile(/tmp/multipartBody7935851102895015098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845063279,"filename":"image_22112025_21_56_26_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725467","file1":"1395725464","file0":"1395725461","file4":"1395725471","file5":"1395725474","file3":"1395725469"},"map_files_photo_id_array":[{"photo_id":"1395725474","filename":"file5"},{"photo_id":"1395725467","filename":"file2"},{"photo_id":"1395725471","filename":"file4"},{"photo_id":"1395725464","filename":"file1"},{"photo_id":"1395725461","filename":"file0"},{"photo_id":"1395725469","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725464":["hashtag1","hashtag2"]},{"1395725467":["hashtag1","hashtag2"]},{"1395725461":["hashtag1","hashtag2"]},{"1395725469":["hashtag1","hashtag2"]},{"1395725471":["hashtag1","hashtag2"]},{"1395725474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725464, 1395725467, 1395725461, 1395725469, 1395725471, 1395725474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.918315172195435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 21:57:22.733021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_32_2666.jpg', '/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_35_2628.jpg', '/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_39_3794.jpg', '/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_08_2736.jpg', '/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_11_3075.jpg', '/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_17_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_32_2666.jpg
/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_35_2628.jpg
/home/pi/Desktop/images/22112025/21/56/image_22112025_21_56_39_3794.jpg
/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_08_2736.jpg
/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_11_3075.jpg
/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_17_2837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725485","1395725487","1395725481","1395725484","1395725486","1395725489"],"photo_ids_order":["1395725481","1395725484","1395725485","1395725486","1395725487","1395725489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/66e1e980eb17b633864db7378bc94be4.jpg","text":"TemporaryFile(/tmp/multipartBody6465461611109435127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845103510,"filename":"image_22112025_21_56_39_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6705e93f590f53f30c7e76b9c2cc9855.jpg","text":"TemporaryFile(/tmp/multipartBody3254553942699898196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845103510,"filename":"image_22112025_21_57_11_3075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bda643e69a1832642ce92636b9efe6b6.jpg","text":"TemporaryFile(/tmp/multipartBody6277159146844806037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845103510,"filename":"image_22112025_21_56_32_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dbbbd7c5d8ea9e3e8e9c1f1b0f0abfe4.jpg","text":"TemporaryFile(/tmp/multipartBody4875635078236860428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845103510,"filename":"image_22112025_21_56_35_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/127a224eb1f0d145d6a482cd3e10eb89.jpg","text":"TemporaryFile(/tmp/multipartBody8848978465586943661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845103510,"filename":"image_22112025_21_57_08_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2facaf328af92b78ec7b44b030d170d4.jpg","text":"TemporaryFile(/tmp/multipartBody657724626574991823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845103510,"filename":"image_22112025_21_57_17_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725485","file1":"1395725484","file0":"1395725481","file4":"1395725487","file5":"1395725489","file3":"1395725486"},"map_files_photo_id_array":[{"photo_id":"1395725489","filename":"file5"},{"photo_id":"1395725485","filename":"file2"},{"photo_id":"1395725487","filename":"file4"},{"photo_id":"1395725484","filename":"file1"},{"photo_id":"1395725481","filename":"file0"},{"photo_id":"1395725486","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725485":["hashtag1","hashtag2"]},{"1395725487":["hashtag1","hashtag2"]},{"1395725481":["hashtag1","hashtag2"]},{"1395725484":["hashtag1","hashtag2"]},{"1395725486":["hashtag1","hashtag2"]},{"1395725489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725485, 1395725487, 1395725481, 1395725484, 1395725486, 1395725489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47657299041748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 21:59:03.261378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_32_2569.jpg', '/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_34_2914.jpg', '/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_53_3867.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_08_2861.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_19_2865.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_26_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_32_2569.jpg
/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_34_2914.jpg
/home/pi/Desktop/images/22112025/21/57/image_22112025_21_57_53_3867.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_08_2861.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_19_2865.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_26_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725510","1395725513","1395725501","1395725506","1395725508","1395725498"],"photo_ids_order":["1395725498","1395725501","1395725506","1395725508","1395725510","1395725513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2e2af0b6fbbdb92a2d8afc8c991e579.jpg","text":"TemporaryFile(/tmp/multipartBody2452383012726282329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845207113,"filename":"image_22112025_21_58_19_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/923c0c340354449ef09793505bed9ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3354090771924294357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845207113,"filename":"image_22112025_21_58_26_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae709bfa11b43c2f3c307b30f8c05f94.jpg","text":"TemporaryFile(/tmp/multipartBody3818902956938531314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845207113,"filename":"image_22112025_21_57_34_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3dcc58fd56344c6644c3a3d1a977f11a.jpg","text":"TemporaryFile(/tmp/multipartBody7571365330363689093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845207113,"filename":"image_22112025_21_57_53_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a3dbf15413c100c2bd0fb192db9f7a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3925530930296979045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845207113,"filename":"image_22112025_21_58_08_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/50b7cb7d3068a26d245b92cea4d7a55d.jpg","text":"TemporaryFile(/tmp/multipartBody1180453125366407664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845207113,"filename":"image_22112025_21_57_32_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725506","file1":"1395725501","file0":"1395725498","file4":"1395725510","file5":"1395725513","file3":"1395725508"},"map_files_photo_id_array":[{"photo_id":"1395725513","filename":"file5"},{"photo_id":"1395725506","filename":"file2"},{"photo_id":"1395725510","filename":"file4"},{"photo_id":"1395725501","filename":"file1"},{"photo_id":"1395725498","filename":"file0"},{"photo_id":"1395725508","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725510":["hashtag1","hashtag2"]},{"1395725513":["hashtag1","hashtag2"]},{"1395725501":["hashtag1","hashtag2"]},{"1395725506":["hashtag1","hashtag2"]},{"1395725508":["hashtag1","hashtag2"]},{"1395725498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725510, 1395725513, 1395725501, 1395725506, 1395725508, 1395725498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.276262521743774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:00:02.878918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_32_3763.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_35_2595.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_38_2719.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_41_3728.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_50_2863.jpg', '/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_04_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_32_3763.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_35_2595.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_38_2719.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_41_3728.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_50_2863.jpg
/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_04_2652.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7065005302429199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:00:22.488994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_32_3763.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_35_2595.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_38_2719.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_41_3728.jpg', '/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_50_2863.jpg', '/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_04_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_32_3763.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_35_2595.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_38_2719.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_41_3728.jpg
/home/pi/Desktop/images/22112025/21/58/image_22112025_21_58_50_2863.jpg
/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_04_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725546","1395725551","1395725548","1395725541","1395725544","1395725538"],"photo_ids_order":["1395725538","1395725541","1395725544","1395725546","1395725548","1395725551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99b29ac6db19cff93532688bba718602.jpg","text":"TemporaryFile(/tmp/multipartBody8397300266053406885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845283243,"filename":"image_22112025_21_58_41_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/702e9a2d4e3ced08905bdfabebbd8fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4900120800641572863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845283243,"filename":"image_22112025_21_59_04_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a300138c9fbea2ed48822f96f8064866.jpg","text":"TemporaryFile(/tmp/multipartBody5412549622272067176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845283243,"filename":"image_22112025_21_58_50_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be471636ff343ac840d9d121afd76dd2.jpg","text":"TemporaryFile(/tmp/multipartBody3063262835135320868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845283243,"filename":"image_22112025_21_58_35_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f69bee5bf21c634fb3e7349330e58a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1983490503521568847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845283243,"filename":"image_22112025_21_58_38_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82cefec6f807cb69a5cd4daaeb8e68d8.jpg","text":"TemporaryFile(/tmp/multipartBody2711861890259771243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845283243,"filename":"image_22112025_21_58_32_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725544","file1":"1395725541","file0":"1395725538","file4":"1395725548","file5":"1395725551","file3":"1395725546"},"map_files_photo_id_array":[{"photo_id":"1395725551","filename":"file5"},{"photo_id":"1395725544","filename":"file2"},{"photo_id":"1395725548","filename":"file4"},{"photo_id":"1395725541","filename":"file1"},{"photo_id":"1395725538","filename":"file0"},{"photo_id":"1395725546","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725546":["hashtag1","hashtag2"]},{"1395725551":["hashtag1","hashtag2"]},{"1395725548":["hashtag1","hashtag2"]},{"1395725541":["hashtag1","hashtag2"]},{"1395725544":["hashtag1","hashtag2"]},{"1395725538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725546, 1395725551, 1395725548, 1395725541, 1395725544, 1395725538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9381959438324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:01:03.243256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_17_2760.jpg', '/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_19_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_17_2760.jpg
/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_19_2671.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725554","1395725552"],"photo_ids_order":["1395725552","1395725554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7fae34173302dabaf4c3baf64478ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody2814078462109799974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845323917,"filename":"image_22112025_21_59_19_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f733324d6b053c6957e674a6278dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody765873460945428169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845323917,"filename":"image_22112025_21_59_17_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395725554","file0":"1395725552"},"map_files_photo_id_array":[{"photo_id":"1395725554","filename":"file1"},{"photo_id":"1395725552","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725554":["hashtag1","hashtag2"]},{"1395725552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725554, 1395725552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.102396965026855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:01:22.607103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_38_2712.jpg', '/home/pi/Desktop/images/22112025/22/01/image_22112025_22_01_31_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/21/59/image_22112025_21_59_38_2712.jpg
/home/pi/Desktop/images/22112025/22/01/image_22112025_22_01_31_2724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725561","1395725564"],"photo_ids_order":["1395725561","1395725564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d06d2747237c8680a20d5473696b12c7.jpg","text":"TemporaryFile(/tmp/multipartBody7996679052912678459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845343166,"filename":"image_22112025_21_59_38_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1890175a9d21c95383f21de55b809166.jpg","text":"TemporaryFile(/tmp/multipartBody6502854827679841747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845343166,"filename":"image_22112025_22_01_31_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395725564","file0":"1395725561"},"map_files_photo_id_array":[{"photo_id":"1395725564","filename":"file1"},{"photo_id":"1395725561","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725561":["hashtag1","hashtag2"]},{"1395725564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725561, 1395725564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.974836111068726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:01:42.650304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_25_2864.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_26_1493.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_28_1621.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_29_1636.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_33_3543.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_45_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_25_2864.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_26_1493.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_28_1621.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_29_1636.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_33_3543.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_45_1579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725603","1395725752","1395725569","1395725640","1395725678","1395725714"],"photo_ids_order":["1395725569","1395725603","1395725640","1395725678","1395725714","1395725752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bef3d33944b313a18ef3f21e80f0f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6437180484055769300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845364937,"filename":"image_30102025_18_21_26_1493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00acb159691bf78116e0f311d1a2bc94.jpg","text":"TemporaryFile(/tmp/multipartBody360883645331889566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845364937,"filename":"image_30102025_18_21_45_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7554657152b1f0e1b5b70edc8ddb6ecb.jpg","text":"TemporaryFile(/tmp/multipartBody285403118685442906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845364937,"filename":"image_30102025_18_21_25_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8188d82da68324472424ba8686a62be.jpg","text":"TemporaryFile(/tmp/multipartBody2370735271450038907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845364937,"filename":"image_30102025_18_21_28_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/507091d9a29d54e93148f94c6092c4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1738170520716542852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845364937,"filename":"image_30102025_18_21_29_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7d67445ea11bc05e5c4184d784c7f8a6.jpg","text":"TemporaryFile(/tmp/multipartBody5209932684461242461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845364937,"filename":"image_30102025_18_21_33_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395725640","file1":"1395725603","file0":"1395725569","file4":"1395725714","file5":"1395725752","file3":"1395725678"},"map_files_photo_id_array":[{"photo_id":"1395725752","filename":"file5"},{"photo_id":"1395725640","filename":"file2"},{"photo_id":"1395725714","filename":"file4"},{"photo_id":"1395725603","filename":"file1"},{"photo_id":"1395725569","filename":"file0"},{"photo_id":"1395725678","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395725603":["hashtag1","hashtag2"]},{"1395725752":["hashtag1","hashtag2"]},{"1395725569":["hashtag1","hashtag2"]},{"1395725640":["hashtag1","hashtag2"]},{"1395725678":["hashtag1","hashtag2"]},{"1395725714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395725603, 1395725752, 1395725569, 1395725640, 1395725678, 1395725714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.322593450546265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:02:21.936964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/01/image_22112025_22_01_34_2590.jpg', '/home/pi/Desktop/images/22112025/22/02/image_22112025_22_02_52_2994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/01/image_22112025_22_01_34_2590.jpg
/home/pi/Desktop/images/22112025/22/02/image_22112025_22_02_52_2994.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395725914","1395725877"],"photo_ids_order":["1395725877","1395725914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83b7d19b29ccad9ebb5b3d0a3ea0b0c7.jpg","text":"TemporaryFile(/tmp/multipartBody6421837206274207858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845402575,"filename":"image_22112025_22_02_52_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f9286a6ae77795b64584b3dc021fadd.jpg","text":"TemporaryFile(/tmp/multipartBody8491394580686165416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845402575,"filename":"image_22112025_22_01_34_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395725914","file0":"1395725877"},"map_files_photo_id_array":[{"photo_id":"1395725914","filename":"file1"},{"photo_id":"1395725877","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395725914":["hashtag1","hashtag2"]},{"1395725877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395725914, 1395725877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.063918113708496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:02:41.887763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_46_1643.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_48_1637.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_50_1776.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_51_1539.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_54_2540.jpg', '/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_57_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_46_1643.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_48_1637.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_50_1776.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_51_1539.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_54_2540.jpg
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_57_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395726063","1395726339","1395726201","1395726402","1395726269","1395726131"],"photo_ids_order":["1395726063","1395726131","1395726201","1395726269","1395726339","1395726402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aca83a4c5af8665274d8cf2e1cfe1f98.jpg","text":"TemporaryFile(/tmp/multipartBody1487178937863081791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845424134,"filename":"image_30102025_18_21_46_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3ad0f2a2e7dbd3ca2bae536f6c16011.jpg","text":"TemporaryFile(/tmp/multipartBody5254896336696407916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845424134,"filename":"image_30102025_18_21_54_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa40a00ceecabf66b6345c2005eb6ea7.jpg","text":"TemporaryFile(/tmp/multipartBody3491295350422022421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845424134,"filename":"image_30102025_18_21_50_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe4fd1221ae7b810d633d664d230297b.jpg","text":"TemporaryFile(/tmp/multipartBody6799373025755941821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845424134,"filename":"image_30102025_18_21_57_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24a6137d431671b9c3ad001bf4ee876d.jpg","text":"TemporaryFile(/tmp/multipartBody7704933095424207442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845424134,"filename":"image_30102025_18_21_51_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/506244d5c30969ff6b66dec378444593.jpg","text":"TemporaryFile(/tmp/multipartBody6558517113610765546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845424134,"filename":"image_30102025_18_21_48_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395726201","file1":"1395726131","file0":"1395726063","file4":"1395726339","file5":"1395726402","file3":"1395726269"},"map_files_photo_id_array":[{"photo_id":"1395726402","filename":"file5"},{"photo_id":"1395726201","filename":"file2"},{"photo_id":"1395726339","filename":"file4"},{"photo_id":"1395726131","filename":"file1"},{"photo_id":"1395726063","filename":"file0"},{"photo_id":"1395726269","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395726063":["hashtag1","hashtag2"]},{"1395726339":["hashtag1","hashtag2"]},{"1395726201":["hashtag1","hashtag2"]},{"1395726402":["hashtag1","hashtag2"]},{"1395726269":["hashtag1","hashtag2"]},{"1395726131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395726063, 1395726339, 1395726201, 1395726402, 1395726269, 1395726131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56181478500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:03:22.111796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/02/image_22112025_22_02_55_2460.jpg', '/home/pi/Desktop/images/22112025/22/03/image_22112025_22_03_43_3726.jpg', '/home/pi/Desktop/images/22112025/22/03/image_22112025_22_03_46_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/02/image_22112025_22_02_55_2460.jpg
/home/pi/Desktop/images/22112025/22/03/image_22112025_22_03_43_3726.jpg
/home/pi/Desktop/images/22112025/22/03/image_22112025_22_03_46_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395726754","1395726687","1395726828"],"photo_ids_order":["1395726687","1395726754","1395726828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1157578f8456114e72c837c1e68aa10.jpg","text":"TemporaryFile(/tmp/multipartBody584716300155733084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845462797,"filename":"image_22112025_22_03_43_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eae6293bde02d7ec4862388a6c7d7f84.jpg","text":"TemporaryFile(/tmp/multipartBody1564382621570519325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845462797,"filename":"image_22112025_22_02_55_2460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/33829ef2ab41d93210a360f9997a9a6b.jpg","text":"TemporaryFile(/tmp/multipartBody1142696888693106208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845462797,"filename":"image_22112025_22_03_46_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395726828","file1":"1395726754","file0":"1395726687"},"map_files_photo_id_array":[{"photo_id":"1395726828","filename":"file2"},{"photo_id":"1395726754","filename":"file1"},{"photo_id":"1395726687","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395726754":["hashtag1","hashtag2"]},{"1395726687":["hashtag1","hashtag2"]},{"1395726828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395726754, 1395726687, 1395726828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.755669593811035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:04:02.900730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_24_2649.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_26_2647.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_29_2804.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_33_3577.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_42_3777.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_51_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_24_2649.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_26_2647.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_29_2804.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_33_3577.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_42_3777.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_51_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395727185","1395727184","1395727187","1395727192","1395727189","1395727186"],"photo_ids_order":["1395727184","1395727185","1395727186","1395727187","1395727189","1395727192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b66e7c306ae75dc91b7fdd1ccb49b33.jpg","text":"TemporaryFile(/tmp/multipartBody8932933420155494086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845505076,"filename":"image_20112025_19_42_26_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/836f5b7779aaf3010de6da51c06803de.jpg","text":"TemporaryFile(/tmp/multipartBody650683347192761181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845505076,"filename":"image_20112025_19_42_24_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bf181dc7533042150fda53d3a7802bbf.jpg","text":"TemporaryFile(/tmp/multipartBody2436757606591209140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845505076,"filename":"image_20112025_19_42_33_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/36dcbf6ee61b9ef29f2973f0d56bf069.jpg","text":"TemporaryFile(/tmp/multipartBody9175329877532407066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845505076,"filename":"image_20112025_19_42_51_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7413266b6a0e654de7e01406ea8db5c0.jpg","text":"TemporaryFile(/tmp/multipartBody4908020371909217790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845505076,"filename":"image_20112025_19_42_42_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ce2e33f838ee07d02dcc335220cbe26.jpg","text":"TemporaryFile(/tmp/multipartBody6378350821610845081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845505076,"filename":"image_20112025_19_42_29_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395727186","file1":"1395727185","file0":"1395727184","file4":"1395727189","file5":"1395727192","file3":"1395727187"},"map_files_photo_id_array":[{"photo_id":"1395727192","filename":"file5"},{"photo_id":"1395727186","filename":"file2"},{"photo_id":"1395727189","filename":"file4"},{"photo_id":"1395727185","filename":"file1"},{"photo_id":"1395727184","filename":"file0"},{"photo_id":"1395727187","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395727185":["hashtag1","hashtag2"]},{"1395727184":["hashtag1","hashtag2"]},{"1395727187":["hashtag1","hashtag2"]},{"1395727192":["hashtag1","hashtag2"]},{"1395727189":["hashtag1","hashtag2"]},{"1395727186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395727185, 1395727184, 1395727187, 1395727192, 1395727189, 1395727186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25245022773743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:04:42.555052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/03/image_22112025_22_03_49_2780.jpg', '/home/pi/Desktop/images/22112025/22/04/image_22112025_22_04_13_2868.jpg', '/home/pi/Desktop/images/22112025/22/04/image_22112025_22_04_23_3869.jpg', '/home/pi/Desktop/images/22112025/22/04/image_22112025_22_04_34_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/03/image_22112025_22_03_49_2780.jpg
/home/pi/Desktop/images/22112025/22/04/image_22112025_22_04_13_2868.jpg
/home/pi/Desktop/images/22112025/22/04/image_22112025_22_04_23_3869.jpg
/home/pi/Desktop/images/22112025/22/04/image_22112025_22_04_34_3732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395727312","1395727420","1395727385","1395727349"],"photo_ids_order":["1395727312","1395727349","1395727385","1395727420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14e8204871fb341c61e9be2b71df4a7f.jpg","text":"TemporaryFile(/tmp/multipartBody1998296110052672154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845543205,"filename":"image_22112025_22_03_49_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22291418a5fcb852c63b4272411eee94.jpg","text":"TemporaryFile(/tmp/multipartBody2911492291409664664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845543205,"filename":"image_22112025_22_04_34_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/29ae043d76c646239a7af9023332d065.jpg","text":"TemporaryFile(/tmp/multipartBody3846536487550143351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845543205,"filename":"image_22112025_22_04_23_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc1e9e73a084eca5ebc9369c348d9a65.jpg","text":"TemporaryFile(/tmp/multipartBody2928192549953239050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845543205,"filename":"image_22112025_22_04_13_2868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395727385","file1":"1395727349","file0":"1395727312","file3":"1395727420"},"map_files_photo_id_array":[{"photo_id":"1395727385","filename":"file2"},{"photo_id":"1395727349","filename":"file1"},{"photo_id":"1395727312","filename":"file0"},{"photo_id":"1395727420","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395727312":["hashtag1","hashtag2"]},{"1395727420":["hashtag1","hashtag2"]},{"1395727385":["hashtag1","hashtag2"]},{"1395727349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395727312, 1395727420, 1395727385, 1395727349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.085399866104126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:05:22.788738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_59_2668.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_03_3663.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_07_4401.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_09_1602.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_12_2644.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_15_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/21/image_30102025_18_21_59_2668.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_03_3663.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_07_4401.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_09_1602.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_12_2644.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_15_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395727776","1395727836","1395727719","1395727833","1395727831","1395727813"],"photo_ids_order":["1395727719","1395727776","1395727813","1395727831","1395727833","1395727836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bba74b62f750124dc08c4e44da919a98.jpg","text":"TemporaryFile(/tmp/multipartBody1575386099375730055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845584940,"filename":"image_30102025_18_22_03_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5862b9300d4b3cec5e9a028eedd1b005.jpg","text":"TemporaryFile(/tmp/multipartBody3000655622536043029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845584940,"filename":"image_30102025_18_22_15_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ff43f125870f5ae21284c1b898cdcb4.jpg","text":"TemporaryFile(/tmp/multipartBody1956281299126426677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845584940,"filename":"image_30102025_18_21_59_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0858155b4332bbf9bb9264b852675b78.jpg","text":"TemporaryFile(/tmp/multipartBody4918382675286528324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845584940,"filename":"image_30102025_18_22_12_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f3731a2d701dcf40c532251c060481e.jpg","text":"TemporaryFile(/tmp/multipartBody6836379070823350227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845584940,"filename":"image_30102025_18_22_09_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/549114c48692229031a5ea9f20c313e3.jpg","text":"TemporaryFile(/tmp/multipartBody5680442762406583316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845584940,"filename":"image_30102025_18_22_07_4401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395727813","file1":"1395727776","file0":"1395727719","file4":"1395727833","file5":"1395727836","file3":"1395727831"},"map_files_photo_id_array":[{"photo_id":"1395727836","filename":"file5"},{"photo_id":"1395727813","filename":"file2"},{"photo_id":"1395727833","filename":"file4"},{"photo_id":"1395727776","filename":"file1"},{"photo_id":"1395727719","filename":"file0"},{"photo_id":"1395727831","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395727776":["hashtag1","hashtag2"]},{"1395727836":["hashtag1","hashtag2"]},{"1395727719":["hashtag1","hashtag2"]},{"1395727833":["hashtag1","hashtag2"]},{"1395727831":["hashtag1","hashtag2"]},{"1395727813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395727776, 1395727836, 1395727719, 1395727833, 1395727831, 1395727813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74046802520752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:06:02.524509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_53_2686.jpg', '/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_56_2743.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_03_3717.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_05_2732.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_15_2775.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_18_3028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_53_2686.jpg
/home/pi/Desktop/images/20112025/19/42/image_20112025_19_42_56_2743.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_03_3717.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_05_2732.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_15_2775.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_18_3028.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395728025","1395728100","1395728173","1395727990","1395728280","1395728227"],"photo_ids_order":["1395727990","1395728025","1395728100","1395728173","1395728227","1395728280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43e126138a9ff1dca530ac519168ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody2160926105999887448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845624660,"filename":"image_20112025_19_42_56_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe56acb4506a14d8f501d56b2c283585.jpg","text":"TemporaryFile(/tmp/multipartBody8237397410788070991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845624660,"filename":"image_20112025_19_43_03_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8de4d2f10c31aa2e677c8ce5ccc9f4a2.jpg","text":"TemporaryFile(/tmp/multipartBody6162342604500860893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845624660,"filename":"image_20112025_19_43_05_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddacefa927123b44b66ee9b1d5b8ba48.jpg","text":"TemporaryFile(/tmp/multipartBody7668183169032588387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845624660,"filename":"image_20112025_19_42_53_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7eaece7ba6a9d4fea72d8d959fed2d9e.jpg","text":"TemporaryFile(/tmp/multipartBody3544646790183282937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845624660,"filename":"image_20112025_19_43_18_3028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b26157a1c004b52eae7a2a65a4f04f87.jpg","text":"TemporaryFile(/tmp/multipartBody7294245417812867367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845624660,"filename":"image_20112025_19_43_15_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395728100","file1":"1395728025","file0":"1395727990","file4":"1395728227","file5":"1395728280","file3":"1395728173"},"map_files_photo_id_array":[{"photo_id":"1395728280","filename":"file5"},{"photo_id":"1395728100","filename":"file2"},{"photo_id":"1395728227","filename":"file4"},{"photo_id":"1395728025","filename":"file1"},{"photo_id":"1395727990","filename":"file0"},{"photo_id":"1395728173","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395728025":["hashtag1","hashtag2"]},{"1395728100":["hashtag1","hashtag2"]},{"1395728173":["hashtag1","hashtag2"]},{"1395727990":["hashtag1","hashtag2"]},{"1395728280":["hashtag1","hashtag2"]},{"1395728227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395728025, 1395728100, 1395728173, 1395727990, 1395728280, 1395728227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8543758392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:06:42.100121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_18_2669.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_20_2588.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_24_3545.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_27_2589.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_29_2665.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_33_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_18_2669.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_20_2588.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_24_3545.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_27_2589.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_29_2665.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_33_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395728463","1395728534","1395728497","1395728599","1395728428","1395728568"],"photo_ids_order":["1395728428","1395728463","1395728497","1395728534","1395728568","1395728599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d73767a12fa8867dbf3ffdad8365508a.jpg","text":"TemporaryFile(/tmp/multipartBody43676510631303434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845664260,"filename":"image_30102025_18_22_20_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b21f1e6ede6c4bd086f10b7033520090.jpg","text":"TemporaryFile(/tmp/multipartBody5553162329832906818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845664260,"filename":"image_30102025_18_22_27_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e70d37b0a0b4d93ce723a69311170276.jpg","text":"TemporaryFile(/tmp/multipartBody8080308459666719399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845664260,"filename":"image_30102025_18_22_24_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/658a6dba9b740a2f6339d888cb8ddc01.jpg","text":"TemporaryFile(/tmp/multipartBody2511256260466137027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845664260,"filename":"image_30102025_18_22_33_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6078a8882ba264e46b5920504ca0e90a.jpg","text":"TemporaryFile(/tmp/multipartBody4083100924751108629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845664260,"filename":"image_30102025_18_22_18_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4da41e4533102e2e6ca83443fd87df57.jpg","text":"TemporaryFile(/tmp/multipartBody1658486821773474236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845664260,"filename":"image_30102025_18_22_29_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395728497","file1":"1395728463","file0":"1395728428","file4":"1395728568","file5":"1395728599","file3":"1395728534"},"map_files_photo_id_array":[{"photo_id":"1395728599","filename":"file5"},{"photo_id":"1395728497","filename":"file2"},{"photo_id":"1395728568","filename":"file4"},{"photo_id":"1395728463","filename":"file1"},{"photo_id":"1395728428","filename":"file0"},{"photo_id":"1395728534","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395728463":["hashtag1","hashtag2"]},{"1395728534":["hashtag1","hashtag2"]},{"1395728497":["hashtag1","hashtag2"]},{"1395728599":["hashtag1","hashtag2"]},{"1395728428":["hashtag1","hashtag2"]},{"1395728568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395728463, 1395728534, 1395728497, 1395728599, 1395728428, 1395728568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.763185024261475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:07:22.273889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/04/image_22112025_22_04_43_2943.jpg', '/home/pi/Desktop/images/22112025/22/07/image_22112025_22_07_37_2611.jpg', '/home/pi/Desktop/images/22112025/22/07/image_22112025_22_07_44_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/04/image_22112025_22_04_43_2943.jpg
/home/pi/Desktop/images/22112025/22/07/image_22112025_22_07_37_2611.jpg
/home/pi/Desktop/images/22112025/22/07/image_22112025_22_07_44_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395728768","1395728695","1395728734"],"photo_ids_order":["1395728695","1395728734","1395728768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2adf8cc45c020858b6b67401bbed282f.jpg","text":"TemporaryFile(/tmp/multipartBody3230667147792681434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845702879,"filename":"image_22112025_22_07_44_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cbf2970adb61271f717c5fa0bf16caf.jpg","text":"TemporaryFile(/tmp/multipartBody5007055993527172683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845702879,"filename":"image_22112025_22_04_43_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c966b965fffc23550a85b1d8d2903d4.jpg","text":"TemporaryFile(/tmp/multipartBody8278165108936506326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845702879,"filename":"image_22112025_22_07_37_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395728768","file1":"1395728734","file0":"1395728695"},"map_files_photo_id_array":[{"photo_id":"1395728768","filename":"file2"},{"photo_id":"1395728734","filename":"file1"},{"photo_id":"1395728695","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395728768":["hashtag1","hashtag2"]},{"1395728695":["hashtag1","hashtag2"]},{"1395728734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395728768, 1395728695, 1395728734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.459809064865112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:08:02.968557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_20_2664.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_23_2749.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_27_3706.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_30_2956.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_35_2652.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_39_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_20_2664.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_23_2749.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_27_3706.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_30_2956.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_35_2652.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_39_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729108","1395729098","1395729071","1395729110","1395729061","1395729055"],"photo_ids_order":["1395729055","1395729061","1395729071","1395729098","1395729108","1395729110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f6ab0c0dfa1cf12979d82cd9403f514b.jpg","text":"TemporaryFile(/tmp/multipartBody319985734402571280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845745112,"filename":"image_20112025_19_43_35_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9cb83c846d8343b474a431681e9800c2.jpg","text":"TemporaryFile(/tmp/multipartBody7993841666828229822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845745112,"filename":"image_20112025_19_43_30_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/891e4dd30ebc6fec0fdfad28c3a8b7f0.jpg","text":"TemporaryFile(/tmp/multipartBody2498152691438273993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845745112,"filename":"image_20112025_19_43_27_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d11b642934b1b582baa18b4717795cd.jpg","text":"TemporaryFile(/tmp/multipartBody3561561849534237072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845745112,"filename":"image_20112025_19_43_39_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f431333a4ad8ee98e8112fab630b4f38.jpg","text":"TemporaryFile(/tmp/multipartBody5223747421677089389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845745112,"filename":"image_20112025_19_43_23_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c856041cf952768fbf895dd68060936.jpg","text":"TemporaryFile(/tmp/multipartBody2244605973100696587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845745112,"filename":"image_20112025_19_43_20_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729071","file1":"1395729061","file0":"1395729055","file4":"1395729108","file5":"1395729110","file3":"1395729098"},"map_files_photo_id_array":[{"photo_id":"1395729110","filename":"file5"},{"photo_id":"1395729071","filename":"file2"},{"photo_id":"1395729108","filename":"file4"},{"photo_id":"1395729061","filename":"file1"},{"photo_id":"1395729055","filename":"file0"},{"photo_id":"1395729098","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395729108":["hashtag1","hashtag2"]},{"1395729098":["hashtag1","hashtag2"]},{"1395729071":["hashtag1","hashtag2"]},{"1395729110":["hashtag1","hashtag2"]},{"1395729061":["hashtag1","hashtag2"]},{"1395729055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395729108, 1395729098, 1395729071, 1395729110, 1395729061, 1395729055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40493965148926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:08:42.560290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/07/image_22112025_22_07_49_3000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/07/image_22112025_22_07_49_3000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729115"],"photo_id":"1395729115","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a4beac2204f303780ab19895b598539.jpg","text":"TemporaryFile(/tmp/multipartBody1465972169255841416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845783079,"filename":"image_22112025_22_07_49_3000.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395729115"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395729115"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.684484481811523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:09:03.710203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_44_2562.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_47_3204.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_54_3766.jpg', '/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_59_2720.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_02_2683.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_06_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_44_2562.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_47_3204.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_54_3766.jpg
/home/pi/Desktop/images/20112025/19/43/image_20112025_19_43_59_2720.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_02_2683.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_06_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729120","1395729117","1395729122","1395729119","1395729124","1395729118"],"photo_ids_order":["1395729117","1395729118","1395729119","1395729120","1395729122","1395729124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c562da4545fc8752f92688fbd00d559d.jpg","text":"TemporaryFile(/tmp/multipartBody4252484767237137326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845806093,"filename":"image_20112025_19_43_59_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ceef07839f1b925f334d03e6de47c09f.jpg","text":"TemporaryFile(/tmp/multipartBody2457799770764754984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845806093,"filename":"image_20112025_19_43_44_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f20a089a7629cb17745db61e7cf1aae.jpg","text":"TemporaryFile(/tmp/multipartBody4026797552905863126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845806093,"filename":"image_20112025_19_44_02_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/423e4fce6cad61a0d926bcbe3e2df5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1491121377469943787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845806093,"filename":"image_20112025_19_43_54_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/562027f78e56bed68827771cb1f77785.jpg","text":"TemporaryFile(/tmp/multipartBody327486933225519208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845806093,"filename":"image_20112025_19_44_06_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77e20cd79003f0afce2faac0a862f713.jpg","text":"TemporaryFile(/tmp/multipartBody3340462228220477480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845806093,"filename":"image_20112025_19_43_47_3204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729119","file1":"1395729118","file0":"1395729117","file4":"1395729122","file5":"1395729124","file3":"1395729120"},"map_files_photo_id_array":[{"photo_id":"1395729124","filename":"file5"},{"photo_id":"1395729119","filename":"file2"},{"photo_id":"1395729122","filename":"file4"},{"photo_id":"1395729118","filename":"file1"},{"photo_id":"1395729117","filename":"file0"},{"photo_id":"1395729120","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395729120":["hashtag1","hashtag2"]},{"1395729117":["hashtag1","hashtag2"]},{"1395729122":["hashtag1","hashtag2"]},{"1395729119":["hashtag1","hashtag2"]},{"1395729124":["hashtag1","hashtag2"]},{"1395729118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395729120, 1395729117, 1395729122, 1395729119, 1395729124, 1395729118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.970924377441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:09:42.907571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/08/image_22112025_22_08_55_2644.jpg', '/home/pi/Desktop/images/22112025/22/09/image_22112025_22_09_05_2927.jpg', '/home/pi/Desktop/images/22112025/22/09/image_22112025_22_09_10_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/08/image_22112025_22_08_55_2644.jpg
/home/pi/Desktop/images/22112025/22/09/image_22112025_22_09_05_2927.jpg
/home/pi/Desktop/images/22112025/22/09/image_22112025_22_09_10_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729131","1395729128","1395729130"],"photo_ids_order":["1395729128","1395729130","1395729131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c8db47e5e857a85d974793b5b5b0fb36.jpg","text":"TemporaryFile(/tmp/multipartBody8838317053749207078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845843513,"filename":"image_22112025_22_09_10_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/603d2cf8b1a38b4d087c8436bf98e633.jpg","text":"TemporaryFile(/tmp/multipartBody3970928568940189278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845843513,"filename":"image_22112025_22_08_55_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55796d6a164abcef208598f2cc22abdc.jpg","text":"TemporaryFile(/tmp/multipartBody9050488641429624345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845843513,"filename":"image_22112025_22_09_05_2927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729131","file1":"1395729130","file0":"1395729128"},"map_files_photo_id_array":[{"photo_id":"1395729131","filename":"file2"},{"photo_id":"1395729130","filename":"file1"},{"photo_id":"1395729128","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395729131":["hashtag1","hashtag2"]},{"1395729128":["hashtag1","hashtag2"]},{"1395729130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395729131, 1395729128, 1395729130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.48366618156433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:10:22.177345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_35_2613.jpg', '/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_49_1610.jpg', '/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_09_1609.jpg', '/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_10_1688.jpg', '/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_26_15221.jpg', '/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_29_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_35_2613.jpg
/home/pi/Desktop/images/30102025/18/22/image_30102025_18_22_49_1610.jpg
/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_09_1609.jpg
/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_10_1688.jpg
/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_26_15221.jpg
/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_29_1633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729141","1395729135","1395729248","1395729172","1395729208","1395729138"],"photo_ids_order":["1395729135","1395729138","1395729141","1395729172","1395729208","1395729248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/440d6e3aa2c655b60420fcc667cccd30.jpg","text":"TemporaryFile(/tmp/multipartBody4525518332221047489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845884456,"filename":"image_30102025_18_23_09_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62e0e2dbff12df927b1994f5b1aba968.jpg","text":"TemporaryFile(/tmp/multipartBody3631754861304203125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845884456,"filename":"image_30102025_18_22_35_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8231c40ff1ffa111167a07c87caa2abe.jpg","text":"TemporaryFile(/tmp/multipartBody5250200709919027937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845884456,"filename":"image_30102025_18_23_29_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7eae3fe45fae3e5a96c2603c73535ae.jpg","text":"TemporaryFile(/tmp/multipartBody2595557177190033706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845884456,"filename":"image_30102025_18_23_10_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f24cc63caa2820ca24cbe4aeb7dfe43c.jpg","text":"TemporaryFile(/tmp/multipartBody654915227917698427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845884456,"filename":"image_30102025_18_23_26_15221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1af5208288173f8311daac10448a7610.jpg","text":"TemporaryFile(/tmp/multipartBody5515319123098029108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845884456,"filename":"image_30102025_18_22_49_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729141","file1":"1395729138","file0":"1395729135","file4":"1395729208","file5":"1395729248","file3":"1395729172"},"map_files_photo_id_array":[{"photo_id":"1395729248","filename":"file5"},{"photo_id":"1395729141","filename":"file2"},{"photo_id":"1395729208","filename":"file4"},{"photo_id":"1395729138","filename":"file1"},{"photo_id":"1395729135","filename":"file0"},{"photo_id":"1395729172","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395729141":["hashtag1","hashtag2"]},{"1395729135":["hashtag1","hashtag2"]},{"1395729248":["hashtag1","hashtag2"]},{"1395729172":["hashtag1","hashtag2"]},{"1395729208":["hashtag1","hashtag2"]},{"1395729138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395729141, 1395729135, 1395729248, 1395729172, 1395729208, 1395729138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76021647453308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:11:02.899829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_08_2585.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_11_2716.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_15_3737.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_18_3038.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_21_3039.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_23_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_08_2585.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_11_2716.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_15_3737.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_18_3038.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_21_3039.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_23_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729432","1395729476","1395729408","1395729431","1395729434","1395729437"],"photo_ids_order":["1395729408","1395729431","1395729432","1395729434","1395729437","1395729476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ade10cec0ceeda91c6e45a612819a3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4727104505345906438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845926976,"filename":"image_20112025_19_44_15_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/017d1296b4082ca015c0a93d5cdf0d9a.jpg","text":"TemporaryFile(/tmp/multipartBody7973742626033955875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845926976,"filename":"image_20112025_19_44_23_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca7d270ce876810855bac736a827a1d2.jpg","text":"TemporaryFile(/tmp/multipartBody7933957424919227317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845926976,"filename":"image_20112025_19_44_08_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3cb035d82d4b5ac96c55a93ba1dee462.jpg","text":"TemporaryFile(/tmp/multipartBody8449763750678247534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845926976,"filename":"image_20112025_19_44_11_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e13954ffb427b334c95bf3c16525405e.jpg","text":"TemporaryFile(/tmp/multipartBody8289689052556102825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845926976,"filename":"image_20112025_19_44_18_3038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff8d39a5fd89f582cd16005ae62a22ad.jpg","text":"TemporaryFile(/tmp/multipartBody6936596426250042062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763845926976,"filename":"image_20112025_19_44_21_3039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729432","file1":"1395729431","file0":"1395729408","file4":"1395729437","file5":"1395729476","file3":"1395729434"},"map_files_photo_id_array":[{"photo_id":"1395729476","filename":"file5"},{"photo_id":"1395729432","filename":"file2"},{"photo_id":"1395729437","filename":"file4"},{"photo_id":"1395729431","filename":"file1"},{"photo_id":"1395729408","filename":"file0"},{"photo_id":"1395729434","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395729432":["hashtag1","hashtag2"]},{"1395729476":["hashtag1","hashtag2"]},{"1395729408":["hashtag1","hashtag2"]},{"1395729431":["hashtag1","hashtag2"]},{"1395729434":["hashtag1","hashtag2"]},{"1395729437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395729432, 1395729476, 1395729408, 1395729431, 1395729434, 1395729437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75666856765747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:11:42.356426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/09/image_22112025_22_09_14_3805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/09/image_22112025_22_09_14_3805.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4116179943084717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:12:02.983797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:12:22.532984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/09/image_22112025_22_09_14_3805.jpg', '/home/pi/Desktop/images/22112025/22/11/image_22112025_22_11_53_2965.jpg', '/home/pi/Desktop/images/22112025/22/12/image_22112025_22_12_20_2898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/09/image_22112025_22_09_14_3805.jpg
/home/pi/Desktop/images/22112025/22/11/image_22112025_22_11_53_2965.jpg
/home/pi/Desktop/images/22112025/22/12/image_22112025_22_12_20_2898.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729570","1395729564","1395729567"],"photo_ids_order":["1395729564","1395729567","1395729570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/591eb6dbb95e7fc99d1920b2b9e9dd95.jpg","text":"TemporaryFile(/tmp/multipartBody7884525764275023375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846003097,"filename":"image_22112025_22_12_20_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83bf36ba621c1ecc7f53a3d7de973e04.jpg","text":"TemporaryFile(/tmp/multipartBody3255609616063844844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846003097,"filename":"image_22112025_22_09_14_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bd9395c1a90e8624a3e0cd9b5822c71.jpg","text":"TemporaryFile(/tmp/multipartBody7322549880458502713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846003097,"filename":"image_22112025_22_11_53_2965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729570","file1":"1395729567","file0":"1395729564"},"map_files_photo_id_array":[{"photo_id":"1395729570","filename":"file2"},{"photo_id":"1395729567","filename":"file1"},{"photo_id":"1395729564","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395729570":["hashtag1","hashtag2"]},{"1395729564":["hashtag1","hashtag2"]},{"1395729567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395729570, 1395729564, 1395729567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.331917762756348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:13:03.536575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_35_2621.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_39_3659.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_44_2620.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_47_2719.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_50_2932.jpg', '/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_54_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_35_2621.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_39_3659.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_44_2620.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_47_2719.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_50_2932.jpg
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_54_3642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729593","1395729590","1395729584","1395729586","1395729583","1395729585"],"photo_ids_order":["1395729583","1395729584","1395729585","1395729586","1395729590","1395729593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b078b37dc20f7358770f2b63f8a53e5.jpg","text":"TemporaryFile(/tmp/multipartBody5750711632075675811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846045825,"filename":"image_20112025_19_44_54_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8f58f848f1f7e086948ecb0b8e0d21a.jpg","text":"TemporaryFile(/tmp/multipartBody6041066328145545793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846045825,"filename":"image_20112025_19_44_50_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff826f1c1ee329052358aa319c8d82c0.jpg","text":"TemporaryFile(/tmp/multipartBody4731642883139464081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846045825,"filename":"image_20112025_19_44_39_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bc8186fe98b94241c3a274f77db6671.jpg","text":"TemporaryFile(/tmp/multipartBody997202328128424410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846045825,"filename":"image_20112025_19_44_47_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09f06a3fe76d903fb00f3d14615955fe.jpg","text":"TemporaryFile(/tmp/multipartBody2791261178385278449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846045825,"filename":"image_20112025_19_44_35_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/743ec02de478f36adde13953a914953b.jpg","text":"TemporaryFile(/tmp/multipartBody6113448995364104092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846045825,"filename":"image_20112025_19_44_44_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729585","file1":"1395729584","file0":"1395729583","file4":"1395729590","file5":"1395729593","file3":"1395729586"},"map_files_photo_id_array":[{"photo_id":"1395729593","filename":"file5"},{"photo_id":"1395729585","filename":"file2"},{"photo_id":"1395729590","filename":"file4"},{"photo_id":"1395729584","filename":"file1"},{"photo_id":"1395729583","filename":"file0"},{"photo_id":"1395729586","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395729593":["hashtag1","hashtag2"]},{"1395729590":["hashtag1","hashtag2"]},{"1395729584":["hashtag1","hashtag2"]},{"1395729586":["hashtag1","hashtag2"]},{"1395729583":["hashtag1","hashtag2"]},{"1395729585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395729593, 1395729590, 1395729584, 1395729586, 1395729583, 1395729585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24474501609802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:13:42.763442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_37_6570.jpg', '/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_57_20272.jpg', '/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_59_1754.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_07_5729.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_10_2944.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_11_1518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_37_6570.jpg
/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_57_20272.jpg
/home/pi/Desktop/images/30102025/18/23/image_30102025_18_23_59_1754.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_07_5729.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_10_2944.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_11_1518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729603","1395729606","1395729602","1395729605","1395729604","1395729600"],"photo_ids_order":["1395729600","1395729602","1395729603","1395729604","1395729605","1395729606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b5b258a0de2b5ff20c9a581d1ba2ce7.jpg","text":"TemporaryFile(/tmp/multipartBody3936580040699798119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846084959,"filename":"image_30102025_18_23_59_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10c02e2e3cb938d382ab1bccd5918b58.jpg","text":"TemporaryFile(/tmp/multipartBody4032601134010093674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846084959,"filename":"image_30102025_18_24_11_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d61dcc863ed665b8c573a191967b21e9.jpg","text":"TemporaryFile(/tmp/multipartBody3451342436241757857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846084959,"filename":"image_30102025_18_23_57_20272.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2384c2555872089d48632b0050da3f78.jpg","text":"TemporaryFile(/tmp/multipartBody3421696175781907934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846084959,"filename":"image_30102025_18_24_10_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a913948281ec154aa78b10039f4b05a.jpg","text":"TemporaryFile(/tmp/multipartBody4874486159784755007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846084959,"filename":"image_30102025_18_24_07_5729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71d01f87aaed2f706bda386056f1b6e2.jpg","text":"TemporaryFile(/tmp/multipartBody5329299248037635281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846084959,"filename":"image_30102025_18_23_37_6570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729603","file1":"1395729602","file0":"1395729600","file4":"1395729605","file5":"1395729606","file3":"1395729604"},"map_files_photo_id_array":[{"photo_id":"1395729606","filename":"file5"},{"photo_id":"1395729603","filename":"file2"},{"photo_id":"1395729605","filename":"file4"},{"photo_id":"1395729602","filename":"file1"},{"photo_id":"1395729600","filename":"file0"},{"photo_id":"1395729604","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395729603":["hashtag1","hashtag2"]},{"1395729606":["hashtag1","hashtag2"]},{"1395729602":["hashtag1","hashtag2"]},{"1395729605":["hashtag1","hashtag2"]},{"1395729604":["hashtag1","hashtag2"]},{"1395729600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395729603, 1395729606, 1395729602, 1395729605, 1395729604, 1395729600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84409999847412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:14:22.086920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_18_7121.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_23_1634.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_25_1716.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_28_1510.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_31_3490.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_33_1561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_18_7121.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_23_1634.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_25_1716.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_28_1510.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_31_3490.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_33_1561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729612","1395729671","1395729710","1395729635","1395729610","1395729747"],"photo_ids_order":["1395729610","1395729612","1395729635","1395729671","1395729710","1395729747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c6ac1d65b07b8a886461723d911245f0.jpg","text":"TemporaryFile(/tmp/multipartBody1071854480729023066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846124211,"filename":"image_30102025_18_24_23_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b0c86de4bc4c37ad82b26dc4f00a023.jpg","text":"TemporaryFile(/tmp/multipartBody9221304700750171155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846124211,"filename":"image_30102025_18_24_28_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/64bb6646fbc4ff97ffa7b5013d976094.jpg","text":"TemporaryFile(/tmp/multipartBody1818798167381443612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846124211,"filename":"image_30102025_18_24_31_3490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d07454d30cc038bde4011412abcb97a2.jpg","text":"TemporaryFile(/tmp/multipartBody6386407269633384711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846124211,"filename":"image_30102025_18_24_25_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e61cbd8330bd5eb0ed1d69063070779.jpg","text":"TemporaryFile(/tmp/multipartBody90345478897781319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846124211,"filename":"image_30102025_18_24_18_7121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8bb02054c191ff10701b503c958e773.jpg","text":"TemporaryFile(/tmp/multipartBody7657457641078525132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846124211,"filename":"image_30102025_18_24_33_1561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729635","file1":"1395729612","file0":"1395729610","file4":"1395729710","file5":"1395729747","file3":"1395729671"},"map_files_photo_id_array":[{"photo_id":"1395729747","filename":"file5"},{"photo_id":"1395729635","filename":"file2"},{"photo_id":"1395729710","filename":"file4"},{"photo_id":"1395729612","filename":"file1"},{"photo_id":"1395729610","filename":"file0"},{"photo_id":"1395729671","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395729612":["hashtag1","hashtag2"]},{"1395729671":["hashtag1","hashtag2"]},{"1395729710":["hashtag1","hashtag2"]},{"1395729635":["hashtag1","hashtag2"]},{"1395729610":["hashtag1","hashtag2"]},{"1395729747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395729612, 1395729671, 1395729710, 1395729635, 1395729610, 1395729747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5912561416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:15:02.953760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_59_2602.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_05_2660.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_08_2736.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_12_3681.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_17_2685.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_20_3067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/44/image_20112025_19_44_59_2602.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_05_2660.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_08_2736.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_12_3681.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_17_2685.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_20_3067.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395729998","1395730037","1395729892","1395730078","1395729925","1395729963"],"photo_ids_order":["1395729892","1395729925","1395729963","1395729998","1395730037","1395730078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27f49071d96382fb101b23cea1d5083d.jpg","text":"TemporaryFile(/tmp/multipartBody7992876923769529734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846165185,"filename":"image_20112025_19_45_12_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ff7c222955241ee98948b830fcecfadc.jpg","text":"TemporaryFile(/tmp/multipartBody2414157504135237529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846165185,"filename":"image_20112025_19_45_17_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af273f47cefb8e616a900e5615a5e5a4.jpg","text":"TemporaryFile(/tmp/multipartBody7235765738810122476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846165185,"filename":"image_20112025_19_44_59_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b67386648b3fd954b315f32086803ef4.jpg","text":"TemporaryFile(/tmp/multipartBody7981852197255858310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846165185,"filename":"image_20112025_19_45_20_3067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/891a8ccdf0275882a330fb4ac3982e40.jpg","text":"TemporaryFile(/tmp/multipartBody6643576654975422476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846165185,"filename":"image_20112025_19_45_05_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c11b400514d751a1cee75d063ed8d6ff.jpg","text":"TemporaryFile(/tmp/multipartBody8530803577423499826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846165185,"filename":"image_20112025_19_45_08_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395729963","file1":"1395729925","file0":"1395729892","file4":"1395730037","file5":"1395730078","file3":"1395729998"},"map_files_photo_id_array":[{"photo_id":"1395730078","filename":"file5"},{"photo_id":"1395729963","filename":"file2"},{"photo_id":"1395730037","filename":"file4"},{"photo_id":"1395729925","filename":"file1"},{"photo_id":"1395729892","filename":"file0"},{"photo_id":"1395729998","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395729998":["hashtag1","hashtag2"]},{"1395730037":["hashtag1","hashtag2"]},{"1395729892":["hashtag1","hashtag2"]},{"1395730078":["hashtag1","hashtag2"]},{"1395729925":["hashtag1","hashtag2"]},{"1395729963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395729998, 1395730037, 1395729892, 1395730078, 1395729925, 1395729963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34644651412964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:15:42.241507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/12/image_22112025_22_12_23_2726.jpg', '/home/pi/Desktop/images/22112025/22/15/image_22112025_22_15_07_3951.jpg', '/home/pi/Desktop/images/22112025/22/15/image_22112025_22_15_46_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/12/image_22112025_22_12_23_2726.jpg
/home/pi/Desktop/images/22112025/22/15/image_22112025_22_15_07_3951.jpg
/home/pi/Desktop/images/22112025/22/15/image_22112025_22_15_46_2834.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395730088","1395730090","1395730089"],"photo_ids_order":["1395730088","1395730089","1395730090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa63ee73fe99134eed5c86717b4b491c.jpg","text":"TemporaryFile(/tmp/multipartBody8191682753231820915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846202850,"filename":"image_22112025_22_12_23_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13fea95824703ce049e6a82494b1b83b.jpg","text":"TemporaryFile(/tmp/multipartBody3956150909435293694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846202850,"filename":"image_22112025_22_15_46_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7c05b6eaa63c7e7511ff9eadba7a917c.jpg","text":"TemporaryFile(/tmp/multipartBody5910788585322391485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846202850,"filename":"image_22112025_22_15_07_3951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395730090","file1":"1395730089","file0":"1395730088"},"map_files_photo_id_array":[{"photo_id":"1395730090","filename":"file2"},{"photo_id":"1395730089","filename":"file1"},{"photo_id":"1395730088","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395730088":["hashtag1","hashtag2"]},{"1395730090":["hashtag1","hashtag2"]},{"1395730089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395730088, 1395730090, 1395730089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.229264497756958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:16:22.500603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/15/image_22112025_22_15_58_3642.jpg', '/home/pi/Desktop/images/22112025/22/16/image_22112025_22_16_39_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/15/image_22112025_22_15_58_3642.jpg
/home/pi/Desktop/images/22112025/22/16/image_22112025_22_16_39_2807.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395730224","1395730188"],"photo_ids_order":["1395730188","1395730224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57ae9959ee1d626e306b01caf01857ec.jpg","text":"TemporaryFile(/tmp/multipartBody346719651801184155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846243021,"filename":"image_22112025_22_16_39_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40b67d2377064b2ea91ccda249848ea3.jpg","text":"TemporaryFile(/tmp/multipartBody895921777639997514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846243021,"filename":"image_22112025_22_15_58_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395730224","file0":"1395730188"},"map_files_photo_id_array":[{"photo_id":"1395730224","filename":"file1"},{"photo_id":"1395730188","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395730224":["hashtag1","hashtag2"]},{"1395730188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395730224, 1395730188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.864838123321533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:16:42.554425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_34_1605.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_41_1615.jpg', '/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_47_1739.jpg', '/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_05_18479.jpg', '/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_07_1570.jpg', '/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_10_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_34_1605.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_41_1615.jpg
/home/pi/Desktop/images/30102025/18/24/image_30102025_18_24_47_1739.jpg
/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_05_18479.jpg
/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_07_1570.jpg
/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_10_1682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395730368","1395730335","1395730401","1395730350","1395730314","1395730412"],"photo_ids_order":["1395730314","1395730335","1395730350","1395730368","1395730401","1395730412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38b48be4b957a4a668ad33805adfb5f9.jpg","text":"TemporaryFile(/tmp/multipartBody249837872210646513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846264719,"filename":"image_30102025_18_25_05_18479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/56cc344a9c17966bf6cb8a2781d5c8cc.jpg","text":"TemporaryFile(/tmp/multipartBody8396190388204048794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846264719,"filename":"image_30102025_18_24_41_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a9335f1ccaf5853a660466ff05a96af.jpg","text":"TemporaryFile(/tmp/multipartBody2401905792843274110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846264719,"filename":"image_30102025_18_25_07_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62599fb7f3be8385c823cd185a90b3d5.jpg","text":"TemporaryFile(/tmp/multipartBody5469705878774194247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846264719,"filename":"image_30102025_18_24_47_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e58a3cba4e0eb0a798fd047f1de35d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3526390079236363609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846264719,"filename":"image_30102025_18_24_34_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b6f746e40673746f2fa3faebe829398f.jpg","text":"TemporaryFile(/tmp/multipartBody508808699962520594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846264719,"filename":"image_30102025_18_25_10_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395730350","file1":"1395730335","file0":"1395730314","file4":"1395730401","file5":"1395730412","file3":"1395730368"},"map_files_photo_id_array":[{"photo_id":"1395730412","filename":"file5"},{"photo_id":"1395730350","filename":"file2"},{"photo_id":"1395730401","filename":"file4"},{"photo_id":"1395730335","filename":"file1"},{"photo_id":"1395730314","filename":"file0"},{"photo_id":"1395730368","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395730368":["hashtag1","hashtag2"]},{"1395730335":["hashtag1","hashtag2"]},{"1395730401":["hashtag1","hashtag2"]},{"1395730350":["hashtag1","hashtag2"]},{"1395730314":["hashtag1","hashtag2"]},{"1395730412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395730368, 1395730335, 1395730401, 1395730350, 1395730314, 1395730412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94550895690918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:17:22.754139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_12_1544.jpg', '/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_25_11937.jpg', '/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_45_19793.jpg', '/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_54_9215.jpg', '/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_56_1534.jpg', '/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_01_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_12_1544.jpg
/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_25_11937.jpg
/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_45_19793.jpg
/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_54_9215.jpg
/home/pi/Desktop/images/30102025/18/25/image_30102025_18_25_56_1534.jpg
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_01_1677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395730484","1395730424","1395730421","1395730564","1395730444","1395730525"],"photo_ids_order":["1395730421","1395730424","1395730444","1395730484","1395730525","1395730564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f706460b1c17327bb30b9e2c9317616f.jpg","text":"TemporaryFile(/tmp/multipartBody1733686452827216235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846305226,"filename":"image_30102025_18_25_54_9215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d71ed8e8e432738964fd6f867912cda0.jpg","text":"TemporaryFile(/tmp/multipartBody5025146118391999180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846305226,"filename":"image_30102025_18_25_25_11937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e9a5a829c05e8d58cd45107acd87871.jpg","text":"TemporaryFile(/tmp/multipartBody6121893407082789978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846305226,"filename":"image_30102025_18_25_12_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8a534d712a8300d5210c96a8313e78b.jpg","text":"TemporaryFile(/tmp/multipartBody6076924583605285309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846305226,"filename":"image_30102025_18_26_01_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/929815c4e716e7ba04707ef73b8e6482.jpg","text":"TemporaryFile(/tmp/multipartBody8982322685926761759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846305226,"filename":"image_30102025_18_25_45_19793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6020db24bd5ed65e2ef6863e095d3da6.jpg","text":"TemporaryFile(/tmp/multipartBody8059477231043108028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846305226,"filename":"image_30102025_18_25_56_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395730444","file1":"1395730424","file0":"1395730421","file4":"1395730525","file5":"1395730564","file3":"1395730484"},"map_files_photo_id_array":[{"photo_id":"1395730564","filename":"file5"},{"photo_id":"1395730444","filename":"file2"},{"photo_id":"1395730525","filename":"file4"},{"photo_id":"1395730424","filename":"file1"},{"photo_id":"1395730421","filename":"file0"},{"photo_id":"1395730484","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395730484":["hashtag1","hashtag2"]},{"1395730424":["hashtag1","hashtag2"]},{"1395730421":["hashtag1","hashtag2"]},{"1395730564":["hashtag1","hashtag2"]},{"1395730444":["hashtag1","hashtag2"]},{"1395730525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395730484, 1395730424, 1395730421, 1395730564, 1395730444, 1395730525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63214302062988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:18:02.647535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_23_2769.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_35_2743.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_38_3585.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_41_2660.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_53_2867.jpg', '/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_56_2946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_23_2769.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_35_2743.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_38_3585.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_41_2660.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_53_2867.jpg
/home/pi/Desktop/images/20112025/19/45/image_20112025_19_45_56_2946.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395730824","1395730859","1395730897","1395730750","1395730714","1395730788"],"photo_ids_order":["1395730714","1395730750","1395730788","1395730824","1395730859","1395730897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/872bdb9e8a5197ce0242f750a920182e.jpg","text":"TemporaryFile(/tmp/multipartBody8578695232114125651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846344814,"filename":"image_20112025_19_45_41_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfac4e70e01b2c5673a6ee7b893c6878.jpg","text":"TemporaryFile(/tmp/multipartBody1666368143419851237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846344814,"filename":"image_20112025_19_45_53_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5711a9b7bde012bb46fa931331b66ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5598931019629143805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846344814,"filename":"image_20112025_19_45_56_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6b0b158faedb7ff9d270d25995bd89c6.jpg","text":"TemporaryFile(/tmp/multipartBody6465272006549569149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846344814,"filename":"image_20112025_19_45_35_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ecb7df530909a8103ea93009e75133da.jpg","text":"TemporaryFile(/tmp/multipartBody7915841735144777524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846344814,"filename":"image_20112025_19_45_23_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/901e2970a275c63c08c12257b76c39c8.jpg","text":"TemporaryFile(/tmp/multipartBody5919107728543218686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846344814,"filename":"image_20112025_19_45_38_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395730788","file1":"1395730750","file0":"1395730714","file4":"1395730859","file5":"1395730897","file3":"1395730824"},"map_files_photo_id_array":[{"photo_id":"1395730897","filename":"file5"},{"photo_id":"1395730788","filename":"file2"},{"photo_id":"1395730859","filename":"file4"},{"photo_id":"1395730750","filename":"file1"},{"photo_id":"1395730714","filename":"file0"},{"photo_id":"1395730824","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395730824":["hashtag1","hashtag2"]},{"1395730859":["hashtag1","hashtag2"]},{"1395730897":["hashtag1","hashtag2"]},{"1395730750":["hashtag1","hashtag2"]},{"1395730714":["hashtag1","hashtag2"]},{"1395730788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395730824, 1395730859, 1395730897, 1395730750, 1395730714, 1395730788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76494741439819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:18:42.048549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_02_1626.jpg', '/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_06_1587.jpg', '/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_09_1601.jpg', '/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_10_1630.jpg', '/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_12_1567.jpg', '/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_14_1540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_02_1626.jpg
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_06_1587.jpg
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_09_1601.jpg
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_10_1630.jpg
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_12_1567.jpg
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_14_1540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395730935","1395730938","1395730940","1395730934","1395730937","1395730936"],"photo_ids_order":["1395730934","1395730935","1395730936","1395730937","1395730938","1395730940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c55ec49b3a55de760e0dd1288795c6ae.jpg","text":"TemporaryFile(/tmp/multipartBody825201932018729863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846384213,"filename":"image_30102025_18_26_06_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3962bc00bb34caa09db6f98b074fa74e.jpg","text":"TemporaryFile(/tmp/multipartBody7148679818662212917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846384213,"filename":"image_30102025_18_26_12_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4237e6328a31d4f47e3436f8b98d833f.jpg","text":"TemporaryFile(/tmp/multipartBody6313946639190397663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846384213,"filename":"image_30102025_18_26_14_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d198b7a01dd8c355a58ce9dfbe7a0d8.jpg","text":"TemporaryFile(/tmp/multipartBody851909168453063531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846384213,"filename":"image_30102025_18_26_02_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a097d93ad4ac2c08e6d62cf59e00850.jpg","text":"TemporaryFile(/tmp/multipartBody2403941507307339449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846384213,"filename":"image_30102025_18_26_10_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c317010675c4a9cd02d9ee258337194b.jpg","text":"TemporaryFile(/tmp/multipartBody8558662266984454851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846384213,"filename":"image_30102025_18_26_09_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395730936","file1":"1395730935","file0":"1395730934","file4":"1395730938","file5":"1395730940","file3":"1395730937"},"map_files_photo_id_array":[{"photo_id":"1395730940","filename":"file5"},{"photo_id":"1395730936","filename":"file2"},{"photo_id":"1395730938","filename":"file4"},{"photo_id":"1395730935","filename":"file1"},{"photo_id":"1395730934","filename":"file0"},{"photo_id":"1395730937","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395730935":["hashtag1","hashtag2"]},{"1395730938":["hashtag1","hashtag2"]},{"1395730940":["hashtag1","hashtag2"]},{"1395730934":["hashtag1","hashtag2"]},{"1395730937":["hashtag1","hashtag2"]},{"1395730936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395730935, 1395730938, 1395730940, 1395730934, 1395730937, 1395730936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76588010787964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:19:22.340468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_15_1608.jpg', '/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_17_1679.jpg', '/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_08_3015.jpg', '/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_14_2532.jpg', '/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_17_2869.jpg', '/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_44_1798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_15_1608.jpg
/home/pi/Desktop/images/30102025/18/26/image_30102025_18_26_17_1679.jpg
/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_08_3015.jpg
/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_14_2532.jpg
/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_17_2869.jpg
/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_44_1798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731173","1395731181","1395731134","1395731097","1395731178","1395731055"],"photo_ids_order":["1395731055","1395731097","1395731134","1395731173","1395731178","1395731181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81094b9eb757cda1267afcb2dea76b37.jpg","text":"TemporaryFile(/tmp/multipartBody4704403013464429931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846424514,"filename":"image_30102025_18_28_14_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/62667308df73a01e180a09b22d8675dc.jpg","text":"TemporaryFile(/tmp/multipartBody1048819641249557388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846424514,"filename":"image_30102025_18_28_44_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffe76ea81986372b39570d9218253943.jpg","text":"TemporaryFile(/tmp/multipartBody1354051774596692761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846424514,"filename":"image_30102025_18_28_08_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/295e4fa1968861579d87766bdf6c4e0a.jpg","text":"TemporaryFile(/tmp/multipartBody3049808631952868881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846424514,"filename":"image_30102025_18_26_17_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9298dfab8796c38781f99f31c00e1a0b.jpg","text":"TemporaryFile(/tmp/multipartBody3457786271663434650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846424514,"filename":"image_30102025_18_28_17_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc8bb93d61be1228d7f22aaa295e81c1.jpg","text":"TemporaryFile(/tmp/multipartBody7453523214836328829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846424514,"filename":"image_30102025_18_26_15_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731134","file1":"1395731097","file0":"1395731055","file4":"1395731178","file5":"1395731181","file3":"1395731173"},"map_files_photo_id_array":[{"photo_id":"1395731181","filename":"file5"},{"photo_id":"1395731134","filename":"file2"},{"photo_id":"1395731178","filename":"file4"},{"photo_id":"1395731097","filename":"file1"},{"photo_id":"1395731055","filename":"file0"},{"photo_id":"1395731173","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395731173":["hashtag1","hashtag2"]},{"1395731181":["hashtag1","hashtag2"]},{"1395731134":["hashtag1","hashtag2"]},{"1395731097":["hashtag1","hashtag2"]},{"1395731178":["hashtag1","hashtag2"]},{"1395731055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395731173, 1395731181, 1395731134, 1395731097, 1395731178, 1395731055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.374717473983765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:20:02.945752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_02_2944.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_05_2859.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_08_2615.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_11_2798.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_17_2766.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_24_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_02_2944.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_05_2859.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_08_2615.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_11_2798.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_17_2766.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_24_3646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731273","1395731261","1395731272","1395731280","1395731283","1395731277"],"photo_ids_order":["1395731261","1395731272","1395731273","1395731277","1395731280","1395731283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f1f1b738c875d9e78f029bfc2d71719.jpg","text":"TemporaryFile(/tmp/multipartBody7446434083475297960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846467290,"filename":"image_20112025_19_46_08_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/53c5ac8c2c8d02eca9c65152d8b333cc.jpg","text":"TemporaryFile(/tmp/multipartBody6756294139671196937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846467290,"filename":"image_20112025_19_46_02_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cee9fd7657130a7fd563157938d0f4b0.jpg","text":"TemporaryFile(/tmp/multipartBody9020027107240890670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846467290,"filename":"image_20112025_19_46_05_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8ea72afcebb3ab4186157abb56ac2a7b.jpg","text":"TemporaryFile(/tmp/multipartBody1552888345313073906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846467290,"filename":"image_20112025_19_46_17_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab9d66c8017ae790ce20703e161978d9.jpg","text":"TemporaryFile(/tmp/multipartBody8668780571569478804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846467290,"filename":"image_20112025_19_46_24_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86b70792a44381bbfad86da45527bc94.jpg","text":"TemporaryFile(/tmp/multipartBody8885577574864825870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846467290,"filename":"image_20112025_19_46_11_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731273","file1":"1395731272","file0":"1395731261","file4":"1395731280","file5":"1395731283","file3":"1395731277"},"map_files_photo_id_array":[{"photo_id":"1395731283","filename":"file5"},{"photo_id":"1395731273","filename":"file2"},{"photo_id":"1395731280","filename":"file4"},{"photo_id":"1395731272","filename":"file1"},{"photo_id":"1395731261","filename":"file0"},{"photo_id":"1395731277","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395731273":["hashtag1","hashtag2"]},{"1395731261":["hashtag1","hashtag2"]},{"1395731272":["hashtag1","hashtag2"]},{"1395731280":["hashtag1","hashtag2"]},{"1395731283":["hashtag1","hashtag2"]},{"1395731277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395731273, 1395731261, 1395731272, 1395731280, 1395731283, 1395731277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.199241399765015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:21:02.485106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_26_2672.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_29_2994.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_32_2675.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_48_1553.jpg', '/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_59_2454.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_05_3140.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_26_2672.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_29_2994.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_32_2675.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_48_1553.jpg
/home/pi/Desktop/images/20112025/19/46/image_20112025_19_46_59_2454.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_05_3140.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731310","1395731333","1395731321","1395731309","1395731329","1395731308"],"photo_ids_order":["1395731308","1395731309","1395731310","1395731321","1395731329","1395731333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ca72e039ae4df8faf5a3fc60c10771a.jpg","text":"TemporaryFile(/tmp/multipartBody7871080333784325579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846524602,"filename":"image_20112025_19_46_32_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/65adc2f2691e5281207ef46d0876e5ba.jpg","text":"TemporaryFile(/tmp/multipartBody8583860803165432556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846524602,"filename":"image_20112025_19_47_05_3140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d882c9388defd21e3c2aca28d687bd9.jpg","text":"TemporaryFile(/tmp/multipartBody464381235373279815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846524602,"filename":"image_20112025_19_46_48_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df81a7b5452a0366ee85f280ed6e8a53.jpg","text":"TemporaryFile(/tmp/multipartBody1958941032801666760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846524602,"filename":"image_20112025_19_46_29_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0dc3edc9e4baae0a97f333d6b3ccd68.jpg","text":"TemporaryFile(/tmp/multipartBody4301375090663304494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846524602,"filename":"image_20112025_19_46_59_2454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ed070b14375154e3f12a287fab9f43d6.jpg","text":"TemporaryFile(/tmp/multipartBody9079009325955769360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846524602,"filename":"image_20112025_19_46_26_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731310","file1":"1395731309","file0":"1395731308","file4":"1395731329","file5":"1395731333","file3":"1395731321"},"map_files_photo_id_array":[{"photo_id":"1395731333","filename":"file5"},{"photo_id":"1395731310","filename":"file2"},{"photo_id":"1395731329","filename":"file4"},{"photo_id":"1395731309","filename":"file1"},{"photo_id":"1395731308","filename":"file0"},{"photo_id":"1395731321","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395731310":["hashtag1","hashtag2"]},{"1395731333":["hashtag1","hashtag2"]},{"1395731321":["hashtag1","hashtag2"]},{"1395731309":["hashtag1","hashtag2"]},{"1395731329":["hashtag1","hashtag2"]},{"1395731308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395731310, 1395731333, 1395731321, 1395731309, 1395731329, 1395731308)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.70745348930359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:22:02.359366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/16/image_22112025_22_16_49_2948.jpg', '/home/pi/Desktop/images/22112025/22/21/image_22112025_22_21_25_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/16/image_22112025_22_16_49_2948.jpg
/home/pi/Desktop/images/22112025/22/21/image_22112025_22_21_25_2843.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731344","1395731343"],"photo_ids_order":["1395731343","1395731344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82f8cd3172e4dca2ef4b2c7822584621.jpg","text":"TemporaryFile(/tmp/multipartBody2138367817871725091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846583025,"filename":"image_22112025_22_21_25_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cfb6bce3a9681f1a71e5f7cea6a218cf.jpg","text":"TemporaryFile(/tmp/multipartBody3895533404864821205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846583025,"filename":"image_22112025_22_16_49_2948.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395731344","file0":"1395731343"},"map_files_photo_id_array":[{"photo_id":"1395731344","filename":"file1"},{"photo_id":"1395731343","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731344":["hashtag1","hashtag2"]},{"1395731343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731344, 1395731343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.65238881111145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:22:21.980514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/21/image_22112025_22_21_32_3694.jpg', '/home/pi/Desktop/images/22112025/22/22/image_22112025_22_22_10_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/21/image_22112025_22_21_32_3694.jpg
/home/pi/Desktop/images/22112025/22/22/image_22112025_22_22_10_2701.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731347","1395731350"],"photo_ids_order":["1395731347","1395731350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e230184cdca03ca3ae62c0960297d41.jpg","text":"TemporaryFile(/tmp/multipartBody4068068135680042580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846602653,"filename":"image_22112025_22_21_32_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41d956c7296a198609c4c83256586ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1312829937615350088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846602653,"filename":"image_22112025_22_22_10_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395731350","file0":"1395731347"},"map_files_photo_id_array":[{"photo_id":"1395731350","filename":"file1"},{"photo_id":"1395731347","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731347":["hashtag1","hashtag2"]},{"1395731350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731347, 1395731350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.7023823261261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:22:41.955735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_51_1663.jpg', '/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_52_1605.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_07_14687.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_09_1804.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_12_1746.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_14_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_51_1663.jpg
/home/pi/Desktop/images/30102025/18/28/image_30102025_18_28_52_1605.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_07_14687.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_09_1804.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_12_1746.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_14_1567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731363","1395731365","1395731359","1395731362","1395731361","1395731364"],"photo_ids_order":["1395731359","1395731361","1395731362","1395731363","1395731364","1395731365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eecbe6cae4bd8d6873f68ab1b8186503.jpg","text":"TemporaryFile(/tmp/multipartBody3353170500014729058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846624092,"filename":"image_30102025_18_29_09_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d47dac7d988d62114d13aa655e7e8c1b.jpg","text":"TemporaryFile(/tmp/multipartBody1060550546269401944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846624092,"filename":"image_30102025_18_29_14_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f7a6a84bb18071d672e197996a412ab.jpg","text":"TemporaryFile(/tmp/multipartBody3669580365656076698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846624092,"filename":"image_30102025_18_28_51_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c462c80d01933a131396f004968643e0.jpg","text":"TemporaryFile(/tmp/multipartBody2656719477209442625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846624092,"filename":"image_30102025_18_29_07_14687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/784569d743c8cf79aef15302369dcb29.jpg","text":"TemporaryFile(/tmp/multipartBody7310409323198514599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846624092,"filename":"image_30102025_18_28_52_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4366b72541950782cf96ff64b113e051.jpg","text":"TemporaryFile(/tmp/multipartBody4679085116291230303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846624092,"filename":"image_30102025_18_29_12_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731362","file1":"1395731361","file0":"1395731359","file4":"1395731364","file5":"1395731365","file3":"1395731363"},"map_files_photo_id_array":[{"photo_id":"1395731365","filename":"file5"},{"photo_id":"1395731362","filename":"file2"},{"photo_id":"1395731364","filename":"file4"},{"photo_id":"1395731361","filename":"file1"},{"photo_id":"1395731359","filename":"file0"},{"photo_id":"1395731363","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395731363":["hashtag1","hashtag2"]},{"1395731365":["hashtag1","hashtag2"]},{"1395731359":["hashtag1","hashtag2"]},{"1395731362":["hashtag1","hashtag2"]},{"1395731361":["hashtag1","hashtag2"]},{"1395731364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395731363, 1395731365, 1395731359, 1395731362, 1395731361, 1395731364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27633094787598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:23:22.156699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_19_1619.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_21_1565.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_23_1721.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_24_1883.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_32_2557.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_35_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_19_1619.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_21_1565.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_23_1721.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_24_1883.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_32_2557.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_35_3609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731372","1395731375","1395731369","1395731377","1395731382","1395731379"],"photo_ids_order":["1395731369","1395731372","1395731375","1395731377","1395731379","1395731382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/398bc20eaeb5e4b42058c19f6c059a37.jpg","text":"TemporaryFile(/tmp/multipartBody5645672864136410054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846664305,"filename":"image_30102025_18_29_21_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8baed08d3d110855c20d65af2ebe789e.jpg","text":"TemporaryFile(/tmp/multipartBody6577441210666056061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846664305,"filename":"image_30102025_18_29_23_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cad676f96369a2885a18e02b924aeca1.jpg","text":"TemporaryFile(/tmp/multipartBody6798216493209833236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846664305,"filename":"image_30102025_18_29_19_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1d36fad459b12bb31261bc9878664db.jpg","text":"TemporaryFile(/tmp/multipartBody7129388835355292459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846664305,"filename":"image_30102025_18_29_24_1883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/890c510f2908e84790b47f6e1f919907.jpg","text":"TemporaryFile(/tmp/multipartBody5376250662057428657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846664305,"filename":"image_30102025_18_29_35_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e46a0509f842b27142297e9ed7946f6.jpg","text":"TemporaryFile(/tmp/multipartBody83793161843367588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846664305,"filename":"image_30102025_18_29_32_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731375","file1":"1395731372","file0":"1395731369","file4":"1395731379","file5":"1395731382","file3":"1395731377"},"map_files_photo_id_array":[{"photo_id":"1395731382","filename":"file5"},{"photo_id":"1395731375","filename":"file2"},{"photo_id":"1395731379","filename":"file4"},{"photo_id":"1395731372","filename":"file1"},{"photo_id":"1395731369","filename":"file0"},{"photo_id":"1395731377","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395731372":["hashtag1","hashtag2"]},{"1395731375":["hashtag1","hashtag2"]},{"1395731369":["hashtag1","hashtag2"]},{"1395731377":["hashtag1","hashtag2"]},{"1395731382":["hashtag1","hashtag2"]},{"1395731379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395731372, 1395731375, 1395731369, 1395731377, 1395731382, 1395731379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94414806365967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:24:03.295946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_11_2606.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_14_3727.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_17_2867.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_23_2676.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_29_3114.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_35_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_11_2606.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_14_3727.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_17_2867.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_23_2676.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_29_3114.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_35_2741.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.040156602859497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:24:22.475965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/22/image_22112025_22_22_16_2632.jpg', '/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_01_3253.jpg', '/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_04_2689.jpg', '/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_46_2627.jpg', '/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_49_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/22/image_22112025_22_22_16_2632.jpg
/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_01_3253.jpg
/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_04_2689.jpg
/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_46_2627.jpg
/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_49_3672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731400","1395731403","1395731393","1395731404","1395731397"],"photo_ids_order":["1395731393","1395731397","1395731400","1395731403","1395731404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0658a517dbbd50e0b83a42d0e2c6bfd2.jpg","text":"TemporaryFile(/tmp/multipartBody2967105281861847219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846723129,"filename":"image_22112025_22_24_04_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d52bb8044daf1112e24f3f8ba853d15.jpg","text":"TemporaryFile(/tmp/multipartBody5831725365211131486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846723129,"filename":"image_22112025_22_24_46_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/413ac3be305c731f4e72146215deaedb.jpg","text":"TemporaryFile(/tmp/multipartBody1947902458799416347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846723129,"filename":"image_22112025_22_22_16_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4994d13dae9c25d656330ff145abf253.jpg","text":"TemporaryFile(/tmp/multipartBody4839203958809995325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846723129,"filename":"image_22112025_22_24_49_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a5f9aab571efb2bae0d44a1dd0f3c81d.jpg","text":"TemporaryFile(/tmp/multipartBody3023018293750491490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846723129,"filename":"image_22112025_22_24_01_3253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731400","file1":"1395731397","file0":"1395731393","file4":"1395731404","file3":"1395731403"},"map_files_photo_id_array":[{"photo_id":"1395731400","filename":"file2"},{"photo_id":"1395731404","filename":"file4"},{"photo_id":"1395731397","filename":"file1"},{"photo_id":"1395731393","filename":"file0"},{"photo_id":"1395731403","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731400":["hashtag1","hashtag2"]},{"1395731403":["hashtag1","hashtag2"]},{"1395731393":["hashtag1","hashtag2"]},{"1395731404":["hashtag1","hashtag2"]},{"1395731397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731400, 1395731403, 1395731393, 1395731404, 1395731397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.19336462020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:25:03.429716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_11_2606.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_14_3727.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_17_2867.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_23_2676.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_29_3114.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_35_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_11_2606.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_14_3727.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_17_2867.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_23_2676.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_29_3114.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_35_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731421","1395731418","1395731420","1395731428","1395731419","1395731424"],"photo_ids_order":["1395731418","1395731419","1395731420","1395731421","1395731424","1395731428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2c4bdfbaada3551d8090c512fb12e05c.jpg","text":"TemporaryFile(/tmp/multipartBody1084128176969070891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846765323,"filename":"image_20112025_19_47_23_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4144d322d855580d4fc3c17ed2dcf41a.jpg","text":"TemporaryFile(/tmp/multipartBody7830494859117321215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846765323,"filename":"image_20112025_19_47_11_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f63ca26345eeb68135f2c759eeefd3e5.jpg","text":"TemporaryFile(/tmp/multipartBody5979809254748810943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846765323,"filename":"image_20112025_19_47_17_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbd10e9507617d05e088d4ce41a3730f.jpg","text":"TemporaryFile(/tmp/multipartBody6114765354543581223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846765323,"filename":"image_20112025_19_47_35_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ea82c9af21894d3158a319c277dc9e9.jpg","text":"TemporaryFile(/tmp/multipartBody6968046892590776063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846765323,"filename":"image_20112025_19_47_14_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/213d37fc7f1be49a2c666e6431de31da.jpg","text":"TemporaryFile(/tmp/multipartBody1249423465993878930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846765323,"filename":"image_20112025_19_47_29_3114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731420","file1":"1395731419","file0":"1395731418","file4":"1395731424","file5":"1395731428","file3":"1395731421"},"map_files_photo_id_array":[{"photo_id":"1395731428","filename":"file5"},{"photo_id":"1395731420","filename":"file2"},{"photo_id":"1395731424","filename":"file4"},{"photo_id":"1395731419","filename":"file1"},{"photo_id":"1395731418","filename":"file0"},{"photo_id":"1395731421","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395731421":["hashtag1","hashtag2"]},{"1395731418":["hashtag1","hashtag2"]},{"1395731420":["hashtag1","hashtag2"]},{"1395731428":["hashtag1","hashtag2"]},{"1395731419":["hashtag1","hashtag2"]},{"1395731424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395731421, 1395731418, 1395731420, 1395731428, 1395731419, 1395731424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35619282722473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:25:42.843095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_55_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/24/image_22112025_22_24_55_2645.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731436"],"photo_id":"1395731436","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7152f73d685174b962192249d6977fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8008561336059036320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846803368,"filename":"image_22112025_22_24_55_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395731436"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395731436"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.429743766784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:26:05.320135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_38_2607.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_41_3558.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_47_3659.jpg', '/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_53_5188.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_02_3450.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_05_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_38_2607.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_41_3558.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_47_3659.jpg
/home/pi/Desktop/images/20112025/19/47/image_20112025_19_47_53_5188.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_02_3450.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_05_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731438","1395731452","1395731446","1395731449","1395731443","1395731439"],"photo_ids_order":["1395731438","1395731439","1395731443","1395731446","1395731449","1395731452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1b4921c835e3d7386da79d92f9cf034.jpg","text":"TemporaryFile(/tmp/multipartBody4685841774207072093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846827448,"filename":"image_20112025_19_47_38_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f55ed3a843d04db85b12825ebe63905.jpg","text":"TemporaryFile(/tmp/multipartBody5286162257868489127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846827448,"filename":"image_20112025_19_48_05_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/724dc182204797b2b54592e7c55609c1.jpg","text":"TemporaryFile(/tmp/multipartBody8508261276617711227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846827448,"filename":"image_20112025_19_47_53_5188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7599839eee61ce9716a5619298fdb8c5.jpg","text":"TemporaryFile(/tmp/multipartBody4369291505822822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846827448,"filename":"image_20112025_19_48_02_3450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f3965e3d93a8a79f911276bcc457d444.jpg","text":"TemporaryFile(/tmp/multipartBody4871693468392996974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846827448,"filename":"image_20112025_19_47_47_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc1f9ed62c9b9104e1079e0a8e1cfabc.jpg","text":"TemporaryFile(/tmp/multipartBody6775465619876350263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846827448,"filename":"image_20112025_19_47_41_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731443","file1":"1395731439","file0":"1395731438","file4":"1395731449","file5":"1395731452","file3":"1395731446"},"map_files_photo_id_array":[{"photo_id":"1395731452","filename":"file5"},{"photo_id":"1395731443","filename":"file2"},{"photo_id":"1395731449","filename":"file4"},{"photo_id":"1395731439","filename":"file1"},{"photo_id":"1395731438","filename":"file0"},{"photo_id":"1395731446","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395731438":["hashtag1","hashtag2"]},{"1395731452":["hashtag1","hashtag2"]},{"1395731446":["hashtag1","hashtag2"]},{"1395731449":["hashtag1","hashtag2"]},{"1395731443":["hashtag1","hashtag2"]},{"1395731439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395731438, 1395731452, 1395731446, 1395731449, 1395731443, 1395731439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.22510361671448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:27:02.639954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/25/image_22112025_22_25_55_2815.jpg', '/home/pi/Desktop/images/22112025/22/26/image_22112025_22_26_07_2713.jpg', '/home/pi/Desktop/images/22112025/22/26/image_22112025_22_26_34_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/25/image_22112025_22_25_55_2815.jpg
/home/pi/Desktop/images/22112025/22/26/image_22112025_22_26_07_2713.jpg
/home/pi/Desktop/images/22112025/22/26/image_22112025_22_26_34_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731456","1395731455","1395731457"],"photo_ids_order":["1395731455","1395731456","1395731457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3164c14211ee5f27abbd2f17ca530fd.jpg","text":"TemporaryFile(/tmp/multipartBody4936253713609815073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846883384,"filename":"image_22112025_22_26_07_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/876794e1d73146779f30c239bffb9e03.jpg","text":"TemporaryFile(/tmp/multipartBody9015263442140809229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846883384,"filename":"image_22112025_22_25_55_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d3c2f1a24992a66ba96d4db561d5c61.jpg","text":"TemporaryFile(/tmp/multipartBody2857910673362741909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846883384,"filename":"image_22112025_22_26_34_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731457","file1":"1395731456","file0":"1395731455"},"map_files_photo_id_array":[{"photo_id":"1395731457","filename":"file2"},{"photo_id":"1395731456","filename":"file1"},{"photo_id":"1395731455","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731456":["hashtag1","hashtag2"]},{"1395731455":["hashtag1","hashtag2"]},{"1395731457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731456, 1395731455, 1395731457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.92293667793274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:27:42.060546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_41_3065.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_49_2543.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_54_4398.jpg', '/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_55_1616.jpg', '/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_07_3013.jpg', '/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_10_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_41_3065.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_49_2543.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_54_4398.jpg
/home/pi/Desktop/images/30102025/18/29/image_30102025_18_29_55_1616.jpg
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_07_3013.jpg
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_10_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731471","1395731468","1395731470","1395731473","1395731475","1395731472"],"photo_ids_order":["1395731468","1395731470","1395731471","1395731472","1395731473","1395731475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/edce2385f9e36f02a013ca8400b2e7e8.jpg","text":"TemporaryFile(/tmp/multipartBody1693495835739281890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846924220,"filename":"image_30102025_18_29_54_4398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8490d2cdf91ac7d73f7160361e7bb823.jpg","text":"TemporaryFile(/tmp/multipartBody3187609127156712761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846924220,"filename":"image_30102025_18_29_41_3065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e37f6dcfd041cd2f97a247a36cf2b770.jpg","text":"TemporaryFile(/tmp/multipartBody2953309606422371862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846924220,"filename":"image_30102025_18_29_49_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c9460544526e4d4f243958efd6e6549.jpg","text":"TemporaryFile(/tmp/multipartBody1200963723326249878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846924220,"filename":"image_30102025_18_31_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6bb47c06ca2785da13d7677175fbca8.jpg","text":"TemporaryFile(/tmp/multipartBody2025743841490831233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846924220,"filename":"image_30102025_18_31_10_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6db19251e4b594cadf6a0c76652c0780.jpg","text":"TemporaryFile(/tmp/multipartBody6770796948028341846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846924220,"filename":"image_30102025_18_29_55_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731471","file1":"1395731470","file0":"1395731468","file4":"1395731473","file5":"1395731475","file3":"1395731472"},"map_files_photo_id_array":[{"photo_id":"1395731475","filename":"file5"},{"photo_id":"1395731471","filename":"file2"},{"photo_id":"1395731473","filename":"file4"},{"photo_id":"1395731470","filename":"file1"},{"photo_id":"1395731468","filename":"file0"},{"photo_id":"1395731472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395731471":["hashtag1","hashtag2"]},{"1395731468":["hashtag1","hashtag2"]},{"1395731470":["hashtag1","hashtag2"]},{"1395731473":["hashtag1","hashtag2"]},{"1395731475":["hashtag1","hashtag2"]},{"1395731472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395731471, 1395731468, 1395731470, 1395731473, 1395731475, 1395731472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.045387268066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:28:22.336995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/26/image_22112025_22_26_41_2696.jpg', '/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_14_3663.jpg', '/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_19_2961.jpg', '/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_28_2887.jpg', '/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_37_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/26/image_22112025_22_26_41_2696.jpg
/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_14_3663.jpg
/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_19_2961.jpg
/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_28_2887.jpg
/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_37_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731483","1395731486","1395731489","1395731480","1395731491"],"photo_ids_order":["1395731480","1395731483","1395731486","1395731489","1395731491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/821acbddc8e83c128e205e59731e48a7.jpg","text":"TemporaryFile(/tmp/multipartBody1026986912367187470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846963076,"filename":"image_22112025_22_28_14_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/550bcf01ce173a70af9c4a3fd306941d.jpg","text":"TemporaryFile(/tmp/multipartBody455121334660938105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846963076,"filename":"image_22112025_22_28_19_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fb05082399801322853cc634171f6225.jpg","text":"TemporaryFile(/tmp/multipartBody1404490778849144504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846963076,"filename":"image_22112025_22_28_28_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3963c105e81e181a03d92d2c5363d0f0.jpg","text":"TemporaryFile(/tmp/multipartBody2951180520605985569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846963076,"filename":"image_22112025_22_26_41_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eeb84e18989453e596004eb573f11e00.jpg","text":"TemporaryFile(/tmp/multipartBody7428031265467755083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763846963076,"filename":"image_22112025_22_28_37_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731486","file1":"1395731483","file0":"1395731480","file4":"1395731491","file3":"1395731489"},"map_files_photo_id_array":[{"photo_id":"1395731486","filename":"file2"},{"photo_id":"1395731491","filename":"file4"},{"photo_id":"1395731483","filename":"file1"},{"photo_id":"1395731480","filename":"file0"},{"photo_id":"1395731489","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731483":["hashtag1","hashtag2"]},{"1395731486":["hashtag1","hashtag2"]},{"1395731489":["hashtag1","hashtag2"]},{"1395731480":["hashtag1","hashtag2"]},{"1395731491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731483, 1395731486, 1395731489, 1395731480, 1395731491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.32481837272644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:29:22.508486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_59_3725.jpg', '/home/pi/Desktop/images/22112025/22/29/image_22112025_22_29_19_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/28/image_22112025_22_28_59_3725.jpg
/home/pi/Desktop/images/22112025/22/29/image_22112025_22_29_19_3652.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731500","1395731496"],"photo_ids_order":["1395731496","1395731500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c1c79a2226301213632b8db93da6ba4.jpg","text":"TemporaryFile(/tmp/multipartBody940154321161344377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847023048,"filename":"image_22112025_22_29_19_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8993b1e7b47323ed0bea935710f3c755.jpg","text":"TemporaryFile(/tmp/multipartBody1033859130379439263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847023048,"filename":"image_22112025_22_28_59_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395731500","file0":"1395731496"},"map_files_photo_id_array":[{"photo_id":"1395731500","filename":"file1"},{"photo_id":"1395731496","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731500":["hashtag1","hashtag2"]},{"1395731496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731500, 1395731496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.769614458084106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:29:42.592181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_22_2660.jpg', '/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_26_3654.jpg', '/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_28_2673.jpg', '/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_35_3694.jpg', '/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_49_3623.jpg', '/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_52_2895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_22_2660.jpg
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_26_3654.jpg
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_28_2673.jpg
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_35_3694.jpg
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_49_3623.jpg
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_52_2895.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731520","1395731516","1395731510","1395731507","1395731512","1395731511"],"photo_ids_order":["1395731507","1395731510","1395731511","1395731512","1395731516","1395731520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7aead9b9ade509e954a4b8bb4a950ddc.jpg","text":"TemporaryFile(/tmp/multipartBody364029695579923128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847044787,"filename":"image_30102025_18_31_52_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db8d83d3944ce742df106668b10126bc.jpg","text":"TemporaryFile(/tmp/multipartBody4825696103791463608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847044787,"filename":"image_30102025_18_31_49_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6d90f51a2e43e76b3eb93958bd56d02.jpg","text":"TemporaryFile(/tmp/multipartBody6736236005736521661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847044787,"filename":"image_30102025_18_31_26_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f6c5fcc3efbb7fb534909aca2cda0cd.jpg","text":"TemporaryFile(/tmp/multipartBody9194847764351507727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847044787,"filename":"image_30102025_18_31_22_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b82b8da528fc4052063bcfed2f94af3.jpg","text":"TemporaryFile(/tmp/multipartBody6441137649577144290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847044787,"filename":"image_30102025_18_31_35_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/780b85aca543606cd5a9ca0e7afce0dd.jpg","text":"TemporaryFile(/tmp/multipartBody1540606696684865685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847044787,"filename":"image_30102025_18_31_28_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731511","file1":"1395731510","file0":"1395731507","file4":"1395731516","file5":"1395731520","file3":"1395731512"},"map_files_photo_id_array":[{"photo_id":"1395731520","filename":"file5"},{"photo_id":"1395731511","filename":"file2"},{"photo_id":"1395731516","filename":"file4"},{"photo_id":"1395731510","filename":"file1"},{"photo_id":"1395731507","filename":"file0"},{"photo_id":"1395731512","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395731520":["hashtag1","hashtag2"]},{"1395731516":["hashtag1","hashtag2"]},{"1395731510":["hashtag1","hashtag2"]},{"1395731507":["hashtag1","hashtag2"]},{"1395731512":["hashtag1","hashtag2"]},{"1395731511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395731520, 1395731516, 1395731510, 1395731507, 1395731512, 1395731511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19027256965637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:30:21.833689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_55_2626.jpg', '/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_59_3625.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_17_1672.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_19_1621.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_20_1731.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_29_8768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_55_2626.jpg
/home/pi/Desktop/images/30102025/18/31/image_30102025_18_31_59_3625.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_17_1672.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_19_1621.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_20_1731.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_29_8768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731539","1395731530","1395731533","1395731527","1395731536","1395731524"],"photo_ids_order":["1395731524","1395731527","1395731530","1395731533","1395731536","1395731539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3395b1af3c671f5bc0735d7f0c17e6ad.jpg","text":"TemporaryFile(/tmp/multipartBody3707468949054886793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847084011,"filename":"image_30102025_18_32_29_8768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b2698f6af8a3e7c7eb5873a1723ad04.jpg","text":"TemporaryFile(/tmp/multipartBody8411946593907259951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847084011,"filename":"image_30102025_18_32_17_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/795363ef3d2a7cc000e60d7184c3bfec.jpg","text":"TemporaryFile(/tmp/multipartBody2657199034150213373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847084011,"filename":"image_30102025_18_32_19_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc5a9c79faa50b535e52f5f899a45a70.jpg","text":"TemporaryFile(/tmp/multipartBody722626938985278601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847084011,"filename":"image_30102025_18_31_59_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84fc5d2b2fa3adf090b971eeed7949e4.jpg","text":"TemporaryFile(/tmp/multipartBody5222808194046501102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847084011,"filename":"image_30102025_18_32_20_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03f33c84da0b3d610ea6e5016de3382a.jpg","text":"TemporaryFile(/tmp/multipartBody5470726303049168024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847084011,"filename":"image_30102025_18_31_55_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731530","file1":"1395731527","file0":"1395731524","file4":"1395731536","file5":"1395731539","file3":"1395731533"},"map_files_photo_id_array":[{"photo_id":"1395731539","filename":"file5"},{"photo_id":"1395731530","filename":"file2"},{"photo_id":"1395731536","filename":"file4"},{"photo_id":"1395731527","filename":"file1"},{"photo_id":"1395731524","filename":"file0"},{"photo_id":"1395731533","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395731539":["hashtag1","hashtag2"]},{"1395731530":["hashtag1","hashtag2"]},{"1395731533":["hashtag1","hashtag2"]},{"1395731527":["hashtag1","hashtag2"]},{"1395731536":["hashtag1","hashtag2"]},{"1395731524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395731539, 1395731530, 1395731533, 1395731527, 1395731536, 1395731524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4742693901062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:31:02.739321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_11_3631.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_14_2737.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_17_2745.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_20_2791.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_23_3624.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_28_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_11_3631.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_14_2737.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_17_2745.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_20_2791.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_23_3624.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_28_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731546","1395731540","1395731543","1395731542","1395731541","1395731550"],"photo_ids_order":["1395731540","1395731541","1395731542","1395731543","1395731546","1395731550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/050a2d1107a3edbca2f27c9c6ddcbd27.jpg","text":"TemporaryFile(/tmp/multipartBody8344432427781203780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847124774,"filename":"image_20112025_19_48_23_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5891da9edf6a2b0dda50e0c7a93fd24d.jpg","text":"TemporaryFile(/tmp/multipartBody8356957913232433825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847124774,"filename":"image_20112025_19_48_11_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e27d8a85736cd4cec08714cc728a9fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8914849485364933073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847124774,"filename":"image_20112025_19_48_20_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23029e7d0ee422523363cec6ffff10c8.jpg","text":"TemporaryFile(/tmp/multipartBody4887527010202512257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847124774,"filename":"image_20112025_19_48_17_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c91c729a23c52146e8d910ae29b0fdda.jpg","text":"TemporaryFile(/tmp/multipartBody940633932070272424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847124774,"filename":"image_20112025_19_48_14_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79c9e0a29b368b4620742282f8653cdc.jpg","text":"TemporaryFile(/tmp/multipartBody7152937444384632682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847124774,"filename":"image_20112025_19_48_28_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731542","file1":"1395731541","file0":"1395731540","file4":"1395731546","file5":"1395731550","file3":"1395731543"},"map_files_photo_id_array":[{"photo_id":"1395731550","filename":"file5"},{"photo_id":"1395731542","filename":"file2"},{"photo_id":"1395731546","filename":"file4"},{"photo_id":"1395731541","filename":"file1"},{"photo_id":"1395731540","filename":"file0"},{"photo_id":"1395731543","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395731546":["hashtag1","hashtag2"]},{"1395731540":["hashtag1","hashtag2"]},{"1395731543":["hashtag1","hashtag2"]},{"1395731542":["hashtag1","hashtag2"]},{"1395731541":["hashtag1","hashtag2"]},{"1395731550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395731546, 1395731540, 1395731543, 1395731542, 1395731541, 1395731550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20434021949768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:31:42.124659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/29/image_22112025_22_29_52_2751.jpg', '/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_17_2634.jpg', '/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_20_3650.jpg', '/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_23_2836.jpg', '/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_28_2663.jpg', '/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_50_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/29/image_22112025_22_29_52_2751.jpg
/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_17_2634.jpg
/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_20_3650.jpg
/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_23_2836.jpg
/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_28_2663.jpg
/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_50_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731564","1395731561","1395731558","1395731563","1395731560","1395731562"],"photo_ids_order":["1395731558","1395731560","1395731561","1395731562","1395731563","1395731564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9f1f343b09383791470be94993855bb.jpg","text":"TemporaryFile(/tmp/multipartBody8214559118394858543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847162912,"filename":"image_22112025_22_30_50_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dd5f6ebb6b59da61f3f728c608936e50.jpg","text":"TemporaryFile(/tmp/multipartBody7768251320632838554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847162912,"filename":"image_22112025_22_30_20_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5a98d1ee360420786f936e9a60b5309.jpg","text":"TemporaryFile(/tmp/multipartBody6405458021590329762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847162912,"filename":"image_22112025_22_29_52_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1cbd2c63e0ceec412545450a9f15ce6d.jpg","text":"TemporaryFile(/tmp/multipartBody2523069465577098513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847162912,"filename":"image_22112025_22_30_28_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/70f4f17d7e0ac54af755e646163e197a.jpg","text":"TemporaryFile(/tmp/multipartBody1455555108068129640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847162912,"filename":"image_22112025_22_30_17_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d011b1da59f7d09b0a9c7686c62444f0.jpg","text":"TemporaryFile(/tmp/multipartBody1581378322743590152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847162912,"filename":"image_22112025_22_30_23_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731561","file1":"1395731560","file0":"1395731558","file4":"1395731563","file5":"1395731564","file3":"1395731562"},"map_files_photo_id_array":[{"photo_id":"1395731564","filename":"file5"},{"photo_id":"1395731561","filename":"file2"},{"photo_id":"1395731563","filename":"file4"},{"photo_id":"1395731560","filename":"file1"},{"photo_id":"1395731558","filename":"file0"},{"photo_id":"1395731562","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731564":["hashtag1","hashtag2"]},{"1395731561":["hashtag1","hashtag2"]},{"1395731558":["hashtag1","hashtag2"]},{"1395731563":["hashtag1","hashtag2"]},{"1395731560":["hashtag1","hashtag2"]},{"1395731562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731564, 1395731561, 1395731558, 1395731563, 1395731560, 1395731562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.598042249679565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:32:22.371738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_53_3018.jpg', '/home/pi/Desktop/images/22112025/22/31/image_22112025_22_31_08_2771.jpg', '/home/pi/Desktop/images/22112025/22/31/image_22112025_22_31_10_2681.jpg', '/home/pi/Desktop/images/22112025/22/31/image_22112025_22_31_28_2590.jpg', '/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_02_3605.jpg', '/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_14_3095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/30/image_22112025_22_30_53_3018.jpg
/home/pi/Desktop/images/22112025/22/31/image_22112025_22_31_08_2771.jpg
/home/pi/Desktop/images/22112025/22/31/image_22112025_22_31_10_2681.jpg
/home/pi/Desktop/images/22112025/22/31/image_22112025_22_31_28_2590.jpg
/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_02_3605.jpg
/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_14_3095.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731579","1395731570","1395731581","1395731566","1395731574","1395731577"],"photo_ids_order":["1395731566","1395731570","1395731574","1395731577","1395731579","1395731581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/77a100eb6a8221f53331b5595ac9afb6.jpg","text":"TemporaryFile(/tmp/multipartBody7932775828303088511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847203193,"filename":"image_22112025_22_32_02_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/86573d4b8cb58f5b24e9e64bb7cc2dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2404984986547409029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847203193,"filename":"image_22112025_22_31_08_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b77fddebf7ef4902536ca93f2981bbb.jpg","text":"TemporaryFile(/tmp/multipartBody528182118764133458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847203193,"filename":"image_22112025_22_32_14_3095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ed58ff7236b8efdd4f3f07d81a6fe9f.jpg","text":"TemporaryFile(/tmp/multipartBody8305700071561682209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847203193,"filename":"image_22112025_22_30_53_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c452fb34990eb93bc9fc556882c5644.jpg","text":"TemporaryFile(/tmp/multipartBody3084279983783199605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847203193,"filename":"image_22112025_22_31_10_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1c0e39880ccce3c91989e391c1ab814.jpg","text":"TemporaryFile(/tmp/multipartBody1739869609225281647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847203193,"filename":"image_22112025_22_31_28_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731574","file1":"1395731570","file0":"1395731566","file4":"1395731579","file5":"1395731581","file3":"1395731577"},"map_files_photo_id_array":[{"photo_id":"1395731581","filename":"file5"},{"photo_id":"1395731574","filename":"file2"},{"photo_id":"1395731579","filename":"file4"},{"photo_id":"1395731570","filename":"file1"},{"photo_id":"1395731566","filename":"file0"},{"photo_id":"1395731577","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731579":["hashtag1","hashtag2"]},{"1395731570":["hashtag1","hashtag2"]},{"1395731581":["hashtag1","hashtag2"]},{"1395731566":["hashtag1","hashtag2"]},{"1395731574":["hashtag1","hashtag2"]},{"1395731577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731579, 1395731570, 1395731581, 1395731566, 1395731574, 1395731577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91617274284363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:33:03.265550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_26_2647.jpg', '/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_28_2693.jpg', '/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_37_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_26_2647.jpg
/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_28_2693.jpg
/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_37_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731582","1395731584","1395731583"],"photo_ids_order":["1395731582","1395731583","1395731584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da290114acb191305440cc7a59169895.jpg","text":"TemporaryFile(/tmp/multipartBody5829281258879973376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847243960,"filename":"image_22112025_22_32_26_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31c581d67323857837d3393c0f74920e.jpg","text":"TemporaryFile(/tmp/multipartBody5710108869242186155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847243960,"filename":"image_22112025_22_32_37_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ffbe5e84ef548bd646c9d12995f5c2fe.jpg","text":"TemporaryFile(/tmp/multipartBody5532774342797391998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847243960,"filename":"image_22112025_22_32_28_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731584","file1":"1395731583","file0":"1395731582"},"map_files_photo_id_array":[{"photo_id":"1395731584","filename":"file2"},{"photo_id":"1395731583","filename":"file1"},{"photo_id":"1395731582","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731582":["hashtag1","hashtag2"]},{"1395731584":["hashtag1","hashtag2"]},{"1395731583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731582, 1395731584, 1395731583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.924321174621582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:33:42.494690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_40_2754.jpg', '/home/pi/Desktop/images/22112025/22/33/image_22112025_22_33_25_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/32/image_22112025_22_32_40_2754.jpg
/home/pi/Desktop/images/22112025/22/33/image_22112025_22_33_25_2642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731596","1395731600"],"photo_ids_order":["1395731596","1395731600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6484cd5451d6ab8d6c37747d896b4f81.jpg","text":"TemporaryFile(/tmp/multipartBody872183385506307444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847283066,"filename":"image_22112025_22_32_40_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b61c799a6e4b0a314234a7d88045ccac.jpg","text":"TemporaryFile(/tmp/multipartBody1942573541332531674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847283066,"filename":"image_22112025_22_33_25_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395731600","file0":"1395731596"},"map_files_photo_id_array":[{"photo_id":"1395731600","filename":"file1"},{"photo_id":"1395731596","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731596":["hashtag1","hashtag2"]},{"1395731600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731596, 1395731600)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 21.239986658096313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:34:25.431142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_31_1798.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_33_1666.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_34_1629.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_36_1635.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_38_1698.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_39_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_31_1798.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_33_1666.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_34_1629.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_36_1635.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_38_1698.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_39_1682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731613","1395731616","1395731621","1395731606","1395731619","1395731610"],"photo_ids_order":["1395731606","1395731610","1395731613","1395731616","1395731619","1395731621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca118373b7dfd21cde58536a177edeb0.jpg","text":"TemporaryFile(/tmp/multipartBody4001756563740548163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847330064,"filename":"image_30102025_18_32_34_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4acad111f80fc029e61e7713752545c4.jpg","text":"TemporaryFile(/tmp/multipartBody1112016890951439184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847330064,"filename":"image_30102025_18_32_36_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f0b04e2ba46fc542a81b51a5939b87c9.jpg","text":"TemporaryFile(/tmp/multipartBody5617770996705311527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847330064,"filename":"image_30102025_18_32_39_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c74a063daa21d047a31042fa550ebca.jpg","text":"TemporaryFile(/tmp/multipartBody1644000353422758734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847330064,"filename":"image_30102025_18_32_31_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/76b507bc4b10623ed31bc54d1e22c6af.jpg","text":"TemporaryFile(/tmp/multipartBody5526068583238159430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847330064,"filename":"image_30102025_18_32_38_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd313c3e21fab00ca728db98b360b0f2.jpg","text":"TemporaryFile(/tmp/multipartBody2817487887180391909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847330064,"filename":"image_30102025_18_32_33_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731613","file1":"1395731610","file0":"1395731606","file4":"1395731619","file5":"1395731621","file3":"1395731616"},"map_files_photo_id_array":[{"photo_id":"1395731621","filename":"file5"},{"photo_id":"1395731613","filename":"file2"},{"photo_id":"1395731619","filename":"file4"},{"photo_id":"1395731610","filename":"file1"},{"photo_id":"1395731606","filename":"file0"},{"photo_id":"1395731616","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395731613":["hashtag1","hashtag2"]},{"1395731616":["hashtag1","hashtag2"]},{"1395731621":["hashtag1","hashtag2"]},{"1395731606":["hashtag1","hashtag2"]},{"1395731619":["hashtag1","hashtag2"]},{"1395731610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395731613, 1395731616, 1395731621, 1395731606, 1395731619, 1395731610)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395731613 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_34_1629.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395731613 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_34_1629.jpg";
uploaded 6 photos
time to upload: 64.37201881408691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:35:43.655693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:36:02.209390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:36:21.937592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/33/image_22112025_22_33_28_3058.jpg', '/home/pi/Desktop/images/22112025/22/34/image_22112025_22_34_43_2529.jpg', '/home/pi/Desktop/images/22112025/22/34/image_22112025_22_34_56_3690.jpg', '/home/pi/Desktop/images/22112025/22/35/image_22112025_22_35_07_3014.jpg', '/home/pi/Desktop/images/22112025/22/35/image_22112025_22_35_47_1698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/33/image_22112025_22_33_28_3058.jpg
/home/pi/Desktop/images/22112025/22/34/image_22112025_22_34_43_2529.jpg
/home/pi/Desktop/images/22112025/22/34/image_22112025_22_34_56_3690.jpg
/home/pi/Desktop/images/22112025/22/35/image_22112025_22_35_07_3014.jpg
/home/pi/Desktop/images/22112025/22/35/image_22112025_22_35_47_1698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731650","1395731644","1395731653","1395731647","1395731655"],"photo_ids_order":["1395731644","1395731647","1395731650","1395731653","1395731655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5791dcb037bb6f9e04cb7f5041936f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6211385625668172638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847442822,"filename":"image_22112025_22_34_56_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0d0788db87484b2c99b7917054b74a60.jpg","text":"TemporaryFile(/tmp/multipartBody6929285993199825215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847442822,"filename":"image_22112025_22_33_28_3058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c450ab457931957553c6eac5023aa1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8834282096798213484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847442822,"filename":"image_22112025_22_35_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/abac4eb217eb18f549b0b5be068ed569.jpg","text":"TemporaryFile(/tmp/multipartBody8103647736603051279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847442822,"filename":"image_22112025_22_34_43_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/152f63d3c3125321f59937c286caa9b3.jpg","text":"TemporaryFile(/tmp/multipartBody3973136430627320264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847442822,"filename":"image_22112025_22_35_47_1698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731650","file1":"1395731647","file0":"1395731644","file4":"1395731655","file3":"1395731653"},"map_files_photo_id_array":[{"photo_id":"1395731650","filename":"file2"},{"photo_id":"1395731655","filename":"file4"},{"photo_id":"1395731647","filename":"file1"},{"photo_id":"1395731644","filename":"file0"},{"photo_id":"1395731653","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731650":["hashtag1","hashtag2"]},{"1395731644":["hashtag1","hashtag2"]},{"1395731653":["hashtag1","hashtag2"]},{"1395731647":["hashtag1","hashtag2"]},{"1395731655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731650, 1395731644, 1395731653, 1395731647, 1395731655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.09329032897949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:37:02.712171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_35_2647.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_37_2751.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_44_2742.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_46_2603.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_53_2550.jpg', '/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_55_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_35_2647.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_37_2751.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_44_2742.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_46_2603.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_53_2550.jpg
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_55_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731663","1395731672","1395731669","1395731662","1395731665","1395731664"],"photo_ids_order":["1395731662","1395731663","1395731664","1395731665","1395731669","1395731672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4e4c1e70ffba8f104bf0a0108aacd780.jpg","text":"TemporaryFile(/tmp/multipartBody7873923600844597653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847484985,"filename":"image_20112025_19_48_37_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a0b966a414318c81aeca3ecf5a81143.jpg","text":"TemporaryFile(/tmp/multipartBody3932466065609062072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847484985,"filename":"image_20112025_19_48_55_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/230ec7e7c61246acd5f6b853fdd4349a.jpg","text":"TemporaryFile(/tmp/multipartBody4461262309683522148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847484985,"filename":"image_20112025_19_48_53_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/81bef0d74ee9027de4cf3e66bd12f1d3.jpg","text":"TemporaryFile(/tmp/multipartBody3125034427884455862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847484985,"filename":"image_20112025_19_48_35_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/840b1df3542750de8251261a3c91af17.jpg","text":"TemporaryFile(/tmp/multipartBody7178531897862879244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847484985,"filename":"image_20112025_19_48_46_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0bf1e383ec860f794bac0e83d158705.jpg","text":"TemporaryFile(/tmp/multipartBody413605898717782309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847484985,"filename":"image_20112025_19_48_44_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731664","file1":"1395731663","file0":"1395731662","file4":"1395731669","file5":"1395731672","file3":"1395731665"},"map_files_photo_id_array":[{"photo_id":"1395731672","filename":"file5"},{"photo_id":"1395731664","filename":"file2"},{"photo_id":"1395731669","filename":"file4"},{"photo_id":"1395731663","filename":"file1"},{"photo_id":"1395731662","filename":"file0"},{"photo_id":"1395731665","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395731663":["hashtag1","hashtag2"]},{"1395731672":["hashtag1","hashtag2"]},{"1395731669":["hashtag1","hashtag2"]},{"1395731662":["hashtag1","hashtag2"]},{"1395731665":["hashtag1","hashtag2"]},{"1395731664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395731663, 1395731672, 1395731669, 1395731662, 1395731665, 1395731664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.401243686676025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:37:42.175871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/35/image_22112025_22_35_56_2740.jpg', '/home/pi/Desktop/images/22112025/22/36/image_22112025_22_36_44_6490.jpg', '/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_01_2530.jpg', '/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_03_1626.jpg', '/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_08_1618.jpg', '/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_10_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/35/image_22112025_22_35_56_2740.jpg
/home/pi/Desktop/images/22112025/22/36/image_22112025_22_36_44_6490.jpg
/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_01_2530.jpg
/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_03_1626.jpg
/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_08_1618.jpg
/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_10_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395731681","1395731680","1395731677","1395731719","1395731685","1395731754"],"photo_ids_order":["1395731677","1395731680","1395731681","1395731685","1395731719","1395731754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa55aa7717540dc6cc717992c551f54f.jpg","text":"TemporaryFile(/tmp/multipartBody7840049223818310461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847522947,"filename":"image_22112025_22_37_01_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4bf739bb1410ed0c762bd3bfc9179bca.jpg","text":"TemporaryFile(/tmp/multipartBody2977702877032103815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847522947,"filename":"image_22112025_22_36_44_6490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db69050242ed274df3ea1213589a302a.jpg","text":"TemporaryFile(/tmp/multipartBody4775051469478615072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847522947,"filename":"image_22112025_22_35_56_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bc6aaad87e9efd7d2b8feb7abd18684d.jpg","text":"TemporaryFile(/tmp/multipartBody5941678213495712062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847522947,"filename":"image_22112025_22_37_08_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47bfdfe9a7048e77630ace7874e584a0.jpg","text":"TemporaryFile(/tmp/multipartBody8138420901061652843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847522947,"filename":"image_22112025_22_37_03_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad3d90553a1361ff5dc08a52b7694f56.jpg","text":"TemporaryFile(/tmp/multipartBody6767765909436376481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847522947,"filename":"image_22112025_22_37_10_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731681","file1":"1395731680","file0":"1395731677","file4":"1395731719","file5":"1395731754","file3":"1395731685"},"map_files_photo_id_array":[{"photo_id":"1395731754","filename":"file5"},{"photo_id":"1395731681","filename":"file2"},{"photo_id":"1395731719","filename":"file4"},{"photo_id":"1395731680","filename":"file1"},{"photo_id":"1395731677","filename":"file0"},{"photo_id":"1395731685","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395731681":["hashtag1","hashtag2"]},{"1395731680":["hashtag1","hashtag2"]},{"1395731677":["hashtag1","hashtag2"]},{"1395731719":["hashtag1","hashtag2"]},{"1395731685":["hashtag1","hashtag2"]},{"1395731754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395731681, 1395731680, 1395731677, 1395731719, 1395731685, 1395731754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91709804534912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:38:22.316682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_16_2735.jpg', '/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_47_3800.jpg', '/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_50_2862.jpg', '/home/pi/Desktop/images/22112025/22/38/image_22112025_22_38_43_2696.jpg', '/home/pi/Desktop/images/22112025/22/38/image_22112025_22_38_52_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_16_2735.jpg
/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_47_3800.jpg
/home/pi/Desktop/images/22112025/22/37/image_22112025_22_37_50_2862.jpg
/home/pi/Desktop/images/22112025/22/38/image_22112025_22_38_43_2696.jpg
/home/pi/Desktop/images/22112025/22/38/image_22112025_22_38_52_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732023","1395731897","1395732008","1395731970","1395731934"],"photo_ids_order":["1395731897","1395731934","1395731970","1395732008","1395732023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f4111341e0ed9f92880c9e6aa5d0eec.jpg","text":"TemporaryFile(/tmp/multipartBody3592077151024353324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847563183,"filename":"image_22112025_22_38_52_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84ff549f2d8d0167e5cef1238a4f077a.jpg","text":"TemporaryFile(/tmp/multipartBody9187361964682554728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847563183,"filename":"image_22112025_22_37_16_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4463f30b6171466606bfee0e25216fa0.jpg","text":"TemporaryFile(/tmp/multipartBody1119766383859470759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847563183,"filename":"image_22112025_22_38_43_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b67be008bd70de03852340fd42490658.jpg","text":"TemporaryFile(/tmp/multipartBody6424133419951972263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847563183,"filename":"image_22112025_22_37_50_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9f1fd5b67ab9fdce4434b63d19bdb329.jpg","text":"TemporaryFile(/tmp/multipartBody6771898959676029085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847563183,"filename":"image_22112025_22_37_47_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395731970","file1":"1395731934","file0":"1395731897","file4":"1395732023","file3":"1395732008"},"map_files_photo_id_array":[{"photo_id":"1395731970","filename":"file2"},{"photo_id":"1395732023","filename":"file4"},{"photo_id":"1395731934","filename":"file1"},{"photo_id":"1395731897","filename":"file0"},{"photo_id":"1395732008","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395732023":["hashtag1","hashtag2"]},{"1395731897":["hashtag1","hashtag2"]},{"1395732008":["hashtag1","hashtag2"]},{"1395731970":["hashtag1","hashtag2"]},{"1395731934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395732023, 1395731897, 1395732008, 1395731970, 1395731934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.19512128829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:39:03.213907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_59_3603.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_02_2855.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_05_2861.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_11_2616.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_20_2778.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_23_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/48/image_20112025_19_48_59_3603.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_02_2855.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_05_2861.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_11_2616.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_20_2778.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_23_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732140","1395732146","1395732088","1395732142","1395732099","1395732126"],"photo_ids_order":["1395732088","1395732099","1395732126","1395732140","1395732142","1395732146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/47a457e01aae84f42409d44fe9bb8025.jpg","text":"TemporaryFile(/tmp/multipartBody7204719985623116696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847605473,"filename":"image_20112025_19_49_11_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13852591373dea6d67705f3f24003915.jpg","text":"TemporaryFile(/tmp/multipartBody8627288780113517206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847605473,"filename":"image_20112025_19_49_23_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7f4242933a69a0bef3e5b5f3b887fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody7338076345120975586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847605473,"filename":"image_20112025_19_48_59_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4526024fd04b3730fc61a5f811a3b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody205219513751709384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847605473,"filename":"image_20112025_19_49_20_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61429d9e26f12cd1bf84ebbd093d287e.jpg","text":"TemporaryFile(/tmp/multipartBody1736575338059694238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847605473,"filename":"image_20112025_19_49_02_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/325622af6fb3fcff20e834966183b653.jpg","text":"TemporaryFile(/tmp/multipartBody2862093388971433829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847605473,"filename":"image_20112025_19_49_05_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732126","file1":"1395732099","file0":"1395732088","file4":"1395732142","file5":"1395732146","file3":"1395732140"},"map_files_photo_id_array":[{"photo_id":"1395732146","filename":"file5"},{"photo_id":"1395732126","filename":"file2"},{"photo_id":"1395732142","filename":"file4"},{"photo_id":"1395732099","filename":"file1"},{"photo_id":"1395732088","filename":"file0"},{"photo_id":"1395732140","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395732140":["hashtag1","hashtag2"]},{"1395732146":["hashtag1","hashtag2"]},{"1395732088":["hashtag1","hashtag2"]},{"1395732142":["hashtag1","hashtag2"]},{"1395732099":["hashtag1","hashtag2"]},{"1395732126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395732140, 1395732146, 1395732088, 1395732142, 1395732099, 1395732126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36163687705994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:39:42.639086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/38/image_22112025_22_38_55_2779.jpg', '/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_04_2808.jpg', '/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_08_3575.jpg', '/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_10_2582.jpg', '/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_19_2654.jpg', '/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_34_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/38/image_22112025_22_38_55_2779.jpg
/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_04_2808.jpg
/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_08_3575.jpg
/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_10_2582.jpg
/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_19_2654.jpg
/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_34_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732155","1395732151","1395732154","1395732157","1395732156","1395732153"],"photo_ids_order":["1395732151","1395732153","1395732154","1395732155","1395732156","1395732157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e3aa68ce65bb8f7f92878b1af897767e.jpg","text":"TemporaryFile(/tmp/multipartBody8691402009565469519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847643382,"filename":"image_22112025_22_39_10_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b2651b323542094d8b4e3a45924c6bf.jpg","text":"TemporaryFile(/tmp/multipartBody2556085083582915481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847643382,"filename":"image_22112025_22_38_55_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd8f758b8cca70a77de5fb34f1ffbaad.jpg","text":"TemporaryFile(/tmp/multipartBody3090207971108183036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847643382,"filename":"image_22112025_22_39_08_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/34e300d0be7cb21807deaf6c8b576692.jpg","text":"TemporaryFile(/tmp/multipartBody2972265186914165393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847643382,"filename":"image_22112025_22_39_34_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac0dbff0f328b6db8ac1c7e37c31321e.jpg","text":"TemporaryFile(/tmp/multipartBody53731119800260429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847643382,"filename":"image_22112025_22_39_19_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f323eebe77c8af7d6a82fc52211067f.jpg","text":"TemporaryFile(/tmp/multipartBody8603034730307572210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847643382,"filename":"image_22112025_22_39_04_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732154","file1":"1395732153","file0":"1395732151","file4":"1395732156","file5":"1395732157","file3":"1395732155"},"map_files_photo_id_array":[{"photo_id":"1395732157","filename":"file5"},{"photo_id":"1395732154","filename":"file2"},{"photo_id":"1395732156","filename":"file4"},{"photo_id":"1395732153","filename":"file1"},{"photo_id":"1395732151","filename":"file0"},{"photo_id":"1395732155","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395732155":["hashtag1","hashtag2"]},{"1395732151":["hashtag1","hashtag2"]},{"1395732154":["hashtag1","hashtag2"]},{"1395732157":["hashtag1","hashtag2"]},{"1395732156":["hashtag1","hashtag2"]},{"1395732153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395732155, 1395732151, 1395732154, 1395732157, 1395732156, 1395732153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08024024963379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:40:21.911066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_31_1798.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_33_1666.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_34_1629.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_36_1635.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_38_1698.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_39_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_31_1798.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_33_1666.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_34_1629.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_36_1635.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_38_1698.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_39_1682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732161","1395732164","1395732172","1395732166","1395732175","1395732169"],"photo_ids_order":["1395732161","1395732164","1395732166","1395732169","1395732172","1395732175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a99352a85cc3fb1c7c9e5fe7523146b2.jpg","text":"TemporaryFile(/tmp/multipartBody8018866074734771610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847683963,"filename":"image_30102025_18_32_31_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/710718765b681904912cf485d84ca3b1.jpg","text":"TemporaryFile(/tmp/multipartBody5914100603554107432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847683963,"filename":"image_30102025_18_32_33_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/79128280a79c5d25bf5c8383943f4c3d.jpg","text":"TemporaryFile(/tmp/multipartBody2609212214903325633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847683963,"filename":"image_30102025_18_32_38_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/42effbe1c66551c3c4e2473060c82f76.jpg","text":"TemporaryFile(/tmp/multipartBody7233862167316777222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847683963,"filename":"image_30102025_18_32_34_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b76b44f016b17a5f943cdb32c8979c72.jpg","text":"TemporaryFile(/tmp/multipartBody8630600882099394247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847683963,"filename":"image_30102025_18_32_39_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7e5dd10d20fd4c8449fce9c866542049.jpg","text":"TemporaryFile(/tmp/multipartBody5979312855402536688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847683963,"filename":"image_30102025_18_32_36_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732166","file1":"1395732164","file0":"1395732161","file4":"1395732172","file5":"1395732175","file3":"1395732169"},"map_files_photo_id_array":[{"photo_id":"1395732175","filename":"file5"},{"photo_id":"1395732166","filename":"file2"},{"photo_id":"1395732172","filename":"file4"},{"photo_id":"1395732164","filename":"file1"},{"photo_id":"1395732161","filename":"file0"},{"photo_id":"1395732169","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395732161":["hashtag1","hashtag2"]},{"1395732164":["hashtag1","hashtag2"]},{"1395732172":["hashtag1","hashtag2"]},{"1395732166":["hashtag1","hashtag2"]},{"1395732175":["hashtag1","hashtag2"]},{"1395732169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395732161, 1395732164, 1395732172, 1395732166, 1395732175, 1395732169)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.96928524971008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:41:31.607906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_40_2724.jpg', '/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_10_3780.jpg', '/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_31_2884.jpg', '/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_39_2890.jpg', '/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_43_3618.jpg', '/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_45_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/39/image_22112025_22_39_40_2724.jpg
/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_10_3780.jpg
/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_31_2884.jpg
/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_39_2890.jpg
/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_43_3618.jpg
/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_45_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732184","1395732187","1395732192","1395732195","1395732189","1395732197"],"photo_ids_order":["1395732184","1395732187","1395732189","1395732192","1395732195","1395732197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6114ec500b7536ef141f90c9d52603ea.jpg","text":"TemporaryFile(/tmp/multipartBody5182592601385101910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847752299,"filename":"image_22112025_22_39_40_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/779010a1ccc8cfe45f7ce670dd1440ae.jpg","text":"TemporaryFile(/tmp/multipartBody4916225791772262434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847752299,"filename":"image_22112025_22_41_10_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0bbd3e5b005299128854b4d897ea2114.jpg","text":"TemporaryFile(/tmp/multipartBody5088554611034999619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847752299,"filename":"image_22112025_22_41_39_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3b8647a610d39eebfb9559eb86600bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2113714775896999001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847752299,"filename":"image_22112025_22_41_43_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/694082db54a126b2f9d2e7054e3530e0.jpg","text":"TemporaryFile(/tmp/multipartBody2055567938006781777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847752299,"filename":"image_22112025_22_41_31_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9893dbd277f68553374ad033c00e8838.jpg","text":"TemporaryFile(/tmp/multipartBody5125719771673300879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847752299,"filename":"image_22112025_22_41_45_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732189","file1":"1395732187","file0":"1395732184","file4":"1395732195","file5":"1395732197","file3":"1395732192"},"map_files_photo_id_array":[{"photo_id":"1395732197","filename":"file5"},{"photo_id":"1395732189","filename":"file2"},{"photo_id":"1395732195","filename":"file4"},{"photo_id":"1395732187","filename":"file1"},{"photo_id":"1395732184","filename":"file0"},{"photo_id":"1395732192","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395732184":["hashtag1","hashtag2"]},{"1395732187":["hashtag1","hashtag2"]},{"1395732192":["hashtag1","hashtag2"]},{"1395732195":["hashtag1","hashtag2"]},{"1395732189":["hashtag1","hashtag2"]},{"1395732197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395732184, 1395732187, 1395732192, 1395732195, 1395732189, 1395732197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87202978134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:42:24.718435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_41_1819.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_43_1616.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_58_2691.jpg', '/home/pi/Desktop/images/30102025/18/32/image_30102025_18_33_01_3608.jpg', '/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_07_3593.jpg', '/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_10_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_41_1819.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_43_1616.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_32_58_2691.jpg
/home/pi/Desktop/images/30102025/18/32/image_30102025_18_33_01_3608.jpg
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_07_3593.jpg
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_10_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732215","1395732212","1395732214","1395732217","1395732210","1395732216"],"photo_ids_order":["1395732210","1395732212","1395732214","1395732215","1395732216","1395732217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4071f6a16d173f533cb14dcb22c5e531.jpg","text":"TemporaryFile(/tmp/multipartBody1921356145154961021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847814330,"filename":"image_30102025_18_33_01_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a6fa2def90b7791ae7d048ed637bd439.jpg","text":"TemporaryFile(/tmp/multipartBody6030324273247052235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847814330,"filename":"image_30102025_18_32_43_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d02d798af6d4305838af9a65f2907ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1728203389160379201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847814330,"filename":"image_30102025_18_32_58_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f8eea564a39a781d3ebce504f256ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8429080418983173688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847814330,"filename":"image_30102025_18_33_10_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb7e4d78dcd2782b7058193b80b63ba6.jpg","text":"TemporaryFile(/tmp/multipartBody697889304830568697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847814330,"filename":"image_30102025_18_32_41_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2ef1da0053f1c083c32b50e5b3d0838f.jpg","text":"TemporaryFile(/tmp/multipartBody2420214306333607790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847814330,"filename":"image_30102025_18_33_07_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732214","file1":"1395732212","file0":"1395732210","file4":"1395732216","file5":"1395732217","file3":"1395732215"},"map_files_photo_id_array":[{"photo_id":"1395732217","filename":"file5"},{"photo_id":"1395732214","filename":"file2"},{"photo_id":"1395732216","filename":"file4"},{"photo_id":"1395732212","filename":"file1"},{"photo_id":"1395732210","filename":"file0"},{"photo_id":"1395732215","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395732215":["hashtag1","hashtag2"]},{"1395732212":["hashtag1","hashtag2"]},{"1395732214":["hashtag1","hashtag2"]},{"1395732217":["hashtag1","hashtag2"]},{"1395732210":["hashtag1","hashtag2"]},{"1395732216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395732215, 1395732212, 1395732214, 1395732217, 1395732210, 1395732216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.731963872909546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:43:21.892429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_48_2748.jpg', '/home/pi/Desktop/images/22112025/22/42/image_22112025_22_42_24_1802.jpg', '/home/pi/Desktop/images/22112025/22/42/image_22112025_22_42_29_1806.jpg', '/home/pi/Desktop/images/22112025/22/42/image_22112025_22_42_59_28043.jpg', '/home/pi/Desktop/images/22112025/22/43/image_22112025_22_43_05_5725.jpg', '/home/pi/Desktop/images/22112025/22/43/image_22112025_22_43_36_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/41/image_22112025_22_41_48_2748.jpg
/home/pi/Desktop/images/22112025/22/42/image_22112025_22_42_24_1802.jpg
/home/pi/Desktop/images/22112025/22/42/image_22112025_22_42_29_1806.jpg
/home/pi/Desktop/images/22112025/22/42/image_22112025_22_42_59_28043.jpg
/home/pi/Desktop/images/22112025/22/43/image_22112025_22_43_05_5725.jpg
/home/pi/Desktop/images/22112025/22/43/image_22112025_22_43_36_1693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732221","1395732230","1395732232","1395732235","1395732225","1395732228"],"photo_ids_order":["1395732221","1395732225","1395732228","1395732230","1395732232","1395732235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ecbcd5096c2b5a03686d38d454aec26.jpg","text":"TemporaryFile(/tmp/multipartBody1613251985679778640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847862617,"filename":"image_22112025_22_41_48_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/463d2ef8aade477e4cbc7d5e0c7fe63d.jpg","text":"TemporaryFile(/tmp/multipartBody2736153606170130176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847862617,"filename":"image_22112025_22_42_59_28043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8f0acd06e63c21a1ab46209bc6270cd.jpg","text":"TemporaryFile(/tmp/multipartBody6449273872604571552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847862617,"filename":"image_22112025_22_43_05_5725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c6750c85ba0b8c968e7405d527ab61d.jpg","text":"TemporaryFile(/tmp/multipartBody143288866443340290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847862617,"filename":"image_22112025_22_43_36_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/094844b13eb6ae86086fdecccfab6839.jpg","text":"TemporaryFile(/tmp/multipartBody4534082108014122124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847862617,"filename":"image_22112025_22_42_24_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba0b11fb32b79613b4a00be618c0bbbf.jpg","text":"TemporaryFile(/tmp/multipartBody6408686004321130297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847862617,"filename":"image_22112025_22_42_29_1806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732228","file1":"1395732225","file0":"1395732221","file4":"1395732232","file5":"1395732235","file3":"1395732230"},"map_files_photo_id_array":[{"photo_id":"1395732235","filename":"file5"},{"photo_id":"1395732228","filename":"file2"},{"photo_id":"1395732232","filename":"file4"},{"photo_id":"1395732225","filename":"file1"},{"photo_id":"1395732221","filename":"file0"},{"photo_id":"1395732230","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395732221":["hashtag1","hashtag2"]},{"1395732230":["hashtag1","hashtag2"]},{"1395732232":["hashtag1","hashtag2"]},{"1395732235":["hashtag1","hashtag2"]},{"1395732225":["hashtag1","hashtag2"]},{"1395732228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395732221, 1395732230, 1395732232, 1395732235, 1395732225, 1395732228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.095343589782715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:44:02.717515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_29_2660.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_31_2550.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_35_3610.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_37_2426.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_40_2881.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_44_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_29_2660.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_31_2550.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_35_3610.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_37_2426.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_40_2881.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_44_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732242","1395732239","1395732262","1395732238","1395732237","1395732306"],"photo_ids_order":["1395732237","1395732238","1395732239","1395732242","1395732262","1395732306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/559d71304f44b99d5e0d2ccf3d8e2956.jpg","text":"TemporaryFile(/tmp/multipartBody2179305604389347507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847904912,"filename":"image_20112025_19_49_37_2426.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9d60330eeb04d9238564f67e85f5c2f.jpg","text":"TemporaryFile(/tmp/multipartBody1969452009002892225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847904912,"filename":"image_20112025_19_49_35_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8ffff192809e4563bda382d8cb333cf.jpg","text":"TemporaryFile(/tmp/multipartBody857988342909480309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847904912,"filename":"image_20112025_19_49_40_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c2d6001af22bb1f9419f15d0d1fd5da.jpg","text":"TemporaryFile(/tmp/multipartBody5914381753573577401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847904912,"filename":"image_20112025_19_49_31_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab31cc6a2dd0ee0cda244091705c09a6.jpg","text":"TemporaryFile(/tmp/multipartBody5201416165317701099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847904912,"filename":"image_20112025_19_49_29_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74f303cc7b679b7ed22a17922a8b5b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8947558853573966897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847904912,"filename":"image_20112025_19_49_44_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732239","file1":"1395732238","file0":"1395732237","file4":"1395732262","file5":"1395732306","file3":"1395732242"},"map_files_photo_id_array":[{"photo_id":"1395732306","filename":"file5"},{"photo_id":"1395732239","filename":"file2"},{"photo_id":"1395732262","filename":"file4"},{"photo_id":"1395732238","filename":"file1"},{"photo_id":"1395732237","filename":"file0"},{"photo_id":"1395732242","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395732242":["hashtag1","hashtag2"]},{"1395732239":["hashtag1","hashtag2"]},{"1395732262":["hashtag1","hashtag2"]},{"1395732238":["hashtag1","hashtag2"]},{"1395732237":["hashtag1","hashtag2"]},{"1395732306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395732242, 1395732239, 1395732262, 1395732238, 1395732237, 1395732306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35963702201843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:44:42.082319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/43/image_22112025_22_43_38_1727.jpg', '/home/pi/Desktop/images/22112025/22/44/image_22112025_22_44_42_1738.jpg', '/home/pi/Desktop/images/22112025/22/44/image_22112025_22_44_52_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/43/image_22112025_22_43_38_1727.jpg
/home/pi/Desktop/images/22112025/22/44/image_22112025_22_44_42_1738.jpg
/home/pi/Desktop/images/22112025/22/44/image_22112025_22_44_52_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732505","1395732429","1395732470"],"photo_ids_order":["1395732429","1395732470","1395732505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5f716567955685084751d994703c0c2.jpg","text":"TemporaryFile(/tmp/multipartBody5957999107132910768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847942687,"filename":"image_22112025_22_44_52_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddca58512211497de0a093fda026d716.jpg","text":"TemporaryFile(/tmp/multipartBody7307644628619457122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847942687,"filename":"image_22112025_22_43_38_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03bb34990762e1047a6a006b546ebdd1.jpg","text":"TemporaryFile(/tmp/multipartBody4642645995898707715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847942687,"filename":"image_22112025_22_44_42_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732505","file1":"1395732470","file0":"1395732429"},"map_files_photo_id_array":[{"photo_id":"1395732505","filename":"file2"},{"photo_id":"1395732470","filename":"file1"},{"photo_id":"1395732429","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395732505":["hashtag1","hashtag2"]},{"1395732429":["hashtag1","hashtag2"]},{"1395732470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395732505, 1395732429, 1395732470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.143188953399658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:45:22.311018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/44/image_22112025_22_44_54_2819.jpg', '/home/pi/Desktop/images/22112025/22/45/image_22112025_22_45_11_3659.jpg', '/home/pi/Desktop/images/22112025/22/45/image_22112025_22_45_25_2809.jpg', '/home/pi/Desktop/images/22112025/22/45/image_22112025_22_45_28_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/44/image_22112025_22_44_54_2819.jpg
/home/pi/Desktop/images/22112025/22/45/image_22112025_22_45_11_3659.jpg
/home/pi/Desktop/images/22112025/22/45/image_22112025_22_45_25_2809.jpg
/home/pi/Desktop/images/22112025/22/45/image_22112025_22_45_28_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732731","1395732733","1395732726","1395732729"],"photo_ids_order":["1395732726","1395732729","1395732731","1395732733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/802995fe93b051bd70c37174f6649861.jpg","text":"TemporaryFile(/tmp/multipartBody7988219119990538354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847982984,"filename":"image_22112025_22_45_25_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d899755f14ba401819c4d94795b24e94.jpg","text":"TemporaryFile(/tmp/multipartBody406771178002856746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847982984,"filename":"image_22112025_22_45_28_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db5ce1fa2a2600441dfa82cf2c372841.jpg","text":"TemporaryFile(/tmp/multipartBody6014257293267306921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847982984,"filename":"image_22112025_22_44_54_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28a4acf62f8ffb345c3fa596744cc612.jpg","text":"TemporaryFile(/tmp/multipartBody3804839352273661834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763847982984,"filename":"image_22112025_22_45_11_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732731","file1":"1395732729","file0":"1395732726","file3":"1395732733"},"map_files_photo_id_array":[{"photo_id":"1395732731","filename":"file2"},{"photo_id":"1395732729","filename":"file1"},{"photo_id":"1395732726","filename":"file0"},{"photo_id":"1395732733","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395732731":["hashtag1","hashtag2"]},{"1395732733":["hashtag1","hashtag2"]},{"1395732726":["hashtag1","hashtag2"]},{"1395732729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395732731, 1395732733, 1395732726, 1395732729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.59802508354187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:46:03.014897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_56_2643.jpg', '/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_59_3573.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_02_2642.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_08_2693.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_10_2622.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_14_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_56_2643.jpg
/home/pi/Desktop/images/20112025/19/49/image_20112025_19_49_59_3573.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_02_2642.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_08_2693.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_10_2622.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_14_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732877","1395732880","1395732856","1395732888","1395732885","1395732881"],"photo_ids_order":["1395732856","1395732877","1395732880","1395732881","1395732885","1395732888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ec70c87a29a25c19816d2d68f27293a.jpg","text":"TemporaryFile(/tmp/multipartBody4023166045413021089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848025149,"filename":"image_20112025_19_49_59_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9a209e8faf2de8d42fca42eed166d825.jpg","text":"TemporaryFile(/tmp/multipartBody2096176952968490191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848025149,"filename":"image_20112025_19_50_02_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e1979f7b54886683cbc49c3b4a4b3c21.jpg","text":"TemporaryFile(/tmp/multipartBody5862855794663886670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848025149,"filename":"image_20112025_19_49_56_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/035cf8547318db9deb0ab88ddf73a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody2912211815866796457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848025149,"filename":"image_20112025_19_50_14_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9fd86e61fd111c6d1e08d1dec8a99609.jpg","text":"TemporaryFile(/tmp/multipartBody4861668629101283061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848025149,"filename":"image_20112025_19_50_10_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c1059826ffa57c7ead163e80e46cc3c2.jpg","text":"TemporaryFile(/tmp/multipartBody33486871237828646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848025149,"filename":"image_20112025_19_50_08_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732880","file1":"1395732877","file0":"1395732856","file4":"1395732885","file5":"1395732888","file3":"1395732881"},"map_files_photo_id_array":[{"photo_id":"1395732888","filename":"file5"},{"photo_id":"1395732880","filename":"file2"},{"photo_id":"1395732885","filename":"file4"},{"photo_id":"1395732877","filename":"file1"},{"photo_id":"1395732856","filename":"file0"},{"photo_id":"1395732881","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395732877":["hashtag1","hashtag2"]},{"1395732880":["hashtag1","hashtag2"]},{"1395732856":["hashtag1","hashtag2"]},{"1395732888":["hashtag1","hashtag2"]},{"1395732885":["hashtag1","hashtag2"]},{"1395732881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395732877, 1395732880, 1395732856, 1395732888, 1395732885, 1395732881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34043741226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:46:42.523140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/45/image_22112025_22_45_58_2748.jpg', '/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_02_3584.jpg', '/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_22_2770.jpg', '/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_49_2707.jpg', '/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_52_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/45/image_22112025_22_45_58_2748.jpg
/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_02_3584.jpg
/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_22_2770.jpg
/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_49_2707.jpg
/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_52_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395732895","1395732898","1395732897","1395732900","1395732899"],"photo_ids_order":["1395732895","1395732897","1395732898","1395732899","1395732900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5644a7f2461f860162d33e9a6524a38b.jpg","text":"TemporaryFile(/tmp/multipartBody465018759735915466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848063223,"filename":"image_22112025_22_45_58_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d92e56399949e9e7452b167568439e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6593380821411478953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848063223,"filename":"image_22112025_22_46_22_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4632d47b1ba5711ad4418d77b35e3bb1.jpg","text":"TemporaryFile(/tmp/multipartBody2263440283453239101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848063223,"filename":"image_22112025_22_46_02_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1662b5a013159291cf323bee3dec6f5a.jpg","text":"TemporaryFile(/tmp/multipartBody4660444119083425573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848063223,"filename":"image_22112025_22_46_52_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7b396f981f133920272a1396d109d1df.jpg","text":"TemporaryFile(/tmp/multipartBody2554785065981105914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848063223,"filename":"image_22112025_22_46_49_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732898","file1":"1395732897","file0":"1395732895","file4":"1395732900","file3":"1395732899"},"map_files_photo_id_array":[{"photo_id":"1395732898","filename":"file2"},{"photo_id":"1395732900","filename":"file4"},{"photo_id":"1395732897","filename":"file1"},{"photo_id":"1395732895","filename":"file0"},{"photo_id":"1395732899","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395732895":["hashtag1","hashtag2"]},{"1395732898":["hashtag1","hashtag2"]},{"1395732897":["hashtag1","hashtag2"]},{"1395732900":["hashtag1","hashtag2"]},{"1395732899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395732895, 1395732898, 1395732897, 1395732900, 1395732899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.105978965759277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:47:22.804221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_58_2675.jpg', '/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_01_2831.jpg', '/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_19_2619.jpg', '/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_32_3774.jpg', '/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_43_2255.jpg', '/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_52_2883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/46/image_22112025_22_46_58_2675.jpg
/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_01_2831.jpg
/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_19_2619.jpg
/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_32_3774.jpg
/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_43_2255.jpg
/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_52_2883.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395733010","1395732914","1395732910","1395732904","1395732907","1395732912"],"photo_ids_order":["1395732904","1395732907","1395732910","1395732912","1395732914","1395733010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/87453678b732cc421763e10f419306b1.jpg","text":"TemporaryFile(/tmp/multipartBody8519254389606478304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848103564,"filename":"image_22112025_22_47_52_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4d714286232daec646559f571a0c4eee.jpg","text":"TemporaryFile(/tmp/multipartBody6514027463470511435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848103564,"filename":"image_22112025_22_47_43_2255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a0049d3264f12709f78780fa0e7689f0.jpg","text":"TemporaryFile(/tmp/multipartBody5560789731898047921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848103564,"filename":"image_22112025_22_47_19_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c2758414b73180fafb8964b331328035.jpg","text":"TemporaryFile(/tmp/multipartBody6368555337365265890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848103564,"filename":"image_22112025_22_46_58_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fce057913da3f2e5117360e04d2057a4.jpg","text":"TemporaryFile(/tmp/multipartBody4599998179926962771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848103564,"filename":"image_22112025_22_47_01_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8228eacc4377f7c4d6eae74b56074fdb.jpg","text":"TemporaryFile(/tmp/multipartBody4125230295613169929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848103564,"filename":"image_22112025_22_47_32_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395732910","file1":"1395732907","file0":"1395732904","file4":"1395732914","file5":"1395733010","file3":"1395732912"},"map_files_photo_id_array":[{"photo_id":"1395733010","filename":"file5"},{"photo_id":"1395732910","filename":"file2"},{"photo_id":"1395732914","filename":"file4"},{"photo_id":"1395732907","filename":"file1"},{"photo_id":"1395732904","filename":"file0"},{"photo_id":"1395732912","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395733010":["hashtag1","hashtag2"]},{"1395732914":["hashtag1","hashtag2"]},{"1395732910":["hashtag1","hashtag2"]},{"1395732904":["hashtag1","hashtag2"]},{"1395732907":["hashtag1","hashtag2"]},{"1395732912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395733010, 1395732914, 1395732910, 1395732904, 1395732907, 1395732912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88926434516907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:48:02.398018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_17_2677.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_23_3554.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_29_3539.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_34_2698.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_41_3704.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_50_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_17_2677.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_23_3554.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_29_3539.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_34_2698.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_41_3704.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_50_3606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395733450","1395733494","1395733395","1395733452","1395733454","1395733451"],"photo_ids_order":["1395733395","1395733450","1395733451","1395733452","1395733454","1395733494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/feffde95253dfecbaf823d168c3cc3a5.jpg","text":"TemporaryFile(/tmp/multipartBody6241798502534058961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848144553,"filename":"image_20112025_19_50_23_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1b37621227610a3146af2e8b5c26922e.jpg","text":"TemporaryFile(/tmp/multipartBody4119425082343080291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848144553,"filename":"image_20112025_19_50_50_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/830f177a6262e030a5eee32535dfdf07.jpg","text":"TemporaryFile(/tmp/multipartBody7543412873469568570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848144553,"filename":"image_20112025_19_50_17_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8def5cb21ce59f892b9bbe925445f11.jpg","text":"TemporaryFile(/tmp/multipartBody2603858177365507453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848144553,"filename":"image_20112025_19_50_34_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a2c5b5b2fd9b5cf2e3d09c8f1d757bc.jpg","text":"TemporaryFile(/tmp/multipartBody877212790553423102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848144553,"filename":"image_20112025_19_50_41_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fe01235c9d6edb2f05bce0c323ec5116.jpg","text":"TemporaryFile(/tmp/multipartBody3700824403296461354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848144553,"filename":"image_20112025_19_50_29_3539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395733451","file1":"1395733450","file0":"1395733395","file4":"1395733454","file5":"1395733494","file3":"1395733452"},"map_files_photo_id_array":[{"photo_id":"1395733494","filename":"file5"},{"photo_id":"1395733451","filename":"file2"},{"photo_id":"1395733454","filename":"file4"},{"photo_id":"1395733450","filename":"file1"},{"photo_id":"1395733395","filename":"file0"},{"photo_id":"1395733452","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395733450":["hashtag1","hashtag2"]},{"1395733494":["hashtag1","hashtag2"]},{"1395733395":["hashtag1","hashtag2"]},{"1395733452":["hashtag1","hashtag2"]},{"1395733454":["hashtag1","hashtag2"]},{"1395733451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395733450, 1395733494, 1395733395, 1395733452, 1395733454, 1395733451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.505491971969604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:48:42.030032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_21_8362.jpg', '/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_25_1849.jpg', '/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_28_1656.jpg', '/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_31_2630.jpg', '/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_37_2753.jpg', '/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_40_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_21_8362.jpg
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_25_1849.jpg
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_28_1656.jpg
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_31_2630.jpg
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_37_2753.jpg
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_40_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395733645","1395733642","1395733638","1395733614","1395733640","1395733643"],"photo_ids_order":["1395733614","1395733638","1395733640","1395733642","1395733643","1395733645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e04bb30688c2bdad852f0722ddd0d2ce.jpg","text":"TemporaryFile(/tmp/multipartBody5272913005488981894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848184196,"filename":"image_30102025_18_33_40_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a44eddfb94346ca13b2802a5ad5408eb.jpg","text":"TemporaryFile(/tmp/multipartBody1643299841668220542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848184196,"filename":"image_30102025_18_33_31_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b9996f3440dba5def7f64f297661e2b8.jpg","text":"TemporaryFile(/tmp/multipartBody3712048166929483395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848184196,"filename":"image_30102025_18_33_25_1849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1c8c2fe2f6d6c08f90104c02da182034.jpg","text":"TemporaryFile(/tmp/multipartBody3102060779510841545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848184196,"filename":"image_30102025_18_33_21_8362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61f8354a324d3f9c9333e0f042a1429a.jpg","text":"TemporaryFile(/tmp/multipartBody4876074722460821879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848184196,"filename":"image_30102025_18_33_28_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57796cfa3b66fda5c011271a0df0f465.jpg","text":"TemporaryFile(/tmp/multipartBody646010945325360913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848184196,"filename":"image_30102025_18_33_37_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395733640","file1":"1395733638","file0":"1395733614","file4":"1395733643","file5":"1395733645","file3":"1395733642"},"map_files_photo_id_array":[{"photo_id":"1395733645","filename":"file5"},{"photo_id":"1395733640","filename":"file2"},{"photo_id":"1395733643","filename":"file4"},{"photo_id":"1395733638","filename":"file1"},{"photo_id":"1395733614","filename":"file0"},{"photo_id":"1395733642","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395733645":["hashtag1","hashtag2"]},{"1395733642":["hashtag1","hashtag2"]},{"1395733638":["hashtag1","hashtag2"]},{"1395733614":["hashtag1","hashtag2"]},{"1395733640":["hashtag1","hashtag2"]},{"1395733643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395733645, 1395733642, 1395733638, 1395733614, 1395733640, 1395733643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72080969810486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:49:42.299502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_55_2682.jpg', '/home/pi/Desktop/images/22112025/22/49/image_22112025_22_49_55_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/47/image_22112025_22_47_55_2682.jpg
/home/pi/Desktop/images/22112025/22/49/image_22112025_22_49_55_2667.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395733656","1395733653"],"photo_ids_order":["1395733653","1395733656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d1476e9d4791eee3cf374361e98e78f1.jpg","text":"TemporaryFile(/tmp/multipartBody979672446943386497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848242858,"filename":"image_22112025_22_49_55_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03c61bd4cf935d39c8579c300b957cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2604875836520675692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848242858,"filename":"image_22112025_22_47_55_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395733656","file0":"1395733653"},"map_files_photo_id_array":[{"photo_id":"1395733656","filename":"file1"},{"photo_id":"1395733653","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395733656":["hashtag1","hashtag2"]},{"1395733653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395733656, 1395733653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.039236783981323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:50:03.003776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_53_2883.jpg', '/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_56_2693.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_05_2628.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_08_2968.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_10_2724.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_17_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_53_2883.jpg
/home/pi/Desktop/images/20112025/19/50/image_20112025_19_50_56_2693.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_05_2628.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_08_2968.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_10_2724.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_17_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395733672","1395733666","1395733669","1395733674","1395733662","1395733664"],"photo_ids_order":["1395733662","1395733664","1395733666","1395733669","1395733672","1395733674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6327eaf7f71aebd5294a35fb60b6900e.jpg","text":"TemporaryFile(/tmp/multipartBody1729592086988667820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848265142,"filename":"image_20112025_19_51_10_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1a0b6a21657fe1c25431a3a0028b8fd.jpg","text":"TemporaryFile(/tmp/multipartBody7651562835906310991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848265142,"filename":"image_20112025_19_51_05_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2066d083d4f6eacbdf96671e7ba7278a.jpg","text":"TemporaryFile(/tmp/multipartBody4735039921366566372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848265142,"filename":"image_20112025_19_51_08_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5db2ed2e3925e9e57ce8928678bc248b.jpg","text":"TemporaryFile(/tmp/multipartBody2095993684887367209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848265142,"filename":"image_20112025_19_51_17_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6e899ac1722a692f79f503ee7c1de035.jpg","text":"TemporaryFile(/tmp/multipartBody2956781858752823750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848265142,"filename":"image_20112025_19_50_53_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8818fe1f23bb43bf7d22ab55affa943.jpg","text":"TemporaryFile(/tmp/multipartBody8030276891794963495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848265142,"filename":"image_20112025_19_50_56_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395733666","file1":"1395733664","file0":"1395733662","file4":"1395733672","file5":"1395733674","file3":"1395733669"},"map_files_photo_id_array":[{"photo_id":"1395733674","filename":"file5"},{"photo_id":"1395733666","filename":"file2"},{"photo_id":"1395733672","filename":"file4"},{"photo_id":"1395733664","filename":"file1"},{"photo_id":"1395733662","filename":"file0"},{"photo_id":"1395733669","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395733672":["hashtag1","hashtag2"]},{"1395733666":["hashtag1","hashtag2"]},{"1395733669":["hashtag1","hashtag2"]},{"1395733674":["hashtag1","hashtag2"]},{"1395733662":["hashtag1","hashtag2"]},{"1395733664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395733672, 1395733666, 1395733669, 1395733674, 1395733662, 1395733664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04010820388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:51:03.641056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/49/image_22112025_22_49_58_3592.jpg', '/home/pi/Desktop/images/22112025/22/50/image_22112025_22_50_07_3011.jpg', '/home/pi/Desktop/images/22112025/22/50/image_22112025_22_50_23_2936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/49/image_22112025_22_49_58_3592.jpg
/home/pi/Desktop/images/22112025/22/50/image_22112025_22_50_07_3011.jpg
/home/pi/Desktop/images/22112025/22/50/image_22112025_22_50_23_2936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395733681","1395733684","1395733683"],"photo_ids_order":["1395733681","1395733683","1395733684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72dafd1de3f547fda589af2bc1a8ce40.jpg","text":"TemporaryFile(/tmp/multipartBody7807374298339428389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848324358,"filename":"image_22112025_22_49_58_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5a5effeb0e486d39bccb0d939402ac7.jpg","text":"TemporaryFile(/tmp/multipartBody4221718893764181944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848324358,"filename":"image_22112025_22_50_23_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d29af993d60718e53b4ae3a815977f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7886072727610381483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848324358,"filename":"image_22112025_22_50_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395733684","file1":"1395733683","file0":"1395733681"},"map_files_photo_id_array":[{"photo_id":"1395733684","filename":"file2"},{"photo_id":"1395733683","filename":"file1"},{"photo_id":"1395733681","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395733681":["hashtag1","hashtag2"]},{"1395733684":["hashtag1","hashtag2"]},{"1395733683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395733681, 1395733684, 1395733683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.660439014434814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:51:42.780189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/50/image_22112025_22_50_37_2871.jpg', '/home/pi/Desktop/images/22112025/22/51/image_22112025_22_51_32_2695.jpg', '/home/pi/Desktop/images/22112025/22/51/image_22112025_22_51_34_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/50/image_22112025_22_50_37_2871.jpg
/home/pi/Desktop/images/22112025/22/51/image_22112025_22_51_32_2695.jpg
/home/pi/Desktop/images/22112025/22/51/image_22112025_22_51_34_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395733696","1395733698","1395733694"],"photo_ids_order":["1395733694","1395733696","1395733698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/23bc688a002e2ad1e557e0e443df181a.jpg","text":"TemporaryFile(/tmp/multipartBody3697754575659026660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848363411,"filename":"image_22112025_22_51_32_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e6e3b2b3120326c24ac58b4ba696bb82.jpg","text":"TemporaryFile(/tmp/multipartBody3489584308773114445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848363411,"filename":"image_22112025_22_51_34_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38e9656cbd17d4352a5bd81e02b64637.jpg","text":"TemporaryFile(/tmp/multipartBody4627010448241326173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848363411,"filename":"image_22112025_22_50_37_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395733698","file1":"1395733696","file0":"1395733694"},"map_files_photo_id_array":[{"photo_id":"1395733698","filename":"file2"},{"photo_id":"1395733696","filename":"file1"},{"photo_id":"1395733694","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395733696":["hashtag1","hashtag2"]},{"1395733698":["hashtag1","hashtag2"]},{"1395733694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395733696, 1395733698, 1395733694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.489038944244385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:52:21.977613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/51/image_22112025_22_51_56_2997.jpg', '/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_07_2660.jpg', '/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_41_3602.jpg', '/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_43_2669.jpg', '/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_53_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/51/image_22112025_22_51_56_2997.jpg
/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_07_2660.jpg
/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_41_3602.jpg
/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_43_2669.jpg
/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_53_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395733714","1395733710","1395733713","1395733707","1395733703"],"photo_ids_order":["1395733703","1395733707","1395733710","1395733713","1395733714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ec8138e30d6fbf5164b8472d0bfb537.jpg","text":"TemporaryFile(/tmp/multipartBody7470229217749816558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848402665,"filename":"image_22112025_22_52_53_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/38e809666d15e5100b96450b7e15c584.jpg","text":"TemporaryFile(/tmp/multipartBody3673103255882201826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848402665,"filename":"image_22112025_22_52_41_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab19a3913b190b381932334a29e5b94f.jpg","text":"TemporaryFile(/tmp/multipartBody5881817921372012924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848402665,"filename":"image_22112025_22_52_43_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/924c5305b48f8f039c5cc4826982b155.jpg","text":"TemporaryFile(/tmp/multipartBody540696430016688333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848402665,"filename":"image_22112025_22_52_07_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/766959128fe0c18228f240e319025f63.jpg","text":"TemporaryFile(/tmp/multipartBody3901147806626276588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848402665,"filename":"image_22112025_22_51_56_2997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395733710","file1":"1395733707","file0":"1395733703","file4":"1395733714","file3":"1395733713"},"map_files_photo_id_array":[{"photo_id":"1395733710","filename":"file2"},{"photo_id":"1395733714","filename":"file4"},{"photo_id":"1395733707","filename":"file1"},{"photo_id":"1395733703","filename":"file0"},{"photo_id":"1395733713","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395733714":["hashtag1","hashtag2"]},{"1395733710":["hashtag1","hashtag2"]},{"1395733713":["hashtag1","hashtag2"]},{"1395733707":["hashtag1","hashtag2"]},{"1395733703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395733714, 1395733710, 1395733713, 1395733707, 1395733703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.949755907058716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:53:03.318766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:53:22.698662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_58_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_58_2732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395734262"],"photo_id":"1395734262","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a027950b81e9b85e567e1f0babc6733f.jpg","text":"TemporaryFile(/tmp/multipartBody667540657855729633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848463192,"filename":"image_22112025_22_52_58_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395734262"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395734262"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1395734262 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/22112025/22/52/image_22112025_22_52_58_2732.jpg";
try second time after 15 secs
uploaded 1 photos
time to upload: 53.269625663757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:54:22.178672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_55_3580.jpg', '/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_58_2692.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_02_3540.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_07_2699.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_13_3717.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_16_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_55_3580.jpg
/home/pi/Desktop/images/30102025/18/33/image_30102025_18_33_58_2692.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_02_3540.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_07_2699.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_13_3717.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_16_2750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395734490","1395734487","1395734496","1395734492","1395734495","1395734494"],"photo_ids_order":["1395734487","1395734490","1395734492","1395734494","1395734495","1395734496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b19635790baaea7cdcb0d20797e9d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody3419449167202351570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848524461,"filename":"image_30102025_18_33_58_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddf9cee43be04e74eebf84318217a05c.jpg","text":"TemporaryFile(/tmp/multipartBody1583910829124279868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848524461,"filename":"image_30102025_18_33_55_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3f426a099fef52a06c3ddbc89ea75964.jpg","text":"TemporaryFile(/tmp/multipartBody6656395985899624349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848524461,"filename":"image_30102025_18_34_16_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/04a06c790385c8cff2e9aabee4ea05f5.jpg","text":"TemporaryFile(/tmp/multipartBody423904033254471475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848524461,"filename":"image_30102025_18_34_02_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8a4d747d28d2b61a654818f8450bfea.jpg","text":"TemporaryFile(/tmp/multipartBody8348935230893395616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848524461,"filename":"image_30102025_18_34_13_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5bce590446c3c2b239f6c8a25409159.jpg","text":"TemporaryFile(/tmp/multipartBody1762970224825154858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848524461,"filename":"image_30102025_18_34_07_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395734492","file1":"1395734490","file0":"1395734487","file4":"1395734495","file5":"1395734496","file3":"1395734494"},"map_files_photo_id_array":[{"photo_id":"1395734496","filename":"file5"},{"photo_id":"1395734492","filename":"file2"},{"photo_id":"1395734495","filename":"file4"},{"photo_id":"1395734490","filename":"file1"},{"photo_id":"1395734487","filename":"file0"},{"photo_id":"1395734494","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395734490":["hashtag1","hashtag2"]},{"1395734487":["hashtag1","hashtag2"]},{"1395734496":["hashtag1","hashtag2"]},{"1395734492":["hashtag1","hashtag2"]},{"1395734495":["hashtag1","hashtag2"]},{"1395734494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395734490, 1395734487, 1395734496, 1395734492, 1395734495, 1395734494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.53993511199951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:55:22.568327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/53/image_22112025_22_53_52_2615.jpg', '/home/pi/Desktop/images/22112025/22/54/image_22112025_22_54_06_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/53/image_22112025_22_53_52_2615.jpg
/home/pi/Desktop/images/22112025/22/54/image_22112025_22_54_06_1748.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395734499","1395734503"],"photo_ids_order":["1395734499","1395734503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1521fae7ab896b51273ed6bb7235b7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5206835734456584354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848583178,"filename":"image_22112025_22_53_52_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a006e5b0da2e4f5b39d4f1fe0babb606.jpg","text":"TemporaryFile(/tmp/multipartBody7489203043278487467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848583178,"filename":"image_22112025_22_54_06_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395734503","file0":"1395734499"},"map_files_photo_id_array":[{"photo_id":"1395734503","filename":"file1"},{"photo_id":"1395734499","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395734499":["hashtag1","hashtag2"]},{"1395734503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395734499, 1395734503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.24107003211975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:55:42.520938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_19_2719.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_22_2633.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_25_3577.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_28_2726.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_31_2675.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_37_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_19_2719.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_22_2633.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_25_3577.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_28_2726.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_31_2675.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_37_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395734752","1395734751","1395734676","1395734640","1395734735","1395734600"],"photo_ids_order":["1395734600","1395734640","1395734676","1395734735","1395734751","1395734752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e68da48518fa520d66635e9a37f43087.jpg","text":"TemporaryFile(/tmp/multipartBody7784511694049959569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848604696,"filename":"image_30102025_18_34_37_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa02f91d9ca55a9303985f13353c19b6.jpg","text":"TemporaryFile(/tmp/multipartBody9197192228974824083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848604696,"filename":"image_30102025_18_34_31_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd0fba0c4b07e4203265256c926fe848.jpg","text":"TemporaryFile(/tmp/multipartBody6827709529176826020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848604696,"filename":"image_30102025_18_34_25_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0e3c6e82d3afe561c7fd8e77e1490ac0.jpg","text":"TemporaryFile(/tmp/multipartBody4498909454460633454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848604696,"filename":"image_30102025_18_34_22_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f4bbfc8590a60052ae7f13aa70178263.jpg","text":"TemporaryFile(/tmp/multipartBody5548943991358400861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848604696,"filename":"image_30102025_18_34_28_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5f2e45efcbce525ffbd385532b91d07.jpg","text":"TemporaryFile(/tmp/multipartBody1239247290514843069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848604696,"filename":"image_30102025_18_34_19_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395734676","file1":"1395734640","file0":"1395734600","file4":"1395734751","file5":"1395734752","file3":"1395734735"},"map_files_photo_id_array":[{"photo_id":"1395734752","filename":"file5"},{"photo_id":"1395734676","filename":"file2"},{"photo_id":"1395734751","filename":"file4"},{"photo_id":"1395734640","filename":"file1"},{"photo_id":"1395734600","filename":"file0"},{"photo_id":"1395734735","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395734752":["hashtag1","hashtag2"]},{"1395734751":["hashtag1","hashtag2"]},{"1395734676":["hashtag1","hashtag2"]},{"1395734640":["hashtag1","hashtag2"]},{"1395734735":["hashtag1","hashtag2"]},{"1395734600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395734752, 1395734751, 1395734676, 1395734640, 1395734735, 1395734600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10746216773987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:56:22.796668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/54/image_22112025_22_54_07_1633.jpg', '/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_07_3013.jpg', '/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_16_2900.jpg', '/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_32_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/54/image_22112025_22_54_07_1633.jpg
/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_07_3013.jpg
/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_16_2900.jpg
/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_32_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395734847","1395734835","1395734811","1395734872"],"photo_ids_order":["1395734811","1395734835","1395734847","1395734872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a60b5ccf71d29b1208af35f148cd9448.jpg","text":"TemporaryFile(/tmp/multipartBody8790753057654829438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848643491,"filename":"image_22112025_22_56_16_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0fdefef74e8d48b48bd3b22fb39a62f0.jpg","text":"TemporaryFile(/tmp/multipartBody9057435378622170642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848643491,"filename":"image_22112025_22_56_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/397f188b703544a13d959fc1160a99ca.jpg","text":"TemporaryFile(/tmp/multipartBody4054514774864854047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848643491,"filename":"image_22112025_22_54_07_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a359476575d5c8e1e0768ec2209e484.jpg","text":"TemporaryFile(/tmp/multipartBody6977708066787984252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848643491,"filename":"image_22112025_22_56_32_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395734847","file1":"1395734835","file0":"1395734811","file3":"1395734872"},"map_files_photo_id_array":[{"photo_id":"1395734847","filename":"file2"},{"photo_id":"1395734835","filename":"file1"},{"photo_id":"1395734811","filename":"file0"},{"photo_id":"1395734872","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395734847":["hashtag1","hashtag2"]},{"1395734835":["hashtag1","hashtag2"]},{"1395734811":["hashtag1","hashtag2"]},{"1395734872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395734847, 1395734835, 1395734811, 1395734872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.922518253326416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:57:02.639533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_19_2776.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_28_2573.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_31_2760.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_35_3679.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_38_2784.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_40_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_19_2776.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_28_2573.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_31_2760.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_35_3679.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_38_2784.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_40_2894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395734883","1395734885","1395734890","1395734893","1395734887","1395734881"],"photo_ids_order":["1395734881","1395734883","1395734885","1395734887","1395734890","1395734893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08ed0f0a43ce7fba4441642baf1649e3.jpg","text":"TemporaryFile(/tmp/multipartBody6813825435605154244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848684926,"filename":"image_20112025_19_51_28_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7208d62becd71b2b51aac4f2acc72269.jpg","text":"TemporaryFile(/tmp/multipartBody1606523526288529342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848684926,"filename":"image_20112025_19_51_31_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5ad371dff5452e9f4bb574a68dbe002b.jpg","text":"TemporaryFile(/tmp/multipartBody221557356850923678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848684926,"filename":"image_20112025_19_51_38_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/217ffa8b28e3b921e12d0ec66f5769de.jpg","text":"TemporaryFile(/tmp/multipartBody6537044437704902816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848684926,"filename":"image_20112025_19_51_40_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ce7961fd8ec48479a4cb4b1b123fb91b.jpg","text":"TemporaryFile(/tmp/multipartBody2256733869955447187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848684926,"filename":"image_20112025_19_51_35_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d9daace47972c88c169e86eba077b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3298105283175416065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848684926,"filename":"image_20112025_19_51_19_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395734885","file1":"1395734883","file0":"1395734881","file4":"1395734890","file5":"1395734893","file3":"1395734887"},"map_files_photo_id_array":[{"photo_id":"1395734893","filename":"file5"},{"photo_id":"1395734885","filename":"file2"},{"photo_id":"1395734890","filename":"file4"},{"photo_id":"1395734883","filename":"file1"},{"photo_id":"1395734881","filename":"file0"},{"photo_id":"1395734887","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395734883":["hashtag1","hashtag2"]},{"1395734885":["hashtag1","hashtag2"]},{"1395734890":["hashtag1","hashtag2"]},{"1395734893":["hashtag1","hashtag2"]},{"1395734887":["hashtag1","hashtag2"]},{"1395734881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395734883, 1395734885, 1395734890, 1395734893, 1395734887, 1395734881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.201651096343994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:57:41.947425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_59_2703.jpg', '/home/pi/Desktop/images/22112025/22/57/image_22112025_22_57_01_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_59_2703.jpg
/home/pi/Desktop/images/22112025/22/57/image_22112025_22_57_01_2565.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.45192384719848633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 22:59:03.381207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 22:59:23.674812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_59_2703.jpg', '/home/pi/Desktop/images/22112025/22/57/image_22112025_22_57_01_2565.jpg', '/home/pi/Desktop/images/22112025/22/57/image_22112025_22_57_17_2783.jpg', '/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_01_2615.jpg', '/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_19_2758.jpg', '/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_25_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/56/image_22112025_22_56_59_2703.jpg
/home/pi/Desktop/images/22112025/22/57/image_22112025_22_57_01_2565.jpg
/home/pi/Desktop/images/22112025/22/57/image_22112025_22_57_17_2783.jpg
/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_01_2615.jpg
/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_19_2758.jpg
/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_25_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395736085","1395735927","1395735950","1395736121","1395735988","1395735973"],"photo_ids_order":["1395735927","1395735950","1395735973","1395735988","1395736085","1395736121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3d9ce5678dad455df111a5744e1fc16e.jpg","text":"TemporaryFile(/tmp/multipartBody7808970723029811014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848824370,"filename":"image_22112025_22_58_19_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f872431f7c5cb325ae3b4159c406510e.jpg","text":"TemporaryFile(/tmp/multipartBody5273530991229952841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848824370,"filename":"image_22112025_22_56_59_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0f06643831084953372519cab9e6f3a.jpg","text":"TemporaryFile(/tmp/multipartBody7092518893579489001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848824370,"filename":"image_22112025_22_57_01_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ef2d7c99575d746474d8e1c14dea3c0a.jpg","text":"TemporaryFile(/tmp/multipartBody1009341111279572524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848824370,"filename":"image_22112025_22_58_25_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/103f19eac4ad07f819984d3053f1e0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2885977004249467420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848824370,"filename":"image_22112025_22_58_01_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a97a50a4250332d97e2e0c82fe443d2.jpg","text":"TemporaryFile(/tmp/multipartBody3360471291677993804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848824370,"filename":"image_22112025_22_57_17_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395735973","file1":"1395735950","file0":"1395735927","file4":"1395736085","file5":"1395736121","file3":"1395735988"},"map_files_photo_id_array":[{"photo_id":"1395736121","filename":"file5"},{"photo_id":"1395735973","filename":"file2"},{"photo_id":"1395736085","filename":"file4"},{"photo_id":"1395735950","filename":"file1"},{"photo_id":"1395735927","filename":"file0"},{"photo_id":"1395735988","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395736085":["hashtag1","hashtag2"]},{"1395735927":["hashtag1","hashtag2"]},{"1395735950":["hashtag1","hashtag2"]},{"1395736121":["hashtag1","hashtag2"]},{"1395735988":["hashtag1","hashtag2"]},{"1395735973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395736085, 1395735927, 1395735950, 1395736121, 1395735988, 1395735973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.179490089416504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:00:03.017396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_31_2621.jpg', '/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_52_2916.jpg', '/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_55_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_31_2621.jpg
/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_52_2916.jpg
/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_55_2632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5568673610687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:00:22.585220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_31_2621.jpg', '/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_52_2916.jpg', '/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_55_2632.jpg', '/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_58_2881.jpg', '/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_04_3629.jpg', '/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_10_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/22/58/image_22112025_22_58_31_2621.jpg
/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_52_2916.jpg
/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_55_2632.jpg
/home/pi/Desktop/images/22112025/22/59/image_22112025_22_59_58_2881.jpg
/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_04_3629.jpg
/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_10_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395736269","1395736257","1395736262","1395736259","1395736255","1395736266"],"photo_ids_order":["1395736255","1395736257","1395736259","1395736262","1395736266","1395736269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c0a9eb9dd624c12f0011419abcfa5fa.jpg","text":"TemporaryFile(/tmp/multipartBody2455470542455209196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848883326,"filename":"image_22112025_23_00_10_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45a04d94978a22fdf598dc6307136ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1375822762130300937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848883326,"filename":"image_22112025_22_59_52_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d7d1a2a09b67ca26d5b911d84c07216.jpg","text":"TemporaryFile(/tmp/multipartBody7465985709904049230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848883326,"filename":"image_22112025_22_59_58_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e200791d1811bfd630080f8d1bf19bed.jpg","text":"TemporaryFile(/tmp/multipartBody313992853437817644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848883326,"filename":"image_22112025_22_59_55_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e0a3d212a6cb11ee18fe87579f497faf.jpg","text":"TemporaryFile(/tmp/multipartBody522222107530243166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848883326,"filename":"image_22112025_22_58_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d55e16ef679d3032ab5d99b5e21e95a4.jpg","text":"TemporaryFile(/tmp/multipartBody3161707152383526208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848883326,"filename":"image_22112025_23_00_04_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395736259","file1":"1395736257","file0":"1395736255","file4":"1395736266","file5":"1395736269","file3":"1395736262"},"map_files_photo_id_array":[{"photo_id":"1395736269","filename":"file5"},{"photo_id":"1395736259","filename":"file2"},{"photo_id":"1395736266","filename":"file4"},{"photo_id":"1395736257","filename":"file1"},{"photo_id":"1395736255","filename":"file0"},{"photo_id":"1395736262","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395736269":["hashtag1","hashtag2"]},{"1395736257":["hashtag1","hashtag2"]},{"1395736262":["hashtag1","hashtag2"]},{"1395736259":["hashtag1","hashtag2"]},{"1395736255":["hashtag1","hashtag2"]},{"1395736266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395736269, 1395736257, 1395736262, 1395736259, 1395736255, 1395736266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.296486616134644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:01:02.596571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_14_3691.jpg', '/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_16_2658.jpg', '/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_24_4545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_14_3691.jpg
/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_16_2658.jpg
/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_24_4545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395736295","1395736285","1395736300"],"photo_ids_order":["1395736285","1395736295","1395736300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/285bbca7f5ff7528e980f53606c34b47.jpg","text":"TemporaryFile(/tmp/multipartBody6942275207363389385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848923248,"filename":"image_22112025_23_00_16_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/13dcecc679bd3b9f42204664b34e762d.jpg","text":"TemporaryFile(/tmp/multipartBody8684222154279617608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848923248,"filename":"image_22112025_23_00_14_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2585e45927546e0803514d512f985d55.jpg","text":"TemporaryFile(/tmp/multipartBody7600769280166008526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848923248,"filename":"image_22112025_23_00_24_4545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395736300","file1":"1395736295","file0":"1395736285"},"map_files_photo_id_array":[{"photo_id":"1395736300","filename":"file2"},{"photo_id":"1395736295","filename":"file1"},{"photo_id":"1395736285","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395736295":["hashtag1","hashtag2"]},{"1395736285":["hashtag1","hashtag2"]},{"1395736300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395736295, 1395736285, 1395736300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.017938375473022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:01:41.811169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_55_2697.jpg', '/home/pi/Desktop/images/22112025/23/01/image_22112025_23_01_34_3765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/00/image_22112025_23_00_55_2697.jpg
/home/pi/Desktop/images/22112025/23/01/image_22112025_23_01_34_3765.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395736313","1395736312"],"photo_ids_order":["1395736312","1395736313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e928253710428242031af05c0f6b529.jpg","text":"TemporaryFile(/tmp/multipartBody4513780557839039602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848962380,"filename":"image_22112025_23_01_34_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fd685d682d4d778375c4a5a5163ea2ab.jpg","text":"TemporaryFile(/tmp/multipartBody4331556648111864408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848962380,"filename":"image_22112025_23_00_55_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395736313","file0":"1395736312"},"map_files_photo_id_array":[{"photo_id":"1395736313","filename":"file1"},{"photo_id":"1395736312","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395736313":["hashtag1","hashtag2"]},{"1395736312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395736313, 1395736312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.066624879837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:02:02.688791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_44_3073.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_50_3557.jpg', '/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_53_2681.jpg', '/home/pi/Desktop/images/20112025/19/52/image_20112025_19_52_13_2897.jpg', '/home/pi/Desktop/images/20112025/19/52/image_20112025_19_52_29_3588.jpg', '/home/pi/Desktop/images/20112025/19/52/image_20112025_19_52_43_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_44_3073.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_50_3557.jpg
/home/pi/Desktop/images/20112025/19/51/image_20112025_19_51_53_2681.jpg
/home/pi/Desktop/images/20112025/19/52/image_20112025_19_52_13_2897.jpg
/home/pi/Desktop/images/20112025/19/52/image_20112025_19_52_29_3588.jpg
/home/pi/Desktop/images/20112025/19/52/image_20112025_19_52_43_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395736541","1395736433","1395736613","1395736508","1395736471","1395736575"],"photo_ids_order":["1395736433","1395736471","1395736508","1395736541","1395736575","1395736613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aa4d24579c243e1fcc4d72854a373eec.jpg","text":"TemporaryFile(/tmp/multipartBody3429388040565399090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848984814,"filename":"image_20112025_19_52_13_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cce777eaaf1d74a3454f1d5d01f10f31.jpg","text":"TemporaryFile(/tmp/multipartBody119662128655386753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848984814,"filename":"image_20112025_19_51_44_3073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ee2ad4f00e4bebe99040c0247ea275b.jpg","text":"TemporaryFile(/tmp/multipartBody2997314987993065640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848984814,"filename":"image_20112025_19_52_43_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0c54779c34e65028d56ef9a032f8c568.jpg","text":"TemporaryFile(/tmp/multipartBody7339747848313650448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848984814,"filename":"image_20112025_19_51_53_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd60fed0ea51106a0e9e5b1208709d8e.jpg","text":"TemporaryFile(/tmp/multipartBody7161781269823311990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848984814,"filename":"image_20112025_19_51_50_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7ad720ee0444c1db8038c33efe7c9115.jpg","text":"TemporaryFile(/tmp/multipartBody6237034552738363499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763848984814,"filename":"image_20112025_19_52_29_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395736508","file1":"1395736471","file0":"1395736433","file4":"1395736575","file5":"1395736613","file3":"1395736541"},"map_files_photo_id_array":[{"photo_id":"1395736613","filename":"file5"},{"photo_id":"1395736508","filename":"file2"},{"photo_id":"1395736575","filename":"file4"},{"photo_id":"1395736471","filename":"file1"},{"photo_id":"1395736433","filename":"file0"},{"photo_id":"1395736541","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395736541":["hashtag1","hashtag2"]},{"1395736433":["hashtag1","hashtag2"]},{"1395736613":["hashtag1","hashtag2"]},{"1395736508":["hashtag1","hashtag2"]},{"1395736471":["hashtag1","hashtag2"]},{"1395736575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395736541, 1395736433, 1395736613, 1395736508, 1395736471, 1395736575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62335181236267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:02:42.159704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/01/image_22112025_23_01_52_2950.jpg', '/home/pi/Desktop/images/22112025/23/02/image_22112025_23_02_13_2615.jpg', '/home/pi/Desktop/images/22112025/23/02/image_22112025_23_02_49_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/01/image_22112025_23_01_52_2950.jpg
/home/pi/Desktop/images/22112025/23/02/image_22112025_23_02_13_2615.jpg
/home/pi/Desktop/images/22112025/23/02/image_22112025_23_02_49_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395736623","1395736629","1395736624"],"photo_ids_order":["1395736623","1395736624","1395736629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52ccc72a1d85f04618acfcc8c063691a.jpg","text":"TemporaryFile(/tmp/multipartBody5666713549385832993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849022768,"filename":"image_22112025_23_01_52_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d1c312d67ce5873c882045bee913934.jpg","text":"TemporaryFile(/tmp/multipartBody7306854033729954653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849022768,"filename":"image_22112025_23_02_49_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fef43938ce6282d8692d0697dd7f6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3031394569414955300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849022768,"filename":"image_22112025_23_02_13_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395736629","file1":"1395736624","file0":"1395736623"},"map_files_photo_id_array":[{"photo_id":"1395736629","filename":"file2"},{"photo_id":"1395736624","filename":"file1"},{"photo_id":"1395736623","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395736623":["hashtag1","hashtag2"]},{"1395736629":["hashtag1","hashtag2"]},{"1395736624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395736623, 1395736629, 1395736624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.06626534461975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:03:22.310096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/02/image_22112025_23_02_54_2953.jpg', '/home/pi/Desktop/images/22112025/23/02/image_22112025_23_03_01_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/02/image_22112025_23_02_54_2953.jpg
/home/pi/Desktop/images/22112025/23/02/image_22112025_23_03_01_3549.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395736792","1395736804"],"photo_ids_order":["1395736792","1395736804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1842586897ade0198c6ec01f9b6f55a0.jpg","text":"TemporaryFile(/tmp/multipartBody3086087513333989103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849062885,"filename":"image_22112025_23_02_54_2953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/744575dbf535aa7cd94296faa1474922.jpg","text":"TemporaryFile(/tmp/multipartBody9091828308419505927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849062885,"filename":"image_22112025_23_03_01_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395736804","file0":"1395736792"},"map_files_photo_id_array":[{"photo_id":"1395736804","filename":"file1"},{"photo_id":"1395736792","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395736792":["hashtag1","hashtag2"]},{"1395736804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395736792, 1395736804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.289575815200806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:03:42.408565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_40_3599.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_43_2584.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_49_3662.jpg', '/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_52_2780.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_01_3968.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_06_4683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_40_3599.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_43_2584.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_49_3662.jpg
/home/pi/Desktop/images/30102025/18/34/image_30102025_18_34_52_2780.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_01_3968.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_06_4683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395737459","1395737468","1395737276","1395737083","1395737179","1395737364"],"photo_ids_order":["1395737083","1395737179","1395737276","1395737364","1395737459","1395737468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/35c1076a33219bd5ae2e781d8967dc3d.jpg","text":"TemporaryFile(/tmp/multipartBody1433665802914585076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849084568,"filename":"image_30102025_18_35_01_3968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5835633b82a2eb18cf3cf360dea65a89.jpg","text":"TemporaryFile(/tmp/multipartBody27296240194781999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849084568,"filename":"image_30102025_18_35_06_4683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83cba0ca200f422592a70754dfbaca81.jpg","text":"TemporaryFile(/tmp/multipartBody4338558794898127082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849084568,"filename":"image_30102025_18_34_49_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e06db4d83b80f6119a2fd614231988b.jpg","text":"TemporaryFile(/tmp/multipartBody3545423084169097858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849084568,"filename":"image_30102025_18_34_40_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db7722a82da4f027cd293f3cbfa8b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody768157965345737864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849084568,"filename":"image_30102025_18_34_43_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be8c936571d9ee76a5ef12f08802cbdc.jpg","text":"TemporaryFile(/tmp/multipartBody535934311820922954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849084568,"filename":"image_30102025_18_34_52_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395737276","file1":"1395737179","file0":"1395737083","file4":"1395737459","file5":"1395737468","file3":"1395737364"},"map_files_photo_id_array":[{"photo_id":"1395737468","filename":"file5"},{"photo_id":"1395737276","filename":"file2"},{"photo_id":"1395737459","filename":"file4"},{"photo_id":"1395737179","filename":"file1"},{"photo_id":"1395737083","filename":"file0"},{"photo_id":"1395737364","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395737459":["hashtag1","hashtag2"]},{"1395737468":["hashtag1","hashtag2"]},{"1395737276":["hashtag1","hashtag2"]},{"1395737083":["hashtag1","hashtag2"]},{"1395737179":["hashtag1","hashtag2"]},{"1395737364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395737459, 1395737468, 1395737276, 1395737083, 1395737179, 1395737364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75258660316467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:04:22.659308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/03/image_22112025_23_03_10_3592.jpg', '/home/pi/Desktop/images/22112025/23/04/image_22112025_23_04_13_2559.jpg', '/home/pi/Desktop/images/22112025/23/04/image_22112025_23_04_15_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/03/image_22112025_23_03_10_3592.jpg
/home/pi/Desktop/images/22112025/23/04/image_22112025_23_04_13_2559.jpg
/home/pi/Desktop/images/22112025/23/04/image_22112025_23_04_15_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395737471","1395737489","1395737594"],"photo_ids_order":["1395737471","1395737489","1395737594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2fb4de263c718872926285bd15cafc4d.jpg","text":"TemporaryFile(/tmp/multipartBody2442354745379119957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849123289,"filename":"image_22112025_23_03_10_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/914eb1741e2225c3c269f2ff57827660.jpg","text":"TemporaryFile(/tmp/multipartBody6240142042948358153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849123289,"filename":"image_22112025_23_04_13_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/413e8a36e12a1f3c67c2060608b0f490.jpg","text":"TemporaryFile(/tmp/multipartBody3078528456490718693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849123289,"filename":"image_22112025_23_04_15_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395737594","file1":"1395737489","file0":"1395737471"},"map_files_photo_id_array":[{"photo_id":"1395737594","filename":"file2"},{"photo_id":"1395737489","filename":"file1"},{"photo_id":"1395737471","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395737471":["hashtag1","hashtag2"]},{"1395737489":["hashtag1","hashtag2"]},{"1395737594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395737471, 1395737489, 1395737594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.232139587402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:05:02.537149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:05:23.315626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:05:41.942118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_09_3139.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_13_1714.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_28_2621.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_30_2647.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_34_3788.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_37_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_09_3139.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_13_1714.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_28_2621.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_30_2647.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_34_3788.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_37_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395738044","1395737981","1395738085","1395737909","1395738121","1395737947"],"photo_ids_order":["1395737909","1395737947","1395737981","1395738044","1395738085","1395738121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3e0d7165fb2a93d7caadddeb6196b233.jpg","text":"TemporaryFile(/tmp/multipartBody5493410518318336477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849205159,"filename":"image_30102025_18_35_30_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0480f465d660aca7dc2cea121210ffbe.jpg","text":"TemporaryFile(/tmp/multipartBody2746379197541843285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849205159,"filename":"image_30102025_18_35_28_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44303383fd4096e1ad2eb519bae81b8e.jpg","text":"TemporaryFile(/tmp/multipartBody724782405457466858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849205159,"filename":"image_30102025_18_35_34_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/32c701ee2155d5c879be6050489bf412.jpg","text":"TemporaryFile(/tmp/multipartBody4942362358082632665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849205159,"filename":"image_30102025_18_35_09_3139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/03a40adf9016c0d8bfa262bd8151f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8680375303788543883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849205159,"filename":"image_30102025_18_35_37_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4afd76fb4e905c8f670973ed0d069bba.jpg","text":"TemporaryFile(/tmp/multipartBody7955054431695699053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849205159,"filename":"image_30102025_18_35_13_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395737981","file1":"1395737947","file0":"1395737909","file4":"1395738085","file5":"1395738121","file3":"1395738044"},"map_files_photo_id_array":[{"photo_id":"1395738121","filename":"file5"},{"photo_id":"1395737981","filename":"file2"},{"photo_id":"1395738085","filename":"file4"},{"photo_id":"1395737947","filename":"file1"},{"photo_id":"1395737909","filename":"file0"},{"photo_id":"1395738044","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395738044":["hashtag1","hashtag2"]},{"1395737981":["hashtag1","hashtag2"]},{"1395738085":["hashtag1","hashtag2"]},{"1395737909":["hashtag1","hashtag2"]},{"1395738121":["hashtag1","hashtag2"]},{"1395737947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395738044, 1395737981, 1395738085, 1395737909, 1395738121, 1395737947)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.9653434753418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:06:44.087594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/04/image_22112025_23_05_00_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/04/image_22112025_23_05_00_2643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4634890556335449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:07:02.888099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/04/image_22112025_23_05_00_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/04/image_22112025_23_05_00_2643.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395738371"],"photo_id":"1395738371","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/842417ea387e4767c17b1028be570e5e.jpg","text":"TemporaryFile(/tmp/multipartBody8813412229889923495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849283493,"filename":"image_22112025_23_05_00_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395738371"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395738371"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.815018892288208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:07:22.243864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/05/image_22112025_23_05_31_3879.jpg', '/home/pi/Desktop/images/22112025/23/07/image_22112025_23_07_07_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/05/image_22112025_23_05_31_3879.jpg
/home/pi/Desktop/images/22112025/23/07/image_22112025_23_07_07_2780.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395738454","1395738435"],"photo_ids_order":["1395738435","1395738454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a1895c6d0eea1335fff45b5a5179cffe.jpg","text":"TemporaryFile(/tmp/multipartBody5105671263293743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849302801,"filename":"image_22112025_23_07_07_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5990755208e91200a59ef7d87a853ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6038241594729944223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849302801,"filename":"image_22112025_23_05_31_3879.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395738454","file0":"1395738435"},"map_files_photo_id_array":[{"photo_id":"1395738454","filename":"file1"},{"photo_id":"1395738435","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395738454":["hashtag1","hashtag2"]},{"1395738435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395738454, 1395738435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.51473093032837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:07:42.255088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_39_2514.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_43_3677.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_46_2702.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_52_3529.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_55_2574.jpg', '/home/pi/Desktop/images/30102025/18/35/image_30102025_18_36_01_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_39_2514.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_43_3677.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_46_2702.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_52_3529.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_35_55_2574.jpg
/home/pi/Desktop/images/30102025/18/35/image_30102025_18_36_01_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395738481","1395738483","1395738477","1395738480","1395738482","1395738479"],"photo_ids_order":["1395738477","1395738479","1395738480","1395738481","1395738482","1395738483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/88811d94d62a6690cc3abbfd0cc2f261.jpg","text":"TemporaryFile(/tmp/multipartBody5011071623669425722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849324423,"filename":"image_30102025_18_35_52_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa4a8b08698605262ab9db7c813c49d0.jpg","text":"TemporaryFile(/tmp/multipartBody7307835068079123301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849324423,"filename":"image_30102025_18_36_01_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07401af6b83a992325f58c1667226d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5772238796855487370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849324423,"filename":"image_30102025_18_35_39_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ea620addc5c115271da3ee410236c57.jpg","text":"TemporaryFile(/tmp/multipartBody6380052411018810177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849324423,"filename":"image_30102025_18_35_46_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e61c3ec65e30d6e3c6f23fd8681a2809.jpg","text":"TemporaryFile(/tmp/multipartBody2640803180647140318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849324423,"filename":"image_30102025_18_35_55_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48fe0fa828d9ab8beeb739dec40c89e7.jpg","text":"TemporaryFile(/tmp/multipartBody5064454687047260576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849324423,"filename":"image_30102025_18_35_43_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395738480","file1":"1395738479","file0":"1395738477","file4":"1395738482","file5":"1395738483","file3":"1395738481"},"map_files_photo_id_array":[{"photo_id":"1395738483","filename":"file5"},{"photo_id":"1395738480","filename":"file2"},{"photo_id":"1395738482","filename":"file4"},{"photo_id":"1395738479","filename":"file1"},{"photo_id":"1395738477","filename":"file0"},{"photo_id":"1395738481","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395738481":["hashtag1","hashtag2"]},{"1395738483":["hashtag1","hashtag2"]},{"1395738477":["hashtag1","hashtag2"]},{"1395738480":["hashtag1","hashtag2"]},{"1395738482":["hashtag1","hashtag2"]},{"1395738479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395738481, 1395738483, 1395738477, 1395738480, 1395738482, 1395738479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.409382581710815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:08:22.588790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:08:42.681141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/07/image_22112025_23_07_16_4109.jpg', '/home/pi/Desktop/images/22112025/23/08/image_22112025_23_08_46_3812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/07/image_22112025_23_07_16_4109.jpg
/home/pi/Desktop/images/22112025/23/08/image_22112025_23_08_46_3812.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395739004","1395738906"],"photo_ids_order":["1395738906","1395739004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c25edd74adcb67503e5687e462f8274f.jpg","text":"TemporaryFile(/tmp/multipartBody2810160919323337962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849383270,"filename":"image_22112025_23_08_46_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e6fd54b33dc17ab75411718e9e1f35f.jpg","text":"TemporaryFile(/tmp/multipartBody4913387335294160093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849383270,"filename":"image_22112025_23_07_16_4109.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395739004","file0":"1395738906"},"map_files_photo_id_array":[{"photo_id":"1395739004","filename":"file1"},{"photo_id":"1395738906","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395739004":["hashtag1","hashtag2"]},{"1395738906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395739004, 1395738906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.040287017822266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:09:02.765683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/52/image_20112025_19_52_50_2805.jpg', '/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_08_3556.jpg', '/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_10_2791.jpg', '/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_19_2765.jpg', '/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_26_3933.jpg', '/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_35_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/52/image_20112025_19_52_50_2805.jpg
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_08_3556.jpg
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_10_2791.jpg
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_19_2765.jpg
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_26_3933.jpg
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_35_3664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395739180","1395739182","1395739179","1395739317","1395739239","1395739181"],"photo_ids_order":["1395739179","1395739180","1395739181","1395739182","1395739239","1395739317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6f01fff2357b92059219546c0f904be6.jpg","text":"TemporaryFile(/tmp/multipartBody6023024102797156590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849406007,"filename":"image_20112025_19_53_08_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45109c935af3ba6b113819ac14d4150e.jpg","text":"TemporaryFile(/tmp/multipartBody1265898558251038179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849406007,"filename":"image_20112025_19_53_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4574d47a4d4bcdb689beb792aadb9437.jpg","text":"TemporaryFile(/tmp/multipartBody8511387384150643603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849406007,"filename":"image_20112025_19_52_50_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d1ec092d2056676b24913eee2fcdf4f.jpg","text":"TemporaryFile(/tmp/multipartBody3853956453157865238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849406007,"filename":"image_20112025_19_53_35_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95240048c0aab06cc1ffcdd70ce9aefa.jpg","text":"TemporaryFile(/tmp/multipartBody4451752576356622441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849406007,"filename":"image_20112025_19_53_26_3933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1e5c3eb6b534718be71c8043bc57f7ce.jpg","text":"TemporaryFile(/tmp/multipartBody973216275291847238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849406007,"filename":"image_20112025_19_53_10_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395739181","file1":"1395739180","file0":"1395739179","file4":"1395739239","file5":"1395739317","file3":"1395739182"},"map_files_photo_id_array":[{"photo_id":"1395739317","filename":"file5"},{"photo_id":"1395739181","filename":"file2"},{"photo_id":"1395739239","filename":"file4"},{"photo_id":"1395739180","filename":"file1"},{"photo_id":"1395739179","filename":"file0"},{"photo_id":"1395739182","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395739180":["hashtag1","hashtag2"]},{"1395739182":["hashtag1","hashtag2"]},{"1395739179":["hashtag1","hashtag2"]},{"1395739317":["hashtag1","hashtag2"]},{"1395739239":["hashtag1","hashtag2"]},{"1395739181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395739180, 1395739182, 1395739179, 1395739317, 1395739239, 1395739181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42442464828491 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:10:02.567943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_40_2740.jpg', '/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_47_2774.jpg', '/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_49_2815.jpg', '/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_56_3580.jpg', '/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_01_2726.jpg', '/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_04_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_40_2740.jpg
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_47_2774.jpg
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_49_2815.jpg
/home/pi/Desktop/images/20112025/19/53/image_20112025_19_53_56_3580.jpg
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_01_2726.jpg
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_04_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395739738","1395739697","1395739583","1395739778","1395739661","1395739622"],"photo_ids_order":["1395739583","1395739622","1395739661","1395739697","1395739738","1395739778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4f3b73bb06b7bc3be63831c3def3fd18.jpg","text":"TemporaryFile(/tmp/multipartBody3549654086116926418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849464692,"filename":"image_20112025_19_54_01_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b1ff9155d7d44b80ca27f41695c2f49b.jpg","text":"TemporaryFile(/tmp/multipartBody3572160953421281885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849464692,"filename":"image_20112025_19_53_56_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b4adb27519abf8b6c676379c0ca81489.jpg","text":"TemporaryFile(/tmp/multipartBody1239479938702534196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849464692,"filename":"image_20112025_19_53_40_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68c55d6a770cb96f9c7a9d816c40f73a.jpg","text":"TemporaryFile(/tmp/multipartBody4464309954477731477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849464692,"filename":"image_20112025_19_54_04_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d853e28fd8507a4b4322de9d3d97948.jpg","text":"TemporaryFile(/tmp/multipartBody836471294539981179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849464692,"filename":"image_20112025_19_53_49_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aea092e589825050644baa55f2fda856.jpg","text":"TemporaryFile(/tmp/multipartBody2975600693599728274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849464692,"filename":"image_20112025_19_53_47_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395739661","file1":"1395739622","file0":"1395739583","file4":"1395739738","file5":"1395739778","file3":"1395739697"},"map_files_photo_id_array":[{"photo_id":"1395739778","filename":"file5"},{"photo_id":"1395739661","filename":"file2"},{"photo_id":"1395739738","filename":"file4"},{"photo_id":"1395739622","filename":"file1"},{"photo_id":"1395739583","filename":"file0"},{"photo_id":"1395739697","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395739738":["hashtag1","hashtag2"]},{"1395739697":["hashtag1","hashtag2"]},{"1395739583":["hashtag1","hashtag2"]},{"1395739778":["hashtag1","hashtag2"]},{"1395739661":["hashtag1","hashtag2"]},{"1395739622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395739738, 1395739697, 1395739583, 1395739778, 1395739661, 1395739622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44475317001343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:11:02.965825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 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 627, 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 plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:11:22.214371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_05_3526.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_07_2600.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_10_2794.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_16_5726.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_17_1578.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_19_1570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_05_3526.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_07_2600.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_10_2794.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_16_5726.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_17_1578.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_19_1570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395740243","1395740303","1395740299","1395740305","1395740205","1395740282"],"photo_ids_order":["1395740205","1395740243","1395740282","1395740299","1395740303","1395740305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e5455f1113c7eeec1063e67f90592409.jpg","text":"TemporaryFile(/tmp/multipartBody596087184776045111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849544114,"filename":"image_30102025_18_36_07_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/144184f2fa41007974882b99babe74bc.jpg","text":"TemporaryFile(/tmp/multipartBody8424373896929224899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849544114,"filename":"image_30102025_18_36_17_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbc268f4c9486b6b6ce8bade125844d3.jpg","text":"TemporaryFile(/tmp/multipartBody2385708844992619196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849544114,"filename":"image_30102025_18_36_16_5726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5f2f28490eef105167bf7a8f006946aa.jpg","text":"TemporaryFile(/tmp/multipartBody7447120547980470695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849544114,"filename":"image_30102025_18_36_19_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b28538723a0fe822a55a99ca163b0df5.jpg","text":"TemporaryFile(/tmp/multipartBody5646693985104729849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849544114,"filename":"image_30102025_18_36_05_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/762c27b7268bffbd27ff95ab7042f1c5.jpg","text":"TemporaryFile(/tmp/multipartBody9152901738781365503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849544114,"filename":"image_30102025_18_36_10_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395740282","file1":"1395740243","file0":"1395740205","file4":"1395740303","file5":"1395740305","file3":"1395740299"},"map_files_photo_id_array":[{"photo_id":"1395740305","filename":"file5"},{"photo_id":"1395740282","filename":"file2"},{"photo_id":"1395740303","filename":"file4"},{"photo_id":"1395740243","filename":"file1"},{"photo_id":"1395740205","filename":"file0"},{"photo_id":"1395740299","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395740243":["hashtag1","hashtag2"]},{"1395740303":["hashtag1","hashtag2"]},{"1395740299":["hashtag1","hashtag2"]},{"1395740305":["hashtag1","hashtag2"]},{"1395740205":["hashtag1","hashtag2"]},{"1395740282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395740243, 1395740303, 1395740299, 1395740305, 1395740205, 1395740282)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.72172951698303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:12:22.671333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_22_2832.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_28_3748.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_31_2616.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_33_2752.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_37_3691.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_40_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_22_2832.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_28_3748.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_31_2616.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_33_2752.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_37_3691.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_40_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395740540","1395740419","1395740382","1395740550","1395740544","1395740459"],"photo_ids_order":["1395740382","1395740419","1395740459","1395740540","1395740544","1395740550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bda7e824f70830b0eb6c3501381ab876.jpg","text":"TemporaryFile(/tmp/multipartBody420848006465976501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849605010,"filename":"image_30102025_18_36_33_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/738b34bf56135d8fb5400aa0e10f9d18.jpg","text":"TemporaryFile(/tmp/multipartBody5471061855013773555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849605010,"filename":"image_30102025_18_36_28_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84c7e21997be17ce272d8533685ae653.jpg","text":"TemporaryFile(/tmp/multipartBody1470082020378085270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849605010,"filename":"image_30102025_18_36_22_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a865cd91f4b4d5bb391e405a733a1624.jpg","text":"TemporaryFile(/tmp/multipartBody8137431639762129583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849605010,"filename":"image_30102025_18_36_40_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cbcc04319d1334953a9754112f45d853.jpg","text":"TemporaryFile(/tmp/multipartBody8992433662588134109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849605010,"filename":"image_30102025_18_36_37_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/20b25d1fb1152ce328e7422c37ca6c04.jpg","text":"TemporaryFile(/tmp/multipartBody2230426019385032520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849605010,"filename":"image_30102025_18_36_31_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395740459","file1":"1395740419","file0":"1395740382","file4":"1395740544","file5":"1395740550","file3":"1395740540"},"map_files_photo_id_array":[{"photo_id":"1395740550","filename":"file5"},{"photo_id":"1395740459","filename":"file2"},{"photo_id":"1395740544","filename":"file4"},{"photo_id":"1395740419","filename":"file1"},{"photo_id":"1395740382","filename":"file0"},{"photo_id":"1395740540","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395740540":["hashtag1","hashtag2"]},{"1395740419":["hashtag1","hashtag2"]},{"1395740382":["hashtag1","hashtag2"]},{"1395740550":["hashtag1","hashtag2"]},{"1395740544":["hashtag1","hashtag2"]},{"1395740459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395740540, 1395740419, 1395740382, 1395740550, 1395740544, 1395740459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.3020806312561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:13:21.788339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/08/image_22112025_23_09_00_2683.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_07_1724.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_08_1787.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_30_5839.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_34_2106.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_36_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/08/image_22112025_23_09_00_2683.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_07_1724.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_08_1787.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_30_5839.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_34_2106.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_36_1592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6231434345245361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:13:41.872262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/08/image_22112025_23_09_00_2683.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_07_1724.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_08_1787.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_30_5839.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_34_2106.jpg', '/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_36_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/08/image_22112025_23_09_00_2683.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_07_1724.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_08_1787.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_30_5839.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_34_2106.jpg
/home/pi/Desktop/images/22112025/23/12/image_22112025_23_12_36_1592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395740702","1395740705","1395740704","1395740701","1395740703","1395740706"],"photo_ids_order":["1395740701","1395740702","1395740703","1395740704","1395740705","1395740706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00762b6b6d12e04a1759c66a060dcd8f.jpg","text":"TemporaryFile(/tmp/multipartBody640211200912738997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849682658,"filename":"image_22112025_23_12_07_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5007781b75d866721a4ddae87ef82f81.jpg","text":"TemporaryFile(/tmp/multipartBody6742637549873804898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849682658,"filename":"image_22112025_23_12_34_2106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/329f1812aca282d2f4dee4a9e1ceb2a5.jpg","text":"TemporaryFile(/tmp/multipartBody3039444914155829932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849682658,"filename":"image_22112025_23_12_30_5839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0391051925118b4281e85d771445855.jpg","text":"TemporaryFile(/tmp/multipartBody4267132865284019020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849682658,"filename":"image_22112025_23_09_00_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b92ca4a9bd744b35d45db7f08a01979b.jpg","text":"TemporaryFile(/tmp/multipartBody7655874482662232395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849682658,"filename":"image_22112025_23_12_08_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5477fb12510a6ec77c6f9a452f3b942.jpg","text":"TemporaryFile(/tmp/multipartBody8159631397171010594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849682658,"filename":"image_22112025_23_12_36_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395740703","file1":"1395740702","file0":"1395740701","file4":"1395740705","file5":"1395740706","file3":"1395740704"},"map_files_photo_id_array":[{"photo_id":"1395740706","filename":"file5"},{"photo_id":"1395740703","filename":"file2"},{"photo_id":"1395740705","filename":"file4"},{"photo_id":"1395740702","filename":"file1"},{"photo_id":"1395740701","filename":"file0"},{"photo_id":"1395740704","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395740702":["hashtag1","hashtag2"]},{"1395740705":["hashtag1","hashtag2"]},{"1395740704":["hashtag1","hashtag2"]},{"1395740701":["hashtag1","hashtag2"]},{"1395740703":["hashtag1","hashtag2"]},{"1395740706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395740702, 1395740705, 1395740704, 1395740701, 1395740703, 1395740706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.184696435928345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:14:22.260848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/13/image_22112025_23_13_31_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/13/image_22112025_23_13_31_2829.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395740710"],"photo_id":"1395740710","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3d3b5bb5384961a7e6f8f40961dbe59.jpg","text":"TemporaryFile(/tmp/multipartBody3065559514718834254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849722795,"filename":"image_22112025_23_13_31_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395740710"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395740710"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.865061283111572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:14:42.207917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_42_2536.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_46_3773.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_49_2791.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_52_2732.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_54_2579.jpg', '/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_58_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_42_2536.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_46_3773.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_49_2791.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_52_2732.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_54_2579.jpg
/home/pi/Desktop/images/30102025/18/36/image_30102025_18_36_58_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395740732","1395740734","1395740725","1395740728","1395740721","1395740730"],"photo_ids_order":["1395740721","1395740725","1395740728","1395740730","1395740732","1395740734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9cceefdaef750d5c2729b35247f5d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6075254864285379325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849744369,"filename":"image_30102025_18_36_54_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/589de47e78b21185d9ddb43e0be52426.jpg","text":"TemporaryFile(/tmp/multipartBody3512391196550414956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849744369,"filename":"image_30102025_18_36_58_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/753db91cc1e14145a9332c129302291c.jpg","text":"TemporaryFile(/tmp/multipartBody6100433465691476087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849744369,"filename":"image_30102025_18_36_46_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/788813e4674f725bd34b3d58ee3e8254.jpg","text":"TemporaryFile(/tmp/multipartBody7766598295281286208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849744369,"filename":"image_30102025_18_36_49_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f45467c8dc94722f30f12c0c7610f62.jpg","text":"TemporaryFile(/tmp/multipartBody528622274019216741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849744369,"filename":"image_30102025_18_36_42_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10f581ee0423ad749a2f68a9aa1eea54.jpg","text":"TemporaryFile(/tmp/multipartBody918538153138312832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849744369,"filename":"image_30102025_18_36_52_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395740728","file1":"1395740725","file0":"1395740721","file4":"1395740732","file5":"1395740734","file3":"1395740730"},"map_files_photo_id_array":[{"photo_id":"1395740734","filename":"file5"},{"photo_id":"1395740728","filename":"file2"},{"photo_id":"1395740732","filename":"file4"},{"photo_id":"1395740725","filename":"file1"},{"photo_id":"1395740721","filename":"file0"},{"photo_id":"1395740730","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395740732":["hashtag1","hashtag2"]},{"1395740734":["hashtag1","hashtag2"]},{"1395740725":["hashtag1","hashtag2"]},{"1395740728":["hashtag1","hashtag2"]},{"1395740721":["hashtag1","hashtag2"]},{"1395740730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395740732, 1395740734, 1395740725, 1395740728, 1395740721, 1395740730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04277300834656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:15:22.411054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/13/image_22112025_23_13_35_1685.jpg', '/home/pi/Desktop/images/22112025/23/15/image_22112025_23_15_42_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/13/image_22112025_23_13_35_1685.jpg
/home/pi/Desktop/images/22112025/23/15/image_22112025_23_15_42_3711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395740741","1395740738"],"photo_ids_order":["1395740738","1395740741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40da481015d503085f9a36b9686e1409.jpg","text":"TemporaryFile(/tmp/multipartBody6538850794671156808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849782989,"filename":"image_22112025_23_15_42_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3245cdc5a0aa90a78a4fc9f28275de1.jpg","text":"TemporaryFile(/tmp/multipartBody6555498844943535321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849782989,"filename":"image_22112025_23_13_35_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395740741","file0":"1395740738"},"map_files_photo_id_array":[{"photo_id":"1395740741","filename":"file1"},{"photo_id":"1395740738","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395740741":["hashtag1","hashtag2"]},{"1395740738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395740741, 1395740738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.45087218284607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:15:42.452445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_18_2669.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_22_3606.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_25_2564.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_46_3685.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_49_2610.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_51_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_18_2669.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_22_3606.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_25_2564.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_46_3685.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_49_2610.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_51_2801.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.0574569702148438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:16:03.164131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_08_3887.jpg', '/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_16_2679.jpg', '/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_20_3769.jpg', '/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_29_3686.jpg', '/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_31_2527.jpg', '/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_34_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_08_3887.jpg
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_16_2679.jpg
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_20_3769.jpg
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_29_3686.jpg
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_31_2527.jpg
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_34_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395740779","1395740761","1395740758","1395740757","1395740756","1395740759"],"photo_ids_order":["1395740756","1395740757","1395740758","1395740759","1395740761","1395740779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ca8248e52c57cbe7aad34d1045460c07.jpg","text":"TemporaryFile(/tmp/multipartBody546938579184017477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849825382,"filename":"image_20112025_19_54_34_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5e7ae96fe72404d973c451414c88ea21.jpg","text":"TemporaryFile(/tmp/multipartBody232527693322940674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849825382,"filename":"image_20112025_19_54_31_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b7d6eb3961711d80447ea879d3abe1f.jpg","text":"TemporaryFile(/tmp/multipartBody5173621696600717316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849825382,"filename":"image_20112025_19_54_20_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7a018a6e52f8a135bfca986a107266db.jpg","text":"TemporaryFile(/tmp/multipartBody7111367240006460473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849825382,"filename":"image_20112025_19_54_16_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49ac15772df7d3706e29bc59cd5d66da.jpg","text":"TemporaryFile(/tmp/multipartBody6677463016938565812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849825382,"filename":"image_20112025_19_54_08_3887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ec67e575b3492a42e868653187b5b05.jpg","text":"TemporaryFile(/tmp/multipartBody6302890834268778234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849825382,"filename":"image_20112025_19_54_29_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395740758","file1":"1395740757","file0":"1395740756","file4":"1395740761","file5":"1395740779","file3":"1395740759"},"map_files_photo_id_array":[{"photo_id":"1395740779","filename":"file5"},{"photo_id":"1395740758","filename":"file2"},{"photo_id":"1395740761","filename":"file4"},{"photo_id":"1395740757","filename":"file1"},{"photo_id":"1395740756","filename":"file0"},{"photo_id":"1395740759","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395740779":["hashtag1","hashtag2"]},{"1395740761":["hashtag1","hashtag2"]},{"1395740758":["hashtag1","hashtag2"]},{"1395740757":["hashtag1","hashtag2"]},{"1395740756":["hashtag1","hashtag2"]},{"1395740759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395740779, 1395740761, 1395740758, 1395740757, 1395740756, 1395740759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84645390510559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:16:42.803625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/15/image_22112025_23_15_57_2830.jpg', '/home/pi/Desktop/images/22112025/23/16/image_22112025_23_16_06_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/15/image_22112025_23_15_57_2830.jpg
/home/pi/Desktop/images/22112025/23/16/image_22112025_23_16_06_3677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395740908","1395740946"],"photo_ids_order":["1395740908","1395740946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/580beb84b1ec1449505ae2cbca808a08.jpg","text":"TemporaryFile(/tmp/multipartBody6807507279375271057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849863364,"filename":"image_22112025_23_15_57_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e2dd6b597a0dedf406ef77dd22998bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2891201965025260432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849863364,"filename":"image_22112025_23_16_06_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395740946","file0":"1395740908"},"map_files_photo_id_array":[{"photo_id":"1395740946","filename":"file1"},{"photo_id":"1395740908","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395740908":["hashtag1","hashtag2"]},{"1395740946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395740908, 1395740946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.625415325164795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:17:02.755214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_53_3834.jpg', '/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_58_2606.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_11_3658.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_13_2519.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_16_2666.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_19_3033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_53_3834.jpg
/home/pi/Desktop/images/20112025/19/54/image_20112025_19_54_58_2606.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_11_3658.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_13_2519.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_16_2666.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_19_3033.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395741082","1395741262","1395741226","1395741117","1395741188","1395741152"],"photo_ids_order":["1395741082","1395741117","1395741152","1395741188","1395741226","1395741262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84f48f797134100a58817e1753809726.jpg","text":"TemporaryFile(/tmp/multipartBody1844331481940915356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849884875,"filename":"image_20112025_19_54_53_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1bfa3f2f1845309f02d5306f41cbdca9.jpg","text":"TemporaryFile(/tmp/multipartBody6145016464957259052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849884875,"filename":"image_20112025_19_55_19_3033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eddbf7689a574916e368d6d66e38dec4.jpg","text":"TemporaryFile(/tmp/multipartBody8489001492572539461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849884875,"filename":"image_20112025_19_55_16_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/aafdc4081b8626cfa4dd9977cec748af.jpg","text":"TemporaryFile(/tmp/multipartBody7089897665372585788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849884875,"filename":"image_20112025_19_54_58_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3de2776e54fd78c72132f6b146904dac.jpg","text":"TemporaryFile(/tmp/multipartBody1453976357857858048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849884875,"filename":"image_20112025_19_55_13_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a266461b6b23d9c7ff19de14ca91326b.jpg","text":"TemporaryFile(/tmp/multipartBody7550228622847470264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849884875,"filename":"image_20112025_19_55_11_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395741152","file1":"1395741117","file0":"1395741082","file4":"1395741226","file5":"1395741262","file3":"1395741188"},"map_files_photo_id_array":[{"photo_id":"1395741262","filename":"file5"},{"photo_id":"1395741152","filename":"file2"},{"photo_id":"1395741226","filename":"file4"},{"photo_id":"1395741117","filename":"file1"},{"photo_id":"1395741082","filename":"file0"},{"photo_id":"1395741188","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395741082":["hashtag1","hashtag2"]},{"1395741262":["hashtag1","hashtag2"]},{"1395741226":["hashtag1","hashtag2"]},{"1395741117":["hashtag1","hashtag2"]},{"1395741188":["hashtag1","hashtag2"]},{"1395741152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395741082, 1395741262, 1395741226, 1395741117, 1395741188, 1395741152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49302411079407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:17:41.977339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_18_2669.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_22_3606.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_25_2564.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_46_3685.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_49_2610.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_51_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_18_2669.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_22_3606.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_25_2564.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_46_3685.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_49_2610.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_51_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395741409","1395741546","1395741510","1395741476","1395741617","1395741583"],"photo_ids_order":["1395741409","1395741476","1395741510","1395741546","1395741583","1395741617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/49672025bd000144a2092ec1a75701c2.jpg","text":"TemporaryFile(/tmp/multipartBody2084028311971782559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849924085,"filename":"image_30102025_18_37_18_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5503af30515bd4f03baad92e394d664c.jpg","text":"TemporaryFile(/tmp/multipartBody4592433250672115361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849924085,"filename":"image_30102025_18_37_46_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/acf00f328fbe004ee6c5106867998219.jpg","text":"TemporaryFile(/tmp/multipartBody9070870977291127587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849924085,"filename":"image_30102025_18_37_25_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/225eb9c87030a956aa472d19add7f70d.jpg","text":"TemporaryFile(/tmp/multipartBody6551790486941370955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849924085,"filename":"image_30102025_18_37_22_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da53455914305bc5db664cfebd4b5e66.jpg","text":"TemporaryFile(/tmp/multipartBody6310251913807585803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849924085,"filename":"image_30102025_18_37_51_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6774420b53e068cc2b9f82f910b65092.jpg","text":"TemporaryFile(/tmp/multipartBody9162597643656932370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849924085,"filename":"image_30102025_18_37_49_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395741510","file1":"1395741476","file0":"1395741409","file4":"1395741583","file5":"1395741617","file3":"1395741546"},"map_files_photo_id_array":[{"photo_id":"1395741617","filename":"file5"},{"photo_id":"1395741510","filename":"file2"},{"photo_id":"1395741583","filename":"file4"},{"photo_id":"1395741476","filename":"file1"},{"photo_id":"1395741409","filename":"file0"},{"photo_id":"1395741546","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395741409":["hashtag1","hashtag2"]},{"1395741546":["hashtag1","hashtag2"]},{"1395741510":["hashtag1","hashtag2"]},{"1395741476":["hashtag1","hashtag2"]},{"1395741617":["hashtag1","hashtag2"]},{"1395741583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395741409, 1395741546, 1395741510, 1395741476, 1395741617, 1395741583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62357306480408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:18:22.348749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_58_3748.jpg', '/home/pi/Desktop/images/30102025/18/37/image_30102025_18_38_00_2620.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_04_3553.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_07_2513.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_09_2796.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_24_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_37_58_3748.jpg
/home/pi/Desktop/images/30102025/18/37/image_30102025_18_38_00_2620.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_04_3553.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_07_2513.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_09_2796.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_24_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395742150","1395742256","1395742049","1395741794","1395741923","1395742354"],"photo_ids_order":["1395741794","1395741923","1395742049","1395742150","1395742256","1395742354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ad057acb15d935e5279b9b8bffd1821.jpg","text":"TemporaryFile(/tmp/multipartBody8469573107778718739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849964648,"filename":"image_30102025_18_38_07_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/73006cf85d340ad3f06f532d00cdd6a2.jpg","text":"TemporaryFile(/tmp/multipartBody253171181370014237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849964648,"filename":"image_30102025_18_38_09_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eed34a7091787d372fd9497af165f988.jpg","text":"TemporaryFile(/tmp/multipartBody1640954705490981856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849964648,"filename":"image_30102025_18_38_04_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f707f15eddab14573a635965a375e36.jpg","text":"TemporaryFile(/tmp/multipartBody4590494193177956888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849964648,"filename":"image_30102025_18_37_58_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10fe249d30baf55545cef0120bdb14f9.jpg","text":"TemporaryFile(/tmp/multipartBody1695736575468271581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849964648,"filename":"image_30102025_18_38_00_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7267547c988ff76171d50db0760e700c.jpg","text":"TemporaryFile(/tmp/multipartBody2852612242458881467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763849964648,"filename":"image_30102025_18_38_24_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395742049","file1":"1395741923","file0":"1395741794","file4":"1395742256","file5":"1395742354","file3":"1395742150"},"map_files_photo_id_array":[{"photo_id":"1395742354","filename":"file5"},{"photo_id":"1395742049","filename":"file2"},{"photo_id":"1395742256","filename":"file4"},{"photo_id":"1395741923","filename":"file1"},{"photo_id":"1395741794","filename":"file0"},{"photo_id":"1395742150","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395742150":["hashtag1","hashtag2"]},{"1395742256":["hashtag1","hashtag2"]},{"1395742049":["hashtag1","hashtag2"]},{"1395741794":["hashtag1","hashtag2"]},{"1395741923":["hashtag1","hashtag2"]},{"1395742354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395742150, 1395742256, 1395742049, 1395741794, 1395741923, 1395742354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94478154182434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:19:03.565952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_28_2689.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_31_2662.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_49_3656.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_52_2709.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_55_2683.jpg', '/home/pi/Desktop/images/20112025/19/55/image_20112025_19_56_01_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_28_2689.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_31_2662.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_49_3656.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_52_2709.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_55_55_2683.jpg
/home/pi/Desktop/images/20112025/19/55/image_20112025_19_56_01_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395742549","1395742513","1395742807","1395742586","1395742646","1395742769"],"photo_ids_order":["1395742513","1395742549","1395742586","1395742646","1395742769","1395742807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cef7d675997fb42141dfc739eebf0352.jpg","text":"TemporaryFile(/tmp/multipartBody7244920314932603068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850007041,"filename":"image_20112025_19_55_31_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b15f47b2af92c00f48d3e906e6c480e.jpg","text":"TemporaryFile(/tmp/multipartBody658345135020678458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850007041,"filename":"image_20112025_19_55_28_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/52463765386b9aa9c859530516cedaef.jpg","text":"TemporaryFile(/tmp/multipartBody6503914983242854030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850007041,"filename":"image_20112025_19_56_01_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a8260f0456b777f9e35e6aafb18d75de.jpg","text":"TemporaryFile(/tmp/multipartBody4781773712791472879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850007041,"filename":"image_20112025_19_55_49_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/99db8520c10f921a29a209ab32e7cad4.jpg","text":"TemporaryFile(/tmp/multipartBody1684656067899252141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850007041,"filename":"image_20112025_19_55_52_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/83b724651234183f8c4409e1375006a4.jpg","text":"TemporaryFile(/tmp/multipartBody4388589882099119399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850007041,"filename":"image_20112025_19_55_55_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395742586","file1":"1395742549","file0":"1395742513","file4":"1395742769","file5":"1395742807","file3":"1395742646"},"map_files_photo_id_array":[{"photo_id":"1395742807","filename":"file5"},{"photo_id":"1395742586","filename":"file2"},{"photo_id":"1395742769","filename":"file4"},{"photo_id":"1395742549","filename":"file1"},{"photo_id":"1395742513","filename":"file0"},{"photo_id":"1395742646","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395742549":["hashtag1","hashtag2"]},{"1395742513":["hashtag1","hashtag2"]},{"1395742807":["hashtag1","hashtag2"]},{"1395742586":["hashtag1","hashtag2"]},{"1395742646":["hashtag1","hashtag2"]},{"1395742769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395742549, 1395742513, 1395742807, 1395742586, 1395742646, 1395742769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31520104408264 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:20:03.234802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_04_2868.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_07_2670.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_10_2795.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_19_2632.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_22_3556.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_25_3068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_04_2868.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_07_2670.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_10_2795.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_19_2632.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_22_3556.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_25_3068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395743052","1395743055","1395743043","1395743042","1395743045","1395743041"],"photo_ids_order":["1395743041","1395743042","1395743043","1395743045","1395743052","1395743055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac2fe5538d415bf8e00f818b7a31577c.jpg","text":"TemporaryFile(/tmp/multipartBody1229220045977669743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850065399,"filename":"image_20112025_19_56_22_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c378b25a144c4afba750ec2112ddd969.jpg","text":"TemporaryFile(/tmp/multipartBody6461774409157314603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850065399,"filename":"image_20112025_19_56_25_3068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/149b4ebe3246cda2c86128dcceca517a.jpg","text":"TemporaryFile(/tmp/multipartBody6006874644983076539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850065399,"filename":"image_20112025_19_56_10_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f5c7f77b0d4e8b13f7149fd961228c86.jpg","text":"TemporaryFile(/tmp/multipartBody4613968844283267242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850065399,"filename":"image_20112025_19_56_07_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24c0502dde18bf23297f9f8e1748246f.jpg","text":"TemporaryFile(/tmp/multipartBody7126170988515683523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850065399,"filename":"image_20112025_19_56_19_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/00ce9d91ca0bccc10c5173b0e2ad9d67.jpg","text":"TemporaryFile(/tmp/multipartBody9026358381595698044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850065399,"filename":"image_20112025_19_56_04_2868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395743043","file1":"1395743042","file0":"1395743041","file4":"1395743052","file5":"1395743055","file3":"1395743045"},"map_files_photo_id_array":[{"photo_id":"1395743055","filename":"file5"},{"photo_id":"1395743043","filename":"file2"},{"photo_id":"1395743052","filename":"file4"},{"photo_id":"1395743042","filename":"file1"},{"photo_id":"1395743041","filename":"file0"},{"photo_id":"1395743045","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395743052":["hashtag1","hashtag2"]},{"1395743055":["hashtag1","hashtag2"]},{"1395743043":["hashtag1","hashtag2"]},{"1395743042":["hashtag1","hashtag2"]},{"1395743045":["hashtag1","hashtag2"]},{"1395743041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395743052, 1395743055, 1395743043, 1395743042, 1395743045, 1395743041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63399291038513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:20:42.694381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/16/image_22112025_23_16_23_2787.jpg', '/home/pi/Desktop/images/22112025/23/20/image_22112025_23_20_18_3038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/16/image_22112025_23_16_23_2787.jpg
/home/pi/Desktop/images/22112025/23/20/image_22112025_23_20_18_3038.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.46454763412475586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:21:02.738020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/16/image_22112025_23_16_23_2787.jpg', '/home/pi/Desktop/images/22112025/23/20/image_22112025_23_20_18_3038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/16/image_22112025_23_16_23_2787.jpg
/home/pi/Desktop/images/22112025/23/20/image_22112025_23_20_18_3038.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395743066","1395743065"],"photo_ids_order":["1395743065","1395743066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d80f58ed71f3e325e28a25e7649bd21.jpg","text":"TemporaryFile(/tmp/multipartBody6076080373026861941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850123390,"filename":"image_22112025_23_20_18_3038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/411e0b157c3165f3bde9bb10e9559108.jpg","text":"TemporaryFile(/tmp/multipartBody7005537144114199701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850123390,"filename":"image_22112025_23_16_23_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395743066","file0":"1395743065"},"map_files_photo_id_array":[{"photo_id":"1395743066","filename":"file1"},{"photo_id":"1395743065","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395743066":["hashtag1","hashtag2"]},{"1395743065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395743066, 1395743065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.24571657180786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:21:21.970905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/20/image_22112025_23_20_30_3680.jpg', '/home/pi/Desktop/images/22112025/23/21/image_22112025_23_21_23_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/20/image_22112025_23_20_30_3680.jpg
/home/pi/Desktop/images/22112025/23/21/image_22112025_23_21_23_2595.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395743071","1395743068"],"photo_ids_order":["1395743068","1395743071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/85d428592ab55398d85ef9534b8b2551.jpg","text":"TemporaryFile(/tmp/multipartBody2466456052608381353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850142531,"filename":"image_22112025_23_21_23_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/78ed9a450bc0a9b18275fac98932effb.jpg","text":"TemporaryFile(/tmp/multipartBody7150946791169234228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850142531,"filename":"image_22112025_23_20_30_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395743071","file0":"1395743068"},"map_files_photo_id_array":[{"photo_id":"1395743071","filename":"file1"},{"photo_id":"1395743068","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395743071":["hashtag1","hashtag2"]},{"1395743068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395743071, 1395743068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.496960878372192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:21:41.897253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_27_2652.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_39_2735.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_48_2688.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_52_3741.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_57_2613.jpg', '/home/pi/Desktop/images/30102025/18/38/image_30102025_18_39_01_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_27_2652.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_39_2735.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_48_2688.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_52_3741.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_38_57_2613.jpg
/home/pi/Desktop/images/30102025/18/38/image_30102025_18_39_01_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395743151","1395743112","1395743081","1395743183","1395743084","1395743083"],"photo_ids_order":["1395743081","1395743083","1395743084","1395743112","1395743151","1395743183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/54fe97609b7ef90572b4bbe9020dc99c.jpg","text":"TemporaryFile(/tmp/multipartBody5529390736031623707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850164095,"filename":"image_30102025_18_38_57_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/563e32924f70feaeae0a955c20a0ff04.jpg","text":"TemporaryFile(/tmp/multipartBody3581627134400263925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850164095,"filename":"image_30102025_18_38_52_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ddf189beaef7eefaf3483cbae5fb83bf.jpg","text":"TemporaryFile(/tmp/multipartBody4775812105463895447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850164095,"filename":"image_30102025_18_38_27_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8da175704070911f13b68dda87d9afaf.jpg","text":"TemporaryFile(/tmp/multipartBody4466770422797003734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850164095,"filename":"image_30102025_18_39_01_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/550527613a5dfb05ba022f2c373dcbe0.jpg","text":"TemporaryFile(/tmp/multipartBody8799536097085931713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850164095,"filename":"image_30102025_18_38_48_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4ec94148341e5c77933c1e68c297884c.jpg","text":"TemporaryFile(/tmp/multipartBody6951093462228480089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850164095,"filename":"image_30102025_18_38_39_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395743084","file1":"1395743083","file0":"1395743081","file4":"1395743151","file5":"1395743183","file3":"1395743112"},"map_files_photo_id_array":[{"photo_id":"1395743183","filename":"file5"},{"photo_id":"1395743084","filename":"file2"},{"photo_id":"1395743151","filename":"file4"},{"photo_id":"1395743083","filename":"file1"},{"photo_id":"1395743081","filename":"file0"},{"photo_id":"1395743112","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395743151":["hashtag1","hashtag2"]},{"1395743112":["hashtag1","hashtag2"]},{"1395743081":["hashtag1","hashtag2"]},{"1395743183":["hashtag1","hashtag2"]},{"1395743084":["hashtag1","hashtag2"]},{"1395743083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395743151, 1395743112, 1395743081, 1395743183, 1395743084, 1395743083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02496027946472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:22:22.124704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_03_2663.jpg', '/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_10_3815.jpg', '/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_12_2632.jpg', '/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_24_2572.jpg', '/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_30_2553.jpg', '/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_48_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_03_2663.jpg
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_10_3815.jpg
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_12_2632.jpg
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_24_2572.jpg
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_30_2553.jpg
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_48_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395743370","1395743331","1395743477","1395743444","1395743407","1395743515"],"photo_ids_order":["1395743331","1395743370","1395743407","1395743444","1395743477","1395743515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/207bac831c67c31cb6e2691101b0d1cc.jpg","text":"TemporaryFile(/tmp/multipartBody9021950853174046517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850204663,"filename":"image_30102025_18_39_10_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/14918ff693409fc613fa6b006d291520.jpg","text":"TemporaryFile(/tmp/multipartBody6016910374779214716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850204663,"filename":"image_30102025_18_39_03_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c003e202a0f1f2c440aedda8e98d31a2.jpg","text":"TemporaryFile(/tmp/multipartBody587774471507631656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850204663,"filename":"image_30102025_18_39_30_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f1805b91a18155c108ee79db6d487598.jpg","text":"TemporaryFile(/tmp/multipartBody3828158714783046821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850204663,"filename":"image_30102025_18_39_24_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c984eba21f27831918fa228ff083a89a.jpg","text":"TemporaryFile(/tmp/multipartBody1327713628566077602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850204663,"filename":"image_30102025_18_39_12_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/619608ca837d321e8869b32118ef5aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2062263759581136687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850204663,"filename":"image_30102025_18_39_48_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395743407","file1":"1395743370","file0":"1395743331","file4":"1395743477","file5":"1395743515","file3":"1395743444"},"map_files_photo_id_array":[{"photo_id":"1395743515","filename":"file5"},{"photo_id":"1395743407","filename":"file2"},{"photo_id":"1395743477","filename":"file4"},{"photo_id":"1395743370","filename":"file1"},{"photo_id":"1395743331","filename":"file0"},{"photo_id":"1395743444","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395743370":["hashtag1","hashtag2"]},{"1395743331":["hashtag1","hashtag2"]},{"1395743477":["hashtag1","hashtag2"]},{"1395743444":["hashtag1","hashtag2"]},{"1395743407":["hashtag1","hashtag2"]},{"1395743515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395743370, 1395743331, 1395743477, 1395743444, 1395743407, 1395743515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46444058418274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:23:03.034401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_28_2690.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_31_2653.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_34_3559.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_40_2573.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_53_3759.jpg', '/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_56_3008.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_28_2690.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_31_2653.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_34_3559.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_40_2573.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_53_3759.jpg
/home/pi/Desktop/images/20112025/19/56/image_20112025_19_56_56_3008.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395744339","1395743820","1395744085","1395744379","1395744205","1395743950"],"photo_ids_order":["1395743820","1395743950","1395744085","1395744205","1395744339","1395744379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/747448b4bf58ccf13348748b52c19146.jpg","text":"TemporaryFile(/tmp/multipartBody7051010964841664512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850245357,"filename":"image_20112025_19_56_53_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/eb556ee209012e49a119cfd5ef1f7827.jpg","text":"TemporaryFile(/tmp/multipartBody8805998683592111120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850245357,"filename":"image_20112025_19_56_28_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9985b3b88316e05f94c774e01e57f8cb.jpg","text":"TemporaryFile(/tmp/multipartBody8664724829008743665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850245357,"filename":"image_20112025_19_56_34_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b31bd749d33f2bd1d56aeda9bdcdbf0e.jpg","text":"TemporaryFile(/tmp/multipartBody8517702264698563696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850245357,"filename":"image_20112025_19_56_56_3008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/149597f586c98a1fc4f1c7750af322fd.jpg","text":"TemporaryFile(/tmp/multipartBody7396006359254851980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850245357,"filename":"image_20112025_19_56_40_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/07e5d9d5ff13f3f9b14b171c345e05a0.jpg","text":"TemporaryFile(/tmp/multipartBody8190712856987222157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850245357,"filename":"image_20112025_19_56_31_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395744085","file1":"1395743950","file0":"1395743820","file4":"1395744339","file5":"1395744379","file3":"1395744205"},"map_files_photo_id_array":[{"photo_id":"1395744379","filename":"file5"},{"photo_id":"1395744085","filename":"file2"},{"photo_id":"1395744339","filename":"file4"},{"photo_id":"1395743950","filename":"file1"},{"photo_id":"1395743820","filename":"file0"},{"photo_id":"1395744205","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395744339":["hashtag1","hashtag2"]},{"1395743820":["hashtag1","hashtag2"]},{"1395744085":["hashtag1","hashtag2"]},{"1395744379":["hashtag1","hashtag2"]},{"1395744205":["hashtag1","hashtag2"]},{"1395743950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395744339, 1395743820, 1395744085, 1395744379, 1395744205, 1395743950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12549662590027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:23:42.344586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_51_2724.jpg', '/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_58_3727.jpg', '/home/pi/Desktop/images/30102025/18/39/image_30102025_18_40_00_2584.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_03_2580.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_07_3871.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_09_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_51_2724.jpg
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_39_58_3727.jpg
/home/pi/Desktop/images/30102025/18/39/image_30102025_18_40_00_2584.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_03_2580.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_07_3871.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_09_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395744711","1395744627","1395744626","1395744553","1395744628","1395744666"],"photo_ids_order":["1395744553","1395744626","1395744627","1395744628","1395744666","1395744711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d21476fb50875dea750d4b77a74b418.jpg","text":"TemporaryFile(/tmp/multipartBody743477656396287642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850284513,"filename":"image_30102025_18_40_09_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f776e8016683e7af4436e3a01a64d0ee.jpg","text":"TemporaryFile(/tmp/multipartBody7685396682757282696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850284513,"filename":"image_30102025_18_40_00_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c9df2bca818780735f4eb42d9b7452f8.jpg","text":"TemporaryFile(/tmp/multipartBody5741482015155652781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850284513,"filename":"image_30102025_18_39_58_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/be725e47fc77e5027e77caaab405f717.jpg","text":"TemporaryFile(/tmp/multipartBody4041907443157154072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850284513,"filename":"image_30102025_18_39_51_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4232a7ce748c73c466dcd6bd3c8a619b.jpg","text":"TemporaryFile(/tmp/multipartBody2399831661216272068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850284513,"filename":"image_30102025_18_40_03_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3edccb7c44d3f1bc71afe292cb87b4b.jpg","text":"TemporaryFile(/tmp/multipartBody4393009039939107971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850284513,"filename":"image_30102025_18_40_07_3871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395744627","file1":"1395744626","file0":"1395744553","file4":"1395744666","file5":"1395744711","file3":"1395744628"},"map_files_photo_id_array":[{"photo_id":"1395744711","filename":"file5"},{"photo_id":"1395744627","filename":"file2"},{"photo_id":"1395744666","filename":"file4"},{"photo_id":"1395744626","filename":"file1"},{"photo_id":"1395744553","filename":"file0"},{"photo_id":"1395744628","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395744711":["hashtag1","hashtag2"]},{"1395744627":["hashtag1","hashtag2"]},{"1395744626":["hashtag1","hashtag2"]},{"1395744553":["hashtag1","hashtag2"]},{"1395744628":["hashtag1","hashtag2"]},{"1395744666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395744711, 1395744627, 1395744626, 1395744553, 1395744628, 1395744666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.105963945388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:24:42.554858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_12_2589.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_16_3627.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_19_2832.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_21_2795.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_28_3770.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_37_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_12_2589.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_16_3627.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_19_2832.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_21_2795.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_28_3770.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_37_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395744986","1395744953","1395744925","1395744885","1395744969","1395744921"],"photo_ids_order":["1395744885","1395744921","1395744925","1395744953","1395744969","1395744986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/afa496dec8f42d009e29718b7406be73.jpg","text":"TemporaryFile(/tmp/multipartBody1550295839472039369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850344731,"filename":"image_30102025_18_40_37_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/582ad60bdd33f8727d386dc101d14222.jpg","text":"TemporaryFile(/tmp/multipartBody1983794389557416905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850344731,"filename":"image_30102025_18_40_21_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d82bedfafa91daa54959439e15ab16e3.jpg","text":"TemporaryFile(/tmp/multipartBody7361686066585697466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850344731,"filename":"image_30102025_18_40_19_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/197d0d3169a4afdf870eb86572018fcc.jpg","text":"TemporaryFile(/tmp/multipartBody4489319964953716140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850344731,"filename":"image_30102025_18_40_12_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/45a9b08197414ef86968a94299ff6df7.jpg","text":"TemporaryFile(/tmp/multipartBody8090720956975382244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850344731,"filename":"image_30102025_18_40_28_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da2ff728caffd32e7c8c849dee62cdf5.jpg","text":"TemporaryFile(/tmp/multipartBody2251889195434154701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850344731,"filename":"image_30102025_18_40_16_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395744925","file1":"1395744921","file0":"1395744885","file4":"1395744969","file5":"1395744986","file3":"1395744953"},"map_files_photo_id_array":[{"photo_id":"1395744986","filename":"file5"},{"photo_id":"1395744925","filename":"file2"},{"photo_id":"1395744969","filename":"file4"},{"photo_id":"1395744921","filename":"file1"},{"photo_id":"1395744885","filename":"file0"},{"photo_id":"1395744953","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395744986":["hashtag1","hashtag2"]},{"1395744953":["hashtag1","hashtag2"]},{"1395744925":["hashtag1","hashtag2"]},{"1395744885":["hashtag1","hashtag2"]},{"1395744969":["hashtag1","hashtag2"]},{"1395744921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395744986, 1395744953, 1395744925, 1395744885, 1395744969, 1395744921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17487287521362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:25:22.797162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/21/image_22112025_23_21_26_2732.jpg', '/home/pi/Desktop/images/22112025/23/25/image_22112025_23_25_25_2679.jpg', '/home/pi/Desktop/images/22112025/23/25/image_22112025_23_25_29_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/21/image_22112025_23_21_26_2732.jpg
/home/pi/Desktop/images/22112025/23/25/image_22112025_23_25_25_2679.jpg
/home/pi/Desktop/images/22112025/23/25/image_22112025_23_25_29_3717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395744996","1395744990","1395744993"],"photo_ids_order":["1395744990","1395744993","1395744996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cc30248094f0854d05b39f0e1d75fb97.jpg","text":"TemporaryFile(/tmp/multipartBody2280856761908763872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850383421,"filename":"image_22112025_23_25_29_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0da43b7813e8cff3289f5f4d13241c3f.jpg","text":"TemporaryFile(/tmp/multipartBody340724505489023677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850383421,"filename":"image_22112025_23_21_26_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b57a92f4aac85ce652d3fc55eb6d9427.jpg","text":"TemporaryFile(/tmp/multipartBody6110191143490527472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850383421,"filename":"image_22112025_23_25_25_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395744996","file1":"1395744993","file0":"1395744990"},"map_files_photo_id_array":[{"photo_id":"1395744996","filename":"file2"},{"photo_id":"1395744993","filename":"file1"},{"photo_id":"1395744990","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395744996":["hashtag1","hashtag2"]},{"1395744990":["hashtag1","hashtag2"]},{"1395744993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395744996, 1395744990, 1395744993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.56287908554077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:26:02.444049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_04_2816.jpg', '/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_19_2795.jpg', '/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_25_2749.jpg', '/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_28_2559.jpg', '/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_30_2769.jpg', '/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_40_3027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_04_2816.jpg
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_19_2795.jpg
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_25_2749.jpg
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_28_2559.jpg
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_30_2769.jpg
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_40_3027.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745007","1395745004","1395745003","1395745002","1395745011","1395745005"],"photo_ids_order":["1395745002","1395745003","1395745004","1395745005","1395745007","1395745011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c03c3c9a3f256269bce17649e286daa4.jpg","text":"TemporaryFile(/tmp/multipartBody2781535760172007293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850424592,"filename":"image_20112025_19_57_30_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/baa0b64f5431024874d03d89c6011887.jpg","text":"TemporaryFile(/tmp/multipartBody7772344084991753084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850424592,"filename":"image_20112025_19_57_25_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8d9700909c7686c2703d0dbe63fe7b3e.jpg","text":"TemporaryFile(/tmp/multipartBody1250275268349932614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850424592,"filename":"image_20112025_19_57_19_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a9d5d80581d4dc37cf4f824a37936ea.jpg","text":"TemporaryFile(/tmp/multipartBody2213204512081192347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850424592,"filename":"image_20112025_19_57_04_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ae5bed2975429aefc002defac207b92.jpg","text":"TemporaryFile(/tmp/multipartBody15646153728895321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850424592,"filename":"image_20112025_19_57_40_3027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3aceaf11da34e7e98929b42599529a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6377958250695606341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850424592,"filename":"image_20112025_19_57_28_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395745004","file1":"1395745003","file0":"1395745002","file4":"1395745007","file5":"1395745011","file3":"1395745005"},"map_files_photo_id_array":[{"photo_id":"1395745011","filename":"file5"},{"photo_id":"1395745004","filename":"file2"},{"photo_id":"1395745007","filename":"file4"},{"photo_id":"1395745003","filename":"file1"},{"photo_id":"1395745002","filename":"file0"},{"photo_id":"1395745005","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395745007":["hashtag1","hashtag2"]},{"1395745004":["hashtag1","hashtag2"]},{"1395745003":["hashtag1","hashtag2"]},{"1395745002":["hashtag1","hashtag2"]},{"1395745011":["hashtag1","hashtag2"]},{"1395745005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395745007, 1395745004, 1395745003, 1395745002, 1395745011, 1395745005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02897071838379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:26:42.010241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/25/image_22112025_23_25_31_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/25/image_22112025_23_25_31_2634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.41099095344543457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:27:02.869622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/25/image_22112025_23_25_31_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/25/image_22112025_23_25_31_2634.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745020"],"photo_id":"1395745020","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c4dad09f12277a172ffa9117fdb6d0e2.jpg","text":"TemporaryFile(/tmp/multipartBody572196965098193391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850483467,"filename":"image_22112025_23_25_31_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395745020"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395745020"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.379010677337646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:27:22.191128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/26/image_22112025_23_26_37_2817.jpg', '/home/pi/Desktop/images/22112025/23/27/image_22112025_23_27_17_3690.jpg', '/home/pi/Desktop/images/22112025/23/27/image_22112025_23_27_22_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/26/image_22112025_23_26_37_2817.jpg
/home/pi/Desktop/images/22112025/23/27/image_22112025_23_27_17_3690.jpg
/home/pi/Desktop/images/22112025/23/27/image_22112025_23_27_22_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745030","1395745024","1395745027"],"photo_ids_order":["1395745024","1395745027","1395745030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/dc429eb489821d87242c55c05584011f.jpg","text":"TemporaryFile(/tmp/multipartBody7690843435189720856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850502839,"filename":"image_22112025_23_27_22_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cbe807a7695804ad48d266b29db4d53.jpg","text":"TemporaryFile(/tmp/multipartBody3801364307523098590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850502839,"filename":"image_22112025_23_26_37_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/995f8c325b30ae5a73b189851b6d078a.jpg","text":"TemporaryFile(/tmp/multipartBody60749484014545303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850502839,"filename":"image_22112025_23_27_17_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395745030","file1":"1395745027","file0":"1395745024"},"map_files_photo_id_array":[{"photo_id":"1395745030","filename":"file2"},{"photo_id":"1395745027","filename":"file1"},{"photo_id":"1395745024","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395745030":["hashtag1","hashtag2"]},{"1395745024":["hashtag1","hashtag2"]},{"1395745027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395745030, 1395745024, 1395745027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.78987741470337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:28:02.999218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_46_3788.jpg', '/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_49_2699.jpg', '/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_55_3661.jpg', '/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_59_3417.jpg', '/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_22_3564.jpg', '/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_28_3145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_46_3788.jpg
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_49_2699.jpg
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_55_3661.jpg
/home/pi/Desktop/images/20112025/19/57/image_20112025_19_57_59_3417.jpg
/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_22_3564.jpg
/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_28_3145.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745559","1395745574","1395745572","1395745455","1395745350","1395745577"],"photo_ids_order":["1395745350","1395745455","1395745559","1395745572","1395745574","1395745577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/957ba0e7111f547cfb60a4094ee82a8d.jpg","text":"TemporaryFile(/tmp/multipartBody761469251646470869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850545256,"filename":"image_20112025_19_57_55_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/27bc3fd44b7720162af61c3ab5d6e13c.jpg","text":"TemporaryFile(/tmp/multipartBody5976016604043257027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850545256,"filename":"image_20112025_19_58_22_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/28aa44ec2ffd0ab959dddf0634e9b00d.jpg","text":"TemporaryFile(/tmp/multipartBody4579624264072025881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850545256,"filename":"image_20112025_19_57_59_3417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f995a389e4d95c79369677d82c70fc9a.jpg","text":"TemporaryFile(/tmp/multipartBody2812432550539733967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850545256,"filename":"image_20112025_19_57_49_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ad9700a1b7bfffe86e834278cf6582e4.jpg","text":"TemporaryFile(/tmp/multipartBody5451011908550916843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850545256,"filename":"image_20112025_19_57_46_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7bee6ce344217e84b9bca3f10afe9e1.jpg","text":"TemporaryFile(/tmp/multipartBody981736628370286661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850545256,"filename":"image_20112025_19_58_28_3145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395745559","file1":"1395745455","file0":"1395745350","file4":"1395745574","file5":"1395745577","file3":"1395745572"},"map_files_photo_id_array":[{"photo_id":"1395745577","filename":"file5"},{"photo_id":"1395745559","filename":"file2"},{"photo_id":"1395745574","filename":"file4"},{"photo_id":"1395745455","filename":"file1"},{"photo_id":"1395745350","filename":"file0"},{"photo_id":"1395745572","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395745559":["hashtag1","hashtag2"]},{"1395745574":["hashtag1","hashtag2"]},{"1395745572":["hashtag1","hashtag2"]},{"1395745455":["hashtag1","hashtag2"]},{"1395745350":["hashtag1","hashtag2"]},{"1395745577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395745559, 1395745574, 1395745572, 1395745455, 1395745350, 1395745577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26081037521362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:28:42.547518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_39_2566.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_42_2766.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_46_3717.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_48_2731.jpg', '/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_51_2581.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_06_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_39_2566.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_42_2766.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_46_3717.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_48_2731.jpg
/home/pi/Desktop/images/30102025/18/40/image_30102025_18_40_51_2581.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_06_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745715","1395745681","1395745678","1395745804","1395745800","1395745775"],"photo_ids_order":["1395745678","1395745681","1395745715","1395745775","1395745800","1395745804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1a3d5d4039df1e323dfec6fa458dfaff.jpg","text":"TemporaryFile(/tmp/multipartBody7102002090301932705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850584736,"filename":"image_30102025_18_40_46_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55dd737e90843e3d29d16cf7afd29e9e.jpg","text":"TemporaryFile(/tmp/multipartBody4725195976099592590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850584736,"filename":"image_30102025_18_40_42_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/89f302a8f4edd019351fabba82db5e3b.jpg","text":"TemporaryFile(/tmp/multipartBody1178295233114401227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850584736,"filename":"image_30102025_18_40_39_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e84e3cc7bda3fd0327488c6abb33eb5d.jpg","text":"TemporaryFile(/tmp/multipartBody3851897839655410370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850584736,"filename":"image_30102025_18_41_06_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec1416bf94cbb642e609f6f9f1f46e88.jpg","text":"TemporaryFile(/tmp/multipartBody6058640886846554762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850584736,"filename":"image_30102025_18_40_51_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1d10b2dd0d71ef2502dd480f9626f349.jpg","text":"TemporaryFile(/tmp/multipartBody7490421516472003916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850584736,"filename":"image_30102025_18_40_48_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395745715","file1":"1395745681","file0":"1395745678","file4":"1395745800","file5":"1395745804","file3":"1395745775"},"map_files_photo_id_array":[{"photo_id":"1395745804","filename":"file5"},{"photo_id":"1395745715","filename":"file2"},{"photo_id":"1395745800","filename":"file4"},{"photo_id":"1395745681","filename":"file1"},{"photo_id":"1395745678","filename":"file0"},{"photo_id":"1395745775","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395745715":["hashtag1","hashtag2"]},{"1395745681":["hashtag1","hashtag2"]},{"1395745678":["hashtag1","hashtag2"]},{"1395745804":["hashtag1","hashtag2"]},{"1395745800":["hashtag1","hashtag2"]},{"1395745775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395745715, 1395745681, 1395745678, 1395745804, 1395745800, 1395745775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58747601509094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:29:22.903061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_15_2609.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_24_2621.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_27_2594.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_33_2670.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_37_3646.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_39_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_15_2609.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_24_2621.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_27_2594.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_33_2670.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_37_3646.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_39_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745820","1395745823","1395745817","1395745822","1395745813","1395745809"],"photo_ids_order":["1395745809","1395745813","1395745817","1395745820","1395745822","1395745823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4cde252b80eef42e5602b85fe96fefc.jpg","text":"TemporaryFile(/tmp/multipartBody3246209849226202062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850625335,"filename":"image_30102025_18_41_33_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4aa25450c089a98fe53d8e49f424ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8001880878139772983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850625335,"filename":"image_30102025_18_41_39_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2e666b876551767388ae00bc7f1b4a60.jpg","text":"TemporaryFile(/tmp/multipartBody6518446196684136488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850625335,"filename":"image_30102025_18_41_27_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6a949eb7ac7a51c42f9492d5e2545bc5.jpg","text":"TemporaryFile(/tmp/multipartBody435308782163291041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850625335,"filename":"image_30102025_18_41_37_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69448bf8e2b01a43336c5fd4c16a08d5.jpg","text":"TemporaryFile(/tmp/multipartBody1516665334023042938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850625335,"filename":"image_30102025_18_41_24_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8a6b54fdd69e3694f24fe62074b7e2dc.jpg","text":"TemporaryFile(/tmp/multipartBody7268955973455628141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850625335,"filename":"image_30102025_18_41_15_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395745817","file1":"1395745813","file0":"1395745809","file4":"1395745822","file5":"1395745823","file3":"1395745820"},"map_files_photo_id_array":[{"photo_id":"1395745823","filename":"file5"},{"photo_id":"1395745817","filename":"file2"},{"photo_id":"1395745822","filename":"file4"},{"photo_id":"1395745813","filename":"file1"},{"photo_id":"1395745809","filename":"file0"},{"photo_id":"1395745820","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395745820":["hashtag1","hashtag2"]},{"1395745823":["hashtag1","hashtag2"]},{"1395745817":["hashtag1","hashtag2"]},{"1395745822":["hashtag1","hashtag2"]},{"1395745813":["hashtag1","hashtag2"]},{"1395745809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395745820, 1395745823, 1395745817, 1395745822, 1395745813, 1395745809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25385904312134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:30:02.501590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_31_2940.jpg', '/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_34_2699.jpg', '/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_37_3595.jpg', '/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_40_2741.jpg', '/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_46_3662.jpg', '/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_52_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_31_2940.jpg
/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_34_2699.jpg
/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_37_3595.jpg
/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_40_2741.jpg
/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_46_3662.jpg
/home/pi/Desktop/images/20112025/19/58/image_20112025_19_58_52_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745832","1395745829","1395745834","1395745828","1395745836","1395745830"],"photo_ids_order":["1395745828","1395745829","1395745830","1395745832","1395745834","1395745836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/46a244478075d0d81a13535cb271f02a.jpg","text":"TemporaryFile(/tmp/multipartBody8694089264599952256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850664714,"filename":"image_20112025_19_58_40_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0387c5c1ac9d07edbcb95ae5ada75e49.jpg","text":"TemporaryFile(/tmp/multipartBody4433565525051794154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850664714,"filename":"image_20112025_19_58_34_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d5aec32cdb0dd41bf87be12834bff529.jpg","text":"TemporaryFile(/tmp/multipartBody6036571575674495908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850664714,"filename":"image_20112025_19_58_46_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0ba7e14f7bc54665e6f74604a29e8643.jpg","text":"TemporaryFile(/tmp/multipartBody2102096325331610479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850664714,"filename":"image_20112025_19_58_31_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b384fa4efa5f5bad20145b0d4cb7f93.jpg","text":"TemporaryFile(/tmp/multipartBody3820531625008437871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850664714,"filename":"image_20112025_19_58_52_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68a4ef92a08afe89d95a980b59be8762.jpg","text":"TemporaryFile(/tmp/multipartBody6268707039692589476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850664714,"filename":"image_20112025_19_58_37_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395745830","file1":"1395745829","file0":"1395745828","file4":"1395745834","file5":"1395745836","file3":"1395745832"},"map_files_photo_id_array":[{"photo_id":"1395745836","filename":"file5"},{"photo_id":"1395745830","filename":"file2"},{"photo_id":"1395745834","filename":"file4"},{"photo_id":"1395745829","filename":"file1"},{"photo_id":"1395745828","filename":"file0"},{"photo_id":"1395745832","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395745832":["hashtag1","hashtag2"]},{"1395745829":["hashtag1","hashtag2"]},{"1395745834":["hashtag1","hashtag2"]},{"1395745828":["hashtag1","hashtag2"]},{"1395745836":["hashtag1","hashtag2"]},{"1395745830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395745832, 1395745829, 1395745834, 1395745828, 1395745836, 1395745830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.646180152893066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:30:41.978594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/27/image_22112025_23_27_25_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/27/image_22112025_23_27_25_2834.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745844"],"photo_id":"1395745844","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c0ee7840dabf5d6fedf4fe19b98cf4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5772287122331370993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850702564,"filename":"image_22112025_23_27_25_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395745844"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395745844"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.114163398742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:31:02.942371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_09_2682.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_16_2679.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_18_2579.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_22_3607.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_34_3041.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_37_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_09_2682.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_16_2679.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_18_2579.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_22_3607.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_34_3041.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_37_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745862","1395745856","1395745853","1395745855","1395745858","1395745860"],"photo_ids_order":["1395745853","1395745855","1395745856","1395745858","1395745860","1395745862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e865afc57a0132f3e225ea60b3cbe564.jpg","text":"TemporaryFile(/tmp/multipartBody7970890921322459597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850725186,"filename":"image_20112025_19_59_37_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c07e9a9ead7d13698a7b02bfd78d937b.jpg","text":"TemporaryFile(/tmp/multipartBody3731297999947490907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850725186,"filename":"image_20112025_19_59_18_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8bec8488a31ab59a29c7901b54e6ee65.jpg","text":"TemporaryFile(/tmp/multipartBody8137903385561580298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850725186,"filename":"image_20112025_19_59_09_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b69729255ac899c8a99596282f37e865.jpg","text":"TemporaryFile(/tmp/multipartBody8835935839440736401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850725186,"filename":"image_20112025_19_59_16_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ab38cbf162f55c9b5f28633a693166b8.jpg","text":"TemporaryFile(/tmp/multipartBody5503371976616109438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850725186,"filename":"image_20112025_19_59_22_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0cc687ac9ef665f8e3f98386dccf21a6.jpg","text":"TemporaryFile(/tmp/multipartBody8280540099594667763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850725186,"filename":"image_20112025_19_59_34_3041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395745856","file1":"1395745855","file0":"1395745853","file4":"1395745860","file5":"1395745862","file3":"1395745858"},"map_files_photo_id_array":[{"photo_id":"1395745862","filename":"file5"},{"photo_id":"1395745856","filename":"file2"},{"photo_id":"1395745860","filename":"file4"},{"photo_id":"1395745855","filename":"file1"},{"photo_id":"1395745853","filename":"file0"},{"photo_id":"1395745858","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395745862":["hashtag1","hashtag2"]},{"1395745856":["hashtag1","hashtag2"]},{"1395745853":["hashtag1","hashtag2"]},{"1395745855":["hashtag1","hashtag2"]},{"1395745858":["hashtag1","hashtag2"]},{"1395745860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395745862, 1395745856, 1395745853, 1395745855, 1395745858, 1395745860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59939765930176 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:32:02.907735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/30/image_22112025_23_30_58_3640.jpg', '/home/pi/Desktop/images/22112025/23/31/image_22112025_23_31_07_3631.jpg', '/home/pi/Desktop/images/22112025/23/31/image_22112025_23_31_13_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/30/image_22112025_23_30_58_3640.jpg
/home/pi/Desktop/images/22112025/23/31/image_22112025_23_31_07_3631.jpg
/home/pi/Desktop/images/22112025/23/31/image_22112025_23_31_13_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395745870","1395745869","1395745868"],"photo_ids_order":["1395745868","1395745869","1395745870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ac6c63258a9fe3c5b887226290f29829.jpg","text":"TemporaryFile(/tmp/multipartBody8843513403210129942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850783567,"filename":"image_22112025_23_31_13_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/406e958045cf04a999836039f5f48f03.jpg","text":"TemporaryFile(/tmp/multipartBody6966571425500842722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850783567,"filename":"image_22112025_23_31_07_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cda0636db18c32fe04b1ec6251bc2bd2.jpg","text":"TemporaryFile(/tmp/multipartBody2475546103253110655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850783567,"filename":"image_22112025_23_30_58_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395745870","file1":"1395745869","file0":"1395745868"},"map_files_photo_id_array":[{"photo_id":"1395745870","filename":"file2"},{"photo_id":"1395745869","filename":"file1"},{"photo_id":"1395745868","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395745870":["hashtag1","hashtag2"]},{"1395745869":["hashtag1","hashtag2"]},{"1395745868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395745870, 1395745869, 1395745868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.105440855026245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:32:42.515019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/31/image_22112025_23_31_34_3674.jpg', '/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_04_3662.jpg', '/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_10_2826.jpg', '/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_12_2716.jpg', '/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_34_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/31/image_22112025_23_31_34_3674.jpg
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_04_3662.jpg
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_10_2826.jpg
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_12_2716.jpg
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_34_2561.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6563329696655273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:33:03.188345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/31/image_22112025_23_31_34_3674.jpg', '/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_04_3662.jpg', '/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_10_2826.jpg', '/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_12_2716.jpg', '/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_34_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/31/image_22112025_23_31_34_3674.jpg
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_04_3662.jpg
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_10_2826.jpg
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_12_2716.jpg
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_34_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395746371","1395746080","1395745987","1395746274","1395746183"],"photo_ids_order":["1395745987","1395746080","1395746183","1395746274","1395746371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f7d1c002354d5ef557822ddbfec624ca.jpg","text":"TemporaryFile(/tmp/multipartBody8990790337548251687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850843988,"filename":"image_22112025_23_32_34_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7643176424812ef663714e13fe3671cc.jpg","text":"TemporaryFile(/tmp/multipartBody4413609280999602045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850843988,"filename":"image_22112025_23_32_04_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e65a6e348e824c068bfeb5db4164e99c.jpg","text":"TemporaryFile(/tmp/multipartBody5450923258668851222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850843988,"filename":"image_22112025_23_31_34_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44500263a4d952b8376c514ccb275909.jpg","text":"TemporaryFile(/tmp/multipartBody2911836516570249960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850843988,"filename":"image_22112025_23_32_12_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/227b961a0c38ba8b5eb3814f6b66f6bf.jpg","text":"TemporaryFile(/tmp/multipartBody5071667876025279542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850843988,"filename":"image_22112025_23_32_10_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395746183","file1":"1395746080","file0":"1395745987","file4":"1395746371","file3":"1395746274"},"map_files_photo_id_array":[{"photo_id":"1395746183","filename":"file2"},{"photo_id":"1395746371","filename":"file4"},{"photo_id":"1395746080","filename":"file1"},{"photo_id":"1395745987","filename":"file0"},{"photo_id":"1395746274","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395746371":["hashtag1","hashtag2"]},{"1395746080":["hashtag1","hashtag2"]},{"1395745987":["hashtag1","hashtag2"]},{"1395746274":["hashtag1","hashtag2"]},{"1395746183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395746371, 1395746080, 1395745987, 1395746274, 1395746183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.787014722824097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:33:42.705916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_55_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_55_2632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4088430404663086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:34:02.604452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_55_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/32/image_22112025_23_32_55_2632.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395746601"],"photo_id":"1395746601","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2bb00b4b1a2e80e0ef6331c51d4757a6.jpg","text":"TemporaryFile(/tmp/multipartBody6268361329019398949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850903225,"filename":"image_22112025_23_32_55_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395746601"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395746601"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.477041244506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:34:22.115931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/33/image_22112025_23_33_04_2618.jpg', '/home/pi/Desktop/images/22112025/23/34/image_22112025_23_34_21_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/33/image_22112025_23_33_04_2618.jpg
/home/pi/Desktop/images/22112025/23/34/image_22112025_23_34_21_2662.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395746680","1395746679"],"photo_ids_order":["1395746679","1395746680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/597098f16c8862233b10a2200a014578.jpg","text":"TemporaryFile(/tmp/multipartBody1804864731999035559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850922684,"filename":"image_22112025_23_34_21_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/773e08851cf2ed431d62410f18c3c3e9.jpg","text":"TemporaryFile(/tmp/multipartBody4895693563933074027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850922684,"filename":"image_22112025_23_33_04_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395746680","file0":"1395746679"},"map_files_photo_id_array":[{"photo_id":"1395746680","filename":"file1"},{"photo_id":"1395746679","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395746680":["hashtag1","hashtag2"]},{"1395746679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395746680, 1395746679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.895668983459473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:34:42.093730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_42_2728.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_49_3618.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_51_2531.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_55_3584.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_57_2735.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_42_00_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_42_2728.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_49_3618.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_51_2531.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_55_3584.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_57_2735.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_42_00_2571.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.073683500289917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:35:03.043836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_39_2639.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_46_2785.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_49_2701.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_58_2847.jpg', '/home/pi/Desktop/images/20112025/19/59/image_20112025_20_00_00_2651.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_03_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_39_2639.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_46_2785.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_49_2701.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_19_59_58_2847.jpg
/home/pi/Desktop/images/20112025/19/59/image_20112025_20_00_00_2651.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_03_2859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395746698","1395746695","1395746701","1395746704","1395746694","1395746696"],"photo_ids_order":["1395746694","1395746695","1395746696","1395746698","1395746701","1395746704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a78c716ef668fa76ea1c02d128353c1d.jpg","text":"TemporaryFile(/tmp/multipartBody5344711331063481963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850965305,"filename":"image_20112025_19_59_58_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10fd4a2f9358166ac275ebc2d2d9edfc.jpg","text":"TemporaryFile(/tmp/multipartBody4243909800086473922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850965305,"filename":"image_20112025_19_59_46_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c1ec8e0fe19cff5b6f65af3a46dd890.jpg","text":"TemporaryFile(/tmp/multipartBody7543802602812368212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850965305,"filename":"image_20112025_20_00_00_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c8abaa55f21740bc1d5d4b8aa810e75.jpg","text":"TemporaryFile(/tmp/multipartBody1015238472306042748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850965305,"filename":"image_20112025_20_00_03_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c99da4b4630a2730dee248fd66164af1.jpg","text":"TemporaryFile(/tmp/multipartBody5055995503108741544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850965305,"filename":"image_20112025_19_59_39_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6ae49c8a460d2b251e0fefbff22f6a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3642191131908578912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763850965305,"filename":"image_20112025_19_59_49_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395746696","file1":"1395746695","file0":"1395746694","file4":"1395746701","file5":"1395746704","file3":"1395746698"},"map_files_photo_id_array":[{"photo_id":"1395746704","filename":"file5"},{"photo_id":"1395746696","filename":"file2"},{"photo_id":"1395746701","filename":"file4"},{"photo_id":"1395746695","filename":"file1"},{"photo_id":"1395746694","filename":"file0"},{"photo_id":"1395746698","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395746698":["hashtag1","hashtag2"]},{"1395746695":["hashtag1","hashtag2"]},{"1395746701":["hashtag1","hashtag2"]},{"1395746704":["hashtag1","hashtag2"]},{"1395746694":["hashtag1","hashtag2"]},{"1395746696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395746698, 1395746695, 1395746701, 1395746704, 1395746694, 1395746696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21898794174194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:36:02.965260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/34/image_22112025_23_34_48_2624.jpg', '/home/pi/Desktop/images/22112025/23/35/image_22112025_23_35_49_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/34/image_22112025_23_34_48_2624.jpg
/home/pi/Desktop/images/22112025/23/35/image_22112025_23_35_49_3561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395746714","1395746713"],"photo_ids_order":["1395746713","1395746714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/248da17bef40fcdc0f516df8744c0278.jpg","text":"TemporaryFile(/tmp/multipartBody5320233720459419796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851023570,"filename":"image_22112025_23_35_49_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0de6fab4ce4f1532edae09e7a991d6ec.jpg","text":"TemporaryFile(/tmp/multipartBody9202107724187947525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851023570,"filename":"image_22112025_23_34_48_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395746714","file0":"1395746713"},"map_files_photo_id_array":[{"photo_id":"1395746714","filename":"file1"},{"photo_id":"1395746713","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395746714":["hashtag1","hashtag2"]},{"1395746713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395746714, 1395746713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.62664556503296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:36:22.564694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/35/image_22112025_23_35_51_2693.jpg', '/home/pi/Desktop/images/22112025/23/36/image_22112025_23_36_40_2793.jpg', '/home/pi/Desktop/images/22112025/23/36/image_22112025_23_36_46_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/35/image_22112025_23_35_51_2693.jpg
/home/pi/Desktop/images/22112025/23/36/image_22112025_23_36_40_2793.jpg
/home/pi/Desktop/images/22112025/23/36/image_22112025_23_36_46_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395746720","1395746723","1395746717"],"photo_ids_order":["1395746717","1395746720","1395746723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c14991b316ed68cbc0248ee86e426e51.jpg","text":"TemporaryFile(/tmp/multipartBody3850690570403152587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851043287,"filename":"image_22112025_23_36_40_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/61d0475d435c3ce9a4d6aba46e82d2af.jpg","text":"TemporaryFile(/tmp/multipartBody1966383557321519838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851043287,"filename":"image_22112025_23_36_46_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a560dc16b4b622d161f1310b8d41c5e3.jpg","text":"TemporaryFile(/tmp/multipartBody2384377562057097440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851043287,"filename":"image_22112025_23_35_51_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395746723","file1":"1395746720","file0":"1395746717"},"map_files_photo_id_array":[{"photo_id":"1395746723","filename":"file2"},{"photo_id":"1395746720","filename":"file1"},{"photo_id":"1395746717","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395746720":["hashtag1","hashtag2"]},{"1395746723":["hashtag1","hashtag2"]},{"1395746717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395746720, 1395746723, 1395746717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.245855569839478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:37:03.378582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_10_3780.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_13_2677.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_24_2579.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_31_3532.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_33_2550.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_36_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_10_3780.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_13_2677.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_24_2579.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_31_3532.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_33_2550.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_36_3017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395746935","1395746731","1395747027","1395747122","1395746843","1395746750"],"photo_ids_order":["1395746731","1395746750","1395746843","1395746935","1395747027","1395747122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c96c0318243b9abdcc06e4be63538694.jpg","text":"TemporaryFile(/tmp/multipartBody7458086153216607022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851085664,"filename":"image_20112025_20_00_31_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/db5b8e61c5cf2ff6433ae8a4d8c101f0.jpg","text":"TemporaryFile(/tmp/multipartBody5215581281702911199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851085664,"filename":"image_20112025_20_00_10_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/26b0477956e971bd0b71d5d0518680b6.jpg","text":"TemporaryFile(/tmp/multipartBody20751053180987845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851085664,"filename":"image_20112025_20_00_33_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ae574d386bb1599223935b834c5ceb5e.jpg","text":"TemporaryFile(/tmp/multipartBody1222834613148140049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851085664,"filename":"image_20112025_20_00_36_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/68bb7e145e5fad78a7a15e96b6e425c6.jpg","text":"TemporaryFile(/tmp/multipartBody1627178929259888344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851085664,"filename":"image_20112025_20_00_24_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5116be365b27b9ab0fbc579154259e14.jpg","text":"TemporaryFile(/tmp/multipartBody2882060448823653027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851085664,"filename":"image_20112025_20_00_13_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395746843","file1":"1395746750","file0":"1395746731","file4":"1395747027","file5":"1395747122","file3":"1395746935"},"map_files_photo_id_array":[{"photo_id":"1395747122","filename":"file5"},{"photo_id":"1395746843","filename":"file2"},{"photo_id":"1395747027","filename":"file4"},{"photo_id":"1395746750","filename":"file1"},{"photo_id":"1395746731","filename":"file0"},{"photo_id":"1395746935","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395746935":["hashtag1","hashtag2"]},{"1395746731":["hashtag1","hashtag2"]},{"1395747027":["hashtag1","hashtag2"]},{"1395747122":["hashtag1","hashtag2"]},{"1395746843":["hashtag1","hashtag2"]},{"1395746750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395746935, 1395746731, 1395747027, 1395747122, 1395746843, 1395746750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.223387002944946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:38:02.540632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_01_2739.jpg', '/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_06_2601.jpg', '/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_16_3136.jpg', '/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_21_2688.jpg', '/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_40_3805.jpg', '/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_49_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_01_2739.jpg
/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_06_2601.jpg
/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_16_3136.jpg
/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_21_2688.jpg
/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_40_3805.jpg
/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_49_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747352","1395747345","1395747348","1395747324","1395747350","1395747271"],"photo_ids_order":["1395747271","1395747324","1395747345","1395747348","1395747350","1395747352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/95a10aee6549e59c3b3529f2d5473ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6614347285510038878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851143345,"filename":"image_22112025_23_37_49_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8317a4b66cbc08e951041de54cf091d0.jpg","text":"TemporaryFile(/tmp/multipartBody2678121017678638123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851143345,"filename":"image_22112025_23_37_16_3136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/861312ea45c9ba6a7c12a11c9bca4a10.jpg","text":"TemporaryFile(/tmp/multipartBody3215638731511981919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851143345,"filename":"image_22112025_23_37_21_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8fe6bb06b4f72bb41351ffc92405bdc.jpg","text":"TemporaryFile(/tmp/multipartBody6847798421132923782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851143345,"filename":"image_22112025_23_37_06_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/09f0829da708b20af1e91af150f296ad.jpg","text":"TemporaryFile(/tmp/multipartBody3425704948812481414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851143345,"filename":"image_22112025_23_37_40_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7bdfdbbdfa3bd84a21e67f3896d7bfb5.jpg","text":"TemporaryFile(/tmp/multipartBody2617036858515623331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851143345,"filename":"image_22112025_23_37_01_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747345","file1":"1395747324","file0":"1395747271","file4":"1395747350","file5":"1395747352","file3":"1395747348"},"map_files_photo_id_array":[{"photo_id":"1395747352","filename":"file5"},{"photo_id":"1395747345","filename":"file2"},{"photo_id":"1395747350","filename":"file4"},{"photo_id":"1395747324","filename":"file1"},{"photo_id":"1395747271","filename":"file0"},{"photo_id":"1395747348","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395747352":["hashtag1","hashtag2"]},{"1395747345":["hashtag1","hashtag2"]},{"1395747348":["hashtag1","hashtag2"]},{"1395747324":["hashtag1","hashtag2"]},{"1395747350":["hashtag1","hashtag2"]},{"1395747271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395747352, 1395747345, 1395747348, 1395747324, 1395747350, 1395747271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13830018043518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:38:42.081817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_58_3629.jpg', '/home/pi/Desktop/images/22112025/23/38/image_22112025_23_38_12_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/37/image_22112025_23_37_58_3629.jpg
/home/pi/Desktop/images/22112025/23/38/image_22112025_23_38_12_2647.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747364","1395747359"],"photo_ids_order":["1395747359","1395747364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84c2409dd34ea7ae9b6081383784a089.jpg","text":"TemporaryFile(/tmp/multipartBody7329604293625421613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851182744,"filename":"image_22112025_23_38_12_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/30effaff62f997764fc24721501a41c1.jpg","text":"TemporaryFile(/tmp/multipartBody5580580556459757232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851182744,"filename":"image_22112025_23_37_58_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395747364","file0":"1395747359"},"map_files_photo_id_array":[{"photo_id":"1395747364","filename":"file1"},{"photo_id":"1395747359","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395747364":["hashtag1","hashtag2"]},{"1395747359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395747364, 1395747359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.76677131652832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:39:03.184416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_40_3842.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_43_2763.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_46_2644.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_52_3867.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_55_2833.jpg', '/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_58_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_40_3842.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_43_2763.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_46_2644.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_52_3867.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_55_2833.jpg
/home/pi/Desktop/images/20112025/20/00/image_20112025_20_00_58_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747376","1395747372","1395747369","1395747380","1395747374","1395747371"],"photo_ids_order":["1395747369","1395747371","1395747372","1395747374","1395747376","1395747380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d0ab5bbff76f1cfa0b02141134836265.jpg","text":"TemporaryFile(/tmp/multipartBody1033726955758254904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851205491,"filename":"image_20112025_20_00_55_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9b61734036a3b8943d4b230aa14463e6.jpg","text":"TemporaryFile(/tmp/multipartBody1980467407388640360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851205491,"filename":"image_20112025_20_00_46_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2cdcc4f88af45fd800ac95b3237c08b5.jpg","text":"TemporaryFile(/tmp/multipartBody5000498239293238426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851205491,"filename":"image_20112025_20_00_40_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/cd69470fde2b1af3c6495c8d4e98d712.jpg","text":"TemporaryFile(/tmp/multipartBody437059191049719712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851205491,"filename":"image_20112025_20_00_58_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/39f5cda548ecc4e41c5ed33a8e79b23f.jpg","text":"TemporaryFile(/tmp/multipartBody2952720166113763251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851205491,"filename":"image_20112025_20_00_52_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0f2bea61e5e6a453f7d9d6b724800dec.jpg","text":"TemporaryFile(/tmp/multipartBody2457332951674427219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851205491,"filename":"image_20112025_20_00_43_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747372","file1":"1395747371","file0":"1395747369","file4":"1395747376","file5":"1395747380","file3":"1395747374"},"map_files_photo_id_array":[{"photo_id":"1395747380","filename":"file5"},{"photo_id":"1395747372","filename":"file2"},{"photo_id":"1395747376","filename":"file4"},{"photo_id":"1395747371","filename":"file1"},{"photo_id":"1395747369","filename":"file0"},{"photo_id":"1395747374","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395747376":["hashtag1","hashtag2"]},{"1395747372":["hashtag1","hashtag2"]},{"1395747369":["hashtag1","hashtag2"]},{"1395747380":["hashtag1","hashtag2"]},{"1395747374":["hashtag1","hashtag2"]},{"1395747371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395747376, 1395747372, 1395747369, 1395747380, 1395747374, 1395747371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67812514305115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:39:42.299144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_42_2728.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_49_3618.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_51_2531.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_55_3584.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_57_2735.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_42_00_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_42_2728.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_49_3618.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_51_2531.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_55_3584.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_57_2735.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_42_00_2571.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.9776501655578613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:40:03.076161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_04_3665.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_09_2338.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_13_3738.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_16_2751.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_18_2606.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_25_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_04_3665.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_09_2338.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_13_3738.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_16_2751.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_18_2606.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_25_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747394","1395747393","1395747392","1395747395","1395747397","1395747401"],"photo_ids_order":["1395747392","1395747393","1395747394","1395747395","1395747397","1395747401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b98305e8c2dbe41d360ff69b13c9d996.jpg","text":"TemporaryFile(/tmp/multipartBody7589459957745842000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851265232,"filename":"image_20112025_20_01_13_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c3870d8d7dea0e9bd54c26eeb0dfce68.jpg","text":"TemporaryFile(/tmp/multipartBody558671564189970797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851265232,"filename":"image_20112025_20_01_09_2338.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/72c5ca8c55f685319af237f063b76a41.jpg","text":"TemporaryFile(/tmp/multipartBody5350710419245363622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851265232,"filename":"image_20112025_20_01_04_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/922d2ef16d18dc6f172ac32225ee36c9.jpg","text":"TemporaryFile(/tmp/multipartBody2126216766612429312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851265232,"filename":"image_20112025_20_01_16_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1ec579e4fcd949562526dd68890859b6.jpg","text":"TemporaryFile(/tmp/multipartBody6465294000398530156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851265232,"filename":"image_20112025_20_01_18_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fffbeb2b8ff9f3a744b6b20416d0de51.jpg","text":"TemporaryFile(/tmp/multipartBody737265574230707188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851265232,"filename":"image_20112025_20_01_25_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747394","file1":"1395747393","file0":"1395747392","file4":"1395747397","file5":"1395747401","file3":"1395747395"},"map_files_photo_id_array":[{"photo_id":"1395747401","filename":"file5"},{"photo_id":"1395747394","filename":"file2"},{"photo_id":"1395747397","filename":"file4"},{"photo_id":"1395747393","filename":"file1"},{"photo_id":"1395747392","filename":"file0"},{"photo_id":"1395747395","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395747394":["hashtag1","hashtag2"]},{"1395747393":["hashtag1","hashtag2"]},{"1395747392":["hashtag1","hashtag2"]},{"1395747395":["hashtag1","hashtag2"]},{"1395747397":["hashtag1","hashtag2"]},{"1395747401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395747394, 1395747393, 1395747392, 1395747395, 1395747397, 1395747401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.401437282562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:41:02.547401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_30_2707.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_33_2761.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_37_3808.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_40_2747.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_45_2709.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_48_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_30_2707.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_33_2761.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_37_3808.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_40_2747.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_45_2709.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_48_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747415","1395747414","1395747423","1395747417","1395747419","1395747416"],"photo_ids_order":["1395747414","1395747415","1395747416","1395747417","1395747419","1395747423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4cc6f3fa19b16db05ff70c50d7ef5881.jpg","text":"TemporaryFile(/tmp/multipartBody1528072192102703280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851324882,"filename":"image_20112025_20_01_33_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9c5ae983610cb719d5294e4f4cd8278.jpg","text":"TemporaryFile(/tmp/multipartBody8062859573793154024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851324882,"filename":"image_20112025_20_01_30_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3304dd1581bc2c5f547bab4bf19178d6.jpg","text":"TemporaryFile(/tmp/multipartBody2785939193355332515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851324882,"filename":"image_20112025_20_01_48_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4b9556d698bf991bc20c14101742e305.jpg","text":"TemporaryFile(/tmp/multipartBody4723469248576601626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851324882,"filename":"image_20112025_20_01_40_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6326fb32ff4cdb58c2733294253bcabe.jpg","text":"TemporaryFile(/tmp/multipartBody7884019790555513317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851324882,"filename":"image_20112025_20_01_45_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/08162b63ec77663a179061a4b5521902.jpg","text":"TemporaryFile(/tmp/multipartBody8062214861999995374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851324882,"filename":"image_20112025_20_01_37_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747416","file1":"1395747415","file0":"1395747414","file4":"1395747419","file5":"1395747423","file3":"1395747417"},"map_files_photo_id_array":[{"photo_id":"1395747423","filename":"file5"},{"photo_id":"1395747416","filename":"file2"},{"photo_id":"1395747419","filename":"file4"},{"photo_id":"1395747415","filename":"file1"},{"photo_id":"1395747414","filename":"file0"},{"photo_id":"1395747417","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395747415":["hashtag1","hashtag2"]},{"1395747414":["hashtag1","hashtag2"]},{"1395747423":["hashtag1","hashtag2"]},{"1395747417":["hashtag1","hashtag2"]},{"1395747419":["hashtag1","hashtag2"]},{"1395747416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395747415, 1395747414, 1395747423, 1395747417, 1395747419, 1395747416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25983786582947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:41:41.786244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/38/image_22112025_23_38_46_3631.jpg', '/home/pi/Desktop/images/22112025/23/41/image_22112025_23_41_18_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/38/image_22112025_23_38_46_3631.jpg
/home/pi/Desktop/images/22112025/23/41/image_22112025_23_41_18_2856.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747724","1395747723"],"photo_ids_order":["1395747723","1395747724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/519f0756a6503bad1e5c1cf4668c9a88.jpg","text":"TemporaryFile(/tmp/multipartBody1928903415283127116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851362350,"filename":"image_22112025_23_41_18_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f9e704c4ac5911c9807c1a2c1ed78e65.jpg","text":"TemporaryFile(/tmp/multipartBody4635002306044355032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851362350,"filename":"image_22112025_23_38_46_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395747724","file0":"1395747723"},"map_files_photo_id_array":[{"photo_id":"1395747724","filename":"file1"},{"photo_id":"1395747723","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395747724":["hashtag1","hashtag2"]},{"1395747723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395747724, 1395747723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.450263261795044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:42:02.509564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_52_3819.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_55_2576.jpg', '/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_57_2752.jpg', '/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_06_2695.jpg', '/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_09_3091.jpg', '/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_13_3425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_52_3819.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_55_2576.jpg
/home/pi/Desktop/images/20112025/20/01/image_20112025_20_01_57_2752.jpg
/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_06_2695.jpg
/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_09_3091.jpg
/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_13_3425.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747823","1395747832","1395747829","1395747825","1395747821","1395747824"],"photo_ids_order":["1395747821","1395747823","1395747824","1395747825","1395747829","1395747832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3c9d3e0c48373c2829a35edd55e2b336.jpg","text":"TemporaryFile(/tmp/multipartBody5211295971497998544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851384654,"filename":"image_20112025_20_01_55_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b21f90d27507d433d171af2e2535ef53.jpg","text":"TemporaryFile(/tmp/multipartBody7035995636904917223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851384654,"filename":"image_20112025_20_02_13_3425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/71daa9a1a78a037cbaa95acf454d800b.jpg","text":"TemporaryFile(/tmp/multipartBody8985127355571520147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851384654,"filename":"image_20112025_20_02_09_3091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55a51979939cc3810f28c6b5c3c40c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4389760326173389806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851384654,"filename":"image_20112025_20_02_06_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3ff93955651f444ecf57fa6824285aac.jpg","text":"TemporaryFile(/tmp/multipartBody1865263901138193206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851384654,"filename":"image_20112025_20_01_52_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/362a9145a6f630a2fc485cb9b65ec4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2623019507169110269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851384654,"filename":"image_20112025_20_01_57_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747824","file1":"1395747823","file0":"1395747821","file4":"1395747829","file5":"1395747832","file3":"1395747825"},"map_files_photo_id_array":[{"photo_id":"1395747832","filename":"file5"},{"photo_id":"1395747824","filename":"file2"},{"photo_id":"1395747829","filename":"file4"},{"photo_id":"1395747823","filename":"file1"},{"photo_id":"1395747821","filename":"file0"},{"photo_id":"1395747825","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395747823":["hashtag1","hashtag2"]},{"1395747832":["hashtag1","hashtag2"]},{"1395747829":["hashtag1","hashtag2"]},{"1395747825":["hashtag1","hashtag2"]},{"1395747821":["hashtag1","hashtag2"]},{"1395747824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395747823, 1395747832, 1395747829, 1395747825, 1395747821, 1395747824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81263732910156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:42:41.983372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/41/image_22112025_23_41_21_2676.jpg', '/home/pi/Desktop/images/22112025/23/42/image_22112025_23_42_30_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/41/image_22112025_23_41_21_2676.jpg
/home/pi/Desktop/images/22112025/23/42/image_22112025_23_42_30_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747838","1395747837"],"photo_ids_order":["1395747837","1395747838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/55eea3cfc536dac6baccaf3ba3752cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1020156327170646269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851422538,"filename":"image_22112025_23_42_30_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bfc9d326417e466a9ee44dc5e9e41502.jpg","text":"TemporaryFile(/tmp/multipartBody5867066791365323913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851422538,"filename":"image_22112025_23_41_21_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395747838","file0":"1395747837"},"map_files_photo_id_array":[{"photo_id":"1395747838","filename":"file1"},{"photo_id":"1395747837","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395747838":["hashtag1","hashtag2"]},{"1395747837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395747838, 1395747837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.020013332366943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:43:22.150956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/42/image_22112025_23_42_38_2759.jpg', '/home/pi/Desktop/images/22112025/23/43/image_22112025_23_43_06_2915.jpg', '/home/pi/Desktop/images/22112025/23/43/image_22112025_23_43_08_2695.jpg', '/home/pi/Desktop/images/22112025/23/43/image_22112025_23_43_36_3120.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/42/image_22112025_23_42_38_2759.jpg
/home/pi/Desktop/images/22112025/23/43/image_22112025_23_43_06_2915.jpg
/home/pi/Desktop/images/22112025/23/43/image_22112025_23_43_08_2695.jpg
/home/pi/Desktop/images/22112025/23/43/image_22112025_23_43_36_3120.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747850","1395747845","1395747848","1395747842"],"photo_ids_order":["1395747842","1395747845","1395747848","1395747850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7bfb09ee80ec5553b689fc34f2e5edb.jpg","text":"TemporaryFile(/tmp/multipartBody609779799936608841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851462798,"filename":"image_22112025_23_43_36_3120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f242dbad2054652ce240d351fae93ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2106972070735182729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851462798,"filename":"image_22112025_23_43_06_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/69e89b8ebdf7608cc53b9a42b6a56bcc.jpg","text":"TemporaryFile(/tmp/multipartBody9112236144176402863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851462798,"filename":"image_22112025_23_43_08_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/22297191b3f52f8107015be463b5b580.jpg","text":"TemporaryFile(/tmp/multipartBody793443806626713779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851462798,"filename":"image_22112025_23_42_38_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747848","file1":"1395747845","file0":"1395747842","file3":"1395747850"},"map_files_photo_id_array":[{"photo_id":"1395747848","filename":"file2"},{"photo_id":"1395747845","filename":"file1"},{"photo_id":"1395747842","filename":"file0"},{"photo_id":"1395747850","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395747850":["hashtag1","hashtag2"]},{"1395747845":["hashtag1","hashtag2"]},{"1395747848":["hashtag1","hashtag2"]},{"1395747842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395747850, 1395747845, 1395747848, 1395747842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.03544521331787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:44:03.093743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_18_2658.jpg', '/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_25_3634.jpg', '/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_36_8881.jpg', '/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_42_3520.jpg', '/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_45_1739.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_04_9030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_18_2658.jpg
/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_25_3634.jpg
/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_36_8881.jpg
/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_42_3520.jpg
/home/pi/Desktop/images/20112025/20/02/image_20112025_20_02_45_1739.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_04_9030.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747856","1395747855","1395747858","1395747863","1395747860","1395747854"],"photo_ids_order":["1395747854","1395747855","1395747856","1395747858","1395747860","1395747863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/195908eaeda301899e64b06c23efc951.jpg","text":"TemporaryFile(/tmp/multipartBody7160331466005934987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851505247,"filename":"image_20112025_20_02_36_8881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6abda4f45be08f5dd6df538ded0c01e8.jpg","text":"TemporaryFile(/tmp/multipartBody2999544108694317715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851505247,"filename":"image_20112025_20_02_25_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6c485edcc945b53ea7620aa49ab0c387.jpg","text":"TemporaryFile(/tmp/multipartBody7481190725888341860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851505247,"filename":"image_20112025_20_02_42_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5a93e6380d50aa86e10f3d10b764ef33.jpg","text":"TemporaryFile(/tmp/multipartBody542951109718568942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851505247,"filename":"image_20112025_20_03_04_9030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec0d4b4d5cfa3bbf0ade4c56c457413d.jpg","text":"TemporaryFile(/tmp/multipartBody8723635956118735531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851505247,"filename":"image_20112025_20_02_45_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5f29f0c9c3babf6fc818aefcb52422d.jpg","text":"TemporaryFile(/tmp/multipartBody6528567066834847930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851505247,"filename":"image_20112025_20_02_18_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747856","file1":"1395747855","file0":"1395747854","file4":"1395747860","file5":"1395747863","file3":"1395747858"},"map_files_photo_id_array":[{"photo_id":"1395747863","filename":"file5"},{"photo_id":"1395747856","filename":"file2"},{"photo_id":"1395747860","filename":"file4"},{"photo_id":"1395747855","filename":"file1"},{"photo_id":"1395747854","filename":"file0"},{"photo_id":"1395747858","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395747856":["hashtag1","hashtag2"]},{"1395747855":["hashtag1","hashtag2"]},{"1395747858":["hashtag1","hashtag2"]},{"1395747863":["hashtag1","hashtag2"]},{"1395747860":["hashtag1","hashtag2"]},{"1395747854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395747856, 1395747855, 1395747858, 1395747863, 1395747860, 1395747854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.618879079818726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:44:42.405832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/43/image_22112025_23_43_59_2752.jpg', '/home/pi/Desktop/images/22112025/23/44/image_22112025_23_44_08_2674.jpg', '/home/pi/Desktop/images/22112025/23/44/image_22112025_23_44_21_3665.jpg', '/home/pi/Desktop/images/22112025/23/44/image_22112025_23_44_45_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/43/image_22112025_23_43_59_2752.jpg
/home/pi/Desktop/images/22112025/23/44/image_22112025_23_44_08_2674.jpg
/home/pi/Desktop/images/22112025/23/44/image_22112025_23_44_21_3665.jpg
/home/pi/Desktop/images/22112025/23/44/image_22112025_23_44_45_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747877","1395747873","1395747876","1395747878"],"photo_ids_order":["1395747873","1395747876","1395747877","1395747878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/91f3414bbce4c570808f8d45da7950a6.jpg","text":"TemporaryFile(/tmp/multipartBody569943426676339781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851543115,"filename":"image_22112025_23_44_21_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4c97b2ad705683cbb6926617868fe63b.jpg","text":"TemporaryFile(/tmp/multipartBody2736554975514985402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851543115,"filename":"image_22112025_23_43_59_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/019d7857f6020b0171b01746e96796c7.jpg","text":"TemporaryFile(/tmp/multipartBody7240228108082463058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851543115,"filename":"image_22112025_23_44_08_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2f010e3ad19f5260b1f893b32cd39959.jpg","text":"TemporaryFile(/tmp/multipartBody3444149151181143280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851543115,"filename":"image_22112025_23_44_45_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747877","file1":"1395747876","file0":"1395747873","file3":"1395747878"},"map_files_photo_id_array":[{"photo_id":"1395747877","filename":"file2"},{"photo_id":"1395747876","filename":"file1"},{"photo_id":"1395747873","filename":"file0"},{"photo_id":"1395747878","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395747877":["hashtag1","hashtag2"]},{"1395747873":["hashtag1","hashtag2"]},{"1395747876":["hashtag1","hashtag2"]},{"1395747878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395747877, 1395747873, 1395747876, 1395747878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.868566036224365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:45:22.691213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_42_2728.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_49_3618.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_51_2531.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_55_3584.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_57_2735.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_42_00_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_42_2728.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_49_3618.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_51_2531.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_55_3584.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_57_2735.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_42_00_2571.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 2.251096487045288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:45:42.703969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_42_2728.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_49_3618.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_51_2531.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_55_3584.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_57_2735.jpg', '/home/pi/Desktop/images/30102025/18/41/image_30102025_18_42_00_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_42_2728.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_49_3618.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_51_2531.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_55_3584.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_41_57_2735.jpg
/home/pi/Desktop/images/30102025/18/41/image_30102025_18_42_00_2571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747898","1395747897","1395747901","1395747900","1395747899","1395747895"],"photo_ids_order":["1395747895","1395747897","1395747898","1395747899","1395747900","1395747901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0a0094924d4e645b14f51a0c35fe6f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2741326159754882977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851604775,"filename":"image_30102025_18_41_51_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8468b5ec4b31816dbe064fe0a08cb51e.jpg","text":"TemporaryFile(/tmp/multipartBody7809535337981442028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851604775,"filename":"image_30102025_18_41_49_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b3bd095d70c6ad02632cc10bb925152d.jpg","text":"TemporaryFile(/tmp/multipartBody2305498288126159660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851604775,"filename":"image_30102025_18_42_00_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0100bc730f22856720e21d9b5df51bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6859184000049221197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851604775,"filename":"image_30102025_18_41_57_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c24d516d8e18b60af6419bfcbc02a133.jpg","text":"TemporaryFile(/tmp/multipartBody3579835934959836943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851604775,"filename":"image_30102025_18_41_55_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e49ea70d6ea4f2fb9c5208a5352e5840.jpg","text":"TemporaryFile(/tmp/multipartBody7983973912513237714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851604775,"filename":"image_30102025_18_41_42_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747898","file1":"1395747897","file0":"1395747895","file4":"1395747900","file5":"1395747901","file3":"1395747899"},"map_files_photo_id_array":[{"photo_id":"1395747901","filename":"file5"},{"photo_id":"1395747898","filename":"file2"},{"photo_id":"1395747900","filename":"file4"},{"photo_id":"1395747897","filename":"file1"},{"photo_id":"1395747895","filename":"file0"},{"photo_id":"1395747899","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395747898":["hashtag1","hashtag2"]},{"1395747897":["hashtag1","hashtag2"]},{"1395747901":["hashtag1","hashtag2"]},{"1395747900":["hashtag1","hashtag2"]},{"1395747899":["hashtag1","hashtag2"]},{"1395747895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395747898, 1395747897, 1395747901, 1395747900, 1395747899, 1395747895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34149885177612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:46:21.929070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/44/image_22112025_23_44_59_2612.jpg', '/home/pi/Desktop/images/22112025/23/46/image_22112025_23_46_08_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/44/image_22112025_23_44_59_2612.jpg
/home/pi/Desktop/images/22112025/23/46/image_22112025_23_46_08_2649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747904","1395747907"],"photo_ids_order":["1395747904","1395747907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d7539e3a03af34e4b8a29a552e2be9a0.jpg","text":"TemporaryFile(/tmp/multipartBody2680429809387505039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851642526,"filename":"image_22112025_23_44_59_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ebffdc6a17518c22b2ef5e4eef195a99.jpg","text":"TemporaryFile(/tmp/multipartBody1456655204283116119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851642526,"filename":"image_22112025_23_46_08_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395747907","file0":"1395747904"},"map_files_photo_id_array":[{"photo_id":"1395747907","filename":"file1"},{"photo_id":"1395747904","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395747904":["hashtag1","hashtag2"]},{"1395747907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395747904, 1395747907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.428852081298828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:46:41.902409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_03_2792.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_09_2532.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_12_3526.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_18_3060.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_27_2683.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_30_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_03_2792.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_09_2532.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_12_3526.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_18_3060.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_27_2683.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_30_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747940","1395747915","1395747918","1395747912","1395747926","1395747914"],"photo_ids_order":["1395747912","1395747914","1395747915","1395747918","1395747926","1395747940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/359b3ea231851c68275f3c7c3efa1cd0.jpg","text":"TemporaryFile(/tmp/multipartBody5746147268339899718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851664063,"filename":"image_30102025_18_42_30_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b01724ed46e85097159e3b6c3bb1b789.jpg","text":"TemporaryFile(/tmp/multipartBody6087766936671524431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851664063,"filename":"image_30102025_18_42_12_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/74735b492acf1aa3bd1a2116f6c7eaf4.jpg","text":"TemporaryFile(/tmp/multipartBody1791305072915586037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851664063,"filename":"image_30102025_18_42_18_3060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f8c08d335f34e4dce27a95d8cd12872e.jpg","text":"TemporaryFile(/tmp/multipartBody2355505153502794603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851664063,"filename":"image_30102025_18_42_03_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fdb0f2bb1d1c9b43292938dec01ddac0.jpg","text":"TemporaryFile(/tmp/multipartBody7898019527733491651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851664063,"filename":"image_30102025_18_42_27_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4088428afd18076f41a352907ac86a19.jpg","text":"TemporaryFile(/tmp/multipartBody7992408201255248360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851664063,"filename":"image_30102025_18_42_09_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395747915","file1":"1395747914","file0":"1395747912","file4":"1395747926","file5":"1395747940","file3":"1395747918"},"map_files_photo_id_array":[{"photo_id":"1395747940","filename":"file5"},{"photo_id":"1395747915","filename":"file2"},{"photo_id":"1395747926","filename":"file4"},{"photo_id":"1395747914","filename":"file1"},{"photo_id":"1395747912","filename":"file0"},{"photo_id":"1395747918","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395747940":["hashtag1","hashtag2"]},{"1395747915":["hashtag1","hashtag2"]},{"1395747918":["hashtag1","hashtag2"]},{"1395747912":["hashtag1","hashtag2"]},{"1395747926":["hashtag1","hashtag2"]},{"1395747914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395747940, 1395747915, 1395747918, 1395747912, 1395747926, 1395747914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.472776889801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:47:22.105027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/46/image_22112025_23_46_14_2750.jpg', '/home/pi/Desktop/images/22112025/23/47/image_22112025_23_47_32_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/46/image_22112025_23_46_14_2750.jpg
/home/pi/Desktop/images/22112025/23/47/image_22112025_23_47_32_2608.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395747990","1395747948"],"photo_ids_order":["1395747948","1395747990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/3fce38637c601c10a2d1617928013a77.jpg","text":"TemporaryFile(/tmp/multipartBody2126784308907994477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851702680,"filename":"image_22112025_23_47_32_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4dcf4ac7b9b9c2a47bc0d333160a9b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8293223910257840557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851702680,"filename":"image_22112025_23_46_14_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395747990","file0":"1395747948"},"map_files_photo_id_array":[{"photo_id":"1395747990","filename":"file1"},{"photo_id":"1395747948","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395747990":["hashtag1","hashtag2"]},{"1395747948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395747990, 1395747948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.923842191696167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:47:42.089965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_34_3656.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_36_2560.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_39_2606.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_42_3686.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_45_2488.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_48_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_34_3656.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_36_2560.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_39_2606.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_42_3686.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_45_2488.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_48_3590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395748420","1395748482","1395748422","1395748373","1395748481","1395748421"],"photo_ids_order":["1395748373","1395748420","1395748421","1395748422","1395748481","1395748482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fbc79bcaeebc260c5e75f3d2503c80cd.jpg","text":"TemporaryFile(/tmp/multipartBody6167762062372969766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851724256,"filename":"image_30102025_18_42_36_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/0b719c59405b7b7525cdc226a90d0ece.jpg","text":"TemporaryFile(/tmp/multipartBody8282951650205611373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851724256,"filename":"image_30102025_18_42_48_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b63173220f44ef78b1eb0cd107974380.jpg","text":"TemporaryFile(/tmp/multipartBody2323732796551453186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851724256,"filename":"image_30102025_18_42_42_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9c47adb17f890e1abf5c5d8268c0d334.jpg","text":"TemporaryFile(/tmp/multipartBody2107149406630787224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851724256,"filename":"image_30102025_18_42_34_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b5eadfd8c7a48a1181624dbaf47f5873.jpg","text":"TemporaryFile(/tmp/multipartBody5763388199441992863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851724256,"filename":"image_30102025_18_42_45_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/df9f4dee88bd1d18cd2d8a2a1977c110.jpg","text":"TemporaryFile(/tmp/multipartBody3185070032621386411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851724256,"filename":"image_30102025_18_42_39_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395748421","file1":"1395748420","file0":"1395748373","file4":"1395748481","file5":"1395748482","file3":"1395748422"},"map_files_photo_id_array":[{"photo_id":"1395748482","filename":"file5"},{"photo_id":"1395748421","filename":"file2"},{"photo_id":"1395748481","filename":"file4"},{"photo_id":"1395748420","filename":"file1"},{"photo_id":"1395748373","filename":"file0"},{"photo_id":"1395748422","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395748420":["hashtag1","hashtag2"]},{"1395748482":["hashtag1","hashtag2"]},{"1395748422":["hashtag1","hashtag2"]},{"1395748373":["hashtag1","hashtag2"]},{"1395748481":["hashtag1","hashtag2"]},{"1395748421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395748420, 1395748482, 1395748422, 1395748373, 1395748481, 1395748421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08513164520264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:48:22.341180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/47/image_22112025_23_47_47_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/47/image_22112025_23_47_47_2716.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395748573"],"photo_id":"1395748573","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5597917ebed3853ac1f05019208917aa.jpg","text":"TemporaryFile(/tmp/multipartBody7735618201669276851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851762877,"filename":"image_22112025_23_47_47_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395748573"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395748573"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.442225933074951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:48:42.342536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_51_2817.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_54_2580.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_57_2765.jpg', '/home/pi/Desktop/images/30102025/18/42/image_30102025_18_43_00_3579.jpg', '/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_03_2673.jpg', '/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_07_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_51_2817.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_54_2580.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_42_57_2765.jpg
/home/pi/Desktop/images/30102025/18/42/image_30102025_18_43_00_3579.jpg
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_03_2673.jpg
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_07_3611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395748600","1395748599","1395748593","1395748596","1395748598","1395748601"],"photo_ids_order":["1395748593","1395748596","1395748598","1395748599","1395748600","1395748601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9969efd7bab30f8ff590f0c03c063d2c.jpg","text":"TemporaryFile(/tmp/multipartBody8857033359982517259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851784522,"filename":"image_30102025_18_43_03_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/030da5cac50869034f8adaed120cdc40.jpg","text":"TemporaryFile(/tmp/multipartBody8308426035393436165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851784522,"filename":"image_30102025_18_43_00_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/c254d50ca2f836ce132ef7820376d27d.jpg","text":"TemporaryFile(/tmp/multipartBody1162360319989388174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851784522,"filename":"image_30102025_18_42_51_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ba3cdf0cdfd8ec4957b8a67f84290ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3838108155125195182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851784522,"filename":"image_30102025_18_42_54_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9d69524bc8fb0f98bd8af50e8d6a840e.jpg","text":"TemporaryFile(/tmp/multipartBody3974656822532618701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851784522,"filename":"image_30102025_18_42_57_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ea4791807306c58582a2d657af368a2.jpg","text":"TemporaryFile(/tmp/multipartBody3669875586968796107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851784522,"filename":"image_30102025_18_43_07_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395748598","file1":"1395748596","file0":"1395748593","file4":"1395748600","file5":"1395748601","file3":"1395748599"},"map_files_photo_id_array":[{"photo_id":"1395748601","filename":"file5"},{"photo_id":"1395748598","filename":"file2"},{"photo_id":"1395748600","filename":"file4"},{"photo_id":"1395748596","filename":"file1"},{"photo_id":"1395748593","filename":"file0"},{"photo_id":"1395748599","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395748600":["hashtag1","hashtag2"]},{"1395748599":["hashtag1","hashtag2"]},{"1395748593":["hashtag1","hashtag2"]},{"1395748596":["hashtag1","hashtag2"]},{"1395748598":["hashtag1","hashtag2"]},{"1395748601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395748600, 1395748599, 1395748593, 1395748596, 1395748598, 1395748601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67745614051819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:49:22.597437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/48/image_22112025_23_48_03_3695.jpg', '/home/pi/Desktop/images/22112025/23/49/image_22112025_23_49_41_2823.jpg', '/home/pi/Desktop/images/22112025/23/49/image_22112025_23_49_47_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/48/image_22112025_23_48_03_3695.jpg
/home/pi/Desktop/images/22112025/23/49/image_22112025_23_49_41_2823.jpg
/home/pi/Desktop/images/22112025/23/49/image_22112025_23_49_47_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395748632","1395748607","1395748604"],"photo_ids_order":["1395748604","1395748607","1395748632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/05051c4b577f6cc13de7b2b0266c38e6.jpg","text":"TemporaryFile(/tmp/multipartBody7513316327380460879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851823201,"filename":"image_22112025_23_49_47_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48bb54a32d1feb01a287dc421c8911d7.jpg","text":"TemporaryFile(/tmp/multipartBody4979587184520694244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851823201,"filename":"image_22112025_23_49_41_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8b3b942895730d36324991b393f6b8ce.jpg","text":"TemporaryFile(/tmp/multipartBody5864932034192286662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851823201,"filename":"image_22112025_23_48_03_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395748632","file1":"1395748607","file0":"1395748604"},"map_files_photo_id_array":[{"photo_id":"1395748632","filename":"file2"},{"photo_id":"1395748607","filename":"file1"},{"photo_id":"1395748604","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395748632":["hashtag1","hashtag2"]},{"1395748607":["hashtag1","hashtag2"]},{"1395748604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395748632, 1395748607, 1395748604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.557511568069458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:50:02.317856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_07_1617.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_09_1617.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_10_1649.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_12_1701.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_16_3634.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_18_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_07_1617.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_09_1617.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_10_1649.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_12_1701.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_16_3634.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_18_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395749079","1395748896","1395749040","1395748932","1395749003","1395748966"],"photo_ids_order":["1395748896","1395748932","1395748966","1395749003","1395749040","1395749079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/48f0e7d26fd74e8b17c6f768994c4165.jpg","text":"TemporaryFile(/tmp/multipartBody1567072736181313060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851864499,"filename":"image_20112025_20_03_18_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/84ce76c3b118163c96ca118ad83c8523.jpg","text":"TemporaryFile(/tmp/multipartBody4526542893031891001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851864499,"filename":"image_20112025_20_03_07_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40802d5524625c719adb6ef5e8e1b0af.jpg","text":"TemporaryFile(/tmp/multipartBody5749121754610887452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851864499,"filename":"image_20112025_20_03_16_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/57f53c933ad22b4044f42deda3d51f57.jpg","text":"TemporaryFile(/tmp/multipartBody7578280620015974327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851864499,"filename":"image_20112025_20_03_09_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b8956e88d2fccfbe169e025764a53aa4.jpg","text":"TemporaryFile(/tmp/multipartBody9186777319245395568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851864499,"filename":"image_20112025_20_03_12_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/bd58dc827ead73770a339390efdc85f1.jpg","text":"TemporaryFile(/tmp/multipartBody7472876232750993640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851864499,"filename":"image_20112025_20_03_10_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395748966","file1":"1395748932","file0":"1395748896","file4":"1395749040","file5":"1395749079","file3":"1395749003"},"map_files_photo_id_array":[{"photo_id":"1395749079","filename":"file5"},{"photo_id":"1395748966","filename":"file2"},{"photo_id":"1395749040","filename":"file4"},{"photo_id":"1395748932","filename":"file1"},{"photo_id":"1395748896","filename":"file0"},{"photo_id":"1395749003","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395749079":["hashtag1","hashtag2"]},{"1395748896":["hashtag1","hashtag2"]},{"1395749040":["hashtag1","hashtag2"]},{"1395748932":["hashtag1","hashtag2"]},{"1395749003":["hashtag1","hashtag2"]},{"1395748966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395749079, 1395748896, 1395749040, 1395748932, 1395749003, 1395748966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95046424865723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:50:41.859530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/49/image_22112025_23_49_59_3686.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_06_3815.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_11_2761.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_14_3660.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_20_2857.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_41_3847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/49/image_22112025_23_49_59_3686.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_06_3815.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_11_2761.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_14_3660.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_20_2857.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_41_3847.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6299612522125244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:51:02.807521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/49/image_22112025_23_49_59_3686.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_06_3815.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_11_2761.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_14_3660.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_20_2857.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_41_3847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/49/image_22112025_23_49_59_3686.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_06_3815.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_11_2761.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_14_3660.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_20_2857.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_41_3847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395749445","1395749520","1395749480","1395749561","1395749402","1395749602"],"photo_ids_order":["1395749402","1395749445","1395749480","1395749520","1395749561","1395749602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d8ffad59d7407df499246db477b616b4.jpg","text":"TemporaryFile(/tmp/multipartBody8437074514075956378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851923655,"filename":"image_22112025_23_50_06_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/da0b19a419e1dc96cf35d6e8a8629715.jpg","text":"TemporaryFile(/tmp/multipartBody2682072016384891937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851923655,"filename":"image_22112025_23_50_14_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/8f80f92cef64e66996e41d3371b23618.jpg","text":"TemporaryFile(/tmp/multipartBody5260053354379722335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851923655,"filename":"image_22112025_23_50_11_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/44c3494c9f4977a90efda1d329d3c241.jpg","text":"TemporaryFile(/tmp/multipartBody3583132061535949510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851923655,"filename":"image_22112025_23_50_20_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/457ba6af527d93883b1970f45285f699.jpg","text":"TemporaryFile(/tmp/multipartBody8972659864017714864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851923655,"filename":"image_22112025_23_49_59_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/75decac9e09db2b72aadc876ff59193b.jpg","text":"TemporaryFile(/tmp/multipartBody8522888055686893556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851923655,"filename":"image_22112025_23_50_41_3847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395749480","file1":"1395749445","file0":"1395749402","file4":"1395749561","file5":"1395749602","file3":"1395749520"},"map_files_photo_id_array":[{"photo_id":"1395749602","filename":"file5"},{"photo_id":"1395749480","filename":"file2"},{"photo_id":"1395749561","filename":"file4"},{"photo_id":"1395749445","filename":"file1"},{"photo_id":"1395749402","filename":"file0"},{"photo_id":"1395749520","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395749445":["hashtag1","hashtag2"]},{"1395749520":["hashtag1","hashtag2"]},{"1395749480":["hashtag1","hashtag2"]},{"1395749561":["hashtag1","hashtag2"]},{"1395749402":["hashtag1","hashtag2"]},{"1395749602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395749445, 1395749520, 1395749480, 1395749561, 1395749402, 1395749602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43940353393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:51:42.126030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_44_2647.jpg', '/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_53_2606.jpg', '/home/pi/Desktop/images/22112025/23/51/image_22112025_23_51_17_2602.jpg', '/home/pi/Desktop/images/22112025/23/51/image_22112025_23_51_53_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_44_2647.jpg
/home/pi/Desktop/images/22112025/23/50/image_22112025_23_50_53_2606.jpg
/home/pi/Desktop/images/22112025/23/51/image_22112025_23_51_17_2602.jpg
/home/pi/Desktop/images/22112025/23/51/image_22112025_23_51_53_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395749745","1395749739","1395749727","1395749738"],"photo_ids_order":["1395749727","1395749738","1395749739","1395749745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/40e9a427325dd46a669e4d097f68d35b.jpg","text":"TemporaryFile(/tmp/multipartBody5583465190780839452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851962773,"filename":"image_22112025_23_51_53_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/fa26db1acb95b09604be0294de547968.jpg","text":"TemporaryFile(/tmp/multipartBody4167674572573587284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851962773,"filename":"image_22112025_23_51_17_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d30942f3bdf858d06d9f3c445be0baa7.jpg","text":"TemporaryFile(/tmp/multipartBody2649016404722750583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851962773,"filename":"image_22112025_23_50_44_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/e09ce28ff1bb1b8fd9fe2fe6cd617ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7254965555051995112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763851962773,"filename":"image_22112025_23_50_53_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395749739","file1":"1395749738","file0":"1395749727","file3":"1395749745"},"map_files_photo_id_array":[{"photo_id":"1395749739","filename":"file2"},{"photo_id":"1395749738","filename":"file1"},{"photo_id":"1395749727","filename":"file0"},{"photo_id":"1395749745","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395749745":["hashtag1","hashtag2"]},{"1395749739":["hashtag1","hashtag2"]},{"1395749727":["hashtag1","hashtag2"]},{"1395749738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395749745, 1395749739, 1395749727, 1395749738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.95952343940735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:52:22.456125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/51/image_22112025_23_51_56_3716.jpg', '/home/pi/Desktop/images/22112025/23/52/image_22112025_23_52_17_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/51/image_22112025_23_51_56_3716.jpg
/home/pi/Desktop/images/22112025/23/52/image_22112025_23_52_17_2691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750171","1395750261"],"photo_ids_order":["1395750171","1395750261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/155f1165b1b07bbfe0f128441366f645.jpg","text":"TemporaryFile(/tmp/multipartBody349958367312360888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852003085,"filename":"image_22112025_23_51_56_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/10c90a9898f64bdf398b88c20d93260b.jpg","text":"TemporaryFile(/tmp/multipartBody5625213998224295296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852003085,"filename":"image_22112025_23_52_17_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395750261","file0":"1395750171"},"map_files_photo_id_array":[{"photo_id":"1395750261","filename":"file1"},{"photo_id":"1395750171","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395750171":["hashtag1","hashtag2"]},{"1395750261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395750171, 1395750261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.640486240386963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:52:42.421800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_15_3656.jpg', '/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_18_2665.jpg', '/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_30_2688.jpg', '/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_39_2772.jpg', '/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_48_2782.jpg', '/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_51_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_15_3656.jpg
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_18_2665.jpg
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_30_2688.jpg
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_39_2772.jpg
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_48_2782.jpg
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_43_51_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750439","1395750430","1395750511","1395750516","1395750438","1395750550"],"photo_ids_order":["1395750430","1395750438","1395750439","1395750511","1395750516","1395750550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/67fd8c1eaca3617b35c1c5fbc95184e5.jpg","text":"TemporaryFile(/tmp/multipartBody7532374643183719608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852024613,"filename":"image_30102025_18_43_30_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/898518b66d1d6c1cdf4bfef13235b289.jpg","text":"TemporaryFile(/tmp/multipartBody5081640179384216331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852024613,"filename":"image_30102025_18_43_15_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a60428b253bf6452eed562f94180220e.jpg","text":"TemporaryFile(/tmp/multipartBody6574053297042732006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852024613,"filename":"image_30102025_18_43_39_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5d12ac15bcb8aaa72d8351499f02a144.jpg","text":"TemporaryFile(/tmp/multipartBody5188793122516564676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852024613,"filename":"image_30102025_18_43_48_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6065354e9d449e7cfca9bf5111b25467.jpg","text":"TemporaryFile(/tmp/multipartBody3617938985624090061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852024613,"filename":"image_30102025_18_43_18_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/661445c53561692ed39cfe70868f203b.jpg","text":"TemporaryFile(/tmp/multipartBody524411374344252892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852024613,"filename":"image_30102025_18_43_51_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395750439","file1":"1395750438","file0":"1395750430","file4":"1395750516","file5":"1395750550","file3":"1395750511"},"map_files_photo_id_array":[{"photo_id":"1395750550","filename":"file5"},{"photo_id":"1395750439","filename":"file2"},{"photo_id":"1395750516","filename":"file4"},{"photo_id":"1395750438","filename":"file1"},{"photo_id":"1395750430","filename":"file0"},{"photo_id":"1395750511","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395750439":["hashtag1","hashtag2"]},{"1395750430":["hashtag1","hashtag2"]},{"1395750511":["hashtag1","hashtag2"]},{"1395750516":["hashtag1","hashtag2"]},{"1395750438":["hashtag1","hashtag2"]},{"1395750550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395750439, 1395750430, 1395750511, 1395750516, 1395750438, 1395750550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.45218873023987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:53:42.565837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/52/image_22112025_23_52_35_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/52/image_22112025_23_52_35_3683.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750587"],"photo_id":"1395750587","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/31abbe9b295f6b18599dd8cb6407088c.jpg","text":"TemporaryFile(/tmp/multipartBody1382400801668969412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852083088,"filename":"image_22112025_23_52_35_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1395750587"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1395750587"}],"hashtags":[],"portfolio_id":"28804211","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.962494611740112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:54:02.512727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_22_4073.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_34_11647.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_39_1682.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_46_1604.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_54_2815.jpg', '/home/pi/Desktop/images/20112025/20/03/image_20112025_20_04_00_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_22_4073.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_34_11647.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_39_1682.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_46_1604.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_03_54_2815.jpg
/home/pi/Desktop/images/20112025/20/03/image_20112025_20_04_00_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750591","1395750590","1395750593","1395750595","1395750598","1395750592"],"photo_ids_order":["1395750590","1395750591","1395750592","1395750593","1395750595","1395750598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a9a8caabfff01be513ee4b25c752c63c.jpg","text":"TemporaryFile(/tmp/multipartBody7831357793282536452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852104718,"filename":"image_20112025_20_03_34_11647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/1f2230566419b673c9a3f532e415636c.jpg","text":"TemporaryFile(/tmp/multipartBody399879327877354709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852104718,"filename":"image_20112025_20_03_22_4073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/43b64e7b22576f76cbe8c1b155074b12.jpg","text":"TemporaryFile(/tmp/multipartBody8329473895189943939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852104718,"filename":"image_20112025_20_03_46_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/419a4f006921732929a9e06b5b872920.jpg","text":"TemporaryFile(/tmp/multipartBody9220763190462489010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852104718,"filename":"image_20112025_20_03_54_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a65e3d2cab09340373f1b121d323649f.jpg","text":"TemporaryFile(/tmp/multipartBody1183700296618303577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852104718,"filename":"image_20112025_20_04_00_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/b27469320147f94e4e4e479b1fb7618e.jpg","text":"TemporaryFile(/tmp/multipartBody1634005578617180038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852104718,"filename":"image_20112025_20_03_39_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395750592","file1":"1395750591","file0":"1395750590","file4":"1395750595","file5":"1395750598","file3":"1395750593"},"map_files_photo_id_array":[{"photo_id":"1395750598","filename":"file5"},{"photo_id":"1395750592","filename":"file2"},{"photo_id":"1395750595","filename":"file4"},{"photo_id":"1395750591","filename":"file1"},{"photo_id":"1395750590","filename":"file0"},{"photo_id":"1395750593","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395750591":["hashtag1","hashtag2"]},{"1395750590":["hashtag1","hashtag2"]},{"1395750593":["hashtag1","hashtag2"]},{"1395750595":["hashtag1","hashtag2"]},{"1395750598":["hashtag1","hashtag2"]},{"1395750592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395750591, 1395750590, 1395750593, 1395750595, 1395750598, 1395750592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87740755081177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:54:41.771657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/18/43/image_30102025_18_44_00_2553.jpg', '/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_03_3676.jpg', '/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_06_2686.jpg', '/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_09_2798.jpg', '/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_15_2725.jpg', '/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_18_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/18/43/image_30102025_18_44_00_2553.jpg
/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_03_3676.jpg
/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_06_2686.jpg
/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_09_2798.jpg
/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_15_2725.jpg
/home/pi/Desktop/images/30102025/18/44/image_30102025_18_44_18_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750618","1395750615","1395750609","1395750629","1395750628","1395750613"],"photo_ids_order":["1395750609","1395750613","1395750615","1395750618","1395750628","1395750629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7286999ea56ab15b5ff60173bafa9ec3.jpg","text":"TemporaryFile(/tmp/multipartBody3815069464814934265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852143960,"filename":"image_30102025_18_44_09_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2835deb1a846987ae6887066f697b571.jpg","text":"TemporaryFile(/tmp/multipartBody5952453412874692047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852143960,"filename":"image_30102025_18_44_06_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a41c725e5a37965f5f57bb3c9bcdb22.jpg","text":"TemporaryFile(/tmp/multipartBody431292977370200105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852143960,"filename":"image_30102025_18_44_00_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9b1475c67ed3e489c80c4924d706aaf.jpg","text":"TemporaryFile(/tmp/multipartBody8878191646996476139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852143960,"filename":"image_30102025_18_44_18_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/810f49a51065bfd44450b6fb917904e0.jpg","text":"TemporaryFile(/tmp/multipartBody7803488930850589317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852143960,"filename":"image_30102025_18_44_15_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/41b1358817ff631007f59a2934bd4df6.jpg","text":"TemporaryFile(/tmp/multipartBody6984945214354342235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852143960,"filename":"image_30102025_18_44_03_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395750615","file1":"1395750613","file0":"1395750609","file4":"1395750628","file5":"1395750629","file3":"1395750618"},"map_files_photo_id_array":[{"photo_id":"1395750629","filename":"file5"},{"photo_id":"1395750615","filename":"file2"},{"photo_id":"1395750628","filename":"file4"},{"photo_id":"1395750613","filename":"file1"},{"photo_id":"1395750609","filename":"file0"},{"photo_id":"1395750618","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1395750618":["hashtag1","hashtag2"]},{"1395750615":["hashtag1","hashtag2"]},{"1395750609":["hashtag1","hashtag2"]},{"1395750629":["hashtag1","hashtag2"]},{"1395750628":["hashtag1","hashtag2"]},{"1395750613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1395750618, 1395750615, 1395750609, 1395750629, 1395750628, 1395750613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92627501487732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:55:22.409833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/53/image_22112025_23_53_32_2840.jpg', '/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_08_3707.jpg', '/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_26_3689.jpg', '/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_44_3765.jpg', '/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_49_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/53/image_22112025_23_53_32_2840.jpg
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_08_3707.jpg
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_26_3689.jpg
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_44_3765.jpg
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_49_2636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6209759712219238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:55:42.343295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/53/image_22112025_23_53_32_2840.jpg', '/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_08_3707.jpg', '/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_26_3689.jpg', '/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_44_3765.jpg', '/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_49_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/53/image_22112025_23_53_32_2840.jpg
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_08_3707.jpg
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_26_3689.jpg
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_44_3765.jpg
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_49_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750648","1395750647","1395750650","1395750644","1395750649"],"photo_ids_order":["1395750644","1395750647","1395750648","1395750649","1395750650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/9ba34bcaae0ae2fb8eb01ca30d8dea93.jpg","text":"TemporaryFile(/tmp/multipartBody5815406483812201558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852203041,"filename":"image_22112025_23_55_26_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/086a63eb6b6551b27affdf29cf71c629.jpg","text":"TemporaryFile(/tmp/multipartBody3272082015594411160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852203041,"filename":"image_22112025_23_55_08_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d9c5cd5e422c92b0a4dbd1d2869c3e94.jpg","text":"TemporaryFile(/tmp/multipartBody5719293264686841721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852203041,"filename":"image_22112025_23_55_49_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/6d26ef1c947b4702836c97f0455eadb1.jpg","text":"TemporaryFile(/tmp/multipartBody6208373635156523415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852203041,"filename":"image_22112025_23_53_32_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/ec9a4eebba51a747e971eadda42c7863.jpg","text":"TemporaryFile(/tmp/multipartBody206895046072753924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852203041,"filename":"image_22112025_23_55_44_3765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395750648","file1":"1395750647","file0":"1395750644","file4":"1395750650","file3":"1395750649"},"map_files_photo_id_array":[{"photo_id":"1395750648","filename":"file2"},{"photo_id":"1395750650","filename":"file4"},{"photo_id":"1395750647","filename":"file1"},{"photo_id":"1395750644","filename":"file0"},{"photo_id":"1395750649","filename":"file3"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395750648":["hashtag1","hashtag2"]},{"1395750647":["hashtag1","hashtag2"]},{"1395750650":["hashtag1","hashtag2"]},{"1395750644":["hashtag1","hashtag2"]},{"1395750649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395750648, 1395750647, 1395750650, 1395750644, 1395750649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.517486095428467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:56:22.585681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_58_2648.jpg', '/home/pi/Desktop/images/22112025/23/56/image_22112025_23_56_02_3553.jpg', '/home/pi/Desktop/images/22112025/23/56/image_22112025_23_56_17_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/55/image_22112025_23_55_58_2648.jpg
/home/pi/Desktop/images/22112025/23/56/image_22112025_23_56_02_3553.jpg
/home/pi/Desktop/images/22112025/23/56/image_22112025_23_56_17_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750657","1395750653","1395750659"],"photo_ids_order":["1395750653","1395750657","1395750659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/a4559eb443f994c483f2d928abe77e8c.jpg","text":"TemporaryFile(/tmp/multipartBody1300788182314697075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852243208,"filename":"image_22112025_23_56_02_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/d6b45a15dc73006d87ca8586d6a5f9d3.jpg","text":"TemporaryFile(/tmp/multipartBody3456356649649254160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852243208,"filename":"image_22112025_23_55_58_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/f846467947d4a1038c5b02eade1350ed.jpg","text":"TemporaryFile(/tmp/multipartBody2877799264655832989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852243208,"filename":"image_22112025_23_56_17_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395750659","file1":"1395750657","file0":"1395750653"},"map_files_photo_id_array":[{"photo_id":"1395750659","filename":"file2"},{"photo_id":"1395750657","filename":"file1"},{"photo_id":"1395750653","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395750657":["hashtag1","hashtag2"]},{"1395750653":["hashtag1","hashtag2"]},{"1395750659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395750657, 1395750653, 1395750659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.90166163444519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-22 23:57:02.592796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_07_3706.jpg', '/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_09_2731.jpg', '/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_12_2649.jpg', '/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_15_3021.jpg', '/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_18_2790.jpg', '/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_27_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_07_3706.jpg
/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_09_2731.jpg
/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_12_2649.jpg
/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_15_3021.jpg
/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_18_2790.jpg
/home/pi/Desktop/images/20112025/20/04/image_20112025_20_04_27_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750669","1395750666","1395750671","1395750674","1395750668","1395750664"],"photo_ids_order":["1395750664","1395750666","1395750668","1395750669","1395750671","1395750674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/24da710c0585bd2e021d7444210336ce.jpg","text":"TemporaryFile(/tmp/multipartBody589428607536156384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852284640,"filename":"image_20112025_20_04_15_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/4a78195484f53c04f2425555a4d0205f.jpg","text":"TemporaryFile(/tmp/multipartBody5373159998190278187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852284640,"filename":"image_20112025_20_04_09_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/82b1a5d156065ff8f2893fffcd3c435a.jpg","text":"TemporaryFile(/tmp/multipartBody8833008021431765284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852284640,"filename":"image_20112025_20_04_18_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/7feaaadbb3e180588eec55b96c79051c.jpg","text":"TemporaryFile(/tmp/multipartBody2115326104632444120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852284640,"filename":"image_20112025_20_04_27_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/af09d1129aa077c3ed346f0eb5959c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2964402969372231745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852284640,"filename":"image_20112025_20_04_12_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/2a19867e9684785b33f8fa894f7c26ee.jpg","text":"TemporaryFile(/tmp/multipartBody7836450179453886627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852284640,"filename":"image_20112025_20_04_07_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1395750668","file1":"1395750666","file0":"1395750664","file4":"1395750671","file5":"1395750674","file3":"1395750669"},"map_files_photo_id_array":[{"photo_id":"1395750674","filename":"file5"},{"photo_id":"1395750668","filename":"file2"},{"photo_id":"1395750671","filename":"file4"},{"photo_id":"1395750666","filename":"file1"},{"photo_id":"1395750664","filename":"file0"},{"photo_id":"1395750669","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1395750669":["hashtag1","hashtag2"]},{"1395750666":["hashtag1","hashtag2"]},{"1395750671":["hashtag1","hashtag2"]},{"1395750674":["hashtag1","hashtag2"]},{"1395750668":["hashtag1","hashtag2"]},{"1395750664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1395750669, 1395750666, 1395750671, 1395750674, 1395750668, 1395750664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1627881526947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-22 23:57:41.821360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
  port_id : 28804211
  datou_current_id : 4096292
in upload_from_sqlite, uploading in 28804211
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22112025/23/56/image_22112025_23_56_43_2660.jpg', '/home/pi/Desktop/images/22112025/23/57/image_22112025_23_57_37_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4096292&datou=0
/home/pi/Desktop/images/22112025/23/56/image_22112025_23_56_43_2660.jpg
/home/pi/Desktop/images/22112025/23/57/image_22112025_23_57_37_2664.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1395750759","1395750868"],"photo_ids_order":["1395750759","1395750868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/472fa6063da6eeed692ec2ef53eacd94.jpg","text":"TemporaryFile(/tmp/multipartBody6660685087876472903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852322394,"filename":"image_22112025_23_56_43_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/22/5c30017562ff0e5469546a4ad9eb1a29.jpg","text":"TemporaryFile(/tmp/multipartBody5083208035557097733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1763852322394,"filename":"image_22112025_23_57_37_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1395750868","file0":"1395750759"},"map_files_photo_id_array":[{"photo_id":"1395750868","filename":"file1"},{"photo_id":"1395750759","filename":"file0"}],"portfolio_id":28804211,"hashtag_by_photo_ids":[{"1395750759":["hashtag1","hashtag2"]},{"1395750868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28804211 used, photo_id : ArrayBuffer(1395750759, 1395750868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.017946243286133 secondes ---
